]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
093d3ff1 3 * Version 1.3.24
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
d55e5bfc
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 26};
d55e5bfc
RD
27#endif
28
29
093d3ff1
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
d55e5bfc 37
d55e5bfc 38
093d3ff1 39#include <Python.h>
d55e5bfc
RD
40
41/***********************************************************************
093d3ff1 42 * swigrun.swg
d55e5bfc 43 *
093d3ff1
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d55e5bfc
RD
46 *
47 ************************************************************************/
48
093d3ff1
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
d55e5bfc 52
093d3ff1
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 58#else
093d3ff1 59#define SWIG_TYPE_TABLE_NAME
d55e5bfc
RD
60#endif
61
093d3ff1
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
d55e5bfc 67#else
093d3ff1
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
85#endif
86
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
093d3ff1
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
218
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
283
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
306
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
d55e5bfc 375
093d3ff1
RD
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
d55e5bfc 417
093d3ff1
RD
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
d55e5bfc
RD
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
093d3ff1
RD
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
d55e5bfc 441 *
093d3ff1 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d55e5bfc 443 *
093d3ff1
RD
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
d55e5bfc
RD
448 ************************************************************************/
449
093d3ff1
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
d55e5bfc
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
d55e5bfc 465
093d3ff1 466/*************************************************************************/
d55e5bfc 467
d55e5bfc 468
093d3ff1 469/* The static type info list */
d55e5bfc 470
093d3ff1
RD
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
d55e5bfc 474
093d3ff1
RD
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
d55e5bfc 480
093d3ff1
RD
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
d55e5bfc 486
093d3ff1
RD
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
d55e5bfc 492
093d3ff1
RD
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
d55e5bfc
RD
502
503#ifdef __cplusplus
504}
505#endif
506
093d3ff1
RD
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
d55e5bfc 510
093d3ff1
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
c32bde28 514
093d3ff1
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
d55e5bfc 518
093d3ff1
RD
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
d55e5bfc 522
093d3ff1
RD
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
d55e5bfc
RD
530
531
093d3ff1
RD
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
d55e5bfc 551
093d3ff1
RD
552/* Constant Types */
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
d55e5bfc 568
c32bde28 569
093d3ff1
RD
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
c32bde28
RD
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
576
577#ifdef __cplusplus
093d3ff1
RD
578}
579#endif
d55e5bfc 580
d55e5bfc 581
093d3ff1
RD
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
d55e5bfc 591
093d3ff1
RD
592/* Common SWIG API */
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
d55e5bfc 597
093d3ff1
RD
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 601
d55e5bfc 602
093d3ff1
RD
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
d55e5bfc 614
093d3ff1
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 618
d55e5bfc 619
093d3ff1
RD
620#ifdef __cplusplus
621extern "C" {
622#endif
d55e5bfc 623
093d3ff1
RD
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
d55e5bfc 627
093d3ff1
RD
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
d55e5bfc 631
093d3ff1
RD
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
d55e5bfc 637
093d3ff1
RD
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
d55e5bfc 643
093d3ff1 644/* Declarations for objects of type PySwigObject */
d55e5bfc 645
093d3ff1
RD
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 648{
093d3ff1
RD
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
c32bde28 653 } else {
093d3ff1 654 return 1;
c32bde28 655 }
d55e5bfc 656}
093d3ff1
RD
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
c32bde28 660{
093d3ff1
RD
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
c32bde28 664}
d55e5bfc 665
093d3ff1
RD
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
d55e5bfc 668{
093d3ff1
RD
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
d55e5bfc
RD
672}
673
093d3ff1
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
d55e5bfc 676{
093d3ff1 677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
d55e5bfc
RD
678}
679
093d3ff1
RD
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
c32bde28 682{
093d3ff1
RD
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
c32bde28 690}
d55e5bfc 691
093d3ff1
RD
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
d55e5bfc 694{
093d3ff1
RD
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
d55e5bfc
RD
698}
699
093d3ff1
RD
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
d55e5bfc 702{
093d3ff1
RD
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
c32bde28 710 }
c32bde28
RD
711}
712
093d3ff1
RD
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
c32bde28 715{
093d3ff1 716 PyObject_DEL(self);
d55e5bfc
RD
717}
718
093d3ff1
RD
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
c32bde28 723
093d3ff1
RD
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789#endif
790#if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792#endif
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795#endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803}
804
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
c32bde28 807{
093d3ff1
RD
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
c32bde28 813}
d55e5bfc 814
093d3ff1
RD
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
c32bde28 820
093d3ff1
RD
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
d55e5bfc 826
093d3ff1
RD
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
d55e5bfc 832
093d3ff1
RD
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
d55e5bfc 836
093d3ff1
RD
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
c32bde28 843
093d3ff1
RD
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
d55e5bfc 846{
093d3ff1
RD
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
860{
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
d55e5bfc
RD
867}
868
093d3ff1
RD
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
d55e5bfc 879
093d3ff1
RD
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 882{
093d3ff1
RD
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
d55e5bfc 891 }
c32bde28
RD
892}
893
093d3ff1
RD
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
c32bde28 896{
093d3ff1
RD
897 free(self->pack);
898 PyObject_DEL(self);
d55e5bfc
RD
899}
900
093d3ff1
RD
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
d55e5bfc 949
093d3ff1
RD
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
d55e5bfc 955
093d3ff1
RD
956 return &PySwigPacked_Type;
957}
d55e5bfc 958
093d3ff1
RD
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
d55e5bfc 974
093d3ff1
RD
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d55e5bfc 977{
093d3ff1
RD
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
d55e5bfc 983
093d3ff1
RD
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
d55e5bfc 989
093d3ff1
RD
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
d55e5bfc 995
093d3ff1
RD
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
d55e5bfc 1000
093d3ff1
RD
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
d55e5bfc 1005
093d3ff1 1006#endif
d55e5bfc 1007
093d3ff1 1008#endif
d55e5bfc 1009
093d3ff1
RD
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
d55e5bfc 1013
093d3ff1
RD
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
66af7a75
RD
1040 if (str)
1041 Py_DECREF(str);
093d3ff1
RD
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049}
d55e5bfc 1050
093d3ff1
RD
1051SWIGRUNTIMEINLINE void
1052SWIG_Python_NullRef(const char *type)
1053{
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059}
d55e5bfc 1060
093d3ff1
RD
1061SWIGRUNTIME int
1062SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063{
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084}
d55e5bfc 1085
093d3ff1
RD
1086SWIGRUNTIME int
1087SWIG_Python_ArgFail(int argnum)
d55e5bfc 1088{
093d3ff1
RD
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097}
d55e5bfc 1098
d55e5bfc 1099
093d3ff1
RD
1100/* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
d55e5bfc 1103
093d3ff1
RD
1104/* Convert a pointer value */
1105SWIGRUNTIME int
1106SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
d55e5bfc 1119
093d3ff1
RD
1120#ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137#else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155#endif
d55e5bfc 1156
093d3ff1 1157type_check:
d55e5bfc 1158
093d3ff1
RD
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
d55e5bfc 1166
093d3ff1
RD
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
d55e5bfc 1171
093d3ff1
RD
1172type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195}
d55e5bfc 1196
093d3ff1
RD
1197/* Convert a pointer value, signal an exception on a type mismatch */
1198SWIGRUNTIME void *
1199SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209}
d55e5bfc 1210
093d3ff1
RD
1211/* Convert a packed value value */
1212SWIGRUNTIME int
1213SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
d55e5bfc 1216
093d3ff1
RD
1217#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219#else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224#endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
d55e5bfc 1231
093d3ff1
RD
1232type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242}
1243
1244/* Create a new array object */
1245SWIGRUNTIME PyObject *
1246SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252#ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254#else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260#endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276}
1277
1278SWIGRUNTIME PyObject *
1279SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287#else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293#endif
1294 return robj;
1295}
1296
1297/* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301#ifdef SWIG_LINK_RUNTIME
1302void *SWIG_ReturnGlobalTypeList(void *);
1303#endif
1304
1305SWIGRUNTIME swig_type_info **
1306SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310#ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312#else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320#endif
1321 return (swig_type_info **) type_pointer;
1322}
1323
1324/*
1325 Search for a swig_type_info structure
1326 */
1327SWIGRUNTIMEINLINE swig_type_info *
1328SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331}
1332
1333#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335#ifdef __cplusplus
1336}
1337#endif
1338
1339
1340/* -------- TYPES TABLE (BEGIN) -------- */
1341
1342#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1343#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1344#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1345#define SWIGTYPE_p_wxPyPanel swig_types[3]
1346#define SWIGTYPE_p_wxMenu swig_types[4]
1347#define SWIGTYPE_p_wxFontData swig_types[5]
1348#define SWIGTYPE_p_wxEvent swig_types[6]
1349#define SWIGTYPE_p_wxPrintData swig_types[7]
1350#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1351#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1352#define SWIGTYPE_p_wxIconBundle swig_types[10]
1353#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1354#define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1355#define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1356#define SWIGTYPE_p_wxFont swig_types[14]
1357#define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1358#define SWIGTYPE_p_wxRegion swig_types[16]
1359#define SWIGTYPE_ptrdiff_t swig_types[17]
1360#define SWIGTYPE_std__ptrdiff_t swig_types[18]
1361#define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1362#define SWIGTYPE_p_int swig_types[20]
1363#define SWIGTYPE_p_wxSize swig_types[21]
1364#define SWIGTYPE_p_wxDC swig_types[22]
1365#define SWIGTYPE_p_wxIcon swig_types[23]
1366#define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1367#define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1368#define SWIGTYPE_p_wxColourData swig_types[26]
1369#define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1370#define SWIGTYPE_p_wxPyWindow swig_types[28]
1371#define SWIGTYPE_p_form_ops_t swig_types[29]
1372#define SWIGTYPE_p_wxSplashScreen swig_types[30]
1373#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1374#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1375#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1376#define SWIGTYPE_p_wxFileDialog swig_types[34]
1377#define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1378#define SWIGTYPE_p_wxMessageDialog swig_types[36]
1379#define SWIGTYPE_p_wxProgressDialog swig_types[37]
1380#define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1381#define SWIGTYPE_p_wxPrinter swig_types[39]
1382#define SWIGTYPE_p_wxArrayInt swig_types[40]
1383#define SWIGTYPE_p_wxDuplexMode swig_types[41]
1384#define SWIGTYPE_p_wxEvtHandler swig_types[42]
1385#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1386#define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1387#define SWIGTYPE_p_wxPyVListBox swig_types[45]
1388#define SWIGTYPE_p_wxRect swig_types[46]
62d32a5f
RD
1389#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1390#define SWIGTYPE_p_char swig_types[48]
1391#define SWIGTYPE_p_wxMiniFrame swig_types[49]
1392#define SWIGTYPE_p_wxFrame swig_types[50]
1393#define SWIGTYPE_p_wxPyPrintout swig_types[51]
1394#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1395#define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1396#define SWIGTYPE_p_wxPaperSize swig_types[54]
1397#define SWIGTYPE_p_wxStatusBar swig_types[55]
1398#define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1399#define SWIGTYPE_p_wxPoint swig_types[57]
1400#define SWIGTYPE_p_wxObject swig_types[58]
1401#define SWIGTYPE_p_unsigned_long swig_types[59]
1402#define SWIGTYPE_p_wxTipWindow swig_types[60]
1403#define SWIGTYPE_p_wxSashLayoutWindow swig_types[61]
1404#define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1405#define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1406#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1407#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[65]
1408#define SWIGTYPE_p_wxPopupWindow swig_types[66]
1409#define SWIGTYPE_p_wxSashWindow swig_types[67]
1410#define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1411#define SWIGTYPE_p_wxWindow swig_types[69]
1412#define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1413#define SWIGTYPE_p_wxMenuBar swig_types[71]
1414#define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1415#define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1416#define SWIGTYPE_p_wxPrintPreview swig_types[74]
1417#define SWIGTYPE_p_wxSashEvent swig_types[75]
1418#define SWIGTYPE_p_wxString swig_types[76]
1419#define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1420#define SWIGTYPE_p_wxDirDialog swig_types[78]
1421#define SWIGTYPE_p_wxColourDialog swig_types[79]
1422#define SWIGTYPE_p_wxDialog swig_types[80]
1423#define SWIGTYPE_p_wxPanel swig_types[81]
1424#define SWIGTYPE_p_wxFontDialog swig_types[82]
1425#define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1426#define SWIGTYPE_p_wxPrintDialog swig_types[84]
1427#define SWIGTYPE_p_wxFileSystem swig_types[85]
1428#define SWIGTYPE_p_wxBitmap swig_types[86]
1429#define SWIGTYPE_unsigned_int swig_types[87]
1430#define SWIGTYPE_p_unsigned_int swig_types[88]
1431#define SWIGTYPE_p_unsigned_char swig_types[89]
1432#define SWIGTYPE_p_wxCommandEvent swig_types[90]
1433#define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1434#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1435#define SWIGTYPE_p_wxColour swig_types[93]
1436#define SWIGTYPE_p_wxToolBar swig_types[94]
1437#define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1438#define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1439static swig_type_info *swig_types[98];
093d3ff1
RD
1440
1441/* -------- TYPES TABLE (END) -------- */
1442
1443
1444/*-----------------------------------------------
1445 @(target):= _windows_.so
1446 ------------------------------------------------*/
1447#define SWIG_init init_windows_
1448
1449#define SWIG_name "_windows_"
1450
1451#include "wx/wxPython/wxPython.h"
1452#include "wx/wxPython/pyclasses.h"
1453
1454
1455 static const wxString wxPyEmptyString(wxEmptyString);
1456 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1457
1458
1459
1460#include <limits.h>
1461
1462
1463SWIGINTERN int
1464 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1465 const char *errmsg)
1466{
1467 if (value < min_value) {
1468 if (errmsg) {
1469 PyErr_Format(PyExc_OverflowError,
1470 "value %ld is less than '%s' minimum %ld",
1471 value, errmsg, min_value);
1472 }
1473 return 0;
1474 } else if (value > max_value) {
1475 if (errmsg) {
1476 PyErr_Format(PyExc_OverflowError,
1477 "value %ld is greater than '%s' maximum %ld",
1478 value, errmsg, max_value);
1479 }
1480 return 0;
1481 }
1482 return 1;
1483}
1484
1485
1486SWIGINTERN int
1487SWIG_AsVal_long(PyObject* obj, long* val)
1488{
1489 if (PyNumber_Check(obj)) {
1490 if (val) *val = PyInt_AsLong(obj);
1491 return 1;
1492 }
1493 else {
1494 SWIG_type_error("number", obj);
1495 }
1496 return 0;
1497}
1498
1499
1500#if INT_MAX != LONG_MAX
1501SWIGINTERN int
1502 SWIG_AsVal_int(PyObject *obj, int *val)
1503{
1504 const char* errmsg = val ? "int" : (char*)0;
1505 long v;
1506 if (SWIG_AsVal_long(obj, &v)) {
1507 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1508 if (val) *val = (int)(v);
1509 return 1;
1510 } else {
1511 return 0;
1512 }
1513 } else {
1514 PyErr_Clear();
1515 }
1516 if (val) {
1517 SWIG_type_error(errmsg, obj);
1518 }
1519 return 0;
1520}
1521#else
1522SWIGINTERNSHORT int
1523 SWIG_AsVal_int(PyObject *obj, int *val)
1524{
1525 return SWIG_AsVal_long(obj,(long*)val);
1526}
1527#endif
1528
1529
1530SWIGINTERNSHORT int
1531SWIG_As_int(PyObject* obj)
1532{
1533 int v;
1534 if (!SWIG_AsVal_int(obj, &v)) {
1535 /*
1536 this is needed to make valgrind/purify happier.
1537 */
1538 memset((void*)&v, 0, sizeof(int));
1539 }
1540 return v;
1541}
1542
1543
1544SWIGINTERNSHORT long
1545SWIG_As_long(PyObject* obj)
1546{
1547 long v;
1548 if (!SWIG_AsVal_long(obj, &v)) {
1549 /*
1550 this is needed to make valgrind/purify happier.
1551 */
1552 memset((void*)&v, 0, sizeof(long));
1553 }
1554 return v;
1555}
1556
1557
1558SWIGINTERNSHORT int
1559SWIG_Check_int(PyObject* obj)
1560{
1561 return SWIG_AsVal_int(obj, (int*)0);
1562}
1563
1564
1565SWIGINTERNSHORT int
1566SWIG_Check_long(PyObject* obj)
1567{
1568 return SWIG_AsVal_long(obj, (long*)0);
1569}
1570
1571
1572SWIGINTERN int
1573 SWIG_AsVal_bool(PyObject *obj, bool *val)
1574{
1575 if (obj == Py_True) {
1576 if (val) *val = true;
1577 return 1;
1578 }
1579 if (obj == Py_False) {
1580 if (val) *val = false;
1581 return 1;
1582 }
1583 int res = 0;
1584 if (SWIG_AsVal_int(obj, &res)) {
1585 if (val) *val = res ? true : false;
1586 return 1;
1587 } else {
1588 PyErr_Clear();
1589 }
1590 if (val) {
1591 SWIG_type_error("bool", obj);
1592 }
1593 return 0;
1594}
1595
1596
1597SWIGINTERNSHORT bool
1598SWIG_As_bool(PyObject* obj)
1599{
1600 bool v;
1601 if (!SWIG_AsVal_bool(obj, &v)) {
1602 /*
1603 this is needed to make valgrind/purify happier.
1604 */
1605 memset((void*)&v, 0, sizeof(bool));
1606 }
1607 return v;
1608}
1609
1610
1611SWIGINTERNSHORT int
1612SWIG_Check_bool(PyObject* obj)
1613{
1614 return SWIG_AsVal_bool(obj, (bool*)0);
1615}
1616
1617
1618 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1619#define SWIG_From_int PyInt_FromLong
1620/*@@*/
1621
1622
1623 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1624 PyObject* o2;
1625 PyObject* o3;
1626
1627 if (!target) {
1628 target = o;
1629 } else if (target == Py_None) {
1630 Py_DECREF(Py_None);
1631 target = o;
1632 } else {
1633 if (!PyTuple_Check(target)) {
1634 o2 = target;
1635 target = PyTuple_New(1);
1636 PyTuple_SetItem(target, 0, o2);
1637 }
1638 o3 = PyTuple_New(1);
1639 PyTuple_SetItem(o3, 0, o);
1640
1641 o2 = target;
1642 target = PySequence_Concat(o2, o3);
1643 Py_DECREF(o2);
1644 Py_DECREF(o3);
1645 }
1646 return target;
1647 }
1648
1649
1650
1651SWIGINTERN int
1652SWIG_AsVal_double(PyObject *obj, double* val)
1653{
1654 if (PyNumber_Check(obj)) {
1655 if (val) *val = PyFloat_AsDouble(obj);
1656 return 1;
1657 }
1658 else {
1659 SWIG_type_error("number", obj);
1660 }
1661 return 0;
1662}
1663
1664
1665SWIGINTERNSHORT double
1666SWIG_As_double(PyObject* obj)
1667{
1668 double v;
1669 if (!SWIG_AsVal_double(obj, &v)) {
1670 /*
1671 this is needed to make valgrind/purify happier.
1672 */
1673 memset((void*)&v, 0, sizeof(double));
1674 }
1675 return v;
1676}
1677
1678
1679SWIGINTERNSHORT int
1680SWIG_Check_double(PyObject* obj)
1681{
1682 return SWIG_AsVal_double(obj, (double*)0);
1683}
1684
1685
1686 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1687#define SWIG_From_double PyFloat_FromDouble
1688/*@@*/
1689
1690 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1691 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1692 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1693 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1694static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1695static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1696
1697 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1698#define SWIG_From_long PyInt_FromLong
1699/*@@*/
1700
1701
1702
1703static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1704 wxRect r;
1705 self->GetFieldRect(i, r);
1706 return r;
1707 }
1708 static const wxString wxPySplitterNameStr(wxT("splitter"));
1709 static const wxString wxPySashNameStr(wxT("sashWindow"));
1710 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1711
1712#include <wx/popupwin.h>
1713
1714
1715class wxPyPopupTransientWindow : public wxPopupTransientWindow
1716{
1717public:
1718 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1719 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1720 : wxPopupTransientWindow(parent, style) {}
1721
1722 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1723 DEC_PYCALLBACK__(OnDismiss);
1724 DEC_PYCALLBACK_BOOL_(CanDismiss);
1725 PYPRIVATE;
1726};
1727
1728
1729IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1730IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1731IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1732
1733
1734#include <wx/tipwin.h>
1735
1736static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1737 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1738 }
1739
1740#include <wx/tipwin.h>
1741
1742
1743#include <wx/vscroll.h>
1744
1745
1746class wxPyVScrolledWindow : public wxVScrolledWindow
1747{
1748 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
1749public:
1750 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1751
1752 wxPyVScrolledWindow(wxWindow *parent,
1753 wxWindowID id = wxID_ANY,
1754 const wxPoint& pos = wxDefaultPosition,
1755 const wxSize& size = wxDefaultSize,
1756 long style = 0,
1757 const wxString& name = wxPyPanelNameStr)
1758 : wxVScrolledWindow(parent, id, pos, size, style, name)
1759 {}
1760
1761 // Overridable virtuals
1762
1763 // this function must be overridden in the derived class and it should
1764 // return the height of the given line in pixels
1765 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1766
1767
1768 // this function doesn't have to be overridden but it may be useful to do
1769 // it if calculating the lines heights is a relatively expensive operation
1770 // as it gives the user code a possibility to calculate several of them at
1771 // once
1772 //
1773 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1774 // shouldn't rely on the latter being called for all lines in the interval
1775 // specified here. It is also possible that OnGetLineHeight() will be
1776 // called for the lines outside of this interval, so this is really just a
1777 // hint, not a promise.
1778 //
1779 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1780 // usual
1781 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1782
1783
1784 // when the number of lines changes, we try to estimate the total height
1785 // of all lines which is a rather expensive operation in terms of lines
1786 // access, so if the user code may estimate the average height
1787 // better/faster than we do, it should override this function to implement
1788 // its own logic
1789 //
1790 // this function should return the best guess for the total height it may
1791 // make
1792 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1793
1794
1795 // Also expose some other interesting protected methods
1796
1797
1798 // find the index of the line we need to show at the top of the window such
1799 // that the last (fully or partially) visible line is the given one
1800 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1801 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1802
1803 // get the total height of the lines between lineMin (inclusive) and
1804 // lineMax (exclusive)
1805 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1806 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d55e5bfc
RD
1807
1808
1809 PYPRIVATE;
1810};
1811
1812IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1813
1814IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1815IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1816IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1817
1818
093d3ff1 1819SWIGINTERN int
c32bde28 1820SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1821{
c32bde28
RD
1822 long v = 0;
1823 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1824 SWIG_type_error("unsigned number", obj);
d55e5bfc 1825 }
c32bde28
RD
1826 else if (val)
1827 *val = (unsigned long)v;
1828 return 1;
d55e5bfc
RD
1829}
1830
1831
093d3ff1 1832SWIGINTERNSHORT unsigned long
c32bde28 1833SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1834{
c32bde28
RD
1835 unsigned long v;
1836 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1837 /*
093d3ff1 1838 this is needed to make valgrind/purify happier.
c32bde28
RD
1839 */
1840 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1841 }
c32bde28
RD
1842 return v;
1843}
1844
1845
093d3ff1 1846SWIGINTERNSHORT int
c32bde28
RD
1847SWIG_Check_unsigned_SS_long(PyObject* obj)
1848{
1849 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1850}
1851
1852
093d3ff1 1853SWIGINTERNSHORT PyObject*
c32bde28 1854 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1855{
1856 return (value > LONG_MAX) ?
1857 PyLong_FromUnsignedLong(value)
093d3ff1 1858 : PyInt_FromLong((long)(value));
d55e5bfc
RD
1859}
1860
1861
1862#include <wx/vlbox.h>
1863
1864 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
1865
1866class wxPyVListBox : public wxVListBox
1867{
1868 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
1869public:
1870 wxPyVListBox() : wxVListBox() {}
1871
1872 wxPyVListBox(wxWindow *parent,
1873 wxWindowID id = wxID_ANY,
1874 const wxPoint& pos = wxDefaultPosition,
1875 const wxSize& size = wxDefaultSize,
1876 long style = 0,
1877 const wxString& name = wxPyVListBoxNameStr)
1878 : wxVListBox(parent, id, pos, size, style, name)
1879 {}
1880
1881 // Overridable virtuals
1882
1883 // the derived class must implement this function to actually draw the item
1884 // with the given index on the provided DC
1885 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1886 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
1887
1888
1889 // the derived class must implement this method to return the height of the
1890 // specified item
1891 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1892 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
1893
1894
1895 // this method may be used to draw separators between the lines; note that
1896 // the rectangle may be modified, typically to deflate it a bit before
1897 // passing to OnDrawItem()
1898 //
1899 // the base class version doesn't do anything
1900 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1901 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
1902
1903
1904 // this method is used to draw the items background and, maybe, a border
1905 // around it
1906 //
1907 // the base class version implements a reasonable default behaviour which
1908 // consists in drawing the selected item with the standard background
1909 // colour and drawing a border around the item if it is either selected or
1910 // current
1911 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1912 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
1913
1914
1915 PYPRIVATE;
1916};
1917
1918IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
1919
1920IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
1921IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1922IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
1923IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
1924
1925
093d3ff1 1926static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
1927 unsigned long cookie = 0;
1928 int selected = self->GetFirstSelected(cookie);
5a446332 1929 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
1930 PyObject* tup = PyTuple_New(2);
1931 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1932 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1933 wxPyEndBlockThreads(blocked);
1934 return tup;
1935 }
093d3ff1 1936static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 1937 int selected = self->GetNextSelected(cookie);
5a446332 1938 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
1939 PyObject* tup = PyTuple_New(2);
1940 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1941 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1942 wxPyEndBlockThreads(blocked);
1943 return tup;
1944 }
d55e5bfc
RD
1945
1946#include <wx/htmllbox.h>
1947
1948
1949class wxPyHtmlListBox : public wxHtmlListBox
1950{
1951 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
1952public:
1953 wxPyHtmlListBox() : wxHtmlListBox() {}
1954
1955 wxPyHtmlListBox(wxWindow *parent,
1956 wxWindowID id = wxID_ANY,
1957 const wxPoint& pos = wxDefaultPosition,
1958 const wxSize& size = wxDefaultSize,
1959 long style = 0,
1960 const wxString& name = wxPyVListBoxNameStr)
1961 : wxHtmlListBox(parent, id, pos, size, style, name)
1962 {}
1963
1964 // Overridable virtuals
1965
1966 // this method must be implemented in the derived class and should return
1967 // the body (i.e. without <html>) of the HTML for the given item
1968 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
1969
1970 // this function may be overridden to decorate HTML returned by OnGetItem()
1971 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
1972
1973// TODO:
1974// // this method allows to customize the selection appearance: it may be used
1975// // to specify the colour of the text which normally has the given colour
1976// // colFg when it is inside the selection
1977// //
1978// // by default, the original colour is not used at all and all text has the
1979// // same (default for this system) colour inside selection
1980// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1981
1982// // this is the same as GetSelectedTextColour() but allows to customize the
1983// // background colour -- this is even more rarely used as you can change it
1984// // globally using SetSelectionBackground()
1985// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1986
1987
1988 PYPRIVATE;
1989};
1990
1991
1992IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
1993
1994IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
1995IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1996
1997
1998
1999
2000
ae8162c8
RD
2001#ifndef wxHAS_TASK_BAR_ICON
2002// implement dummy classes for platforms that don't have it
d55e5bfc
RD
2003
2004class wxTaskBarIcon : public wxEvtHandler
2005{
2006public:
2007 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2008};
09c21d3b 2009
d55e5bfc
RD
2010
2011class wxTaskBarIconEvent : public wxEvent
2012{
2013public:
2014 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2015 { wxPyRaiseNotImplemented(); }
2016 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
2017 bool IsOk() const { return false; }
2018 bool IsIconInstalled() const { return false; }
2019 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2020 bool RemoveIcon() { return false; }
2021 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
2022};
2023
2024enum {
2025 wxEVT_TASKBAR_MOVE = 0,
2026 wxEVT_TASKBAR_LEFT_DOWN = 0,
2027 wxEVT_TASKBAR_LEFT_UP = 0,
2028 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2029 wxEVT_TASKBAR_RIGHT_UP = 0,
2030 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2031 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2032};
09c21d3b
RD
2033
2034
2035#else
5e483524
RD
2036// Otherwise make a class that can virtualize CreatePopupMenu
2037class wxPyTaskBarIcon : public wxTaskBarIcon
2038{
2039 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
2040public:
2041 wxPyTaskBarIcon() : wxTaskBarIcon()
2042 {}
2043
2044 wxMenu* CreatePopupMenu() {
2045 wxMenu *rval = NULL;
2046 bool found;
5a446332 2047 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
2048 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2049 PyObject* ro;
2050 wxMenu* ptr;
2051 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2052 if (ro) {
2053 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2054 rval = ptr;
2055 Py_DECREF(ro);
2056 }
2057 }
2058 wxPyEndBlockThreads(blocked);
2059 if (! found)
2060 rval = wxTaskBarIcon::CreatePopupMenu();
2061 return rval;
2062 }
2063
2064 PYPRIVATE;
2065};
2066
2067IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 2068
d55e5bfc
RD
2069#endif
2070
093d3ff1 2071static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
d55e5bfc 2072 self->RemoveIcon();
5e483524 2073 delete self;
d55e5bfc
RD
2074 }
2075 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2076 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2077 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2078 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2079 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2080 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
093d3ff1 2081static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
2082 wxArrayString arr;
2083 self->GetFilenames(arr);
2084 return wxArrayString2PyList_helper(arr);
2085 }
093d3ff1 2086static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
2087 wxArrayString arr;
2088 self->GetPaths(arr);
2089 return wxArrayString2PyList_helper(arr);
2090 }
093d3ff1 2091static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
2092 return wxArrayInt2PyList_helper(self->GetSelections());
2093 }
093d3ff1 2094static 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
2095 return new wxSingleChoiceDialog(parent, message, caption,
2096 choices, choices_array, NULL, style, pos);
2097 }
c1cb24a4 2098 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc
RD
2099
2100#include <wx/mdi.h>
2101
2102 // C++ version of Python aware wxWindow
2103class wxPyWindow : public wxWindow
2104{
2105 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2106public:
2107 wxPyWindow() : wxWindow() {}
2108 wxPyWindow(wxWindow* parent, const wxWindowID id,
2109 const wxPoint& pos = wxDefaultPosition,
2110 const wxSize& size = wxDefaultSize,
2111 long style = 0,
2112 const wxString& name = wxPyPanelNameStr)
2113 : wxWindow(parent, id, pos, size, style, name) {}
2114
caef1a4d 2115 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc 2116
60d5fcc1
RD
2117 bool DoEraseBackground(wxDC* dc) {
2118#ifdef __WXMSW__
2119 return wxWindow::DoEraseBackground(dc->GetHDC());
2120#else
2121 dc->SetBackground(wxBrush(GetBackgroundColour()));
2122 dc->Clear();
2123 return true;
2124#endif
2125 }
2126
d55e5bfc
RD
2127 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2128 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2129 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2130 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2131
2132 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2133 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2134 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2135
2136 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2137 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2138
2139 DEC_PYCALLBACK__(InitDialog);
2140 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2141 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2142 DEC_PYCALLBACK_BOOL_(Validate);
2143
2144 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2145 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2146 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2147
2148 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2149 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2150
caef1a4d 2151 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 2152 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2153
51b83b37
RD
2154 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2155
d55e5bfc
RD
2156 PYPRIVATE;
2157};
2158
2159IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2160
2161IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2162IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2163IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2164IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2165
2166IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2167IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2168IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2169
2170IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2171IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2172
2173IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2174IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2175IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2176IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2177
2178IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2179IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2180IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2181
2182IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2183IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2184
caef1a4d 2185IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
caef1a4d 2186IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
2187
2188IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc
RD
2189
2190 // C++ version of Python aware wxPanel
2191class wxPyPanel : public wxPanel
2192{
2193 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2194public:
2195 wxPyPanel() : wxPanel() {}
2196 wxPyPanel(wxWindow* parent, const wxWindowID id,
2197 const wxPoint& pos = wxDefaultPosition,
2198 const wxSize& size = wxDefaultSize,
2199 long style = 0,
2200 const wxString& name = wxPyPanelNameStr)
2201 : wxPanel(parent, id, pos, size, style, name) {}
2202
caef1a4d 2203 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
60d5fcc1
RD
2204 bool DoEraseBackground(wxDC* dc) {
2205#ifdef __WXMSW__
2206 return wxWindow::DoEraseBackground(dc->GetHDC());
2207#else
2208 dc->SetBackground(wxBrush(GetBackgroundColour()));
2209 dc->Clear();
2210 return true;
2211#endif
2212 }
caef1a4d 2213
d55e5bfc
RD
2214
2215 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2216 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2217 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2218 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2219
2220 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2221 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2222 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2223
2224 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2225 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2226
2227 DEC_PYCALLBACK__(InitDialog);
2228 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2229 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2230 DEC_PYCALLBACK_BOOL_(Validate);
2231
2232 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2233 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2234 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2235
2236 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2237 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2238
caef1a4d 2239 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 2240 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2241
51b83b37
RD
2242 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2243
d55e5bfc
RD
2244 PYPRIVATE;
2245};
2246
2247IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2248
2249IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2250IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2251IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2252IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2253
2254IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2255IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2256IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2257
2258IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2259IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2260
2261IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2262IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2263IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2264IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2265
2266IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2267IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2268IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2269
2270IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2271IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2272
caef1a4d 2273IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
caef1a4d 2274IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 2275
51b83b37
RD
2276IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2277
d55e5bfc
RD
2278 // C++ version of Python aware wxScrolledWindow
2279class wxPyScrolledWindow : public wxScrolledWindow
2280{
2281 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2282public:
2283 wxPyScrolledWindow() : wxScrolledWindow() {}
2284 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2285 const wxPoint& pos = wxDefaultPosition,
2286 const wxSize& size = wxDefaultSize,
2287 long style = 0,
2288 const wxString& name = wxPyPanelNameStr)
2289 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2290
caef1a4d 2291 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
60d5fcc1
RD
2292 bool DoEraseBackground(wxDC* dc) {
2293#ifdef __WXMSW__
2294 return wxWindow::DoEraseBackground(dc->GetHDC());
2295#else
2296 dc->SetBackground(wxBrush(GetBackgroundColour()));
2297 dc->Clear();
2298 return true;
2299#endif
2300 }
d55e5bfc
RD
2301
2302 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2303 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2304 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2305 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2306
2307 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2308 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2310
2311 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2312 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2313
2314 DEC_PYCALLBACK__(InitDialog);
2315 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2316 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2317 DEC_PYCALLBACK_BOOL_(Validate);
2318
2319 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2320 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2321 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2322
2323 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2324 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2325
caef1a4d 2326 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 2327 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2328
51b83b37
RD
2329 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2330
d55e5bfc
RD
2331 PYPRIVATE;
2332};
2333
2334IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2335
2336IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2337IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2338IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2339IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2340
2341IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2342IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2343IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2344
2345IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2346IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2347
2348IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2349IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2350IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2351IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2352
2353IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2354IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2355IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2356
2357IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2358IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2359
caef1a4d 2360IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
caef1a4d
RD
2361IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2362
51b83b37 2363IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc
RD
2364
2365
2366#include "wx/wxPython/printfw.h"
2367
2368
2369 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2370 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
b9d6a5f3
RD
2371static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2372 PyObject* data;
5a446332 2373 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
2374 data = PyString_FromStringAndSize(self->GetPrivData(),
2375 self->GetPrivDataLen());
2376 wxPyEndBlockThreads(blocked);
2377 return data;
2378 }
2379static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2380 if (! PyString_Check(data)) {
2381 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2382 "Expected string object"));
2383 return /* NULL */ ;
2384 }
2385
5a446332 2386 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
2387 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2388 wxPyEndBlockThreads(blocked);
2389 }
d55e5bfc
RD
2390
2391
c1cb24a4 2392IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
2393
2394// Since this one would be tough and ugly to do with the Macros...
2395void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 2396 bool hadErr = false;
d55e5bfc
RD
2397 bool found;
2398
5a446332 2399 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2400 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2401 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2402 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2403 PyObject* val;
2404
2405 val = PyTuple_GetItem(result, 0);
2406 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 2407 else hadErr = true;
d55e5bfc
RD
2408
2409 val = PyTuple_GetItem(result, 1);
2410 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 2411 else hadErr = true;
d55e5bfc
RD
2412
2413 val = PyTuple_GetItem(result, 2);
2414 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 2415 else hadErr = true;
d55e5bfc
RD
2416
2417 val = PyTuple_GetItem(result, 3);
2418 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 2419 else hadErr = true;
d55e5bfc
RD
2420 }
2421 else
ae8162c8 2422 hadErr = true;
d55e5bfc
RD
2423
2424 if (hadErr) {
2425 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2426 PyErr_Print();
2427 }
2428 Py_DECREF(result);
2429 }
2430 wxPyEndBlockThreads(blocked);
2431 if (! found)
2432 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2433}
2434
2435void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2436 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2437}
2438
2439
2440IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2441IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2442IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2443IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2444IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2445IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2446IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2447
2448
2449
2450
2451
ae8162c8
RD
2452#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2453 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
d55e5bfc
RD
2454 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2455
2456
ae8162c8
RD
2457#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2458 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2459 bool rval=false; \
2460 bool found; \
5a446332 2461 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
ae8162c8
RD
2462 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2463 PyObject* win = wxPyMake_wxObject(a,false); \
2464 PyObject* dc = wxPyMake_wxObject(&b,false); \
2465 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2466 Py_DECREF(win); \
2467 Py_DECREF(dc); \
2468 } \
2469 wxPyEndBlockThreads(blocked); \
2470 if (! found) \
2471 rval = PCLASS::CBNAME(a, b); \
2472 return rval; \
2473 } \
2474 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2475 return PCLASS::CBNAME(a, b); \
d55e5bfc
RD
2476 }
2477
2478
2479
2480
2481class wxPyPrintPreview : public wxPrintPreview
2482{
2483 DECLARE_CLASS(wxPyPrintPreview)
2484public:
2485 wxPyPrintPreview(wxPyPrintout* printout,
2486 wxPyPrintout* printoutForPrinting,
2487 wxPrintDialogData* data=NULL)
2488 : wxPrintPreview(printout, printoutForPrinting, data)
2489 {}
2490 wxPyPrintPreview(wxPyPrintout* printout,
2491 wxPyPrintout* printoutForPrinting,
2492 wxPrintData* data=NULL)
2493 : wxPrintPreview(printout, printoutForPrinting, data)
2494 {}
2495
2496 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2497 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2498 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2499 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2500 DEC_PYCALLBACK_VOID_INT(SetZoom);
2501 DEC_PYCALLBACK_BOOL_BOOL(Print);
2502 DEC_PYCALLBACK_VOID_(DetermineScaling);
2503
2504 PYPRIVATE;
2505};
2506
2507// Stupid renamed classes... Fix this in 2.5...
2508#if defined(__WXMSW__)
2509IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2510#elif defined(__WXMAC__)
2511IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2512#else
2513IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2514#endif
2515
2516IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2517IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2518IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2519IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2520IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2521IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2522IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2523
2524
2525class wxPyPreviewFrame : public wxPreviewFrame
2526{
2527 DECLARE_CLASS(wxPyPreviewFrame);
2528public:
2529 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2530 const wxString& title,
2531 const wxPoint& pos = wxDefaultPosition,
2532 const wxSize& size = wxDefaultSize,
2533 long style = wxDEFAULT_FRAME_STYLE,
2534 const wxString& name = wxPyFrameNameStr)
2535 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2536 {}
2537
2538 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2539 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2540
2541 DEC_PYCALLBACK_VOID_(Initialize);
2542 DEC_PYCALLBACK_VOID_(CreateCanvas);
2543 DEC_PYCALLBACK_VOID_(CreateControlBar);
2544
2545 PYPRIVATE;
2546};
2547
2548IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2549
2550IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2551IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2552IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2553
2554
2555class wxPyPreviewControlBar : public wxPreviewControlBar
2556{
2557 DECLARE_CLASS(wxPyPreviewControlBar);
2558public:
2559 wxPyPreviewControlBar(wxPrintPreview *preview,
2560 long buttons,
2561 wxWindow *parent,
2562 const wxPoint& pos = wxDefaultPosition,
2563 const wxSize& size = wxDefaultSize,
2564 long style = 0,
2565 const wxString& name = wxPyPanelNameStr)
2566 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2567 {}
2568
2569 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2570
2571 DEC_PYCALLBACK_VOID_(CreateButtons);
2572 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2573
2574 PYPRIVATE;
2575};
2576
2577IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2578IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2579IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2580
2581#ifdef __cplusplus
2582extern "C" {
2583#endif
c32bde28 2584static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2585 PyObject *resultobj;
2586 wxWindow *arg1 = (wxWindow *) 0 ;
2587 int arg2 = (int) (int)-1 ;
2588 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2589 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2590 wxSize const &arg4_defvalue = wxDefaultSize ;
2591 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2592 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2593 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2594 wxString *arg6 = (wxString *) &arg6_defvalue ;
2595 wxPanel *result;
2596 wxPoint temp3 ;
2597 wxSize temp4 ;
ae8162c8 2598 bool temp6 = false ;
d55e5bfc
RD
2599 PyObject * obj0 = 0 ;
2600 PyObject * obj1 = 0 ;
2601 PyObject * obj2 = 0 ;
2602 PyObject * obj3 = 0 ;
2603 PyObject * obj4 = 0 ;
2604 PyObject * obj5 = 0 ;
2605 char *kwnames[] = {
2606 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2607 };
2608
2609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
2610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2611 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2612 if (obj1) {
093d3ff1
RD
2613 {
2614 arg2 = (int const)(SWIG_As_int(obj1));
2615 if (SWIG_arg_fail(2)) SWIG_fail;
2616 }
d55e5bfc
RD
2617 }
2618 if (obj2) {
2619 {
2620 arg3 = &temp3;
2621 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2622 }
2623 }
2624 if (obj3) {
2625 {
2626 arg4 = &temp4;
2627 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2628 }
2629 }
2630 if (obj4) {
093d3ff1
RD
2631 {
2632 arg5 = (long)(SWIG_As_long(obj4));
2633 if (SWIG_arg_fail(5)) SWIG_fail;
2634 }
d55e5bfc
RD
2635 }
2636 if (obj5) {
2637 {
2638 arg6 = wxString_in_helper(obj5);
2639 if (arg6 == NULL) SWIG_fail;
ae8162c8 2640 temp6 = true;
d55e5bfc
RD
2641 }
2642 }
2643 {
0439c23b 2644 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2645 PyThreadState* __tstate = wxPyBeginAllowThreads();
2646 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2647
2648 wxPyEndAllowThreads(__tstate);
110da5b0 2649 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2650 }
b0f7404b 2651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2652 {
2653 if (temp6)
2654 delete arg6;
2655 }
2656 return resultobj;
2657 fail:
2658 {
2659 if (temp6)
2660 delete arg6;
2661 }
2662 return NULL;
2663}
2664
2665
c32bde28 2666static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2667 PyObject *resultobj;
2668 wxPanel *result;
2669 char *kwnames[] = {
2670 NULL
2671 };
2672
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2674 {
0439c23b 2675 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2676 PyThreadState* __tstate = wxPyBeginAllowThreads();
2677 result = (wxPanel *)new wxPanel();
2678
2679 wxPyEndAllowThreads(__tstate);
110da5b0 2680 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2681 }
b0f7404b 2682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2683 return resultobj;
2684 fail:
2685 return NULL;
2686}
2687
2688
c32bde28 2689static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2690 PyObject *resultobj;
2691 wxPanel *arg1 = (wxPanel *) 0 ;
2692 wxWindow *arg2 = (wxWindow *) 0 ;
2693 int arg3 = (int) (int)-1 ;
2694 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2695 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2696 wxSize const &arg5_defvalue = wxDefaultSize ;
2697 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2698 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2699 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2700 wxString *arg7 = (wxString *) &arg7_defvalue ;
2701 bool result;
2702 wxPoint temp4 ;
2703 wxSize temp5 ;
ae8162c8 2704 bool temp7 = false ;
d55e5bfc
RD
2705 PyObject * obj0 = 0 ;
2706 PyObject * obj1 = 0 ;
2707 PyObject * obj2 = 0 ;
2708 PyObject * obj3 = 0 ;
2709 PyObject * obj4 = 0 ;
2710 PyObject * obj5 = 0 ;
2711 PyObject * obj6 = 0 ;
2712 char *kwnames[] = {
2713 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2714 };
2715
2716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
2717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2718 if (SWIG_arg_fail(1)) SWIG_fail;
2719 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2720 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 2721 if (obj2) {
093d3ff1
RD
2722 {
2723 arg3 = (int const)(SWIG_As_int(obj2));
2724 if (SWIG_arg_fail(3)) SWIG_fail;
2725 }
d55e5bfc
RD
2726 }
2727 if (obj3) {
2728 {
2729 arg4 = &temp4;
2730 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2731 }
2732 }
2733 if (obj4) {
2734 {
2735 arg5 = &temp5;
2736 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2737 }
2738 }
2739 if (obj5) {
093d3ff1
RD
2740 {
2741 arg6 = (long)(SWIG_As_long(obj5));
2742 if (SWIG_arg_fail(6)) SWIG_fail;
2743 }
d55e5bfc
RD
2744 }
2745 if (obj6) {
2746 {
2747 arg7 = wxString_in_helper(obj6);
2748 if (arg7 == NULL) SWIG_fail;
ae8162c8 2749 temp7 = true;
d55e5bfc
RD
2750 }
2751 }
2752 {
2753 PyThreadState* __tstate = wxPyBeginAllowThreads();
2754 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2755
2756 wxPyEndAllowThreads(__tstate);
2757 if (PyErr_Occurred()) SWIG_fail;
2758 }
2759 {
2760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2761 }
2762 {
2763 if (temp7)
2764 delete arg7;
2765 }
2766 return resultobj;
2767 fail:
2768 {
2769 if (temp7)
2770 delete arg7;
2771 }
2772 return NULL;
2773}
2774
2775
c32bde28 2776static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2777 PyObject *resultobj;
2778 wxPanel *arg1 = (wxPanel *) 0 ;
2779 PyObject * obj0 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "self", NULL
2782 };
2783
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
2785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2786 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2787 {
2788 PyThreadState* __tstate = wxPyBeginAllowThreads();
2789 (arg1)->InitDialog();
2790
2791 wxPyEndAllowThreads(__tstate);
2792 if (PyErr_Occurred()) SWIG_fail;
2793 }
2794 Py_INCREF(Py_None); resultobj = Py_None;
2795 return resultobj;
2796 fail:
2797 return NULL;
2798}
2799
2800
b519803b
RD
2801static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2802 PyObject *resultobj;
2803 wxPanel *arg1 = (wxPanel *) 0 ;
2804 PyObject * obj0 = 0 ;
2805 char *kwnames[] = {
2806 (char *) "self", NULL
2807 };
2808
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
2810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2811 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
2812 {
2813 PyThreadState* __tstate = wxPyBeginAllowThreads();
2814 (arg1)->SetFocus();
2815
2816 wxPyEndAllowThreads(__tstate);
2817 if (PyErr_Occurred()) SWIG_fail;
2818 }
2819 Py_INCREF(Py_None); resultobj = Py_None;
2820 return resultobj;
2821 fail:
2822 return NULL;
2823}
2824
2825
2826static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2827 PyObject *resultobj;
2828 wxPanel *arg1 = (wxPanel *) 0 ;
2829 PyObject * obj0 = 0 ;
2830 char *kwnames[] = {
2831 (char *) "self", NULL
2832 };
2833
2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
093d3ff1
RD
2835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2836 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
2837 {
2838 PyThreadState* __tstate = wxPyBeginAllowThreads();
2839 (arg1)->SetFocusIgnoringChildren();
2840
2841 wxPyEndAllowThreads(__tstate);
2842 if (PyErr_Occurred()) SWIG_fail;
2843 }
2844 Py_INCREF(Py_None); resultobj = Py_None;
2845 return resultobj;
2846 fail:
2847 return NULL;
2848}
2849
2850
c32bde28 2851static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 2852 PyObject *resultobj;
093d3ff1 2853 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
2854 wxVisualAttributes result;
2855 PyObject * obj0 = 0 ;
2856 char *kwnames[] = {
2857 (char *) "variant", NULL
2858 };
2859
2860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2861 if (obj0) {
093d3ff1
RD
2862 {
2863 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2864 if (SWIG_arg_fail(1)) SWIG_fail;
2865 }
f20a2e1f
RD
2866 }
2867 {
0439c23b 2868 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2869 PyThreadState* __tstate = wxPyBeginAllowThreads();
2870 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2871
2872 wxPyEndAllowThreads(__tstate);
110da5b0 2873 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2874 }
2875 {
2876 wxVisualAttributes * resultptr;
093d3ff1 2877 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
2878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2879 }
2880 return resultobj;
2881 fail:
2882 return NULL;
2883}
2884
2885
c32bde28 2886static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2887 PyObject *obj;
2888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2889 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2890 Py_INCREF(obj);
2891 return Py_BuildValue((char *)"");
2892}
c32bde28 2893static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2894 PyObject *resultobj;
2895 wxWindow *arg1 = (wxWindow *) 0 ;
2896 int arg2 = (int) (int)-1 ;
2897 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2898 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2899 wxSize const &arg4_defvalue = wxDefaultSize ;
2900 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2901 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2902 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2903 wxString *arg6 = (wxString *) &arg6_defvalue ;
2904 wxScrolledWindow *result;
2905 wxPoint temp3 ;
2906 wxSize temp4 ;
ae8162c8 2907 bool temp6 = false ;
d55e5bfc
RD
2908 PyObject * obj0 = 0 ;
2909 PyObject * obj1 = 0 ;
2910 PyObject * obj2 = 0 ;
2911 PyObject * obj3 = 0 ;
2912 PyObject * obj4 = 0 ;
2913 PyObject * obj5 = 0 ;
2914 char *kwnames[] = {
2915 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2916 };
2917
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
2919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2920 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2921 if (obj1) {
093d3ff1
RD
2922 {
2923 arg2 = (int const)(SWIG_As_int(obj1));
2924 if (SWIG_arg_fail(2)) SWIG_fail;
2925 }
d55e5bfc
RD
2926 }
2927 if (obj2) {
2928 {
2929 arg3 = &temp3;
2930 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2931 }
2932 }
2933 if (obj3) {
2934 {
2935 arg4 = &temp4;
2936 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2937 }
2938 }
2939 if (obj4) {
093d3ff1
RD
2940 {
2941 arg5 = (long)(SWIG_As_long(obj4));
2942 if (SWIG_arg_fail(5)) SWIG_fail;
2943 }
d55e5bfc
RD
2944 }
2945 if (obj5) {
2946 {
2947 arg6 = wxString_in_helper(obj5);
2948 if (arg6 == NULL) SWIG_fail;
ae8162c8 2949 temp6 = true;
d55e5bfc
RD
2950 }
2951 }
2952 {
0439c23b 2953 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2956
2957 wxPyEndAllowThreads(__tstate);
110da5b0 2958 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2959 }
b0f7404b 2960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
2961 {
2962 if (temp6)
2963 delete arg6;
2964 }
2965 return resultobj;
2966 fail:
2967 {
2968 if (temp6)
2969 delete arg6;
2970 }
2971 return NULL;
2972}
2973
2974
c32bde28 2975static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2976 PyObject *resultobj;
2977 wxScrolledWindow *result;
2978 char *kwnames[] = {
2979 NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2983 {
0439c23b 2984 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
2986 result = (wxScrolledWindow *)new wxScrolledWindow();
2987
2988 wxPyEndAllowThreads(__tstate);
110da5b0 2989 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2990 }
b0f7404b 2991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
2992 return resultobj;
2993 fail:
2994 return NULL;
2995}
2996
2997
c32bde28 2998static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2999 PyObject *resultobj;
3000 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3001 wxWindow *arg2 = (wxWindow *) 0 ;
3002 int arg3 = (int) (int)-1 ;
3003 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3004 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3005 wxSize const &arg5_defvalue = wxDefaultSize ;
3006 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3007 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
3008 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3009 wxString *arg7 = (wxString *) &arg7_defvalue ;
3010 bool result;
3011 wxPoint temp4 ;
3012 wxSize temp5 ;
ae8162c8 3013 bool temp7 = false ;
d55e5bfc
RD
3014 PyObject * obj0 = 0 ;
3015 PyObject * obj1 = 0 ;
3016 PyObject * obj2 = 0 ;
3017 PyObject * obj3 = 0 ;
3018 PyObject * obj4 = 0 ;
3019 PyObject * obj5 = 0 ;
3020 PyObject * obj6 = 0 ;
3021 char *kwnames[] = {
3022 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3023 };
3024
3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
3026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3027 if (SWIG_arg_fail(1)) SWIG_fail;
3028 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3029 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 3030 if (obj2) {
093d3ff1
RD
3031 {
3032 arg3 = (int const)(SWIG_As_int(obj2));
3033 if (SWIG_arg_fail(3)) SWIG_fail;
3034 }
d55e5bfc
RD
3035 }
3036 if (obj3) {
3037 {
3038 arg4 = &temp4;
3039 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3040 }
3041 }
3042 if (obj4) {
3043 {
3044 arg5 = &temp5;
3045 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3046 }
3047 }
3048 if (obj5) {
093d3ff1
RD
3049 {
3050 arg6 = (long)(SWIG_As_long(obj5));
3051 if (SWIG_arg_fail(6)) SWIG_fail;
3052 }
d55e5bfc
RD
3053 }
3054 if (obj6) {
3055 {
3056 arg7 = wxString_in_helper(obj6);
3057 if (arg7 == NULL) SWIG_fail;
ae8162c8 3058 temp7 = true;
d55e5bfc
RD
3059 }
3060 }
3061 {
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 {
3069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3070 }
3071 {
3072 if (temp7)
3073 delete arg7;
3074 }
3075 return resultobj;
3076 fail:
3077 {
3078 if (temp7)
3079 delete arg7;
3080 }
3081 return NULL;
3082}
3083
3084
c32bde28 3085static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3086 PyObject *resultobj;
3087 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3088 int arg2 ;
3089 int arg3 ;
3090 int arg4 ;
3091 int arg5 ;
3092 int arg6 = (int) 0 ;
3093 int arg7 = (int) 0 ;
ae8162c8 3094 bool arg8 = (bool) false ;
d55e5bfc
RD
3095 PyObject * obj0 = 0 ;
3096 PyObject * obj1 = 0 ;
3097 PyObject * obj2 = 0 ;
3098 PyObject * obj3 = 0 ;
3099 PyObject * obj4 = 0 ;
3100 PyObject * obj5 = 0 ;
3101 PyObject * obj6 = 0 ;
3102 PyObject * obj7 = 0 ;
3103 char *kwnames[] = {
3104 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3105 };
3106
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3109 if (SWIG_arg_fail(1)) SWIG_fail;
3110 {
3111 arg2 = (int)(SWIG_As_int(obj1));
3112 if (SWIG_arg_fail(2)) SWIG_fail;
3113 }
3114 {
3115 arg3 = (int)(SWIG_As_int(obj2));
3116 if (SWIG_arg_fail(3)) SWIG_fail;
3117 }
3118 {
3119 arg4 = (int)(SWIG_As_int(obj3));
3120 if (SWIG_arg_fail(4)) SWIG_fail;
3121 }
3122 {
3123 arg5 = (int)(SWIG_As_int(obj4));
3124 if (SWIG_arg_fail(5)) SWIG_fail;
3125 }
d55e5bfc 3126 if (obj5) {
093d3ff1
RD
3127 {
3128 arg6 = (int)(SWIG_As_int(obj5));
3129 if (SWIG_arg_fail(6)) SWIG_fail;
3130 }
d55e5bfc
RD
3131 }
3132 if (obj6) {
093d3ff1
RD
3133 {
3134 arg7 = (int)(SWIG_As_int(obj6));
3135 if (SWIG_arg_fail(7)) SWIG_fail;
3136 }
d55e5bfc
RD
3137 }
3138 if (obj7) {
093d3ff1
RD
3139 {
3140 arg8 = (bool)(SWIG_As_bool(obj7));
3141 if (SWIG_arg_fail(8)) SWIG_fail;
3142 }
d55e5bfc
RD
3143 }
3144 {
3145 PyThreadState* __tstate = wxPyBeginAllowThreads();
3146 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3147
3148 wxPyEndAllowThreads(__tstate);
3149 if (PyErr_Occurred()) SWIG_fail;
3150 }
3151 Py_INCREF(Py_None); resultobj = Py_None;
3152 return resultobj;
3153 fail:
3154 return NULL;
3155}
3156
3157
c32bde28 3158static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3159 PyObject *resultobj;
3160 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3161 int arg2 ;
3162 int arg3 ;
3163 PyObject * obj0 = 0 ;
3164 PyObject * obj1 = 0 ;
3165 PyObject * obj2 = 0 ;
3166 char *kwnames[] = {
3167 (char *) "self",(char *) "x",(char *) "y", NULL
3168 };
3169
3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3172 if (SWIG_arg_fail(1)) SWIG_fail;
3173 {
3174 arg2 = (int)(SWIG_As_int(obj1));
3175 if (SWIG_arg_fail(2)) SWIG_fail;
3176 }
3177 {
3178 arg3 = (int)(SWIG_As_int(obj2));
3179 if (SWIG_arg_fail(3)) SWIG_fail;
3180 }
d55e5bfc
RD
3181 {
3182 PyThreadState* __tstate = wxPyBeginAllowThreads();
3183 (arg1)->Scroll(arg2,arg3);
3184
3185 wxPyEndAllowThreads(__tstate);
3186 if (PyErr_Occurred()) SWIG_fail;
3187 }
3188 Py_INCREF(Py_None); resultobj = Py_None;
3189 return resultobj;
3190 fail:
3191 return NULL;
3192}
3193
3194
c32bde28 3195static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3196 PyObject *resultobj;
3197 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3198 int arg2 ;
3199 int result;
3200 PyObject * obj0 = 0 ;
3201 PyObject * obj1 = 0 ;
3202 char *kwnames[] = {
3203 (char *) "self",(char *) "orient", NULL
3204 };
3205
3206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3208 if (SWIG_arg_fail(1)) SWIG_fail;
3209 {
3210 arg2 = (int)(SWIG_As_int(obj1));
3211 if (SWIG_arg_fail(2)) SWIG_fail;
3212 }
d55e5bfc
RD
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
093d3ff1
RD
3220 {
3221 resultobj = SWIG_From_int((int)(result));
3222 }
d55e5bfc
RD
3223 return resultobj;
3224 fail:
3225 return NULL;
3226}
3227
3228
c32bde28 3229static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3230 PyObject *resultobj;
3231 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3232 int arg2 ;
3233 int arg3 ;
3234 PyObject * obj0 = 0 ;
3235 PyObject * obj1 = 0 ;
3236 PyObject * obj2 = 0 ;
3237 char *kwnames[] = {
3238 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3239 };
3240
3241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3243 if (SWIG_arg_fail(1)) SWIG_fail;
3244 {
3245 arg2 = (int)(SWIG_As_int(obj1));
3246 if (SWIG_arg_fail(2)) SWIG_fail;
3247 }
3248 {
3249 arg3 = (int)(SWIG_As_int(obj2));
3250 if (SWIG_arg_fail(3)) SWIG_fail;
3251 }
d55e5bfc
RD
3252 {
3253 PyThreadState* __tstate = wxPyBeginAllowThreads();
3254 (arg1)->SetScrollPageSize(arg2,arg3);
3255
3256 wxPyEndAllowThreads(__tstate);
3257 if (PyErr_Occurred()) SWIG_fail;
3258 }
3259 Py_INCREF(Py_None); resultobj = Py_None;
3260 return resultobj;
3261 fail:
3262 return NULL;
3263}
3264
3265
c32bde28 3266static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3267 PyObject *resultobj;
3268 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3269 int arg2 ;
3270 int arg3 ;
3271 PyObject * obj0 = 0 ;
3272 PyObject * obj1 = 0 ;
3273 PyObject * obj2 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3280 if (SWIG_arg_fail(1)) SWIG_fail;
3281 {
3282 arg2 = (int)(SWIG_As_int(obj1));
3283 if (SWIG_arg_fail(2)) SWIG_fail;
3284 }
3285 {
3286 arg3 = (int)(SWIG_As_int(obj2));
3287 if (SWIG_arg_fail(3)) SWIG_fail;
3288 }
d55e5bfc
RD
3289 {
3290 PyThreadState* __tstate = wxPyBeginAllowThreads();
3291 (arg1)->SetScrollRate(arg2,arg3);
3292
3293 wxPyEndAllowThreads(__tstate);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
3296 Py_INCREF(Py_None); resultobj = Py_None;
3297 return resultobj;
3298 fail:
3299 return NULL;
3300}
3301
3302
c32bde28 3303static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3304 PyObject *resultobj;
3305 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3306 int *arg2 = (int *) 0 ;
3307 int *arg3 = (int *) 0 ;
3308 int temp2 ;
c32bde28 3309 int res2 = 0 ;
d55e5bfc 3310 int temp3 ;
c32bde28 3311 int res3 = 0 ;
d55e5bfc
RD
3312 PyObject * obj0 = 0 ;
3313 char *kwnames[] = {
3314 (char *) "self", NULL
3315 };
3316
c32bde28
RD
3317 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3318 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
093d3ff1
RD
3320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3321 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3322 {
3323 PyThreadState* __tstate = wxPyBeginAllowThreads();
3324 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3325
3326 wxPyEndAllowThreads(__tstate);
3327 if (PyErr_Occurred()) SWIG_fail;
3328 }
3329 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3330 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3331 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3332 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3333 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3334 return resultobj;
3335 fail:
3336 return NULL;
3337}
3338
3339
c32bde28 3340static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3341 PyObject *resultobj;
3342 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3343 bool arg2 ;
3344 bool arg3 ;
3345 PyObject * obj0 = 0 ;
3346 PyObject * obj1 = 0 ;
3347 PyObject * obj2 = 0 ;
3348 char *kwnames[] = {
3349 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3350 };
3351
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3354 if (SWIG_arg_fail(1)) SWIG_fail;
3355 {
3356 arg2 = (bool)(SWIG_As_bool(obj1));
3357 if (SWIG_arg_fail(2)) SWIG_fail;
3358 }
3359 {
3360 arg3 = (bool)(SWIG_As_bool(obj2));
3361 if (SWIG_arg_fail(3)) SWIG_fail;
3362 }
d55e5bfc
RD
3363 {
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 (arg1)->EnableScrolling(arg2,arg3);
3366
3367 wxPyEndAllowThreads(__tstate);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
3370 Py_INCREF(Py_None); resultobj = Py_None;
3371 return resultobj;
3372 fail:
3373 return NULL;
3374}
3375
3376
c32bde28 3377static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3378 PyObject *resultobj;
3379 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3380 int *arg2 = (int *) 0 ;
3381 int *arg3 = (int *) 0 ;
3382 int temp2 ;
c32bde28 3383 int res2 = 0 ;
d55e5bfc 3384 int temp3 ;
c32bde28 3385 int res3 = 0 ;
d55e5bfc
RD
3386 PyObject * obj0 = 0 ;
3387 char *kwnames[] = {
3388 (char *) "self", NULL
3389 };
3390
c32bde28
RD
3391 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3392 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
3394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3395 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3404 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3405 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3406 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3407 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3408 return resultobj;
3409 fail:
3410 return NULL;
3411}
3412
3413
c32bde28 3414static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3415 PyObject *resultobj;
3416 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3417 double arg2 ;
3418 double arg3 ;
3419 PyObject * obj0 = 0 ;
3420 PyObject * obj1 = 0 ;
3421 PyObject * obj2 = 0 ;
3422 char *kwnames[] = {
3423 (char *) "self",(char *) "xs",(char *) "ys", NULL
3424 };
3425
3426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3428 if (SWIG_arg_fail(1)) SWIG_fail;
3429 {
3430 arg2 = (double)(SWIG_As_double(obj1));
3431 if (SWIG_arg_fail(2)) SWIG_fail;
3432 }
3433 {
3434 arg3 = (double)(SWIG_As_double(obj2));
3435 if (SWIG_arg_fail(3)) SWIG_fail;
3436 }
d55e5bfc
RD
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 (arg1)->SetScale(arg2,arg3);
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 Py_INCREF(Py_None); resultobj = Py_None;
3445 return resultobj;
3446 fail:
3447 return NULL;
3448}
3449
3450
c32bde28 3451static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3452 PyObject *resultobj;
3453 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3454 double result;
3455 PyObject * obj0 = 0 ;
3456 char *kwnames[] = {
3457 (char *) "self", NULL
3458 };
3459
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3462 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3463 {
3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
3465 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3466
3467 wxPyEndAllowThreads(__tstate);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 }
093d3ff1
RD
3470 {
3471 resultobj = SWIG_From_double((double)(result));
3472 }
d55e5bfc
RD
3473 return resultobj;
3474 fail:
3475 return NULL;
3476}
3477
3478
c32bde28 3479static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3480 PyObject *resultobj;
3481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3482 double result;
3483 PyObject * obj0 = 0 ;
3484 char *kwnames[] = {
3485 (char *) "self", NULL
3486 };
3487
3488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3490 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3491 {
3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
3493 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3494
3495 wxPyEndAllowThreads(__tstate);
3496 if (PyErr_Occurred()) SWIG_fail;
3497 }
093d3ff1
RD
3498 {
3499 resultobj = SWIG_From_double((double)(result));
3500 }
d55e5bfc
RD
3501 return resultobj;
3502 fail:
3503 return NULL;
3504}
3505
3506
c32bde28 3507static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
3508 PyObject *resultobj;
3509 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3510 wxPoint *arg2 = 0 ;
3511 wxPoint result;
3512 wxPoint temp2 ;
3513 PyObject * obj0 = 0 ;
3514 PyObject * obj1 = 0 ;
3515
3516 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3518 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3519 {
3520 arg2 = &temp2;
3521 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3522 }
3523 {
3524 PyThreadState* __tstate = wxPyBeginAllowThreads();
3525 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3526
3527 wxPyEndAllowThreads(__tstate);
3528 if (PyErr_Occurred()) SWIG_fail;
3529 }
3530 {
3531 wxPoint * resultptr;
093d3ff1 3532 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
3533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3534 }
3535 return resultobj;
3536 fail:
3537 return NULL;
3538}
3539
3540
c32bde28 3541static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
3542 PyObject *resultobj;
3543 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3544 int arg2 ;
3545 int arg3 ;
3546 int *arg4 = (int *) 0 ;
3547 int *arg5 = (int *) 0 ;
3548 int temp4 ;
c32bde28 3549 int res4 = 0 ;
d55e5bfc 3550 int temp5 ;
c32bde28 3551 int res5 = 0 ;
d55e5bfc
RD
3552 PyObject * obj0 = 0 ;
3553 PyObject * obj1 = 0 ;
3554 PyObject * obj2 = 0 ;
3555
c32bde28
RD
3556 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3557 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3558 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3560 if (SWIG_arg_fail(1)) SWIG_fail;
3561 {
3562 arg2 = (int)(SWIG_As_int(obj1));
3563 if (SWIG_arg_fail(2)) SWIG_fail;
3564 }
3565 {
3566 arg3 = (int)(SWIG_As_int(obj2));
3567 if (SWIG_arg_fail(3)) SWIG_fail;
3568 }
d55e5bfc
RD
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3577 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3578 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3579 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3580 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3581 return resultobj;
3582 fail:
3583 return NULL;
3584}
3585
3586
3587static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3588 int argc;
3589 PyObject *argv[4];
3590 int ii;
3591
3592 argc = PyObject_Length(args);
3593 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3594 argv[ii] = PyTuple_GetItem(args,ii);
3595 }
3596 if (argc == 2) {
3597 int _v;
3598 {
3599 void *ptr;
3600 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3601 _v = 0;
3602 PyErr_Clear();
3603 } else {
3604 _v = 1;
3605 }
3606 }
3607 if (_v) {
3608 {
3609 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3610 }
3611 if (_v) {
3612 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3613 }
3614 }
3615 }
3616 if (argc == 3) {
3617 int _v;
3618 {
3619 void *ptr;
3620 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3621 _v = 0;
3622 PyErr_Clear();
3623 } else {
3624 _v = 1;
3625 }
3626 }
3627 if (_v) {
c32bde28 3628 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3629 if (_v) {
c32bde28 3630 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3631 if (_v) {
3632 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3633 }
3634 }
3635 }
3636 }
3637
093d3ff1 3638 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
d55e5bfc
RD
3639 return NULL;
3640}
3641
3642
c32bde28 3643static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
3644 PyObject *resultobj;
3645 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3646 wxPoint *arg2 = 0 ;
3647 wxPoint result;
3648 wxPoint temp2 ;
3649 PyObject * obj0 = 0 ;
3650 PyObject * obj1 = 0 ;
3651
3652 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3654 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3655 {
3656 arg2 = &temp2;
3657 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3658 }
3659 {
3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
3661 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3662
3663 wxPyEndAllowThreads(__tstate);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
3666 {
3667 wxPoint * resultptr;
093d3ff1 3668 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
3669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3670 }
3671 return resultobj;
3672 fail:
3673 return NULL;
3674}
3675
3676
c32bde28 3677static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
3678 PyObject *resultobj;
3679 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3680 int arg2 ;
3681 int arg3 ;
3682 int *arg4 = (int *) 0 ;
3683 int *arg5 = (int *) 0 ;
3684 int temp4 ;
c32bde28 3685 int res4 = 0 ;
d55e5bfc 3686 int temp5 ;
c32bde28 3687 int res5 = 0 ;
d55e5bfc
RD
3688 PyObject * obj0 = 0 ;
3689 PyObject * obj1 = 0 ;
3690 PyObject * obj2 = 0 ;
3691
c32bde28
RD
3692 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3693 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3694 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3696 if (SWIG_arg_fail(1)) SWIG_fail;
3697 {
3698 arg2 = (int)(SWIG_As_int(obj1));
3699 if (SWIG_arg_fail(2)) SWIG_fail;
3700 }
3701 {
3702 arg3 = (int)(SWIG_As_int(obj2));
3703 if (SWIG_arg_fail(3)) SWIG_fail;
3704 }
d55e5bfc
RD
3705 {
3706 PyThreadState* __tstate = wxPyBeginAllowThreads();
3707 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3708
3709 wxPyEndAllowThreads(__tstate);
3710 if (PyErr_Occurred()) SWIG_fail;
3711 }
3712 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3713 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3714 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3715 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3716 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3717 return resultobj;
3718 fail:
3719 return NULL;
3720}
3721
3722
3723static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3724 int argc;
3725 PyObject *argv[4];
3726 int ii;
3727
3728 argc = PyObject_Length(args);
3729 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3730 argv[ii] = PyTuple_GetItem(args,ii);
3731 }
3732 if (argc == 2) {
3733 int _v;
3734 {
3735 void *ptr;
3736 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3737 _v = 0;
3738 PyErr_Clear();
3739 } else {
3740 _v = 1;
3741 }
3742 }
3743 if (_v) {
3744 {
3745 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3746 }
3747 if (_v) {
3748 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3749 }
3750 }
3751 }
3752 if (argc == 3) {
3753 int _v;
3754 {
3755 void *ptr;
3756 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3757 _v = 0;
3758 PyErr_Clear();
3759 } else {
3760 _v = 1;
3761 }
3762 }
3763 if (_v) {
c32bde28 3764 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3765 if (_v) {
c32bde28 3766 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3767 if (_v) {
3768 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3769 }
3770 }
3771 }
3772 }
3773
093d3ff1 3774 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
d55e5bfc
RD
3775 return NULL;
3776}
3777
3778
c32bde28 3779static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3780 PyObject *resultobj;
3781 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3782 PyObject * obj0 = 0 ;
3783 char *kwnames[] = {
3784 (char *) "self", NULL
3785 };
3786
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
093d3ff1
RD
3788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3789 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 (arg1)->AdjustScrollbars();
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 Py_INCREF(Py_None); resultobj = Py_None;
3798 return resultobj;
3799 fail:
3800 return NULL;
3801}
3802
3803
c32bde28 3804static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3805 PyObject *resultobj;
3806 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3807 wxScrollWinEvent *arg2 = 0 ;
3808 int result;
3809 PyObject * obj0 = 0 ;
3810 PyObject * obj1 = 0 ;
3811 char *kwnames[] = {
3812 (char *) "self",(char *) "event", NULL
3813 };
3814
3815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3817 if (SWIG_arg_fail(1)) SWIG_fail;
3818 {
3819 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3820 if (SWIG_arg_fail(2)) SWIG_fail;
3821 if (arg2 == NULL) {
3822 SWIG_null_ref("wxScrollWinEvent");
3823 }
3824 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3825 }
3826 {
3827 PyThreadState* __tstate = wxPyBeginAllowThreads();
3828 result = (int)(arg1)->CalcScrollInc(*arg2);
3829
3830 wxPyEndAllowThreads(__tstate);
3831 if (PyErr_Occurred()) SWIG_fail;
3832 }
093d3ff1
RD
3833 {
3834 resultobj = SWIG_From_int((int)(result));
3835 }
d55e5bfc
RD
3836 return resultobj;
3837 fail:
3838 return NULL;
3839}
3840
3841
c32bde28 3842static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3843 PyObject *resultobj;
3844 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3845 wxWindow *arg2 = (wxWindow *) 0 ;
3846 PyObject * obj0 = 0 ;
3847 PyObject * obj1 = 0 ;
3848 char *kwnames[] = {
3849 (char *) "self",(char *) "target", NULL
3850 };
3851
3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail;
3855 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3856 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 (arg1)->SetTargetWindow(arg2);
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 Py_INCREF(Py_None); resultobj = Py_None;
3865 return resultobj;
3866 fail:
3867 return NULL;
3868}
3869
3870
c32bde28 3871static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3872 PyObject *resultobj;
3873 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3874 wxWindow *result;
3875 PyObject * obj0 = 0 ;
3876 char *kwnames[] = {
3877 (char *) "self", NULL
3878 };
3879
3880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
3881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3882 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3883 {
3884 PyThreadState* __tstate = wxPyBeginAllowThreads();
3885 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3886
3887 wxPyEndAllowThreads(__tstate);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
3890 {
412d302d 3891 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
3892 }
3893 return resultobj;
3894 fail:
3895 return NULL;
3896}
3897
3898
c32bde28 3899static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3900 PyObject *resultobj;
3901 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3902 wxRect *arg2 = 0 ;
3903 wxRect temp2 ;
3904 PyObject * obj0 = 0 ;
3905 PyObject * obj1 = 0 ;
3906 char *kwnames[] = {
3907 (char *) "self",(char *) "rect", NULL
3908 };
3909
3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3912 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3913 {
3914 arg2 = &temp2;
3915 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3916 }
3917 {
3918 PyThreadState* __tstate = wxPyBeginAllowThreads();
3919 (arg1)->SetTargetRect((wxRect const &)*arg2);
3920
3921 wxPyEndAllowThreads(__tstate);
3922 if (PyErr_Occurred()) SWIG_fail;
3923 }
3924 Py_INCREF(Py_None); resultobj = Py_None;
3925 return resultobj;
3926 fail:
3927 return NULL;
3928}
3929
3930
c32bde28 3931static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3932 PyObject *resultobj;
3933 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3934 wxRect result;
3935 PyObject * obj0 = 0 ;
3936 char *kwnames[] = {
3937 (char *) "self", NULL
3938 };
3939
3940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
3941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3942 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3943 {
3944 PyThreadState* __tstate = wxPyBeginAllowThreads();
3945 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
3946
3947 wxPyEndAllowThreads(__tstate);
3948 if (PyErr_Occurred()) SWIG_fail;
3949 }
3950 {
3951 wxRect * resultptr;
093d3ff1 3952 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
3953 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3954 }
3955 return resultobj;
3956 fail:
3957 return NULL;
3958}
3959
3960
c32bde28 3961static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
f5b96ee1
RD
3962 PyObject *resultobj;
3963 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3964 wxDC *arg2 = 0 ;
3965 PyObject * obj0 = 0 ;
3966 PyObject * obj1 = 0 ;
3967 char *kwnames[] = {
3968 (char *) "self",(char *) "dc", NULL
3969 };
3970
3971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3973 if (SWIG_arg_fail(1)) SWIG_fail;
3974 {
3975 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3976 if (SWIG_arg_fail(2)) SWIG_fail;
3977 if (arg2 == NULL) {
3978 SWIG_null_ref("wxDC");
3979 }
3980 if (SWIG_arg_fail(2)) SWIG_fail;
f5b96ee1
RD
3981 }
3982 {
3983 PyThreadState* __tstate = wxPyBeginAllowThreads();
3984 (arg1)->DoPrepareDC(*arg2);
3985
3986 wxPyEndAllowThreads(__tstate);
3987 if (PyErr_Occurred()) SWIG_fail;
3988 }
3989 Py_INCREF(Py_None); resultobj = Py_None;
3990 return resultobj;
3991 fail:
3992 return NULL;
3993}
3994
3995
c32bde28 3996static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 3997 PyObject *resultobj;
093d3ff1 3998 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3999 wxVisualAttributes result;
4000 PyObject * obj0 = 0 ;
4001 char *kwnames[] = {
4002 (char *) "variant", NULL
4003 };
4004
4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4006 if (obj0) {
093d3ff1
RD
4007 {
4008 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4009 if (SWIG_arg_fail(1)) SWIG_fail;
4010 }
f20a2e1f
RD
4011 }
4012 {
0439c23b 4013 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4014 PyThreadState* __tstate = wxPyBeginAllowThreads();
4015 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
4016
4017 wxPyEndAllowThreads(__tstate);
110da5b0 4018 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4019 }
4020 {
4021 wxVisualAttributes * resultptr;
093d3ff1 4022 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
4023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4024 }
4025 return resultobj;
4026 fail:
4027 return NULL;
4028}
4029
4030
c32bde28 4031static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4032 PyObject *obj;
4033 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4034 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
4035 Py_INCREF(obj);
4036 return Py_BuildValue((char *)"");
4037}
c32bde28 4038static int _wrap_FrameNameStr_set(PyObject *) {
d55e5bfc
RD
4039 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
4040 return 1;
4041}
4042
4043
093d3ff1 4044static PyObject *_wrap_FrameNameStr_get(void) {
d55e5bfc
RD
4045 PyObject *pyobj;
4046
4047 {
4048#if wxUSE_UNICODE
4049 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4050#else
4051 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4052#endif
4053 }
4054 return pyobj;
4055}
4056
4057
c32bde28 4058static int _wrap_DialogNameStr_set(PyObject *) {
d55e5bfc
RD
4059 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4060 return 1;
4061}
4062
4063
093d3ff1 4064static PyObject *_wrap_DialogNameStr_get(void) {
d55e5bfc
RD
4065 PyObject *pyobj;
4066
4067 {
4068#if wxUSE_UNICODE
4069 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4070#else
4071 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4072#endif
4073 }
4074 return pyobj;
4075}
4076
4077
c32bde28 4078static int _wrap_StatusLineNameStr_set(PyObject *) {
d55e5bfc
RD
4079 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4080 return 1;
4081}
4082
4083
093d3ff1 4084static PyObject *_wrap_StatusLineNameStr_get(void) {
d55e5bfc
RD
4085 PyObject *pyobj;
4086
4087 {
4088#if wxUSE_UNICODE
4089 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4090#else
4091 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4092#endif
4093 }
4094 return pyobj;
4095}
4096
4097
c32bde28 4098static int _wrap_ToolBarNameStr_set(PyObject *) {
d55e5bfc
RD
4099 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4100 return 1;
4101}
4102
4103
093d3ff1 4104static PyObject *_wrap_ToolBarNameStr_get(void) {
d55e5bfc
RD
4105 PyObject *pyobj;
4106
4107 {
4108#if wxUSE_UNICODE
4109 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4110#else
4111 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4112#endif
4113 }
4114 return pyobj;
4115}
4116
4117
c32bde28 4118static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4119 PyObject *resultobj;
4120 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4121 bool arg2 = (bool) true ;
d55e5bfc
RD
4122 PyObject * obj0 = 0 ;
4123 PyObject * obj1 = 0 ;
4124 char *kwnames[] = {
4125 (char *) "self",(char *) "maximize", NULL
4126 };
4127
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4130 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4131 if (obj1) {
093d3ff1
RD
4132 {
4133 arg2 = (bool)(SWIG_As_bool(obj1));
4134 if (SWIG_arg_fail(2)) SWIG_fail;
4135 }
d55e5bfc
RD
4136 }
4137 {
4138 PyThreadState* __tstate = wxPyBeginAllowThreads();
4139 (arg1)->Maximize(arg2);
4140
4141 wxPyEndAllowThreads(__tstate);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4144 Py_INCREF(Py_None); resultobj = Py_None;
4145 return resultobj;
4146 fail:
4147 return NULL;
4148}
4149
4150
c32bde28 4151static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4152 PyObject *resultobj;
4153 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4154 PyObject * obj0 = 0 ;
4155 char *kwnames[] = {
4156 (char *) "self", NULL
4157 };
4158
4159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
4160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4162 {
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 (arg1)->Restore();
4165
4166 wxPyEndAllowThreads(__tstate);
4167 if (PyErr_Occurred()) SWIG_fail;
4168 }
4169 Py_INCREF(Py_None); resultobj = Py_None;
4170 return resultobj;
4171 fail:
4172 return NULL;
4173}
4174
4175
c32bde28 4176static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4177 PyObject *resultobj;
4178 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4179 bool arg2 = (bool) true ;
d55e5bfc
RD
4180 PyObject * obj0 = 0 ;
4181 PyObject * obj1 = 0 ;
4182 char *kwnames[] = {
4183 (char *) "self",(char *) "iconize", NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4188 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4189 if (obj1) {
093d3ff1
RD
4190 {
4191 arg2 = (bool)(SWIG_As_bool(obj1));
4192 if (SWIG_arg_fail(2)) SWIG_fail;
4193 }
d55e5bfc
RD
4194 }
4195 {
4196 PyThreadState* __tstate = wxPyBeginAllowThreads();
4197 (arg1)->Iconize(arg2);
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
4202 Py_INCREF(Py_None); resultobj = Py_None;
4203 return resultobj;
4204 fail:
4205 return NULL;
4206}
4207
4208
c32bde28 4209static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4210 PyObject *resultobj;
4211 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4212 bool result;
4213 PyObject * obj0 = 0 ;
4214 char *kwnames[] = {
4215 (char *) "self", NULL
4216 };
4217
4218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4220 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4221 {
4222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4223 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4224
4225 wxPyEndAllowThreads(__tstate);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
4228 {
4229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4230 }
4231 return resultobj;
4232 fail:
4233 return NULL;
4234}
4235
4236
c32bde28 4237static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4238 PyObject *resultobj;
4239 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4240 bool result;
4241 PyObject * obj0 = 0 ;
4242 char *kwnames[] = {
4243 (char *) "self", NULL
4244 };
4245
4246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4248 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4249 {
4250 PyThreadState* __tstate = wxPyBeginAllowThreads();
4251 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4252
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 {
4257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4258 }
4259 return resultobj;
4260 fail:
4261 return NULL;
4262}
4263
4264
c32bde28 4265static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4266 PyObject *resultobj;
4267 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4268 wxIcon result;
4269 PyObject * obj0 = 0 ;
4270 char *kwnames[] = {
4271 (char *) "self", NULL
4272 };
4273
4274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
4275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4277 {
4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
4279 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) SWIG_fail;
4283 }
4284 {
4285 wxIcon * resultptr;
093d3ff1 4286 resultptr = new wxIcon((wxIcon &)(result));
d55e5bfc
RD
4287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4288 }
4289 return resultobj;
4290 fail:
4291 return NULL;
4292}
4293
4294
c32bde28 4295static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4296 PyObject *resultobj;
4297 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4298 wxIcon *arg2 = 0 ;
4299 PyObject * obj0 = 0 ;
4300 PyObject * obj1 = 0 ;
4301 char *kwnames[] = {
4302 (char *) "self",(char *) "icon", NULL
4303 };
4304
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4307 if (SWIG_arg_fail(1)) SWIG_fail;
4308 {
4309 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4310 if (SWIG_arg_fail(2)) SWIG_fail;
4311 if (arg2 == NULL) {
4312 SWIG_null_ref("wxIcon");
4313 }
4314 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4315 }
4316 {
4317 PyThreadState* __tstate = wxPyBeginAllowThreads();
4318 (arg1)->SetIcon((wxIcon const &)*arg2);
4319
4320 wxPyEndAllowThreads(__tstate);
4321 if (PyErr_Occurred()) SWIG_fail;
4322 }
4323 Py_INCREF(Py_None); resultobj = Py_None;
4324 return resultobj;
4325 fail:
4326 return NULL;
4327}
4328
4329
c32bde28 4330static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4331 PyObject *resultobj;
4332 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4333 wxIconBundle *arg2 = 0 ;
4334 PyObject * obj0 = 0 ;
4335 PyObject * obj1 = 0 ;
4336 char *kwnames[] = {
4337 (char *) "self",(char *) "icons", NULL
4338 };
4339
4340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4342 if (SWIG_arg_fail(1)) SWIG_fail;
4343 {
4344 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4345 if (SWIG_arg_fail(2)) SWIG_fail;
4346 if (arg2 == NULL) {
4347 SWIG_null_ref("wxIconBundle");
4348 }
4349 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4350 }
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 Py_INCREF(Py_None); resultobj = Py_None;
4359 return resultobj;
4360 fail:
4361 return NULL;
4362}
4363
4364
c32bde28 4365static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4366 PyObject *resultobj;
4367 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4368 bool arg2 ;
4369 long arg3 = (long) wxFULLSCREEN_ALL ;
4370 bool result;
4371 PyObject * obj0 = 0 ;
4372 PyObject * obj1 = 0 ;
4373 PyObject * obj2 = 0 ;
4374 char *kwnames[] = {
4375 (char *) "self",(char *) "show",(char *) "style", NULL
4376 };
4377
4378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4380 if (SWIG_arg_fail(1)) SWIG_fail;
4381 {
4382 arg2 = (bool)(SWIG_As_bool(obj1));
4383 if (SWIG_arg_fail(2)) SWIG_fail;
4384 }
d55e5bfc 4385 if (obj2) {
093d3ff1
RD
4386 {
4387 arg3 = (long)(SWIG_As_long(obj2));
4388 if (SWIG_arg_fail(3)) SWIG_fail;
4389 }
d55e5bfc
RD
4390 }
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4394
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 {
4399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4400 }
4401 return resultobj;
4402 fail:
4403 return NULL;
4404}
4405
4406
c32bde28 4407static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4408 PyObject *resultobj;
4409 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4410 bool result;
4411 PyObject * obj0 = 0 ;
4412 char *kwnames[] = {
4413 (char *) "self", NULL
4414 };
4415
4416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
4417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4418 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4422
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 {
4427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4428 }
4429 return resultobj;
4430 fail:
4431 return NULL;
4432}
4433
4434
c32bde28 4435static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4436 PyObject *resultobj;
4437 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4438 wxString *arg2 = 0 ;
ae8162c8 4439 bool temp2 = false ;
d55e5bfc
RD
4440 PyObject * obj0 = 0 ;
4441 PyObject * obj1 = 0 ;
4442 char *kwnames[] = {
4443 (char *) "self",(char *) "title", NULL
4444 };
4445
4446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4448 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4449 {
4450 arg2 = wxString_in_helper(obj1);
4451 if (arg2 == NULL) SWIG_fail;
ae8162c8 4452 temp2 = true;
d55e5bfc
RD
4453 }
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 (arg1)->SetTitle((wxString const &)*arg2);
4457
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
4461 Py_INCREF(Py_None); resultobj = Py_None;
4462 {
4463 if (temp2)
4464 delete arg2;
4465 }
4466 return resultobj;
4467 fail:
4468 {
4469 if (temp2)
4470 delete arg2;
4471 }
4472 return NULL;
4473}
4474
4475
c32bde28 4476static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4477 PyObject *resultobj;
4478 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4479 wxString result;
4480 PyObject * obj0 = 0 ;
4481 char *kwnames[] = {
4482 (char *) "self", NULL
4483 };
4484
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
4486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4487 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4488 {
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4491
4492 wxPyEndAllowThreads(__tstate);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 }
4495 {
4496#if wxUSE_UNICODE
4497 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4498#else
4499 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4500#endif
4501 }
4502 return resultobj;
4503 fail:
4504 return NULL;
4505}
4506
4507
c32bde28 4508static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4509 PyObject *resultobj;
4510 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4511 wxRegion *arg2 = 0 ;
4512 bool result;
4513 PyObject * obj0 = 0 ;
4514 PyObject * obj1 = 0 ;
4515 char *kwnames[] = {
4516 (char *) "self",(char *) "region", NULL
4517 };
4518
4519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4521 if (SWIG_arg_fail(1)) SWIG_fail;
4522 {
4523 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4524 if (SWIG_arg_fail(2)) SWIG_fail;
4525 if (arg2 == NULL) {
4526 SWIG_null_ref("wxRegion");
4527 }
4528 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4529 }
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4533
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4537 {
4538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4539 }
4540 return resultobj;
4541 fail:
4542 return NULL;
4543}
4544
4545
c32bde28
RD
4546static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4547 PyObject *resultobj;
4548 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4549 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4550 PyObject * obj0 = 0 ;
4551 PyObject * obj1 = 0 ;
4552 char *kwnames[] = {
4553 (char *) "self",(char *) "flags", NULL
4554 };
4555
4556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4558 if (SWIG_arg_fail(1)) SWIG_fail;
c32bde28 4559 if (obj1) {
093d3ff1
RD
4560 {
4561 arg2 = (int)(SWIG_As_int(obj1));
4562 if (SWIG_arg_fail(2)) SWIG_fail;
4563 }
c32bde28
RD
4564 }
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 (arg1)->RequestUserAttention(arg2);
4568
4569 wxPyEndAllowThreads(__tstate);
4570 if (PyErr_Occurred()) SWIG_fail;
4571 }
4572 Py_INCREF(Py_None); resultobj = Py_None;
4573 return resultobj;
4574 fail:
4575 return NULL;
4576}
4577
4578
5e483524
RD
4579static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj;
4581 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4582 bool result;
4583 PyObject * obj0 = 0 ;
4584 char *kwnames[] = {
4585 (char *) "self", NULL
4586 };
4587
4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
4589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4590 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
4591 {
4592 PyThreadState* __tstate = wxPyBeginAllowThreads();
4593 result = (bool)(arg1)->IsActive();
4594
4595 wxPyEndAllowThreads(__tstate);
4596 if (PyErr_Occurred()) SWIG_fail;
4597 }
4598 {
4599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4600 }
4601 return resultobj;
4602 fail:
4603 return NULL;
4604}
4605
4606
84f85550
RD
4607static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4608 PyObject *resultobj;
4609 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4610 bool arg2 ;
4611 PyObject * obj0 = 0 ;
4612 PyObject * obj1 = 0 ;
4613 char *kwnames[] = {
4614 (char *) "self",(char *) "on", NULL
4615 };
4616
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4619 if (SWIG_arg_fail(1)) SWIG_fail;
4620 {
4621 arg2 = (bool)(SWIG_As_bool(obj1));
4622 if (SWIG_arg_fail(2)) SWIG_fail;
4623 }
84f85550
RD
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 Py_INCREF(Py_None); resultobj = Py_None;
4632 return resultobj;
4633 fail:
4634 return NULL;
4635}
4636
4637
4638static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4639 PyObject *resultobj;
4640 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4641 bool result;
4642 PyObject * obj0 = 0 ;
4643 char *kwnames[] = {
4644 (char *) "self", NULL
4645 };
4646
4647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
093d3ff1
RD
4648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4649 if (SWIG_arg_fail(1)) SWIG_fail;
84f85550
RD
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 {
4658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4659 }
4660 return resultobj;
4661 fail:
4662 return NULL;
4663}
4664
4665
c32bde28 4666static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4667 PyObject *obj;
4668 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4669 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4670 Py_INCREF(obj);
4671 return Py_BuildValue((char *)"");
4672}
c32bde28 4673static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4674 PyObject *resultobj;
4675 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4676 int arg2 = (int) (int)-1 ;
4677 wxString const &arg3_defvalue = wxPyEmptyString ;
4678 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4679 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4680 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4681 wxSize const &arg5_defvalue = wxDefaultSize ;
4682 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4683 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4684 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4685 wxString *arg7 = (wxString *) &arg7_defvalue ;
4686 wxFrame *result;
ae8162c8 4687 bool temp3 = false ;
d55e5bfc
RD
4688 wxPoint temp4 ;
4689 wxSize temp5 ;
ae8162c8 4690 bool temp7 = false ;
d55e5bfc
RD
4691 PyObject * obj0 = 0 ;
4692 PyObject * obj1 = 0 ;
4693 PyObject * obj2 = 0 ;
4694 PyObject * obj3 = 0 ;
4695 PyObject * obj4 = 0 ;
4696 PyObject * obj5 = 0 ;
4697 PyObject * obj6 = 0 ;
4698 char *kwnames[] = {
4699 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4700 };
4701
248ed943 4702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
4703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4704 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 4705 if (obj1) {
093d3ff1
RD
4706 {
4707 arg2 = (int const)(SWIG_As_int(obj1));
4708 if (SWIG_arg_fail(2)) SWIG_fail;
4709 }
248ed943
RD
4710 }
4711 if (obj2) {
4712 {
4713 arg3 = wxString_in_helper(obj2);
4714 if (arg3 == NULL) SWIG_fail;
ae8162c8 4715 temp3 = true;
248ed943 4716 }
d55e5bfc
RD
4717 }
4718 if (obj3) {
4719 {
4720 arg4 = &temp4;
4721 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4722 }
4723 }
4724 if (obj4) {
4725 {
4726 arg5 = &temp5;
4727 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4728 }
4729 }
4730 if (obj5) {
093d3ff1
RD
4731 {
4732 arg6 = (long)(SWIG_As_long(obj5));
4733 if (SWIG_arg_fail(6)) SWIG_fail;
4734 }
d55e5bfc
RD
4735 }
4736 if (obj6) {
4737 {
4738 arg7 = wxString_in_helper(obj6);
4739 if (arg7 == NULL) SWIG_fail;
ae8162c8 4740 temp7 = true;
d55e5bfc
RD
4741 }
4742 }
4743 {
0439c23b 4744 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4747
4748 wxPyEndAllowThreads(__tstate);
110da5b0 4749 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4750 }
b0f7404b 4751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4752 {
4753 if (temp3)
4754 delete arg3;
4755 }
4756 {
4757 if (temp7)
4758 delete arg7;
4759 }
4760 return resultobj;
4761 fail:
4762 {
4763 if (temp3)
4764 delete arg3;
4765 }
4766 {
4767 if (temp7)
4768 delete arg7;
4769 }
4770 return NULL;
4771}
4772
4773
c32bde28 4774static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4775 PyObject *resultobj;
4776 wxFrame *result;
4777 char *kwnames[] = {
4778 NULL
4779 };
4780
4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4782 {
0439c23b 4783 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (wxFrame *)new wxFrame();
4786
4787 wxPyEndAllowThreads(__tstate);
110da5b0 4788 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4789 }
b0f7404b 4790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4791 return resultobj;
4792 fail:
4793 return NULL;
4794}
4795
4796
c32bde28 4797static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4798 PyObject *resultobj;
4799 wxFrame *arg1 = (wxFrame *) 0 ;
4800 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4801 int arg3 = (int) (int)-1 ;
4802 wxString const &arg4_defvalue = wxPyEmptyString ;
4803 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4804 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4805 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4806 wxSize const &arg6_defvalue = wxDefaultSize ;
4807 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4808 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4809 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4810 wxString *arg8 = (wxString *) &arg8_defvalue ;
4811 bool result;
ae8162c8 4812 bool temp4 = false ;
d55e5bfc
RD
4813 wxPoint temp5 ;
4814 wxSize temp6 ;
ae8162c8 4815 bool temp8 = false ;
d55e5bfc
RD
4816 PyObject * obj0 = 0 ;
4817 PyObject * obj1 = 0 ;
4818 PyObject * obj2 = 0 ;
4819 PyObject * obj3 = 0 ;
4820 PyObject * obj4 = 0 ;
4821 PyObject * obj5 = 0 ;
4822 PyObject * obj6 = 0 ;
4823 PyObject * obj7 = 0 ;
4824 char *kwnames[] = {
4825 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4826 };
4827
248ed943 4828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
4829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4830 if (SWIG_arg_fail(1)) SWIG_fail;
4831 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4832 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 4833 if (obj2) {
093d3ff1
RD
4834 {
4835 arg3 = (int const)(SWIG_As_int(obj2));
4836 if (SWIG_arg_fail(3)) SWIG_fail;
4837 }
248ed943
RD
4838 }
4839 if (obj3) {
4840 {
4841 arg4 = wxString_in_helper(obj3);
4842 if (arg4 == NULL) SWIG_fail;
ae8162c8 4843 temp4 = true;
248ed943 4844 }
d55e5bfc
RD
4845 }
4846 if (obj4) {
4847 {
4848 arg5 = &temp5;
4849 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4850 }
4851 }
4852 if (obj5) {
4853 {
4854 arg6 = &temp6;
4855 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4856 }
4857 }
4858 if (obj6) {
093d3ff1
RD
4859 {
4860 arg7 = (long)(SWIG_As_long(obj6));
4861 if (SWIG_arg_fail(7)) SWIG_fail;
4862 }
d55e5bfc
RD
4863 }
4864 if (obj7) {
4865 {
4866 arg8 = wxString_in_helper(obj7);
4867 if (arg8 == NULL) SWIG_fail;
ae8162c8 4868 temp8 = true;
d55e5bfc
RD
4869 }
4870 }
4871 {
4872 PyThreadState* __tstate = wxPyBeginAllowThreads();
4873 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4874
4875 wxPyEndAllowThreads(__tstate);
4876 if (PyErr_Occurred()) SWIG_fail;
4877 }
4878 {
4879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4880 }
4881 {
4882 if (temp4)
4883 delete arg4;
4884 }
4885 {
4886 if (temp8)
4887 delete arg8;
4888 }
4889 return resultobj;
4890 fail:
4891 {
4892 if (temp4)
4893 delete arg4;
4894 }
4895 {
4896 if (temp8)
4897 delete arg8;
4898 }
4899 return NULL;
4900}
4901
4902
c32bde28 4903static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4904 PyObject *resultobj;
4905 wxFrame *arg1 = (wxFrame *) 0 ;
4906 wxPoint result;
4907 PyObject * obj0 = 0 ;
4908 char *kwnames[] = {
4909 (char *) "self", NULL
4910 };
4911
4912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
093d3ff1
RD
4913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4914 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 {
4923 wxPoint * resultptr;
093d3ff1 4924 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
4925 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4926 }
4927 return resultobj;
4928 fail:
4929 return NULL;
4930}
4931
4932
c32bde28 4933static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4934 PyObject *resultobj;
4935 wxFrame *arg1 = (wxFrame *) 0 ;
4936 PyObject * obj0 = 0 ;
4937 char *kwnames[] = {
4938 (char *) "self", NULL
4939 };
4940
4941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
4942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4943 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 (arg1)->SendSizeEvent();
4947
4948 wxPyEndAllowThreads(__tstate);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 Py_INCREF(Py_None); resultobj = Py_None;
4952 return resultobj;
4953 fail:
4954 return NULL;
4955}
4956
4957
c32bde28 4958static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4959 PyObject *resultobj;
4960 wxFrame *arg1 = (wxFrame *) 0 ;
4961 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4962 PyObject * obj0 = 0 ;
4963 PyObject * obj1 = 0 ;
4964 char *kwnames[] = {
4965 (char *) "self",(char *) "menubar", NULL
4966 };
4967
4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4970 if (SWIG_arg_fail(1)) SWIG_fail;
4971 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4972 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 (arg1)->SetMenuBar(arg2);
4976
4977 wxPyEndAllowThreads(__tstate);
4978 if (PyErr_Occurred()) SWIG_fail;
4979 }
4980 Py_INCREF(Py_None); resultobj = Py_None;
4981 return resultobj;
4982 fail:
4983 return NULL;
4984}
4985
4986
c32bde28 4987static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4988 PyObject *resultobj;
4989 wxFrame *arg1 = (wxFrame *) 0 ;
4990 wxMenuBar *result;
4991 PyObject * obj0 = 0 ;
4992 char *kwnames[] = {
4993 (char *) "self", NULL
4994 };
4995
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
4997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4998 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
5002
5003 wxPyEndAllowThreads(__tstate);
5004 if (PyErr_Occurred()) SWIG_fail;
5005 }
5006 {
412d302d 5007 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5008 }
5009 return resultobj;
5010 fail:
5011 return NULL;
5012}
5013
5014
c32bde28 5015static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5016 PyObject *resultobj;
5017 wxFrame *arg1 = (wxFrame *) 0 ;
5018 int arg2 ;
5019 bool result;
5020 PyObject * obj0 = 0 ;
5021 PyObject * obj1 = 0 ;
5022 char *kwnames[] = {
5023 (char *) "self",(char *) "winid", NULL
5024 };
5025
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5028 if (SWIG_arg_fail(1)) SWIG_fail;
5029 {
5030 arg2 = (int)(SWIG_As_int(obj1));
5031 if (SWIG_arg_fail(2)) SWIG_fail;
5032 }
d55e5bfc
RD
5033 {
5034 PyThreadState* __tstate = wxPyBeginAllowThreads();
5035 result = (bool)(arg1)->ProcessCommand(arg2);
5036
5037 wxPyEndAllowThreads(__tstate);
5038 if (PyErr_Occurred()) SWIG_fail;
5039 }
5040 {
5041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5042 }
5043 return resultobj;
5044 fail:
5045 return NULL;
5046}
5047
5048
c32bde28 5049static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5050 PyObject *resultobj;
5051 wxFrame *arg1 = (wxFrame *) 0 ;
5052 int arg2 = (int) 1 ;
6d88e192 5053 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
d55e5bfc
RD
5054 int arg4 = (int) 0 ;
5055 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5056 wxString *arg5 = (wxString *) &arg5_defvalue ;
5057 wxStatusBar *result;
ae8162c8 5058 bool temp5 = false ;
d55e5bfc
RD
5059 PyObject * obj0 = 0 ;
5060 PyObject * obj1 = 0 ;
5061 PyObject * obj2 = 0 ;
5062 PyObject * obj3 = 0 ;
5063 PyObject * obj4 = 0 ;
5064 char *kwnames[] = {
5065 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5066 };
5067
5068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
5069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5070 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5071 if (obj1) {
093d3ff1
RD
5072 {
5073 arg2 = (int)(SWIG_As_int(obj1));
5074 if (SWIG_arg_fail(2)) SWIG_fail;
5075 }
d55e5bfc
RD
5076 }
5077 if (obj2) {
093d3ff1
RD
5078 {
5079 arg3 = (long)(SWIG_As_long(obj2));
5080 if (SWIG_arg_fail(3)) SWIG_fail;
5081 }
d55e5bfc
RD
5082 }
5083 if (obj3) {
093d3ff1
RD
5084 {
5085 arg4 = (int)(SWIG_As_int(obj3));
5086 if (SWIG_arg_fail(4)) SWIG_fail;
5087 }
d55e5bfc
RD
5088 }
5089 if (obj4) {
5090 {
5091 arg5 = wxString_in_helper(obj4);
5092 if (arg5 == NULL) SWIG_fail;
ae8162c8 5093 temp5 = true;
d55e5bfc
RD
5094 }
5095 }
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5099
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 {
412d302d 5104 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5105 }
5106 {
5107 if (temp5)
5108 delete arg5;
5109 }
5110 return resultobj;
5111 fail:
5112 {
5113 if (temp5)
5114 delete arg5;
5115 }
5116 return NULL;
5117}
5118
5119
c32bde28 5120static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5121 PyObject *resultobj;
5122 wxFrame *arg1 = (wxFrame *) 0 ;
5123 wxStatusBar *result;
5124 PyObject * obj0 = 0 ;
5125 char *kwnames[] = {
5126 (char *) "self", NULL
5127 };
5128
5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5131 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5132 {
5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
5134 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5135
5136 wxPyEndAllowThreads(__tstate);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 {
412d302d 5140 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5141 }
5142 return resultobj;
5143 fail:
5144 return NULL;
5145}
5146
5147
c32bde28 5148static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5149 PyObject *resultobj;
5150 wxFrame *arg1 = (wxFrame *) 0 ;
5151 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5152 PyObject * obj0 = 0 ;
5153 PyObject * obj1 = 0 ;
5154 char *kwnames[] = {
5155 (char *) "self",(char *) "statBar", NULL
5156 };
5157
5158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5160 if (SWIG_arg_fail(1)) SWIG_fail;
5161 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5162 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 (arg1)->SetStatusBar(arg2);
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 Py_INCREF(Py_None); resultobj = Py_None;
5171 return resultobj;
5172 fail:
5173 return NULL;
5174}
5175
5176
c32bde28 5177static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5178 PyObject *resultobj;
5179 wxFrame *arg1 = (wxFrame *) 0 ;
5180 wxString *arg2 = 0 ;
5181 int arg3 = (int) 0 ;
ae8162c8 5182 bool temp2 = false ;
d55e5bfc
RD
5183 PyObject * obj0 = 0 ;
5184 PyObject * obj1 = 0 ;
5185 PyObject * obj2 = 0 ;
5186 char *kwnames[] = {
5187 (char *) "self",(char *) "text",(char *) "number", NULL
5188 };
5189
5190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5193 {
5194 arg2 = wxString_in_helper(obj1);
5195 if (arg2 == NULL) SWIG_fail;
ae8162c8 5196 temp2 = true;
d55e5bfc
RD
5197 }
5198 if (obj2) {
093d3ff1
RD
5199 {
5200 arg3 = (int)(SWIG_As_int(obj2));
5201 if (SWIG_arg_fail(3)) SWIG_fail;
5202 }
d55e5bfc
RD
5203 }
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 Py_INCREF(Py_None); resultobj = Py_None;
5212 {
5213 if (temp2)
5214 delete arg2;
5215 }
5216 return resultobj;
5217 fail:
5218 {
5219 if (temp2)
5220 delete arg2;
5221 }
5222 return NULL;
5223}
5224
5225
c32bde28 5226static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5227 PyObject *resultobj;
5228 wxFrame *arg1 = (wxFrame *) 0 ;
5229 int arg2 ;
5230 int *arg3 = (int *) 0 ;
5231 PyObject * obj0 = 0 ;
5232 PyObject * obj1 = 0 ;
5233 char *kwnames[] = {
5234 (char *) "self",(char *) "widths", NULL
5235 };
5236
5237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5239 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5240 {
5241 arg2 = PyList_Size(obj1);
5242 arg3 = int_LIST_helper(obj1);
5243 if (arg3 == NULL) SWIG_fail;
5244 }
5245 {
5246 PyThreadState* __tstate = wxPyBeginAllowThreads();
5247 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5248
5249 wxPyEndAllowThreads(__tstate);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 }
5252 Py_INCREF(Py_None); resultobj = Py_None;
5253 {
5254 if (arg3) delete [] arg3;
5255 }
5256 return resultobj;
5257 fail:
5258 {
5259 if (arg3) delete [] arg3;
5260 }
5261 return NULL;
5262}
5263
5264
c32bde28 5265static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5266 PyObject *resultobj;
5267 wxFrame *arg1 = (wxFrame *) 0 ;
5268 wxString *arg2 = 0 ;
5269 int arg3 = (int) 0 ;
ae8162c8 5270 bool temp2 = false ;
d55e5bfc
RD
5271 PyObject * obj0 = 0 ;
5272 PyObject * obj1 = 0 ;
5273 PyObject * obj2 = 0 ;
5274 char *kwnames[] = {
5275 (char *) "self",(char *) "text",(char *) "number", NULL
5276 };
5277
5278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5280 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5281 {
5282 arg2 = wxString_in_helper(obj1);
5283 if (arg2 == NULL) SWIG_fail;
ae8162c8 5284 temp2 = true;
d55e5bfc
RD
5285 }
5286 if (obj2) {
093d3ff1
RD
5287 {
5288 arg3 = (int)(SWIG_As_int(obj2));
5289 if (SWIG_arg_fail(3)) SWIG_fail;
5290 }
d55e5bfc
RD
5291 }
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5295
5296 wxPyEndAllowThreads(__tstate);
5297 if (PyErr_Occurred()) SWIG_fail;
5298 }
5299 Py_INCREF(Py_None); resultobj = Py_None;
5300 {
5301 if (temp2)
5302 delete arg2;
5303 }
5304 return resultobj;
5305 fail:
5306 {
5307 if (temp2)
5308 delete arg2;
5309 }
5310 return NULL;
5311}
5312
5313
c32bde28 5314static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5315 PyObject *resultobj;
5316 wxFrame *arg1 = (wxFrame *) 0 ;
5317 int arg2 = (int) 0 ;
5318 PyObject * obj0 = 0 ;
5319 PyObject * obj1 = 0 ;
5320 char *kwnames[] = {
5321 (char *) "self",(char *) "number", NULL
5322 };
5323
5324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5326 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5327 if (obj1) {
093d3ff1
RD
5328 {
5329 arg2 = (int)(SWIG_As_int(obj1));
5330 if (SWIG_arg_fail(2)) SWIG_fail;
5331 }
d55e5bfc
RD
5332 }
5333 {
5334 PyThreadState* __tstate = wxPyBeginAllowThreads();
5335 (arg1)->PopStatusText(arg2);
5336
5337 wxPyEndAllowThreads(__tstate);
5338 if (PyErr_Occurred()) SWIG_fail;
5339 }
5340 Py_INCREF(Py_None); resultobj = Py_None;
5341 return resultobj;
5342 fail:
5343 return NULL;
5344}
5345
5346
c32bde28 5347static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5348 PyObject *resultobj;
5349 wxFrame *arg1 = (wxFrame *) 0 ;
5350 int arg2 ;
5351 PyObject * obj0 = 0 ;
5352 PyObject * obj1 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self",(char *) "n", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5359 if (SWIG_arg_fail(1)) SWIG_fail;
5360 {
5361 arg2 = (int)(SWIG_As_int(obj1));
5362 if (SWIG_arg_fail(2)) SWIG_fail;
5363 }
d55e5bfc
RD
5364 {
5365 PyThreadState* __tstate = wxPyBeginAllowThreads();
5366 (arg1)->SetStatusBarPane(arg2);
5367
5368 wxPyEndAllowThreads(__tstate);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 Py_INCREF(Py_None); resultobj = Py_None;
5372 return resultobj;
5373 fail:
5374 return NULL;
5375}
5376
5377
c32bde28 5378static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5379 PyObject *resultobj;
5380 wxFrame *arg1 = (wxFrame *) 0 ;
5381 int result;
5382 PyObject * obj0 = 0 ;
5383 char *kwnames[] = {
5384 (char *) "self", NULL
5385 };
5386
5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
093d3ff1
RD
5388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) SWIG_fail;
5396 }
093d3ff1
RD
5397 {
5398 resultobj = SWIG_From_int((int)(result));
5399 }
d55e5bfc
RD
5400 return resultobj;
5401 fail:
5402 return NULL;
5403}
5404
5405
c32bde28 5406static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5407 PyObject *resultobj;
5408 wxFrame *arg1 = (wxFrame *) 0 ;
5409 long arg2 = (long) -1 ;
5410 int arg3 = (int) -1 ;
5411 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5412 wxString *arg4 = (wxString *) &arg4_defvalue ;
5413 wxToolBar *result;
ae8162c8 5414 bool temp4 = false ;
d55e5bfc
RD
5415 PyObject * obj0 = 0 ;
5416 PyObject * obj1 = 0 ;
5417 PyObject * obj2 = 0 ;
5418 PyObject * obj3 = 0 ;
5419 char *kwnames[] = {
5420 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5421 };
5422
5423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
5424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5425 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5426 if (obj1) {
093d3ff1
RD
5427 {
5428 arg2 = (long)(SWIG_As_long(obj1));
5429 if (SWIG_arg_fail(2)) SWIG_fail;
5430 }
d55e5bfc
RD
5431 }
5432 if (obj2) {
093d3ff1
RD
5433 {
5434 arg3 = (int)(SWIG_As_int(obj2));
5435 if (SWIG_arg_fail(3)) SWIG_fail;
5436 }
d55e5bfc
RD
5437 }
5438 if (obj3) {
5439 {
5440 arg4 = wxString_in_helper(obj3);
5441 if (arg4 == NULL) SWIG_fail;
ae8162c8 5442 temp4 = true;
d55e5bfc
RD
5443 }
5444 }
5445 {
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5448
5449 wxPyEndAllowThreads(__tstate);
5450 if (PyErr_Occurred()) SWIG_fail;
5451 }
5452 {
412d302d 5453 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5454 }
5455 {
5456 if (temp4)
5457 delete arg4;
5458 }
5459 return resultobj;
5460 fail:
5461 {
5462 if (temp4)
5463 delete arg4;
5464 }
5465 return NULL;
5466}
5467
5468
c32bde28 5469static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5470 PyObject *resultobj;
5471 wxFrame *arg1 = (wxFrame *) 0 ;
5472 wxToolBar *result;
5473 PyObject * obj0 = 0 ;
5474 char *kwnames[] = {
5475 (char *) "self", NULL
5476 };
5477
5478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5480 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5481 {
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5484
5485 wxPyEndAllowThreads(__tstate);
5486 if (PyErr_Occurred()) SWIG_fail;
5487 }
5488 {
412d302d 5489 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5490 }
5491 return resultobj;
5492 fail:
5493 return NULL;
5494}
5495
5496
c32bde28 5497static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5498 PyObject *resultobj;
5499 wxFrame *arg1 = (wxFrame *) 0 ;
5500 wxToolBar *arg2 = (wxToolBar *) 0 ;
5501 PyObject * obj0 = 0 ;
5502 PyObject * obj1 = 0 ;
5503 char *kwnames[] = {
5504 (char *) "self",(char *) "toolbar", NULL
5505 };
5506
5507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5509 if (SWIG_arg_fail(1)) SWIG_fail;
5510 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5511 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 (arg1)->SetToolBar(arg2);
5515
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 Py_INCREF(Py_None); resultobj = Py_None;
5520 return resultobj;
5521 fail:
5522 return NULL;
5523}
5524
5525
c32bde28 5526static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5527 PyObject *resultobj;
5528 wxFrame *arg1 = (wxFrame *) 0 ;
5529 wxString *arg2 = 0 ;
5530 bool arg3 ;
ae8162c8 5531 bool temp2 = false ;
d55e5bfc
RD
5532 PyObject * obj0 = 0 ;
5533 PyObject * obj1 = 0 ;
5534 PyObject * obj2 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "self",(char *) "text",(char *) "show", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5541 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5542 {
5543 arg2 = wxString_in_helper(obj1);
5544 if (arg2 == NULL) SWIG_fail;
ae8162c8 5545 temp2 = true;
d55e5bfc 5546 }
093d3ff1
RD
5547 {
5548 arg3 = (bool)(SWIG_As_bool(obj2));
5549 if (SWIG_arg_fail(3)) SWIG_fail;
5550 }
d55e5bfc
RD
5551 {
5552 PyThreadState* __tstate = wxPyBeginAllowThreads();
5553 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5554
5555 wxPyEndAllowThreads(__tstate);
5556 if (PyErr_Occurred()) SWIG_fail;
5557 }
5558 Py_INCREF(Py_None); resultobj = Py_None;
5559 {
5560 if (temp2)
5561 delete arg2;
5562 }
5563 return resultobj;
5564 fail:
5565 {
5566 if (temp2)
5567 delete arg2;
5568 }
5569 return NULL;
5570}
5571
5572
c32bde28 5573static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5574 PyObject *resultobj;
5575 wxFrame *arg1 = (wxFrame *) 0 ;
5576 wxMenu *arg2 = (wxMenu *) NULL ;
5577 PyObject * obj0 = 0 ;
5578 PyObject * obj1 = 0 ;
5579 char *kwnames[] = {
5580 (char *) "self",(char *) "menu", NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5586 if (obj1) {
093d3ff1
RD
5587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5588 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5589 }
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 (arg1)->DoMenuUpdates(arg2);
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 Py_INCREF(Py_None); resultobj = Py_None;
5598 return resultobj;
5599 fail:
5600 return NULL;
5601}
5602
5603
c32bde28 5604static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5605 PyObject *resultobj;
093d3ff1 5606 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5607 wxVisualAttributes result;
5608 PyObject * obj0 = 0 ;
5609 char *kwnames[] = {
5610 (char *) "variant", NULL
5611 };
5612
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5614 if (obj0) {
093d3ff1
RD
5615 {
5616 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5617 if (SWIG_arg_fail(1)) SWIG_fail;
5618 }
f20a2e1f
RD
5619 }
5620 {
0439c23b 5621 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5624
5625 wxPyEndAllowThreads(__tstate);
110da5b0 5626 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5627 }
5628 {
5629 wxVisualAttributes * resultptr;
093d3ff1 5630 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5632 }
5633 return resultobj;
5634 fail:
5635 return NULL;
5636}
5637
5638
c32bde28 5639static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5640 PyObject *obj;
5641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5642 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5643 Py_INCREF(obj);
5644 return Py_BuildValue((char *)"");
5645}
c32bde28 5646static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5647 PyObject *resultobj;
5648 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5649 int arg2 = (int) (int)-1 ;
5650 wxString const &arg3_defvalue = wxPyEmptyString ;
5651 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5652 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5653 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5654 wxSize const &arg5_defvalue = wxDefaultSize ;
5655 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5656 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5657 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5658 wxString *arg7 = (wxString *) &arg7_defvalue ;
5659 wxDialog *result;
ae8162c8 5660 bool temp3 = false ;
d55e5bfc
RD
5661 wxPoint temp4 ;
5662 wxSize temp5 ;
ae8162c8 5663 bool temp7 = false ;
d55e5bfc
RD
5664 PyObject * obj0 = 0 ;
5665 PyObject * obj1 = 0 ;
5666 PyObject * obj2 = 0 ;
5667 PyObject * obj3 = 0 ;
5668 PyObject * obj4 = 0 ;
5669 PyObject * obj5 = 0 ;
5670 PyObject * obj6 = 0 ;
5671 char *kwnames[] = {
5672 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5673 };
5674
248ed943 5675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5677 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5678 if (obj1) {
093d3ff1
RD
5679 {
5680 arg2 = (int const)(SWIG_As_int(obj1));
5681 if (SWIG_arg_fail(2)) SWIG_fail;
5682 }
248ed943
RD
5683 }
5684 if (obj2) {
5685 {
5686 arg3 = wxString_in_helper(obj2);
5687 if (arg3 == NULL) SWIG_fail;
ae8162c8 5688 temp3 = true;
248ed943 5689 }
d55e5bfc
RD
5690 }
5691 if (obj3) {
5692 {
5693 arg4 = &temp4;
5694 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5695 }
5696 }
5697 if (obj4) {
5698 {
5699 arg5 = &temp5;
5700 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5701 }
5702 }
5703 if (obj5) {
093d3ff1
RD
5704 {
5705 arg6 = (long)(SWIG_As_long(obj5));
5706 if (SWIG_arg_fail(6)) SWIG_fail;
5707 }
d55e5bfc
RD
5708 }
5709 if (obj6) {
5710 {
5711 arg7 = wxString_in_helper(obj6);
5712 if (arg7 == NULL) SWIG_fail;
ae8162c8 5713 temp7 = true;
d55e5bfc
RD
5714 }
5715 }
5716 {
0439c23b 5717 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5720
5721 wxPyEndAllowThreads(__tstate);
110da5b0 5722 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5723 }
b0f7404b 5724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5725 {
5726 if (temp3)
5727 delete arg3;
5728 }
5729 {
5730 if (temp7)
5731 delete arg7;
5732 }
5733 return resultobj;
5734 fail:
5735 {
5736 if (temp3)
5737 delete arg3;
5738 }
5739 {
5740 if (temp7)
5741 delete arg7;
5742 }
5743 return NULL;
5744}
5745
5746
c32bde28 5747static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5748 PyObject *resultobj;
5749 wxDialog *result;
5750 char *kwnames[] = {
5751 NULL
5752 };
5753
5754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5755 {
0439c23b 5756 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5757 PyThreadState* __tstate = wxPyBeginAllowThreads();
5758 result = (wxDialog *)new wxDialog();
5759
5760 wxPyEndAllowThreads(__tstate);
110da5b0 5761 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5762 }
b0f7404b 5763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5764 return resultobj;
5765 fail:
5766 return NULL;
5767}
5768
5769
c32bde28 5770static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5771 PyObject *resultobj;
5772 wxDialog *arg1 = (wxDialog *) 0 ;
5773 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5774 int arg3 = (int) (int)-1 ;
5775 wxString const &arg4_defvalue = wxPyEmptyString ;
5776 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
5777 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5778 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5779 wxSize const &arg6_defvalue = wxDefaultSize ;
5780 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5781 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5782 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5783 wxString *arg8 = (wxString *) &arg8_defvalue ;
5784 bool result;
ae8162c8 5785 bool temp4 = false ;
d55e5bfc
RD
5786 wxPoint temp5 ;
5787 wxSize temp6 ;
ae8162c8 5788 bool temp8 = false ;
d55e5bfc
RD
5789 PyObject * obj0 = 0 ;
5790 PyObject * obj1 = 0 ;
5791 PyObject * obj2 = 0 ;
5792 PyObject * obj3 = 0 ;
5793 PyObject * obj4 = 0 ;
5794 PyObject * obj5 = 0 ;
5795 PyObject * obj6 = 0 ;
5796 PyObject * obj7 = 0 ;
5797 char *kwnames[] = {
5798 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5799 };
5800
248ed943 5801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5803 if (SWIG_arg_fail(1)) SWIG_fail;
5804 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5805 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5806 if (obj2) {
093d3ff1
RD
5807 {
5808 arg3 = (int const)(SWIG_As_int(obj2));
5809 if (SWIG_arg_fail(3)) SWIG_fail;
5810 }
248ed943
RD
5811 }
5812 if (obj3) {
5813 {
5814 arg4 = wxString_in_helper(obj3);
5815 if (arg4 == NULL) SWIG_fail;
ae8162c8 5816 temp4 = true;
248ed943 5817 }
d55e5bfc
RD
5818 }
5819 if (obj4) {
5820 {
5821 arg5 = &temp5;
5822 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5823 }
5824 }
5825 if (obj5) {
5826 {
5827 arg6 = &temp6;
5828 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5829 }
5830 }
5831 if (obj6) {
093d3ff1
RD
5832 {
5833 arg7 = (long)(SWIG_As_long(obj6));
5834 if (SWIG_arg_fail(7)) SWIG_fail;
5835 }
d55e5bfc
RD
5836 }
5837 if (obj7) {
5838 {
5839 arg8 = wxString_in_helper(obj7);
5840 if (arg8 == NULL) SWIG_fail;
ae8162c8 5841 temp8 = true;
d55e5bfc
RD
5842 }
5843 }
5844 {
5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
5846 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5847
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 {
5852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5853 }
5854 {
5855 if (temp4)
5856 delete arg4;
5857 }
5858 {
5859 if (temp8)
5860 delete arg8;
5861 }
5862 return resultobj;
5863 fail:
5864 {
5865 if (temp4)
5866 delete arg4;
5867 }
5868 {
5869 if (temp8)
5870 delete arg8;
5871 }
5872 return NULL;
5873}
5874
5875
c32bde28 5876static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5877 PyObject *resultobj;
5878 wxDialog *arg1 = (wxDialog *) 0 ;
5879 int arg2 ;
5880 PyObject * obj0 = 0 ;
5881 PyObject * obj1 = 0 ;
5882 char *kwnames[] = {
5883 (char *) "self",(char *) "returnCode", NULL
5884 };
5885
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5888 if (SWIG_arg_fail(1)) SWIG_fail;
5889 {
5890 arg2 = (int)(SWIG_As_int(obj1));
5891 if (SWIG_arg_fail(2)) SWIG_fail;
5892 }
d55e5bfc
RD
5893 {
5894 PyThreadState* __tstate = wxPyBeginAllowThreads();
5895 (arg1)->SetReturnCode(arg2);
5896
5897 wxPyEndAllowThreads(__tstate);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 }
5900 Py_INCREF(Py_None); resultobj = Py_None;
5901 return resultobj;
5902 fail:
5903 return NULL;
5904}
5905
5906
c32bde28 5907static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5908 PyObject *resultobj;
5909 wxDialog *arg1 = (wxDialog *) 0 ;
5910 int result;
5911 PyObject * obj0 = 0 ;
5912 char *kwnames[] = {
5913 (char *) "self", NULL
5914 };
5915
5916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
5917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5918 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5919 {
5920 PyThreadState* __tstate = wxPyBeginAllowThreads();
5921 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5922
5923 wxPyEndAllowThreads(__tstate);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 }
093d3ff1
RD
5926 {
5927 resultobj = SWIG_From_int((int)(result));
5928 }
d55e5bfc
RD
5929 return resultobj;
5930 fail:
5931 return NULL;
5932}
5933
5934
c32bde28 5935static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5936 PyObject *resultobj;
5937 wxDialog *arg1 = (wxDialog *) 0 ;
5938 wxString *arg2 = 0 ;
5939 wxSizer *result;
ae8162c8 5940 bool temp2 = false ;
d55e5bfc
RD
5941 PyObject * obj0 = 0 ;
5942 PyObject * obj1 = 0 ;
5943 char *kwnames[] = {
5944 (char *) "self",(char *) "message", NULL
5945 };
5946
5947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5949 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5950 {
5951 arg2 = wxString_in_helper(obj1);
5952 if (arg2 == NULL) SWIG_fail;
ae8162c8 5953 temp2 = true;
d55e5bfc
RD
5954 }
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
5962 {
7a27cf7c 5963 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5964 }
5965 {
5966 if (temp2)
5967 delete arg2;
5968 }
5969 return resultobj;
5970 fail:
5971 {
5972 if (temp2)
5973 delete arg2;
5974 }
5975 return NULL;
5976}
5977
5978
c32bde28 5979static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5980 PyObject *resultobj;
5981 wxDialog *arg1 = (wxDialog *) 0 ;
5982 long arg2 ;
5983 wxSizer *result;
5984 PyObject * obj0 = 0 ;
5985 PyObject * obj1 = 0 ;
5986 char *kwnames[] = {
5987 (char *) "self",(char *) "flags", NULL
5988 };
5989
5990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5992 if (SWIG_arg_fail(1)) SWIG_fail;
5993 {
5994 arg2 = (long)(SWIG_As_long(obj1));
5995 if (SWIG_arg_fail(2)) SWIG_fail;
5996 }
d55e5bfc
RD
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
6000
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 {
7a27cf7c 6005 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
6006 }
6007 return resultobj;
6008 fail:
6009 return NULL;
6010}
6011
6012
62d32a5f
RD
6013static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
6014 PyObject *resultobj;
6015 wxDialog *arg1 = (wxDialog *) 0 ;
6016 long arg2 ;
6017 wxStdDialogButtonSizer *result;
6018 PyObject * obj0 = 0 ;
6019 PyObject * obj1 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self",(char *) "flags", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
6025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6026 if (SWIG_arg_fail(1)) SWIG_fail;
6027 {
6028 arg2 = (long)(SWIG_As_long(obj1));
6029 if (SWIG_arg_fail(2)) SWIG_fail;
6030 }
6031 {
6032 PyThreadState* __tstate = wxPyBeginAllowThreads();
6033 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
6034
6035 wxPyEndAllowThreads(__tstate);
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
6038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
6039 return resultobj;
6040 fail:
6041 return NULL;
6042}
6043
6044
c32bde28 6045static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6046 PyObject *resultobj;
6047 wxDialog *arg1 = (wxDialog *) 0 ;
6048 bool result;
6049 PyObject * obj0 = 0 ;
6050 char *kwnames[] = {
6051 (char *) "self", NULL
6052 };
6053
6054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6056 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6057 {
6058 PyThreadState* __tstate = wxPyBeginAllowThreads();
6059 result = (bool)((wxDialog const *)arg1)->IsModal();
6060
6061 wxPyEndAllowThreads(__tstate);
6062 if (PyErr_Occurred()) SWIG_fail;
6063 }
6064 {
6065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6066 }
6067 return resultobj;
6068 fail:
6069 return NULL;
6070}
6071
6072
c32bde28 6073static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6074 PyObject *resultobj;
6075 wxDialog *arg1 = (wxDialog *) 0 ;
6076 int result;
6077 PyObject * obj0 = 0 ;
6078 char *kwnames[] = {
6079 (char *) "self", NULL
6080 };
6081
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6084 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6085 {
6086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6087 result = (int)(arg1)->ShowModal();
6088
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
093d3ff1
RD
6092 {
6093 resultobj = SWIG_From_int((int)(result));
6094 }
d55e5bfc
RD
6095 return resultobj;
6096 fail:
6097 return NULL;
6098}
6099
6100
c32bde28 6101static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6102 PyObject *resultobj;
6103 wxDialog *arg1 = (wxDialog *) 0 ;
6104 int arg2 ;
6105 PyObject * obj0 = 0 ;
6106 PyObject * obj1 = 0 ;
6107 char *kwnames[] = {
6108 (char *) "self",(char *) "retCode", NULL
6109 };
6110
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6113 if (SWIG_arg_fail(1)) SWIG_fail;
6114 {
6115 arg2 = (int)(SWIG_As_int(obj1));
6116 if (SWIG_arg_fail(2)) SWIG_fail;
6117 }
d55e5bfc
RD
6118 {
6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
6120 (arg1)->EndModal(arg2);
6121
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 Py_INCREF(Py_None); resultobj = Py_None;
6126 return resultobj;
6127 fail:
6128 return NULL;
6129}
6130
6131
c32bde28 6132static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6133 PyObject *resultobj;
093d3ff1 6134 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6135 wxVisualAttributes result;
6136 PyObject * obj0 = 0 ;
6137 char *kwnames[] = {
6138 (char *) "variant", NULL
6139 };
6140
6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6142 if (obj0) {
093d3ff1
RD
6143 {
6144 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6145 if (SWIG_arg_fail(1)) SWIG_fail;
6146 }
f20a2e1f
RD
6147 }
6148 {
0439c23b 6149 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6150 PyThreadState* __tstate = wxPyBeginAllowThreads();
6151 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6152
6153 wxPyEndAllowThreads(__tstate);
110da5b0 6154 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6155 }
6156 {
6157 wxVisualAttributes * resultptr;
093d3ff1 6158 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6160 }
6161 return resultobj;
6162 fail:
6163 return NULL;
6164}
6165
6166
c32bde28 6167static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6168 PyObject *obj;
6169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6170 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6171 Py_INCREF(obj);
6172 return Py_BuildValue((char *)"");
6173}
c32bde28 6174static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6175 PyObject *resultobj;
6176 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6177 int arg2 = (int) (int)-1 ;
6178 wxString const &arg3_defvalue = wxPyEmptyString ;
6179 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6180 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6181 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6182 wxSize const &arg5_defvalue = wxDefaultSize ;
6183 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6184 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6185 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6186 wxString *arg7 = (wxString *) &arg7_defvalue ;
6187 wxMiniFrame *result;
ae8162c8 6188 bool temp3 = false ;
d55e5bfc
RD
6189 wxPoint temp4 ;
6190 wxSize temp5 ;
ae8162c8 6191 bool temp7 = false ;
d55e5bfc
RD
6192 PyObject * obj0 = 0 ;
6193 PyObject * obj1 = 0 ;
6194 PyObject * obj2 = 0 ;
6195 PyObject * obj3 = 0 ;
6196 PyObject * obj4 = 0 ;
6197 PyObject * obj5 = 0 ;
6198 PyObject * obj6 = 0 ;
6199 char *kwnames[] = {
6200 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6201 };
6202
248ed943 6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6205 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6206 if (obj1) {
093d3ff1
RD
6207 {
6208 arg2 = (int const)(SWIG_As_int(obj1));
6209 if (SWIG_arg_fail(2)) SWIG_fail;
6210 }
248ed943
RD
6211 }
6212 if (obj2) {
6213 {
6214 arg3 = wxString_in_helper(obj2);
6215 if (arg3 == NULL) SWIG_fail;
ae8162c8 6216 temp3 = true;
248ed943 6217 }
d55e5bfc
RD
6218 }
6219 if (obj3) {
6220 {
6221 arg4 = &temp4;
6222 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6223 }
6224 }
6225 if (obj4) {
6226 {
6227 arg5 = &temp5;
6228 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6229 }
6230 }
6231 if (obj5) {
093d3ff1
RD
6232 {
6233 arg6 = (long)(SWIG_As_long(obj5));
6234 if (SWIG_arg_fail(6)) SWIG_fail;
6235 }
d55e5bfc
RD
6236 }
6237 if (obj6) {
6238 {
6239 arg7 = wxString_in_helper(obj6);
6240 if (arg7 == NULL) SWIG_fail;
ae8162c8 6241 temp7 = true;
d55e5bfc
RD
6242 }
6243 }
6244 {
0439c23b 6245 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6248
6249 wxPyEndAllowThreads(__tstate);
110da5b0 6250 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6251 }
6252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6253 {
6254 if (temp3)
6255 delete arg3;
6256 }
6257 {
6258 if (temp7)
6259 delete arg7;
6260 }
6261 return resultobj;
6262 fail:
6263 {
6264 if (temp3)
6265 delete arg3;
6266 }
6267 {
6268 if (temp7)
6269 delete arg7;
6270 }
6271 return NULL;
6272}
6273
6274
c32bde28 6275static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6276 PyObject *resultobj;
6277 wxMiniFrame *result;
6278 char *kwnames[] = {
6279 NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6283 {
0439c23b 6284 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 result = (wxMiniFrame *)new wxMiniFrame();
6287
6288 wxPyEndAllowThreads(__tstate);
110da5b0 6289 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6290 }
6291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6292 return resultobj;
6293 fail:
6294 return NULL;
6295}
6296
6297
c32bde28 6298static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6299 PyObject *resultobj;
6300 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6301 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6302 int arg3 = (int) (int)-1 ;
6303 wxString const &arg4_defvalue = wxPyEmptyString ;
6304 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6305 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6306 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6307 wxSize const &arg6_defvalue = wxDefaultSize ;
6308 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6309 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6310 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6311 wxString *arg8 = (wxString *) &arg8_defvalue ;
6312 bool result;
ae8162c8 6313 bool temp4 = false ;
d55e5bfc
RD
6314 wxPoint temp5 ;
6315 wxSize temp6 ;
ae8162c8 6316 bool temp8 = false ;
d55e5bfc
RD
6317 PyObject * obj0 = 0 ;
6318 PyObject * obj1 = 0 ;
6319 PyObject * obj2 = 0 ;
6320 PyObject * obj3 = 0 ;
6321 PyObject * obj4 = 0 ;
6322 PyObject * obj5 = 0 ;
6323 PyObject * obj6 = 0 ;
6324 PyObject * obj7 = 0 ;
6325 char *kwnames[] = {
6326 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6327 };
6328
248ed943 6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6331 if (SWIG_arg_fail(1)) SWIG_fail;
6332 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6333 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6334 if (obj2) {
093d3ff1
RD
6335 {
6336 arg3 = (int const)(SWIG_As_int(obj2));
6337 if (SWIG_arg_fail(3)) SWIG_fail;
6338 }
248ed943
RD
6339 }
6340 if (obj3) {
6341 {
6342 arg4 = wxString_in_helper(obj3);
6343 if (arg4 == NULL) SWIG_fail;
ae8162c8 6344 temp4 = true;
248ed943 6345 }
d55e5bfc
RD
6346 }
6347 if (obj4) {
6348 {
6349 arg5 = &temp5;
6350 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6351 }
6352 }
6353 if (obj5) {
6354 {
6355 arg6 = &temp6;
6356 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6357 }
6358 }
6359 if (obj6) {
093d3ff1
RD
6360 {
6361 arg7 = (long)(SWIG_As_long(obj6));
6362 if (SWIG_arg_fail(7)) SWIG_fail;
6363 }
d55e5bfc
RD
6364 }
6365 if (obj7) {
6366 {
6367 arg8 = wxString_in_helper(obj7);
6368 if (arg8 == NULL) SWIG_fail;
ae8162c8 6369 temp8 = true;
d55e5bfc
RD
6370 }
6371 }
6372 {
6373 PyThreadState* __tstate = wxPyBeginAllowThreads();
6374 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6375
6376 wxPyEndAllowThreads(__tstate);
6377 if (PyErr_Occurred()) SWIG_fail;
6378 }
6379 {
6380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6381 }
6382 {
6383 if (temp4)
6384 delete arg4;
6385 }
6386 {
6387 if (temp8)
6388 delete arg8;
6389 }
6390 return resultobj;
6391 fail:
6392 {
6393 if (temp4)
6394 delete arg4;
6395 }
6396 {
6397 if (temp8)
6398 delete arg8;
6399 }
6400 return NULL;
6401}
6402
6403
c32bde28 6404static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6405 PyObject *obj;
6406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6407 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6408 Py_INCREF(obj);
6409 return Py_BuildValue((char *)"");
6410}
c32bde28 6411static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6412 PyObject *resultobj;
6413 wxBitmap *arg1 = 0 ;
6414 wxWindow *arg2 = (wxWindow *) 0 ;
6415 int arg3 ;
6416 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6417 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6418 wxSize const &arg5_defvalue = wxDefaultSize ;
6419 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6420 long arg6 = (long) wxNO_BORDER ;
6421 wxSplashScreenWindow *result;
6422 wxPoint temp4 ;
6423 wxSize temp5 ;
6424 PyObject * obj0 = 0 ;
6425 PyObject * obj1 = 0 ;
6426 PyObject * obj2 = 0 ;
6427 PyObject * obj3 = 0 ;
6428 PyObject * obj4 = 0 ;
6429 PyObject * obj5 = 0 ;
6430 char *kwnames[] = {
6431 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6432 };
6433
6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6435 {
6436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6437 if (SWIG_arg_fail(1)) SWIG_fail;
6438 if (arg1 == NULL) {
6439 SWIG_null_ref("wxBitmap");
6440 }
6441 if (SWIG_arg_fail(1)) SWIG_fail;
6442 }
6443 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6444 if (SWIG_arg_fail(2)) SWIG_fail;
6445 {
6446 arg3 = (int)(SWIG_As_int(obj2));
6447 if (SWIG_arg_fail(3)) SWIG_fail;
6448 }
d55e5bfc
RD
6449 if (obj3) {
6450 {
6451 arg4 = &temp4;
6452 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6453 }
6454 }
6455 if (obj4) {
6456 {
6457 arg5 = &temp5;
6458 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6459 }
6460 }
6461 if (obj5) {
093d3ff1
RD
6462 {
6463 arg6 = (long)(SWIG_As_long(obj5));
6464 if (SWIG_arg_fail(6)) SWIG_fail;
6465 }
d55e5bfc
RD
6466 }
6467 {
0439c23b 6468 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6469 PyThreadState* __tstate = wxPyBeginAllowThreads();
6470 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6471
6472 wxPyEndAllowThreads(__tstate);
110da5b0 6473 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6474 }
6475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6476 return resultobj;
6477 fail:
6478 return NULL;
6479}
6480
6481
c32bde28 6482static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6483 PyObject *resultobj;
6484 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6485 wxBitmap *arg2 = 0 ;
6486 PyObject * obj0 = 0 ;
6487 PyObject * obj1 = 0 ;
6488 char *kwnames[] = {
6489 (char *) "self",(char *) "bitmap", NULL
6490 };
6491
6492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6494 if (SWIG_arg_fail(1)) SWIG_fail;
6495 {
6496 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6497 if (SWIG_arg_fail(2)) SWIG_fail;
6498 if (arg2 == NULL) {
6499 SWIG_null_ref("wxBitmap");
6500 }
6501 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6502 }
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6506
6507 wxPyEndAllowThreads(__tstate);
6508 if (PyErr_Occurred()) SWIG_fail;
6509 }
6510 Py_INCREF(Py_None); resultobj = Py_None;
6511 return resultobj;
6512 fail:
6513 return NULL;
6514}
6515
6516
c32bde28 6517static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6518 PyObject *resultobj;
6519 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6520 wxBitmap *result;
6521 PyObject * obj0 = 0 ;
6522 char *kwnames[] = {
6523 (char *) "self", NULL
6524 };
6525
6526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
6527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6528 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6529 {
6530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6531 {
6532 wxBitmap &_result_ref = (arg1)->GetBitmap();
6533 result = (wxBitmap *) &_result_ref;
6534 }
6535
6536 wxPyEndAllowThreads(__tstate);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 {
6540 wxBitmap* resultptr = new wxBitmap(*result);
6541 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6542 }
6543 return resultobj;
6544 fail:
6545 return NULL;
6546}
6547
6548
c32bde28 6549static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6550 PyObject *obj;
6551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6552 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6553 Py_INCREF(obj);
6554 return Py_BuildValue((char *)"");
6555}
c32bde28 6556static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6557 PyObject *resultobj;
6558 wxBitmap *arg1 = 0 ;
6559 long arg2 ;
6560 int arg3 ;
6561 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 6562 int arg5 = (int) -1 ;
d55e5bfc
RD
6563 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6564 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6565 wxSize const &arg7_defvalue = wxDefaultSize ;
6566 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6567 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6568 wxSplashScreen *result;
6569 wxPoint temp6 ;
6570 wxSize temp7 ;
6571 PyObject * obj0 = 0 ;
6572 PyObject * obj1 = 0 ;
6573 PyObject * obj2 = 0 ;
6574 PyObject * obj3 = 0 ;
6575 PyObject * obj4 = 0 ;
6576 PyObject * obj5 = 0 ;
6577 PyObject * obj6 = 0 ;
6578 PyObject * obj7 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6581 };
6582
248ed943 6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6584 {
6585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6586 if (SWIG_arg_fail(1)) SWIG_fail;
6587 if (arg1 == NULL) {
6588 SWIG_null_ref("wxBitmap");
6589 }
6590 if (SWIG_arg_fail(1)) SWIG_fail;
6591 }
6592 {
6593 arg2 = (long)(SWIG_As_long(obj1));
6594 if (SWIG_arg_fail(2)) SWIG_fail;
6595 }
6596 {
6597 arg3 = (int)(SWIG_As_int(obj2));
6598 if (SWIG_arg_fail(3)) SWIG_fail;
6599 }
6600 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6601 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 6602 if (obj4) {
093d3ff1
RD
6603 {
6604 arg5 = (int)(SWIG_As_int(obj4));
6605 if (SWIG_arg_fail(5)) SWIG_fail;
6606 }
248ed943 6607 }
d55e5bfc
RD
6608 if (obj5) {
6609 {
6610 arg6 = &temp6;
6611 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6612 }
6613 }
6614 if (obj6) {
6615 {
6616 arg7 = &temp7;
6617 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6618 }
6619 }
6620 if (obj7) {
093d3ff1
RD
6621 {
6622 arg8 = (long)(SWIG_As_long(obj7));
6623 if (SWIG_arg_fail(8)) SWIG_fail;
6624 }
d55e5bfc
RD
6625 }
6626 {
0439c23b 6627 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6628 PyThreadState* __tstate = wxPyBeginAllowThreads();
6629 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6630
6631 wxPyEndAllowThreads(__tstate);
110da5b0 6632 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6633 }
6634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6635 return resultobj;
6636 fail:
6637 return NULL;
6638}
6639
6640
c32bde28 6641static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6642 PyObject *resultobj;
6643 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6644 long result;
6645 PyObject * obj0 = 0 ;
6646 char *kwnames[] = {
6647 (char *) "self", NULL
6648 };
6649
6650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
6651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6652 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
093d3ff1
RD
6660 {
6661 resultobj = SWIG_From_long((long)(result));
6662 }
d55e5bfc
RD
6663 return resultobj;
6664 fail:
6665 return NULL;
6666}
6667
6668
c32bde28 6669static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6670 PyObject *resultobj;
6671 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6672 wxSplashScreenWindow *result;
6673 PyObject * obj0 = 0 ;
6674 char *kwnames[] = {
6675 (char *) "self", NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6680 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6684
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6689 return resultobj;
6690 fail:
6691 return NULL;
6692}
6693
6694
c32bde28 6695static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6696 PyObject *resultobj;
6697 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6698 int result;
6699 PyObject * obj0 = 0 ;
6700 char *kwnames[] = {
6701 (char *) "self", NULL
6702 };
6703
6704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
093d3ff1
RD
6705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6706 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6707 {
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6710
6711 wxPyEndAllowThreads(__tstate);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 }
093d3ff1
RD
6714 {
6715 resultobj = SWIG_From_int((int)(result));
6716 }
d55e5bfc
RD
6717 return resultobj;
6718 fail:
6719 return NULL;
6720}
6721
6722
c32bde28 6723static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6724 PyObject *obj;
6725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6726 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6727 Py_INCREF(obj);
6728 return Py_BuildValue((char *)"");
6729}
c32bde28 6730static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6731 PyObject *resultobj;
6732 wxWindow *arg1 = (wxWindow *) 0 ;
6733 int arg2 = (int) -1 ;
6d88e192 6734 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
d55e5bfc
RD
6735 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6736 wxString *arg4 = (wxString *) &arg4_defvalue ;
6737 wxStatusBar *result;
ae8162c8 6738 bool temp4 = false ;
d55e5bfc
RD
6739 PyObject * obj0 = 0 ;
6740 PyObject * obj1 = 0 ;
6741 PyObject * obj2 = 0 ;
6742 PyObject * obj3 = 0 ;
6743 char *kwnames[] = {
6744 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6745 };
6746
6747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6749 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6750 if (obj1) {
093d3ff1
RD
6751 {
6752 arg2 = (int)(SWIG_As_int(obj1));
6753 if (SWIG_arg_fail(2)) SWIG_fail;
6754 }
d55e5bfc
RD
6755 }
6756 if (obj2) {
093d3ff1
RD
6757 {
6758 arg3 = (long)(SWIG_As_long(obj2));
6759 if (SWIG_arg_fail(3)) SWIG_fail;
6760 }
d55e5bfc
RD
6761 }
6762 if (obj3) {
6763 {
6764 arg4 = wxString_in_helper(obj3);
6765 if (arg4 == NULL) SWIG_fail;
ae8162c8 6766 temp4 = true;
d55e5bfc
RD
6767 }
6768 }
6769 {
0439c23b 6770 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
6772 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6773
6774 wxPyEndAllowThreads(__tstate);
110da5b0 6775 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6776 }
b0f7404b 6777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
6778 {
6779 if (temp4)
6780 delete arg4;
6781 }
6782 return resultobj;
6783 fail:
6784 {
6785 if (temp4)
6786 delete arg4;
6787 }
6788 return NULL;
6789}
6790
6791
c32bde28 6792static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6793 PyObject *resultobj;
6794 wxStatusBar *result;
6795 char *kwnames[] = {
6796 NULL
6797 };
6798
6799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6800 {
0439c23b 6801 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6802 PyThreadState* __tstate = wxPyBeginAllowThreads();
6803 result = (wxStatusBar *)new wxStatusBar();
6804
6805 wxPyEndAllowThreads(__tstate);
110da5b0 6806 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6807 }
b0f7404b 6808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
6809 return resultobj;
6810 fail:
6811 return NULL;
6812}
6813
6814
c32bde28 6815static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6816 PyObject *resultobj;
6817 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6818 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6819 int arg3 = (int) -1 ;
d55e5bfc
RD
6820 long arg4 = (long) wxST_SIZEGRIP ;
6821 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6822 wxString *arg5 = (wxString *) &arg5_defvalue ;
6823 bool result;
ae8162c8 6824 bool temp5 = false ;
d55e5bfc
RD
6825 PyObject * obj0 = 0 ;
6826 PyObject * obj1 = 0 ;
6827 PyObject * obj2 = 0 ;
6828 PyObject * obj3 = 0 ;
6829 PyObject * obj4 = 0 ;
6830 char *kwnames[] = {
6831 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6832 };
6833
248ed943 6834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6836 if (SWIG_arg_fail(1)) SWIG_fail;
6837 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6838 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6839 if (obj2) {
093d3ff1
RD
6840 {
6841 arg3 = (int)(SWIG_As_int(obj2));
6842 if (SWIG_arg_fail(3)) SWIG_fail;
6843 }
248ed943 6844 }
d55e5bfc 6845 if (obj3) {
093d3ff1
RD
6846 {
6847 arg4 = (long)(SWIG_As_long(obj3));
6848 if (SWIG_arg_fail(4)) SWIG_fail;
6849 }
d55e5bfc
RD
6850 }
6851 if (obj4) {
6852 {
6853 arg5 = wxString_in_helper(obj4);
6854 if (arg5 == NULL) SWIG_fail;
ae8162c8 6855 temp5 = true;
d55e5bfc
RD
6856 }
6857 }
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6860 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6861
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 {
6866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6867 }
6868 {
6869 if (temp5)
6870 delete arg5;
6871 }
6872 return resultobj;
6873 fail:
6874 {
6875 if (temp5)
6876 delete arg5;
6877 }
6878 return NULL;
6879}
6880
6881
c32bde28 6882static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6883 PyObject *resultobj;
6884 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6885 int arg2 = (int) 1 ;
6886 PyObject * obj0 = 0 ;
6887 PyObject * obj1 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self",(char *) "number", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6894 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6895 if (obj1) {
093d3ff1
RD
6896 {
6897 arg2 = (int)(SWIG_As_int(obj1));
6898 if (SWIG_arg_fail(2)) SWIG_fail;
6899 }
d55e5bfc
RD
6900 }
6901 {
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 (arg1)->SetFieldsCount(arg2);
6904
6905 wxPyEndAllowThreads(__tstate);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 Py_INCREF(Py_None); resultobj = Py_None;
6909 return resultobj;
6910 fail:
6911 return NULL;
6912}
6913
6914
c32bde28 6915static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6916 PyObject *resultobj;
6917 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6918 int result;
6919 PyObject * obj0 = 0 ;
6920 char *kwnames[] = {
6921 (char *) "self", NULL
6922 };
6923
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
6925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6926 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
093d3ff1
RD
6934 {
6935 resultobj = SWIG_From_int((int)(result));
6936 }
d55e5bfc
RD
6937 return resultobj;
6938 fail:
6939 return NULL;
6940}
6941
6942
c32bde28 6943static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6944 PyObject *resultobj;
6945 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6946 wxString *arg2 = 0 ;
6947 int arg3 = (int) 0 ;
ae8162c8 6948 bool temp2 = false ;
d55e5bfc
RD
6949 PyObject * obj0 = 0 ;
6950 PyObject * obj1 = 0 ;
6951 PyObject * obj2 = 0 ;
6952 char *kwnames[] = {
6953 (char *) "self",(char *) "text",(char *) "number", NULL
6954 };
6955
6956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6958 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6959 {
6960 arg2 = wxString_in_helper(obj1);
6961 if (arg2 == NULL) SWIG_fail;
ae8162c8 6962 temp2 = true;
d55e5bfc
RD
6963 }
6964 if (obj2) {
093d3ff1
RD
6965 {
6966 arg3 = (int)(SWIG_As_int(obj2));
6967 if (SWIG_arg_fail(3)) SWIG_fail;
6968 }
d55e5bfc
RD
6969 }
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 Py_INCREF(Py_None); resultobj = Py_None;
6978 {
6979 if (temp2)
6980 delete arg2;
6981 }
6982 return resultobj;
6983 fail:
6984 {
6985 if (temp2)
6986 delete arg2;
6987 }
6988 return NULL;
6989}
6990
6991
c32bde28 6992static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6993 PyObject *resultobj;
6994 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6995 int arg2 = (int) 0 ;
6996 wxString result;
6997 PyObject * obj0 = 0 ;
6998 PyObject * obj1 = 0 ;
6999 char *kwnames[] = {
7000 (char *) "self",(char *) "number", NULL
7001 };
7002
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7005 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7006 if (obj1) {
093d3ff1
RD
7007 {
7008 arg2 = (int)(SWIG_As_int(obj1));
7009 if (SWIG_arg_fail(2)) SWIG_fail;
7010 }
d55e5bfc
RD
7011 }
7012 {
7013 PyThreadState* __tstate = wxPyBeginAllowThreads();
7014 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
7015
7016 wxPyEndAllowThreads(__tstate);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 {
7020#if wxUSE_UNICODE
7021 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7022#else
7023 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7024#endif
7025 }
7026 return resultobj;
7027 fail:
7028 return NULL;
7029}
7030
7031
c32bde28 7032static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7033 PyObject *resultobj;
7034 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7035 wxString *arg2 = 0 ;
7036 int arg3 = (int) 0 ;
ae8162c8 7037 bool temp2 = false ;
d55e5bfc
RD
7038 PyObject * obj0 = 0 ;
7039 PyObject * obj1 = 0 ;
7040 PyObject * obj2 = 0 ;
7041 char *kwnames[] = {
7042 (char *) "self",(char *) "text",(char *) "number", NULL
7043 };
7044
7045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7047 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7048 {
7049 arg2 = wxString_in_helper(obj1);
7050 if (arg2 == NULL) SWIG_fail;
ae8162c8 7051 temp2 = true;
d55e5bfc
RD
7052 }
7053 if (obj2) {
093d3ff1
RD
7054 {
7055 arg3 = (int)(SWIG_As_int(obj2));
7056 if (SWIG_arg_fail(3)) SWIG_fail;
7057 }
d55e5bfc
RD
7058 }
7059 {
7060 PyThreadState* __tstate = wxPyBeginAllowThreads();
7061 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7062
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
7066 Py_INCREF(Py_None); resultobj = Py_None;
7067 {
7068 if (temp2)
7069 delete arg2;
7070 }
7071 return resultobj;
7072 fail:
7073 {
7074 if (temp2)
7075 delete arg2;
7076 }
7077 return NULL;
7078}
7079
7080
c32bde28 7081static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7082 PyObject *resultobj;
7083 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7084 int arg2 = (int) 0 ;
7085 PyObject * obj0 = 0 ;
7086 PyObject * obj1 = 0 ;
7087 char *kwnames[] = {
7088 (char *) "self",(char *) "number", NULL
7089 };
7090
7091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7093 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7094 if (obj1) {
093d3ff1
RD
7095 {
7096 arg2 = (int)(SWIG_As_int(obj1));
7097 if (SWIG_arg_fail(2)) SWIG_fail;
7098 }
d55e5bfc
RD
7099 }
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 (arg1)->PopStatusText(arg2);
7103
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 Py_INCREF(Py_None); resultobj = Py_None;
7108 return resultobj;
7109 fail:
7110 return NULL;
7111}
7112
7113
c32bde28 7114static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7115 PyObject *resultobj;
7116 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7117 int arg2 ;
7118 int *arg3 = (int *) 0 ;
7119 PyObject * obj0 = 0 ;
7120 PyObject * obj1 = 0 ;
7121 char *kwnames[] = {
7122 (char *) "self",(char *) "widths", NULL
7123 };
7124
7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7127 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7128 {
7129 arg2 = PyList_Size(obj1);
7130 arg3 = int_LIST_helper(obj1);
7131 if (arg3 == NULL) SWIG_fail;
7132 }
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7136
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 Py_INCREF(Py_None); resultobj = Py_None;
7141 {
7142 if (arg3) delete [] arg3;
7143 }
7144 return resultobj;
7145 fail:
7146 {
7147 if (arg3) delete [] arg3;
7148 }
7149 return NULL;
7150}
7151
7152
c32bde28 7153static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
03837c5c
RD
7154 PyObject *resultobj;
7155 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7156 int arg2 ;
7157 int *arg3 = (int *) 0 ;
7158 PyObject * obj0 = 0 ;
7159 PyObject * obj1 = 0 ;
7160 char *kwnames[] = {
7161 (char *) "self",(char *) "styles", NULL
7162 };
7163
7164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7166 if (SWIG_arg_fail(1)) SWIG_fail;
03837c5c
RD
7167 {
7168 arg2 = PyList_Size(obj1);
7169 arg3 = int_LIST_helper(obj1);
7170 if (arg3 == NULL) SWIG_fail;
7171 }
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7175
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 Py_INCREF(Py_None); resultobj = Py_None;
7180 {
7181 if (arg3) delete [] arg3;
7182 }
7183 return resultobj;
7184 fail:
7185 {
7186 if (arg3) delete [] arg3;
7187 }
7188 return NULL;
7189}
7190
7191
c32bde28 7192static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7193 PyObject *resultobj;
7194 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7195 int arg2 ;
7196 wxRect result;
7197 PyObject * obj0 = 0 ;
7198 PyObject * obj1 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self",(char *) "i", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7205 if (SWIG_arg_fail(1)) SWIG_fail;
7206 {
7207 arg2 = (int)(SWIG_As_int(obj1));
7208 if (SWIG_arg_fail(2)) SWIG_fail;
7209 }
d55e5bfc
RD
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 result = wxStatusBar_GetFieldRect(arg1,arg2);
7213
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 {
7218 wxRect * resultptr;
093d3ff1 7219 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
7220 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7221 }
7222 return resultobj;
7223 fail:
7224 return NULL;
7225}
7226
7227
c32bde28 7228static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7229 PyObject *resultobj;
7230 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7231 int arg2 ;
7232 PyObject * obj0 = 0 ;
7233 PyObject * obj1 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "self",(char *) "height", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7240 if (SWIG_arg_fail(1)) SWIG_fail;
7241 {
7242 arg2 = (int)(SWIG_As_int(obj1));
7243 if (SWIG_arg_fail(2)) SWIG_fail;
7244 }
d55e5bfc
RD
7245 {
7246 PyThreadState* __tstate = wxPyBeginAllowThreads();
7247 (arg1)->SetMinHeight(arg2);
7248
7249 wxPyEndAllowThreads(__tstate);
7250 if (PyErr_Occurred()) SWIG_fail;
7251 }
7252 Py_INCREF(Py_None); resultobj = Py_None;
7253 return resultobj;
7254 fail:
7255 return NULL;
7256}
7257
7258
c32bde28 7259static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7260 PyObject *resultobj;
7261 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7262 int result;
7263 PyObject * obj0 = 0 ;
7264 char *kwnames[] = {
7265 (char *) "self", NULL
7266 };
7267
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
093d3ff1
RD
7269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7270 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
093d3ff1
RD
7278 {
7279 resultobj = SWIG_From_int((int)(result));
7280 }
d55e5bfc
RD
7281 return resultobj;
7282 fail:
7283 return NULL;
7284}
7285
7286
c32bde28 7287static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7288 PyObject *resultobj;
7289 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7290 int result;
7291 PyObject * obj0 = 0 ;
7292 char *kwnames[] = {
7293 (char *) "self", NULL
7294 };
7295
7296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
093d3ff1
RD
7297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7299 {
7300 PyThreadState* __tstate = wxPyBeginAllowThreads();
7301 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7302
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
093d3ff1
RD
7306 {
7307 resultobj = SWIG_From_int((int)(result));
7308 }
d55e5bfc
RD
7309 return resultobj;
7310 fail:
7311 return NULL;
7312}
7313
7314
c32bde28 7315static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 7316 PyObject *resultobj;
093d3ff1 7317 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7318 wxVisualAttributes result;
7319 PyObject * obj0 = 0 ;
7320 char *kwnames[] = {
7321 (char *) "variant", NULL
7322 };
7323
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7325 if (obj0) {
093d3ff1
RD
7326 {
7327 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7328 if (SWIG_arg_fail(1)) SWIG_fail;
7329 }
f20a2e1f
RD
7330 }
7331 {
0439c23b 7332 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7335
7336 wxPyEndAllowThreads(__tstate);
110da5b0 7337 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7338 }
7339 {
7340 wxVisualAttributes * resultptr;
093d3ff1 7341 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
7342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7343 }
7344 return resultobj;
7345 fail:
7346 return NULL;
7347}
7348
7349
c32bde28 7350static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7351 PyObject *obj;
7352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7353 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7354 Py_INCREF(obj);
7355 return Py_BuildValue((char *)"");
7356}
c32bde28 7357static int _wrap_SplitterNameStr_set(PyObject *) {
d55e5bfc
RD
7358 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7359 return 1;
7360}
7361
7362
093d3ff1 7363static PyObject *_wrap_SplitterNameStr_get(void) {
d55e5bfc
RD
7364 PyObject *pyobj;
7365
7366 {
7367#if wxUSE_UNICODE
7368 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7369#else
7370 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7371#endif
7372 }
7373 return pyobj;
7374}
7375
7376
c32bde28 7377static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7378 PyObject *resultobj;
7379 wxWindow *arg1 = (wxWindow *) 0 ;
7380 int arg2 = (int) -1 ;
7381 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7382 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7383 wxSize const &arg4_defvalue = wxDefaultSize ;
7384 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7385 long arg5 = (long) wxSP_3D ;
7386 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7387 wxString *arg6 = (wxString *) &arg6_defvalue ;
7388 wxSplitterWindow *result;
7389 wxPoint temp3 ;
7390 wxSize temp4 ;
ae8162c8 7391 bool temp6 = false ;
d55e5bfc
RD
7392 PyObject * obj0 = 0 ;
7393 PyObject * obj1 = 0 ;
7394 PyObject * obj2 = 0 ;
7395 PyObject * obj3 = 0 ;
7396 PyObject * obj4 = 0 ;
7397 PyObject * obj5 = 0 ;
7398 char *kwnames[] = {
7399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7400 };
7401
7402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7404 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7405 if (obj1) {
093d3ff1
RD
7406 {
7407 arg2 = (int)(SWIG_As_int(obj1));
7408 if (SWIG_arg_fail(2)) SWIG_fail;
7409 }
d55e5bfc
RD
7410 }
7411 if (obj2) {
7412 {
7413 arg3 = &temp3;
7414 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7415 }
7416 }
7417 if (obj3) {
7418 {
7419 arg4 = &temp4;
7420 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7421 }
7422 }
7423 if (obj4) {
093d3ff1
RD
7424 {
7425 arg5 = (long)(SWIG_As_long(obj4));
7426 if (SWIG_arg_fail(5)) SWIG_fail;
7427 }
d55e5bfc
RD
7428 }
7429 if (obj5) {
7430 {
7431 arg6 = wxString_in_helper(obj5);
7432 if (arg6 == NULL) SWIG_fail;
ae8162c8 7433 temp6 = true;
d55e5bfc
RD
7434 }
7435 }
7436 {
0439c23b 7437 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7438 PyThreadState* __tstate = wxPyBeginAllowThreads();
7439 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7440
7441 wxPyEndAllowThreads(__tstate);
110da5b0 7442 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7443 }
7444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7445 {
7446 if (temp6)
7447 delete arg6;
7448 }
7449 return resultobj;
7450 fail:
7451 {
7452 if (temp6)
7453 delete arg6;
7454 }
7455 return NULL;
7456}
7457
7458
c32bde28 7459static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7460 PyObject *resultobj;
7461 wxSplitterWindow *result;
7462 char *kwnames[] = {
7463 NULL
7464 };
7465
7466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7467 {
0439c23b 7468 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 result = (wxSplitterWindow *)new wxSplitterWindow();
7471
7472 wxPyEndAllowThreads(__tstate);
110da5b0 7473 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7474 }
7475 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7476 return resultobj;
7477 fail:
7478 return NULL;
7479}
7480
7481
c32bde28 7482static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7483 PyObject *resultobj;
7484 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7485 wxWindow *arg2 = (wxWindow *) 0 ;
7486 int arg3 = (int) -1 ;
7487 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7488 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7489 wxSize const &arg5_defvalue = wxDefaultSize ;
7490 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7491 long arg6 = (long) wxSP_3D ;
7492 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7493 wxString *arg7 = (wxString *) &arg7_defvalue ;
7494 bool result;
7495 wxPoint temp4 ;
7496 wxSize temp5 ;
ae8162c8 7497 bool temp7 = false ;
d55e5bfc
RD
7498 PyObject * obj0 = 0 ;
7499 PyObject * obj1 = 0 ;
7500 PyObject * obj2 = 0 ;
7501 PyObject * obj3 = 0 ;
7502 PyObject * obj4 = 0 ;
7503 PyObject * obj5 = 0 ;
7504 PyObject * obj6 = 0 ;
7505 char *kwnames[] = {
7506 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7507 };
7508
7509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7511 if (SWIG_arg_fail(1)) SWIG_fail;
7512 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7513 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 7514 if (obj2) {
093d3ff1
RD
7515 {
7516 arg3 = (int)(SWIG_As_int(obj2));
7517 if (SWIG_arg_fail(3)) SWIG_fail;
7518 }
d55e5bfc
RD
7519 }
7520 if (obj3) {
7521 {
7522 arg4 = &temp4;
7523 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7524 }
7525 }
7526 if (obj4) {
7527 {
7528 arg5 = &temp5;
7529 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7530 }
7531 }
7532 if (obj5) {
093d3ff1
RD
7533 {
7534 arg6 = (long)(SWIG_As_long(obj5));
7535 if (SWIG_arg_fail(6)) SWIG_fail;
7536 }
d55e5bfc
RD
7537 }
7538 if (obj6) {
7539 {
7540 arg7 = wxString_in_helper(obj6);
7541 if (arg7 == NULL) SWIG_fail;
ae8162c8 7542 temp7 = true;
d55e5bfc
RD
7543 }
7544 }
7545 {
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7548
7549 wxPyEndAllowThreads(__tstate);
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 {
7553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7554 }
7555 {
7556 if (temp7)
7557 delete arg7;
7558 }
7559 return resultobj;
7560 fail:
7561 {
7562 if (temp7)
7563 delete arg7;
7564 }
7565 return NULL;
7566}
7567
7568
c32bde28 7569static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7570 PyObject *resultobj;
7571 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7572 wxWindow *result;
7573 PyObject * obj0 = 0 ;
7574 char *kwnames[] = {
7575 (char *) "self", NULL
7576 };
7577
7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
093d3ff1
RD
7579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7581 {
7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7583 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7584
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 {
412d302d 7589 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7590 }
7591 return resultobj;
7592 fail:
7593 return NULL;
7594}
7595
7596
c32bde28 7597static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7598 PyObject *resultobj;
7599 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7600 wxWindow *result;
7601 PyObject * obj0 = 0 ;
7602 char *kwnames[] = {
7603 (char *) "self", NULL
7604 };
7605
7606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
093d3ff1
RD
7607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 {
412d302d 7617 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7618 }
7619 return resultobj;
7620 fail:
7621 return NULL;
7622}
7623
7624
c32bde28 7625static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7626 PyObject *resultobj;
7627 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7628 int arg2 ;
7629 PyObject * obj0 = 0 ;
7630 PyObject * obj1 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "self",(char *) "mode", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7637 if (SWIG_arg_fail(1)) SWIG_fail;
7638 {
7639 arg2 = (int)(SWIG_As_int(obj1));
7640 if (SWIG_arg_fail(2)) SWIG_fail;
7641 }
d55e5bfc
RD
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 (arg1)->SetSplitMode(arg2);
7645
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 Py_INCREF(Py_None); resultobj = Py_None;
7650 return resultobj;
7651 fail:
7652 return NULL;
7653}
7654
7655
c32bde28 7656static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7657 PyObject *resultobj;
7658 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
093d3ff1 7659 wxSplitMode result;
d55e5bfc
RD
7660 PyObject * obj0 = 0 ;
7661 char *kwnames[] = {
7662 (char *) "self", NULL
7663 };
7664
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
7666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7667 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7670 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
d55e5bfc
RD
7671
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
093d3ff1 7675 resultobj = SWIG_From_int((result));
d55e5bfc
RD
7676 return resultobj;
7677 fail:
7678 return NULL;
7679}
7680
7681
c32bde28 7682static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7683 PyObject *resultobj;
7684 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7685 wxWindow *arg2 = (wxWindow *) 0 ;
7686 PyObject * obj0 = 0 ;
7687 PyObject * obj1 = 0 ;
7688 char *kwnames[] = {
7689 (char *) "self",(char *) "window", NULL
7690 };
7691
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7694 if (SWIG_arg_fail(1)) SWIG_fail;
7695 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7696 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 (arg1)->Initialize(arg2);
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 Py_INCREF(Py_None); resultobj = Py_None;
7705 return resultobj;
7706 fail:
7707 return NULL;
7708}
7709
7710
c32bde28 7711static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7712 PyObject *resultobj;
7713 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7714 wxWindow *arg2 = (wxWindow *) 0 ;
7715 wxWindow *arg3 = (wxWindow *) 0 ;
7716 int arg4 = (int) 0 ;
7717 bool result;
7718 PyObject * obj0 = 0 ;
7719 PyObject * obj1 = 0 ;
7720 PyObject * obj2 = 0 ;
7721 PyObject * obj3 = 0 ;
7722 char *kwnames[] = {
7723 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7724 };
7725
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail;
7729 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7730 if (SWIG_arg_fail(2)) SWIG_fail;
7731 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7732 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 7733 if (obj3) {
093d3ff1
RD
7734 {
7735 arg4 = (int)(SWIG_As_int(obj3));
7736 if (SWIG_arg_fail(4)) SWIG_fail;
7737 }
d55e5bfc
RD
7738 }
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7742
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 {
7747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7748 }
7749 return resultobj;
7750 fail:
7751 return NULL;
7752}
7753
7754
c32bde28 7755static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7756 PyObject *resultobj;
7757 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7758 wxWindow *arg2 = (wxWindow *) 0 ;
7759 wxWindow *arg3 = (wxWindow *) 0 ;
7760 int arg4 = (int) 0 ;
7761 bool result;
7762 PyObject * obj0 = 0 ;
7763 PyObject * obj1 = 0 ;
7764 PyObject * obj2 = 0 ;
7765 PyObject * obj3 = 0 ;
7766 char *kwnames[] = {
7767 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7768 };
7769
7770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7772 if (SWIG_arg_fail(1)) SWIG_fail;
7773 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7774 if (SWIG_arg_fail(2)) SWIG_fail;
7775 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7776 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 7777 if (obj3) {
093d3ff1
RD
7778 {
7779 arg4 = (int)(SWIG_As_int(obj3));
7780 if (SWIG_arg_fail(4)) SWIG_fail;
7781 }
d55e5bfc
RD
7782 }
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 {
7791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7792 }
7793 return resultobj;
7794 fail:
7795 return NULL;
7796}
7797
7798
c32bde28 7799static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7800 PyObject *resultobj;
7801 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7802 wxWindow *arg2 = (wxWindow *) NULL ;
7803 bool result;
7804 PyObject * obj0 = 0 ;
7805 PyObject * obj1 = 0 ;
7806 char *kwnames[] = {
7807 (char *) "self",(char *) "toRemove", NULL
7808 };
7809
7810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7812 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7813 if (obj1) {
093d3ff1
RD
7814 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7815 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7816 }
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 result = (bool)(arg1)->Unsplit(arg2);
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 {
7825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7826 }
7827 return resultobj;
7828 fail:
7829 return NULL;
7830}
7831
7832
c32bde28 7833static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7834 PyObject *resultobj;
7835 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7836 wxWindow *arg2 = (wxWindow *) 0 ;
7837 wxWindow *arg3 = (wxWindow *) 0 ;
7838 bool result;
7839 PyObject * obj0 = 0 ;
7840 PyObject * obj1 = 0 ;
7841 PyObject * obj2 = 0 ;
7842 char *kwnames[] = {
7843 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7844 };
7845
7846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail;
7849 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7850 if (SWIG_arg_fail(2)) SWIG_fail;
7851 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7852 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
7853 {
7854 PyThreadState* __tstate = wxPyBeginAllowThreads();
7855 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7856
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 {
7861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7862 }
7863 return resultobj;
7864 fail:
7865 return NULL;
7866}
7867
7868
c32bde28 7869static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7870 PyObject *resultobj;
7871 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7872 PyObject * obj0 = 0 ;
7873 char *kwnames[] = {
7874 (char *) "self", NULL
7875 };
7876
7877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7879 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 (arg1)->UpdateSize();
7883
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 Py_INCREF(Py_None); resultobj = Py_None;
7888 return resultobj;
7889 fail:
7890 return NULL;
7891}
7892
7893
c32bde28 7894static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7895 PyObject *resultobj;
7896 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7897 bool result;
7898 PyObject * obj0 = 0 ;
7899 char *kwnames[] = {
7900 (char *) "self", NULL
7901 };
7902
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
093d3ff1
RD
7904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7906 {
7907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7908 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7909
7910 wxPyEndAllowThreads(__tstate);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 {
7914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7915 }
7916 return resultobj;
7917 fail:
7918 return NULL;
7919}
7920
7921
c32bde28 7922static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7923 PyObject *resultobj;
7924 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7925 int arg2 ;
7926 PyObject * obj0 = 0 ;
7927 PyObject * obj1 = 0 ;
7928 char *kwnames[] = {
7929 (char *) "self",(char *) "width", NULL
7930 };
7931
7932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7934 if (SWIG_arg_fail(1)) SWIG_fail;
7935 {
7936 arg2 = (int)(SWIG_As_int(obj1));
7937 if (SWIG_arg_fail(2)) SWIG_fail;
7938 }
d55e5bfc
RD
7939 {
7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
7941 (arg1)->SetSashSize(arg2);
7942
7943 wxPyEndAllowThreads(__tstate);
7944 if (PyErr_Occurred()) SWIG_fail;
7945 }
7946 Py_INCREF(Py_None); resultobj = Py_None;
7947 return resultobj;
7948 fail:
7949 return NULL;
7950}
7951
7952
c32bde28 7953static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7954 PyObject *resultobj;
7955 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7956 int arg2 ;
7957 PyObject * obj0 = 0 ;
7958 PyObject * obj1 = 0 ;
7959 char *kwnames[] = {
7960 (char *) "self",(char *) "width", NULL
7961 };
7962
7963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7965 if (SWIG_arg_fail(1)) SWIG_fail;
7966 {
7967 arg2 = (int)(SWIG_As_int(obj1));
7968 if (SWIG_arg_fail(2)) SWIG_fail;
7969 }
d55e5bfc
RD
7970 {
7971 PyThreadState* __tstate = wxPyBeginAllowThreads();
7972 (arg1)->SetBorderSize(arg2);
7973
7974 wxPyEndAllowThreads(__tstate);
7975 if (PyErr_Occurred()) SWIG_fail;
7976 }
7977 Py_INCREF(Py_None); resultobj = Py_None;
7978 return resultobj;
7979 fail:
7980 return NULL;
7981}
7982
7983
c32bde28 7984static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7985 PyObject *resultobj;
7986 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7987 int result;
7988 PyObject * obj0 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7995 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
093d3ff1
RD
8003 {
8004 resultobj = SWIG_From_int((int)(result));
8005 }
d55e5bfc
RD
8006 return resultobj;
8007 fail:
8008 return NULL;
8009}
8010
8011
c32bde28 8012static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8013 PyObject *resultobj;
8014 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8015 int result;
8016 PyObject * obj0 = 0 ;
8017 char *kwnames[] = {
8018 (char *) "self", NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8023 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
093d3ff1
RD
8031 {
8032 resultobj = SWIG_From_int((int)(result));
8033 }
d55e5bfc
RD
8034 return resultobj;
8035 fail:
8036 return NULL;
8037}
8038
8039
c32bde28 8040static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8041 PyObject *resultobj;
8042 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8043 int arg2 ;
ae8162c8 8044 bool arg3 = (bool) true ;
d55e5bfc
RD
8045 PyObject * obj0 = 0 ;
8046 PyObject * obj1 = 0 ;
8047 PyObject * obj2 = 0 ;
8048 char *kwnames[] = {
8049 (char *) "self",(char *) "position",(char *) "redraw", NULL
8050 };
8051
8052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8054 if (SWIG_arg_fail(1)) SWIG_fail;
8055 {
8056 arg2 = (int)(SWIG_As_int(obj1));
8057 if (SWIG_arg_fail(2)) SWIG_fail;
8058 }
d55e5bfc 8059 if (obj2) {
093d3ff1
RD
8060 {
8061 arg3 = (bool)(SWIG_As_bool(obj2));
8062 if (SWIG_arg_fail(3)) SWIG_fail;
8063 }
d55e5bfc
RD
8064 }
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 (arg1)->SetSashPosition(arg2,arg3);
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 Py_INCREF(Py_None); resultobj = Py_None;
8073 return resultobj;
8074 fail:
8075 return NULL;
8076}
8077
8078
c32bde28 8079static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8080 PyObject *resultobj;
8081 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8082 int result;
8083 PyObject * obj0 = 0 ;
8084 char *kwnames[] = {
8085 (char *) "self", NULL
8086 };
8087
8088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8090 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8094
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
093d3ff1
RD
8098 {
8099 resultobj = SWIG_From_int((int)(result));
8100 }
d55e5bfc
RD
8101 return resultobj;
8102 fail:
8103 return NULL;
8104}
8105
8106
b519803b
RD
8107static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8108 PyObject *resultobj;
8109 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8110 double arg2 ;
8111 PyObject * obj0 = 0 ;
8112 PyObject * obj1 = 0 ;
8113 char *kwnames[] = {
8114 (char *) "self",(char *) "gravity", NULL
8115 };
8116
8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8119 if (SWIG_arg_fail(1)) SWIG_fail;
8120 {
8121 arg2 = (double)(SWIG_As_double(obj1));
8122 if (SWIG_arg_fail(2)) SWIG_fail;
8123 }
b519803b
RD
8124 {
8125 PyThreadState* __tstate = wxPyBeginAllowThreads();
8126 (arg1)->SetSashGravity(arg2);
8127
8128 wxPyEndAllowThreads(__tstate);
8129 if (PyErr_Occurred()) SWIG_fail;
8130 }
8131 Py_INCREF(Py_None); resultobj = Py_None;
8132 return resultobj;
8133 fail:
8134 return NULL;
8135}
8136
8137
8138static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8139 PyObject *resultobj;
8140 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8141 double result;
8142 PyObject * obj0 = 0 ;
8143 char *kwnames[] = {
8144 (char *) "self", NULL
8145 };
8146
8147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
093d3ff1
RD
8148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8149 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
8150 {
8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
8152 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8153
8154 wxPyEndAllowThreads(__tstate);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 }
093d3ff1
RD
8157 {
8158 resultobj = SWIG_From_double((double)(result));
8159 }
b519803b
RD
8160 return resultobj;
8161 fail:
8162 return NULL;
8163}
8164
8165
c32bde28 8166static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8167 PyObject *resultobj;
8168 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8169 int arg2 ;
8170 PyObject * obj0 = 0 ;
8171 PyObject * obj1 = 0 ;
8172 char *kwnames[] = {
8173 (char *) "self",(char *) "min", NULL
8174 };
8175
8176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8178 if (SWIG_arg_fail(1)) SWIG_fail;
8179 {
8180 arg2 = (int)(SWIG_As_int(obj1));
8181 if (SWIG_arg_fail(2)) SWIG_fail;
8182 }
d55e5bfc
RD
8183 {
8184 PyThreadState* __tstate = wxPyBeginAllowThreads();
8185 (arg1)->SetMinimumPaneSize(arg2);
8186
8187 wxPyEndAllowThreads(__tstate);
8188 if (PyErr_Occurred()) SWIG_fail;
8189 }
8190 Py_INCREF(Py_None); resultobj = Py_None;
8191 return resultobj;
8192 fail:
8193 return NULL;
8194}
8195
8196
c32bde28 8197static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8198 PyObject *resultobj;
8199 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8200 int result;
8201 PyObject * obj0 = 0 ;
8202 char *kwnames[] = {
8203 (char *) "self", NULL
8204 };
8205
8206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8208 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8209 {
8210 PyThreadState* __tstate = wxPyBeginAllowThreads();
8211 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8212
8213 wxPyEndAllowThreads(__tstate);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 }
093d3ff1
RD
8216 {
8217 resultobj = SWIG_From_int((int)(result));
8218 }
d55e5bfc
RD
8219 return resultobj;
8220 fail:
8221 return NULL;
8222}
8223
8224
c32bde28 8225static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8226 PyObject *resultobj;
8227 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8228 int arg2 ;
8229 int arg3 ;
8230 int arg4 = (int) 5 ;
8231 bool result;
8232 PyObject * obj0 = 0 ;
8233 PyObject * obj1 = 0 ;
8234 PyObject * obj2 = 0 ;
8235 PyObject * obj3 = 0 ;
8236 char *kwnames[] = {
8237 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8238 };
8239
8240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8242 if (SWIG_arg_fail(1)) SWIG_fail;
8243 {
8244 arg2 = (int)(SWIG_As_int(obj1));
8245 if (SWIG_arg_fail(2)) SWIG_fail;
8246 }
8247 {
8248 arg3 = (int)(SWIG_As_int(obj2));
8249 if (SWIG_arg_fail(3)) SWIG_fail;
8250 }
d55e5bfc 8251 if (obj3) {
093d3ff1
RD
8252 {
8253 arg4 = (int)(SWIG_As_int(obj3));
8254 if (SWIG_arg_fail(4)) SWIG_fail;
8255 }
d55e5bfc
RD
8256 }
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
8259 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
8264 {
8265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8266 }
8267 return resultobj;
8268 fail:
8269 return NULL;
8270}
8271
8272
c32bde28 8273static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8274 PyObject *resultobj;
8275 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8276 PyObject * obj0 = 0 ;
8277 char *kwnames[] = {
8278 (char *) "self", NULL
8279 };
8280
8281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
8282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8283 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8284 {
8285 PyThreadState* __tstate = wxPyBeginAllowThreads();
8286 (arg1)->SizeWindows();
8287
8288 wxPyEndAllowThreads(__tstate);
8289 if (PyErr_Occurred()) SWIG_fail;
8290 }
8291 Py_INCREF(Py_None); resultobj = Py_None;
8292 return resultobj;
8293 fail:
8294 return NULL;
8295}
8296
8297
c32bde28 8298static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8299 PyObject *resultobj;
8300 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8301 bool arg2 ;
8302 PyObject * obj0 = 0 ;
8303 PyObject * obj1 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "self",(char *) "needUpdating", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8310 if (SWIG_arg_fail(1)) SWIG_fail;
8311 {
8312 arg2 = (bool)(SWIG_As_bool(obj1));
8313 if (SWIG_arg_fail(2)) SWIG_fail;
8314 }
d55e5bfc
RD
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 (arg1)->SetNeedUpdating(arg2);
8318
8319 wxPyEndAllowThreads(__tstate);
8320 if (PyErr_Occurred()) SWIG_fail;
8321 }
8322 Py_INCREF(Py_None); resultobj = Py_None;
8323 return resultobj;
8324 fail:
8325 return NULL;
8326}
8327
8328
c32bde28 8329static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8330 PyObject *resultobj;
8331 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8332 bool result;
8333 PyObject * obj0 = 0 ;
8334 char *kwnames[] = {
8335 (char *) "self", NULL
8336 };
8337
8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
093d3ff1
RD
8339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8340 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8341 {
8342 PyThreadState* __tstate = wxPyBeginAllowThreads();
8343 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8344
8345 wxPyEndAllowThreads(__tstate);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 }
8348 {
8349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8350 }
8351 return resultobj;
8352 fail:
8353 return NULL;
8354}
8355
8356
c32bde28 8357static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 8358 PyObject *resultobj;
093d3ff1 8359 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
8360 wxVisualAttributes result;
8361 PyObject * obj0 = 0 ;
8362 char *kwnames[] = {
8363 (char *) "variant", NULL
8364 };
8365
8366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8367 if (obj0) {
093d3ff1
RD
8368 {
8369 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8370 if (SWIG_arg_fail(1)) SWIG_fail;
8371 }
f20a2e1f
RD
8372 }
8373 {
0439c23b 8374 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
8375 PyThreadState* __tstate = wxPyBeginAllowThreads();
8376 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8377
8378 wxPyEndAllowThreads(__tstate);
110da5b0 8379 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
8380 }
8381 {
8382 wxVisualAttributes * resultptr;
093d3ff1 8383 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
8384 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8385 }
8386 return resultobj;
8387 fail:
8388 return NULL;
8389}
8390
8391
c32bde28 8392static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8393 PyObject *obj;
8394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8395 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8396 Py_INCREF(obj);
8397 return Py_BuildValue((char *)"");
8398}
c32bde28 8399static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8400 PyObject *resultobj;
8401 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8402 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8403 wxSplitterEvent *result;
8404 PyObject * obj0 = 0 ;
8405 PyObject * obj1 = 0 ;
8406 char *kwnames[] = {
8407 (char *) "type",(char *) "splitter", NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8411 if (obj0) {
093d3ff1
RD
8412 {
8413 arg1 = (wxEventType)(SWIG_As_int(obj0));
8414 if (SWIG_arg_fail(1)) SWIG_fail;
8415 }
d55e5bfc
RD
8416 }
8417 if (obj1) {
093d3ff1
RD
8418 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8419 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8420 }
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8424
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8429 return resultobj;
8430 fail:
8431 return NULL;
8432}
8433
8434
c32bde28 8435static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8436 PyObject *resultobj;
8437 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8438 int arg2 ;
8439 PyObject * obj0 = 0 ;
8440 PyObject * obj1 = 0 ;
8441 char *kwnames[] = {
8442 (char *) "self",(char *) "pos", NULL
8443 };
8444
8445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8447 if (SWIG_arg_fail(1)) SWIG_fail;
8448 {
8449 arg2 = (int)(SWIG_As_int(obj1));
8450 if (SWIG_arg_fail(2)) SWIG_fail;
8451 }
d55e5bfc
RD
8452 {
8453 PyThreadState* __tstate = wxPyBeginAllowThreads();
8454 (arg1)->SetSashPosition(arg2);
8455
8456 wxPyEndAllowThreads(__tstate);
8457 if (PyErr_Occurred()) SWIG_fail;
8458 }
8459 Py_INCREF(Py_None); resultobj = Py_None;
8460 return resultobj;
8461 fail:
8462 return NULL;
8463}
8464
8465
c32bde28 8466static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8467 PyObject *resultobj;
8468 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8469 int result;
8470 PyObject * obj0 = 0 ;
8471 char *kwnames[] = {
8472 (char *) "self", NULL
8473 };
8474
8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8477 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8478 {
8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
8480 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8481
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
093d3ff1
RD
8485 {
8486 resultobj = SWIG_From_int((int)(result));
8487 }
d55e5bfc
RD
8488 return resultobj;
8489 fail:
8490 return NULL;
8491}
8492
8493
c32bde28 8494static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8495 PyObject *resultobj;
8496 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8497 wxWindow *result;
8498 PyObject * obj0 = 0 ;
8499 char *kwnames[] = {
8500 (char *) "self", NULL
8501 };
8502
8503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
093d3ff1
RD
8504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8505 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 {
412d302d 8514 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
8515 }
8516 return resultobj;
8517 fail:
8518 return NULL;
8519}
8520
8521
c32bde28 8522static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8523 PyObject *resultobj;
8524 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8525 int result;
8526 PyObject * obj0 = 0 ;
8527 char *kwnames[] = {
8528 (char *) "self", NULL
8529 };
8530
8531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
8532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8533 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8534 {
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8537
8538 wxPyEndAllowThreads(__tstate);
8539 if (PyErr_Occurred()) SWIG_fail;
8540 }
093d3ff1
RD
8541 {
8542 resultobj = SWIG_From_int((int)(result));
8543 }
d55e5bfc
RD
8544 return resultobj;
8545 fail:
8546 return NULL;
8547}
8548
8549
c32bde28 8550static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8551 PyObject *resultobj;
8552 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8553 int result;
8554 PyObject * obj0 = 0 ;
8555 char *kwnames[] = {
8556 (char *) "self", NULL
8557 };
8558
8559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
8560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8562 {
8563 PyThreadState* __tstate = wxPyBeginAllowThreads();
8564 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8565
8566 wxPyEndAllowThreads(__tstate);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
093d3ff1
RD
8569 {
8570 resultobj = SWIG_From_int((int)(result));
8571 }
d55e5bfc
RD
8572 return resultobj;
8573 fail:
8574 return NULL;
8575}
8576
8577
c32bde28 8578static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8579 PyObject *obj;
8580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8581 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8582 Py_INCREF(obj);
8583 return Py_BuildValue((char *)"");
8584}
c32bde28 8585static int _wrap_SashNameStr_set(PyObject *) {
d55e5bfc
RD
8586 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8587 return 1;
8588}
8589
8590
093d3ff1 8591static PyObject *_wrap_SashNameStr_get(void) {
d55e5bfc
RD
8592 PyObject *pyobj;
8593
8594 {
8595#if wxUSE_UNICODE
8596 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8597#else
8598 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8599#endif
8600 }
8601 return pyobj;
8602}
8603
8604
c32bde28 8605static int _wrap_SashLayoutNameStr_set(PyObject *) {
d55e5bfc
RD
8606 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8607 return 1;
8608}
8609
8610
093d3ff1 8611static PyObject *_wrap_SashLayoutNameStr_get(void) {
d55e5bfc
RD
8612 PyObject *pyobj;
8613
8614 {
8615#if wxUSE_UNICODE
8616 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8617#else
8618 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8619#endif
8620 }
8621 return pyobj;
8622}
8623
8624
c32bde28 8625static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8626 PyObject *resultobj;
8627 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8628 int arg2 = (int) -1 ;
d55e5bfc
RD
8629 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8630 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8631 wxSize const &arg4_defvalue = wxDefaultSize ;
8632 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8633 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8634 wxString const &arg6_defvalue = wxPySashNameStr ;
8635 wxString *arg6 = (wxString *) &arg6_defvalue ;
8636 wxSashWindow *result;
8637 wxPoint temp3 ;
8638 wxSize temp4 ;
ae8162c8 8639 bool temp6 = false ;
d55e5bfc
RD
8640 PyObject * obj0 = 0 ;
8641 PyObject * obj1 = 0 ;
8642 PyObject * obj2 = 0 ;
8643 PyObject * obj3 = 0 ;
8644 PyObject * obj4 = 0 ;
8645 PyObject * obj5 = 0 ;
8646 char *kwnames[] = {
8647 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8648 };
8649
248ed943 8650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
8651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8652 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8653 if (obj1) {
093d3ff1
RD
8654 {
8655 arg2 = (int)(SWIG_As_int(obj1));
8656 if (SWIG_arg_fail(2)) SWIG_fail;
8657 }
248ed943 8658 }
d55e5bfc
RD
8659 if (obj2) {
8660 {
8661 arg3 = &temp3;
8662 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8663 }
8664 }
8665 if (obj3) {
8666 {
8667 arg4 = &temp4;
8668 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8669 }
8670 }
8671 if (obj4) {
093d3ff1
RD
8672 {
8673 arg5 = (long)(SWIG_As_long(obj4));
8674 if (SWIG_arg_fail(5)) SWIG_fail;
8675 }
d55e5bfc
RD
8676 }
8677 if (obj5) {
8678 {
8679 arg6 = wxString_in_helper(obj5);
8680 if (arg6 == NULL) SWIG_fail;
ae8162c8 8681 temp6 = true;
d55e5bfc
RD
8682 }
8683 }
8684 {
0439c23b 8685 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8686 PyThreadState* __tstate = wxPyBeginAllowThreads();
8687 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8688
8689 wxPyEndAllowThreads(__tstate);
110da5b0 8690 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8691 }
8692 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8693 {
8694 if (temp6)
8695 delete arg6;
8696 }
8697 return resultobj;
8698 fail:
8699 {
8700 if (temp6)
8701 delete arg6;
8702 }
8703 return NULL;
8704}
8705
8706
c32bde28 8707static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8708 PyObject *resultobj;
8709 wxSashWindow *result;
8710 char *kwnames[] = {
8711 NULL
8712 };
8713
8714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8715 {
0439c23b 8716 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 result = (wxSashWindow *)new wxSashWindow();
8719
8720 wxPyEndAllowThreads(__tstate);
110da5b0 8721 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8722 }
8723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8724 return resultobj;
8725 fail:
8726 return NULL;
8727}
8728
8729
c32bde28 8730static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8731 PyObject *resultobj;
8732 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8733 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8734 int arg3 = (int) -1 ;
d55e5bfc
RD
8735 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8736 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8737 wxSize const &arg5_defvalue = wxDefaultSize ;
8738 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8739 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8740 wxString const &arg7_defvalue = wxPySashNameStr ;
8741 wxString *arg7 = (wxString *) &arg7_defvalue ;
8742 bool result;
8743 wxPoint temp4 ;
8744 wxSize temp5 ;
ae8162c8 8745 bool temp7 = false ;
d55e5bfc
RD
8746 PyObject * obj0 = 0 ;
8747 PyObject * obj1 = 0 ;
8748 PyObject * obj2 = 0 ;
8749 PyObject * obj3 = 0 ;
8750 PyObject * obj4 = 0 ;
8751 PyObject * obj5 = 0 ;
8752 PyObject * obj6 = 0 ;
8753 char *kwnames[] = {
8754 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8755 };
8756
248ed943 8757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
8758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8759 if (SWIG_arg_fail(1)) SWIG_fail;
8760 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8761 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8762 if (obj2) {
093d3ff1
RD
8763 {
8764 arg3 = (int)(SWIG_As_int(obj2));
8765 if (SWIG_arg_fail(3)) SWIG_fail;
8766 }
248ed943 8767 }
d55e5bfc
RD
8768 if (obj3) {
8769 {
8770 arg4 = &temp4;
8771 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8772 }
8773 }
8774 if (obj4) {
8775 {
8776 arg5 = &temp5;
8777 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8778 }
8779 }
8780 if (obj5) {
093d3ff1
RD
8781 {
8782 arg6 = (long)(SWIG_As_long(obj5));
8783 if (SWIG_arg_fail(6)) SWIG_fail;
8784 }
d55e5bfc
RD
8785 }
8786 if (obj6) {
8787 {
8788 arg7 = wxString_in_helper(obj6);
8789 if (arg7 == NULL) SWIG_fail;
ae8162c8 8790 temp7 = true;
d55e5bfc
RD
8791 }
8792 }
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8796
8797 wxPyEndAllowThreads(__tstate);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 }
8800 {
8801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8802 }
8803 {
8804 if (temp7)
8805 delete arg7;
8806 }
8807 return resultobj;
8808 fail:
8809 {
8810 if (temp7)
8811 delete arg7;
8812 }
8813 return NULL;
8814}
8815
8816
c32bde28 8817static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8818 PyObject *resultobj;
8819 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8820 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8821 bool arg3 ;
8822 PyObject * obj0 = 0 ;
8823 PyObject * obj1 = 0 ;
8824 PyObject * obj2 = 0 ;
8825 char *kwnames[] = {
8826 (char *) "self",(char *) "edge",(char *) "sash", NULL
8827 };
8828
8829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8831 if (SWIG_arg_fail(1)) SWIG_fail;
8832 {
8833 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8834 if (SWIG_arg_fail(2)) SWIG_fail;
8835 }
8836 {
8837 arg3 = (bool)(SWIG_As_bool(obj2));
8838 if (SWIG_arg_fail(3)) SWIG_fail;
8839 }
d55e5bfc
RD
8840 {
8841 PyThreadState* __tstate = wxPyBeginAllowThreads();
8842 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8843
8844 wxPyEndAllowThreads(__tstate);
8845 if (PyErr_Occurred()) SWIG_fail;
8846 }
8847 Py_INCREF(Py_None); resultobj = Py_None;
8848 return resultobj;
8849 fail:
8850 return NULL;
8851}
8852
8853
c32bde28 8854static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8855 PyObject *resultobj;
8856 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8857 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8858 bool result;
8859 PyObject * obj0 = 0 ;
8860 PyObject * obj1 = 0 ;
8861 char *kwnames[] = {
8862 (char *) "self",(char *) "edge", NULL
8863 };
8864
8865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8867 if (SWIG_arg_fail(1)) SWIG_fail;
8868 {
8869 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8870 if (SWIG_arg_fail(2)) SWIG_fail;
8871 }
d55e5bfc
RD
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8875
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 {
8880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8881 }
8882 return resultobj;
8883 fail:
8884 return NULL;
8885}
8886
8887
c32bde28 8888static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8889 PyObject *resultobj;
8890 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8891 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8892 bool arg3 ;
8893 PyObject * obj0 = 0 ;
8894 PyObject * obj1 = 0 ;
8895 PyObject * obj2 = 0 ;
8896 char *kwnames[] = {
8897 (char *) "self",(char *) "edge",(char *) "border", NULL
8898 };
8899
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8902 if (SWIG_arg_fail(1)) SWIG_fail;
8903 {
8904 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8905 if (SWIG_arg_fail(2)) SWIG_fail;
8906 }
8907 {
8908 arg3 = (bool)(SWIG_As_bool(obj2));
8909 if (SWIG_arg_fail(3)) SWIG_fail;
8910 }
d55e5bfc
RD
8911 {
8912 PyThreadState* __tstate = wxPyBeginAllowThreads();
8913 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8914
8915 wxPyEndAllowThreads(__tstate);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 }
8918 Py_INCREF(Py_None); resultobj = Py_None;
8919 return resultobj;
8920 fail:
8921 return NULL;
8922}
8923
8924
c32bde28 8925static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8926 PyObject *resultobj;
8927 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8928 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8929 bool result;
8930 PyObject * obj0 = 0 ;
8931 PyObject * obj1 = 0 ;
8932 char *kwnames[] = {
8933 (char *) "self",(char *) "edge", NULL
8934 };
8935
8936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8938 if (SWIG_arg_fail(1)) SWIG_fail;
8939 {
8940 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8941 if (SWIG_arg_fail(2)) SWIG_fail;
8942 }
d55e5bfc
RD
8943 {
8944 PyThreadState* __tstate = wxPyBeginAllowThreads();
8945 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8946
8947 wxPyEndAllowThreads(__tstate);
8948 if (PyErr_Occurred()) SWIG_fail;
8949 }
8950 {
8951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8952 }
8953 return resultobj;
8954 fail:
8955 return NULL;
8956}
8957
8958
c32bde28 8959static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8960 PyObject *resultobj;
8961 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8962 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8963 int result;
8964 PyObject * obj0 = 0 ;
8965 PyObject * obj1 = 0 ;
8966 char *kwnames[] = {
8967 (char *) "self",(char *) "edge", NULL
8968 };
8969
8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8972 if (SWIG_arg_fail(1)) SWIG_fail;
8973 {
8974 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8975 if (SWIG_arg_fail(2)) SWIG_fail;
8976 }
d55e5bfc
RD
8977 {
8978 PyThreadState* __tstate = wxPyBeginAllowThreads();
8979 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8980
8981 wxPyEndAllowThreads(__tstate);
8982 if (PyErr_Occurred()) SWIG_fail;
8983 }
093d3ff1
RD
8984 {
8985 resultobj = SWIG_From_int((int)(result));
8986 }
d55e5bfc
RD
8987 return resultobj;
8988 fail:
8989 return NULL;
8990}
8991
8992
c32bde28 8993static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8994 PyObject *resultobj;
8995 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8996 int arg2 ;
8997 PyObject * obj0 = 0 ;
8998 PyObject * obj1 = 0 ;
8999 char *kwnames[] = {
9000 (char *) "self",(char *) "width", NULL
9001 };
9002
9003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9005 if (SWIG_arg_fail(1)) SWIG_fail;
9006 {
9007 arg2 = (int)(SWIG_As_int(obj1));
9008 if (SWIG_arg_fail(2)) SWIG_fail;
9009 }
d55e5bfc
RD
9010 {
9011 PyThreadState* __tstate = wxPyBeginAllowThreads();
9012 (arg1)->SetDefaultBorderSize(arg2);
9013
9014 wxPyEndAllowThreads(__tstate);
9015 if (PyErr_Occurred()) SWIG_fail;
9016 }
9017 Py_INCREF(Py_None); resultobj = Py_None;
9018 return resultobj;
9019 fail:
9020 return NULL;
9021}
9022
9023
c32bde28 9024static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9025 PyObject *resultobj;
9026 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9027 int result;
9028 PyObject * obj0 = 0 ;
9029 char *kwnames[] = {
9030 (char *) "self", NULL
9031 };
9032
9033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9035 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
9039
9040 wxPyEndAllowThreads(__tstate);
9041 if (PyErr_Occurred()) SWIG_fail;
9042 }
093d3ff1
RD
9043 {
9044 resultobj = SWIG_From_int((int)(result));
9045 }
d55e5bfc
RD
9046 return resultobj;
9047 fail:
9048 return NULL;
9049}
9050
9051
c32bde28 9052static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9053 PyObject *resultobj;
9054 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9055 int arg2 ;
9056 PyObject * obj0 = 0 ;
9057 PyObject * obj1 = 0 ;
9058 char *kwnames[] = {
9059 (char *) "self",(char *) "width", NULL
9060 };
9061
9062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9064 if (SWIG_arg_fail(1)) SWIG_fail;
9065 {
9066 arg2 = (int)(SWIG_As_int(obj1));
9067 if (SWIG_arg_fail(2)) SWIG_fail;
9068 }
d55e5bfc
RD
9069 {
9070 PyThreadState* __tstate = wxPyBeginAllowThreads();
9071 (arg1)->SetExtraBorderSize(arg2);
9072
9073 wxPyEndAllowThreads(__tstate);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 }
9076 Py_INCREF(Py_None); resultobj = Py_None;
9077 return resultobj;
9078 fail:
9079 return NULL;
9080}
9081
9082
c32bde28 9083static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9084 PyObject *resultobj;
9085 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9086 int result;
9087 PyObject * obj0 = 0 ;
9088 char *kwnames[] = {
9089 (char *) "self", NULL
9090 };
9091
9092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9094 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9095 {
9096 PyThreadState* __tstate = wxPyBeginAllowThreads();
9097 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9098
9099 wxPyEndAllowThreads(__tstate);
9100 if (PyErr_Occurred()) SWIG_fail;
9101 }
093d3ff1
RD
9102 {
9103 resultobj = SWIG_From_int((int)(result));
9104 }
d55e5bfc
RD
9105 return resultobj;
9106 fail:
9107 return NULL;
9108}
9109
9110
c32bde28 9111static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9112 PyObject *resultobj;
9113 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9114 int arg2 ;
9115 PyObject * obj0 = 0 ;
9116 PyObject * obj1 = 0 ;
9117 char *kwnames[] = {
9118 (char *) "self",(char *) "min", NULL
9119 };
9120
9121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9123 if (SWIG_arg_fail(1)) SWIG_fail;
9124 {
9125 arg2 = (int)(SWIG_As_int(obj1));
9126 if (SWIG_arg_fail(2)) SWIG_fail;
9127 }
d55e5bfc
RD
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 (arg1)->SetMinimumSizeX(arg2);
9131
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 Py_INCREF(Py_None); resultobj = Py_None;
9136 return resultobj;
9137 fail:
9138 return NULL;
9139}
9140
9141
c32bde28 9142static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9143 PyObject *resultobj;
9144 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9145 int arg2 ;
9146 PyObject * obj0 = 0 ;
9147 PyObject * obj1 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "self",(char *) "min", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail;
9155 {
9156 arg2 = (int)(SWIG_As_int(obj1));
9157 if (SWIG_arg_fail(2)) SWIG_fail;
9158 }
d55e5bfc
RD
9159 {
9160 PyThreadState* __tstate = wxPyBeginAllowThreads();
9161 (arg1)->SetMinimumSizeY(arg2);
9162
9163 wxPyEndAllowThreads(__tstate);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 }
9166 Py_INCREF(Py_None); resultobj = Py_None;
9167 return resultobj;
9168 fail:
9169 return NULL;
9170}
9171
9172
c32bde28 9173static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9174 PyObject *resultobj;
9175 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9176 int result;
9177 PyObject * obj0 = 0 ;
9178 char *kwnames[] = {
9179 (char *) "self", NULL
9180 };
9181
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9184 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9185 {
9186 PyThreadState* __tstate = wxPyBeginAllowThreads();
9187 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9188
9189 wxPyEndAllowThreads(__tstate);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
093d3ff1
RD
9192 {
9193 resultobj = SWIG_From_int((int)(result));
9194 }
d55e5bfc
RD
9195 return resultobj;
9196 fail:
9197 return NULL;
9198}
9199
9200
c32bde28 9201static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9202 PyObject *resultobj;
9203 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9204 int result;
9205 PyObject * obj0 = 0 ;
9206 char *kwnames[] = {
9207 (char *) "self", NULL
9208 };
9209
9210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9212 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9213 {
9214 PyThreadState* __tstate = wxPyBeginAllowThreads();
9215 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9216
9217 wxPyEndAllowThreads(__tstate);
9218 if (PyErr_Occurred()) SWIG_fail;
9219 }
093d3ff1
RD
9220 {
9221 resultobj = SWIG_From_int((int)(result));
9222 }
d55e5bfc
RD
9223 return resultobj;
9224 fail:
9225 return NULL;
9226}
9227
9228
c32bde28 9229static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9230 PyObject *resultobj;
9231 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9232 int arg2 ;
9233 PyObject * obj0 = 0 ;
9234 PyObject * obj1 = 0 ;
9235 char *kwnames[] = {
9236 (char *) "self",(char *) "max", NULL
9237 };
9238
9239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9241 if (SWIG_arg_fail(1)) SWIG_fail;
9242 {
9243 arg2 = (int)(SWIG_As_int(obj1));
9244 if (SWIG_arg_fail(2)) SWIG_fail;
9245 }
d55e5bfc
RD
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 (arg1)->SetMaximumSizeX(arg2);
9249
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 Py_INCREF(Py_None); resultobj = Py_None;
9254 return resultobj;
9255 fail:
9256 return NULL;
9257}
9258
9259
c32bde28 9260static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9261 PyObject *resultobj;
9262 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9263 int arg2 ;
9264 PyObject * obj0 = 0 ;
9265 PyObject * obj1 = 0 ;
9266 char *kwnames[] = {
9267 (char *) "self",(char *) "max", NULL
9268 };
9269
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9272 if (SWIG_arg_fail(1)) SWIG_fail;
9273 {
9274 arg2 = (int)(SWIG_As_int(obj1));
9275 if (SWIG_arg_fail(2)) SWIG_fail;
9276 }
d55e5bfc
RD
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 (arg1)->SetMaximumSizeY(arg2);
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 Py_INCREF(Py_None); resultobj = Py_None;
9285 return resultobj;
9286 fail:
9287 return NULL;
9288}
9289
9290
c32bde28 9291static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9292 PyObject *resultobj;
9293 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9294 int result;
9295 PyObject * obj0 = 0 ;
9296 char *kwnames[] = {
9297 (char *) "self", NULL
9298 };
9299
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9302 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9306
9307 wxPyEndAllowThreads(__tstate);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 }
093d3ff1
RD
9310 {
9311 resultobj = SWIG_From_int((int)(result));
9312 }
d55e5bfc
RD
9313 return resultobj;
9314 fail:
9315 return NULL;
9316}
9317
9318
c32bde28 9319static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9320 PyObject *resultobj;
9321 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9322 int result;
9323 PyObject * obj0 = 0 ;
9324 char *kwnames[] = {
9325 (char *) "self", NULL
9326 };
9327
9328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9330 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9331 {
9332 PyThreadState* __tstate = wxPyBeginAllowThreads();
9333 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9334
9335 wxPyEndAllowThreads(__tstate);
9336 if (PyErr_Occurred()) SWIG_fail;
9337 }
093d3ff1
RD
9338 {
9339 resultobj = SWIG_From_int((int)(result));
9340 }
d55e5bfc
RD
9341 return resultobj;
9342 fail:
9343 return NULL;
9344}
9345
9346
c32bde28 9347static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9348 PyObject *resultobj;
9349 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9350 int arg2 ;
9351 int arg3 ;
9352 int arg4 = (int) 2 ;
093d3ff1 9353 wxSashEdgePosition result;
d55e5bfc
RD
9354 PyObject * obj0 = 0 ;
9355 PyObject * obj1 = 0 ;
9356 PyObject * obj2 = 0 ;
9357 PyObject * obj3 = 0 ;
9358 char *kwnames[] = {
9359 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9360 };
9361
9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9364 if (SWIG_arg_fail(1)) SWIG_fail;
9365 {
9366 arg2 = (int)(SWIG_As_int(obj1));
9367 if (SWIG_arg_fail(2)) SWIG_fail;
9368 }
9369 {
9370 arg3 = (int)(SWIG_As_int(obj2));
9371 if (SWIG_arg_fail(3)) SWIG_fail;
9372 }
d55e5bfc 9373 if (obj3) {
093d3ff1
RD
9374 {
9375 arg4 = (int)(SWIG_As_int(obj3));
9376 if (SWIG_arg_fail(4)) SWIG_fail;
9377 }
d55e5bfc
RD
9378 }
9379 {
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9381 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
d55e5bfc
RD
9382
9383 wxPyEndAllowThreads(__tstate);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
093d3ff1 9386 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9387 return resultobj;
9388 fail:
9389 return NULL;
9390}
9391
9392
c32bde28 9393static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9394 PyObject *resultobj;
9395 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9396 PyObject * obj0 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
9402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9403 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 (arg1)->SizeWindows();
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 Py_INCREF(Py_None); resultobj = Py_None;
9412 return resultobj;
9413 fail:
9414 return NULL;
9415}
9416
9417
c32bde28 9418static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9419 PyObject *obj;
9420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9421 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9422 Py_INCREF(obj);
9423 return Py_BuildValue((char *)"");
9424}
c32bde28 9425static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9426 PyObject *resultobj;
9427 int arg1 = (int) 0 ;
093d3ff1 9428 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
d55e5bfc
RD
9429 wxSashEvent *result;
9430 PyObject * obj0 = 0 ;
9431 PyObject * obj1 = 0 ;
9432 char *kwnames[] = {
9433 (char *) "id",(char *) "edge", NULL
9434 };
9435
9436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9437 if (obj0) {
093d3ff1
RD
9438 {
9439 arg1 = (int)(SWIG_As_int(obj0));
9440 if (SWIG_arg_fail(1)) SWIG_fail;
9441 }
d55e5bfc
RD
9442 }
9443 if (obj1) {
093d3ff1
RD
9444 {
9445 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9446 if (SWIG_arg_fail(2)) SWIG_fail;
9447 }
d55e5bfc
RD
9448 }
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9452
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9457 return resultobj;
9458 fail:
9459 return NULL;
9460}
9461
9462
c32bde28 9463static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9464 PyObject *resultobj;
9465 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9466 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9467 PyObject * obj0 = 0 ;
9468 PyObject * obj1 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self",(char *) "edge", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail;
9476 {
9477 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9478 if (SWIG_arg_fail(2)) SWIG_fail;
9479 }
d55e5bfc
RD
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 Py_INCREF(Py_None); resultobj = Py_None;
9488 return resultobj;
9489 fail:
9490 return NULL;
9491}
9492
9493
c32bde28 9494static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9495 PyObject *resultobj;
9496 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9497 wxSashEdgePosition result;
d55e5bfc
RD
9498 PyObject * obj0 = 0 ;
9499 char *kwnames[] = {
9500 (char *) "self", NULL
9501 };
9502
9503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
093d3ff1
RD
9504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9505 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9508 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
d55e5bfc
RD
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
093d3ff1 9513 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9514 return resultobj;
9515 fail:
9516 return NULL;
9517}
9518
9519
c32bde28 9520static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9521 PyObject *resultobj;
9522 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9523 wxRect *arg2 = 0 ;
9524 wxRect temp2 ;
9525 PyObject * obj0 = 0 ;
9526 PyObject * obj1 = 0 ;
9527 char *kwnames[] = {
9528 (char *) "self",(char *) "rect", NULL
9529 };
9530
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9533 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9534 {
9535 arg2 = &temp2;
9536 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9537 }
9538 {
9539 PyThreadState* __tstate = wxPyBeginAllowThreads();
9540 (arg1)->SetDragRect((wxRect const &)*arg2);
9541
9542 wxPyEndAllowThreads(__tstate);
9543 if (PyErr_Occurred()) SWIG_fail;
9544 }
9545 Py_INCREF(Py_None); resultobj = Py_None;
9546 return resultobj;
9547 fail:
9548 return NULL;
9549}
9550
9551
c32bde28 9552static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9553 PyObject *resultobj;
9554 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9555 wxRect result;
9556 PyObject * obj0 = 0 ;
9557 char *kwnames[] = {
9558 (char *) "self", NULL
9559 };
9560
9561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
9562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9563 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9564 {
9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
9566 result = ((wxSashEvent const *)arg1)->GetDragRect();
9567
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
9571 {
9572 wxRect * resultptr;
093d3ff1 9573 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
9574 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9575 }
9576 return resultobj;
9577 fail:
9578 return NULL;
9579}
9580
9581
c32bde28 9582static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9583 PyObject *resultobj;
9584 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9585 wxSashDragStatus arg2 ;
d55e5bfc
RD
9586 PyObject * obj0 = 0 ;
9587 PyObject * obj1 = 0 ;
9588 char *kwnames[] = {
9589 (char *) "self",(char *) "status", NULL
9590 };
9591
9592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9594 if (SWIG_arg_fail(1)) SWIG_fail;
9595 {
9596 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9597 if (SWIG_arg_fail(2)) SWIG_fail;
9598 }
d55e5bfc
RD
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
9601 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 Py_INCREF(Py_None); resultobj = Py_None;
9607 return resultobj;
9608 fail:
9609 return NULL;
9610}
9611
9612
c32bde28 9613static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9614 PyObject *resultobj;
9615 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9616 wxSashDragStatus result;
d55e5bfc
RD
9617 PyObject * obj0 = 0 ;
9618 char *kwnames[] = {
9619 (char *) "self", NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
093d3ff1
RD
9623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9624 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9627 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
d55e5bfc
RD
9628
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
093d3ff1 9632 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9633 return resultobj;
9634 fail:
9635 return NULL;
9636}
9637
9638
c32bde28 9639static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9640 PyObject *obj;
9641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9642 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9643 Py_INCREF(obj);
9644 return Py_BuildValue((char *)"");
9645}
c32bde28 9646static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9647 PyObject *resultobj;
9648 int arg1 = (int) 0 ;
9649 wxQueryLayoutInfoEvent *result;
9650 PyObject * obj0 = 0 ;
9651 char *kwnames[] = {
9652 (char *) "id", NULL
9653 };
9654
9655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9656 if (obj0) {
093d3ff1
RD
9657 {
9658 arg1 = (int)(SWIG_As_int(obj0));
9659 if (SWIG_arg_fail(1)) SWIG_fail;
9660 }
d55e5bfc
RD
9661 }
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9665
9666 wxPyEndAllowThreads(__tstate);
9667 if (PyErr_Occurred()) SWIG_fail;
9668 }
9669 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9670 return resultobj;
9671 fail:
9672 return NULL;
9673}
9674
9675
c32bde28 9676static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9677 PyObject *resultobj;
9678 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9679 int arg2 ;
9680 PyObject * obj0 = 0 ;
9681 PyObject * obj1 = 0 ;
9682 char *kwnames[] = {
9683 (char *) "self",(char *) "length", NULL
9684 };
9685
9686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9688 if (SWIG_arg_fail(1)) SWIG_fail;
9689 {
9690 arg2 = (int)(SWIG_As_int(obj1));
9691 if (SWIG_arg_fail(2)) SWIG_fail;
9692 }
d55e5bfc
RD
9693 {
9694 PyThreadState* __tstate = wxPyBeginAllowThreads();
9695 (arg1)->SetRequestedLength(arg2);
9696
9697 wxPyEndAllowThreads(__tstate);
9698 if (PyErr_Occurred()) SWIG_fail;
9699 }
9700 Py_INCREF(Py_None); resultobj = Py_None;
9701 return resultobj;
9702 fail:
9703 return NULL;
9704}
9705
9706
c32bde28 9707static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9708 PyObject *resultobj;
9709 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9710 int result;
9711 PyObject * obj0 = 0 ;
9712 char *kwnames[] = {
9713 (char *) "self", NULL
9714 };
9715
9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
9717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9718 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9722
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
093d3ff1
RD
9726 {
9727 resultobj = SWIG_From_int((int)(result));
9728 }
d55e5bfc
RD
9729 return resultobj;
9730 fail:
9731 return NULL;
9732}
9733
9734
c32bde28 9735static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9736 PyObject *resultobj;
9737 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9738 int arg2 ;
9739 PyObject * obj0 = 0 ;
9740 PyObject * obj1 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self",(char *) "flags", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail;
9748 {
9749 arg2 = (int)(SWIG_As_int(obj1));
9750 if (SWIG_arg_fail(2)) SWIG_fail;
9751 }
d55e5bfc
RD
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 (arg1)->SetFlags(arg2);
9755
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 Py_INCREF(Py_None); resultobj = Py_None;
9760 return resultobj;
9761 fail:
9762 return NULL;
9763}
9764
9765
c32bde28 9766static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9767 PyObject *resultobj;
9768 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9769 int result;
9770 PyObject * obj0 = 0 ;
9771 char *kwnames[] = {
9772 (char *) "self", NULL
9773 };
9774
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9777 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9781
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
093d3ff1
RD
9785 {
9786 resultobj = SWIG_From_int((int)(result));
9787 }
d55e5bfc
RD
9788 return resultobj;
9789 fail:
9790 return NULL;
9791}
9792
9793
c32bde28 9794static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9795 PyObject *resultobj;
9796 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9797 wxSize *arg2 = 0 ;
9798 wxSize temp2 ;
9799 PyObject * obj0 = 0 ;
9800 PyObject * obj1 = 0 ;
9801 char *kwnames[] = {
9802 (char *) "self",(char *) "size", NULL
9803 };
9804
9805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9807 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9808 {
9809 arg2 = &temp2;
9810 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9811 }
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
9814 (arg1)->SetSize((wxSize const &)*arg2);
9815
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
9819 Py_INCREF(Py_None); resultobj = Py_None;
9820 return resultobj;
9821 fail:
9822 return NULL;
9823}
9824
9825
c32bde28 9826static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9827 PyObject *resultobj;
9828 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9829 wxSize result;
9830 PyObject * obj0 = 0 ;
9831 char *kwnames[] = {
9832 (char *) "self", NULL
9833 };
9834
9835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9837 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9838 {
9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
9840 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9841
9842 wxPyEndAllowThreads(__tstate);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 }
9845 {
9846 wxSize * resultptr;
093d3ff1 9847 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
9848 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9849 }
9850 return resultobj;
9851 fail:
9852 return NULL;
9853}
9854
9855
c32bde28 9856static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9857 PyObject *resultobj;
9858 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9859 wxLayoutOrientation arg2 ;
d55e5bfc
RD
9860 PyObject * obj0 = 0 ;
9861 PyObject * obj1 = 0 ;
9862 char *kwnames[] = {
9863 (char *) "self",(char *) "orient", NULL
9864 };
9865
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9868 if (SWIG_arg_fail(1)) SWIG_fail;
9869 {
9870 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9871 if (SWIG_arg_fail(2)) SWIG_fail;
9872 }
d55e5bfc
RD
9873 {
9874 PyThreadState* __tstate = wxPyBeginAllowThreads();
9875 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9876
9877 wxPyEndAllowThreads(__tstate);
9878 if (PyErr_Occurred()) SWIG_fail;
9879 }
9880 Py_INCREF(Py_None); resultobj = Py_None;
9881 return resultobj;
9882 fail:
9883 return NULL;
9884}
9885
9886
c32bde28 9887static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9888 PyObject *resultobj;
9889 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9890 wxLayoutOrientation result;
d55e5bfc
RD
9891 PyObject * obj0 = 0 ;
9892 char *kwnames[] = {
9893 (char *) "self", NULL
9894 };
9895
9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
9897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9898 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9899 {
9900 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9901 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
d55e5bfc
RD
9902
9903 wxPyEndAllowThreads(__tstate);
9904 if (PyErr_Occurred()) SWIG_fail;
9905 }
093d3ff1 9906 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9907 return resultobj;
9908 fail:
9909 return NULL;
9910}
9911
9912
c32bde28 9913static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9914 PyObject *resultobj;
9915 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9916 wxLayoutAlignment arg2 ;
d55e5bfc
RD
9917 PyObject * obj0 = 0 ;
9918 PyObject * obj1 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self",(char *) "align", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9925 if (SWIG_arg_fail(1)) SWIG_fail;
9926 {
9927 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9928 if (SWIG_arg_fail(2)) SWIG_fail;
9929 }
d55e5bfc
RD
9930 {
9931 PyThreadState* __tstate = wxPyBeginAllowThreads();
9932 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9933
9934 wxPyEndAllowThreads(__tstate);
9935 if (PyErr_Occurred()) SWIG_fail;
9936 }
9937 Py_INCREF(Py_None); resultobj = Py_None;
9938 return resultobj;
9939 fail:
9940 return NULL;
9941}
9942
9943
c32bde28 9944static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9945 PyObject *resultobj;
9946 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9947 wxLayoutAlignment result;
d55e5bfc
RD
9948 PyObject * obj0 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9956 {
9957 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9958 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
d55e5bfc
RD
9959
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
093d3ff1 9963 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9964 return resultobj;
9965 fail:
9966 return NULL;
9967}
9968
9969
c32bde28 9970static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9971 PyObject *obj;
9972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9973 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9974 Py_INCREF(obj);
9975 return Py_BuildValue((char *)"");
9976}
c32bde28 9977static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9978 PyObject *resultobj;
9979 int arg1 = (int) 0 ;
9980 wxCalculateLayoutEvent *result;
9981 PyObject * obj0 = 0 ;
9982 char *kwnames[] = {
9983 (char *) "id", NULL
9984 };
9985
9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9987 if (obj0) {
093d3ff1
RD
9988 {
9989 arg1 = (int)(SWIG_As_int(obj0));
9990 if (SWIG_arg_fail(1)) SWIG_fail;
9991 }
d55e5bfc
RD
9992 }
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9996
9997 wxPyEndAllowThreads(__tstate);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
10000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
10001 return resultobj;
10002 fail:
10003 return NULL;
10004}
10005
10006
c32bde28 10007static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10008 PyObject *resultobj;
10009 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10010 int arg2 ;
10011 PyObject * obj0 = 0 ;
10012 PyObject * obj1 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self",(char *) "flags", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail;
10020 {
10021 arg2 = (int)(SWIG_As_int(obj1));
10022 if (SWIG_arg_fail(2)) SWIG_fail;
10023 }
d55e5bfc
RD
10024 {
10025 PyThreadState* __tstate = wxPyBeginAllowThreads();
10026 (arg1)->SetFlags(arg2);
10027
10028 wxPyEndAllowThreads(__tstate);
10029 if (PyErr_Occurred()) SWIG_fail;
10030 }
10031 Py_INCREF(Py_None); resultobj = Py_None;
10032 return resultobj;
10033 fail:
10034 return NULL;
10035}
10036
10037
c32bde28 10038static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10039 PyObject *resultobj;
10040 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10041 int result;
10042 PyObject * obj0 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "self", NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
10048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10049 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10050 {
10051 PyThreadState* __tstate = wxPyBeginAllowThreads();
10052 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10053
10054 wxPyEndAllowThreads(__tstate);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 }
093d3ff1
RD
10057 {
10058 resultobj = SWIG_From_int((int)(result));
10059 }
d55e5bfc
RD
10060 return resultobj;
10061 fail:
10062 return NULL;
10063}
10064
10065
c32bde28 10066static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10067 PyObject *resultobj;
10068 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10069 wxRect *arg2 = 0 ;
10070 wxRect temp2 ;
10071 PyObject * obj0 = 0 ;
10072 PyObject * obj1 = 0 ;
10073 char *kwnames[] = {
10074 (char *) "self",(char *) "rect", NULL
10075 };
10076
10077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10079 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10080 {
10081 arg2 = &temp2;
10082 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10083 }
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 (arg1)->SetRect((wxRect const &)*arg2);
10087
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 Py_INCREF(Py_None); resultobj = Py_None;
10092 return resultobj;
10093 fail:
10094 return NULL;
10095}
10096
10097
c32bde28 10098static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10099 PyObject *resultobj;
10100 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10101 wxRect result;
10102 PyObject * obj0 = 0 ;
10103 char *kwnames[] = {
10104 (char *) "self", NULL
10105 };
10106
10107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
10108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10109 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10113
10114 wxPyEndAllowThreads(__tstate);
10115 if (PyErr_Occurred()) SWIG_fail;
10116 }
10117 {
10118 wxRect * resultptr;
093d3ff1 10119 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
10120 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10121 }
10122 return resultobj;
10123 fail:
10124 return NULL;
10125}
10126
10127
c32bde28 10128static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10129 PyObject *obj;
10130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10131 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10132 Py_INCREF(obj);
10133 return Py_BuildValue((char *)"");
10134}
c32bde28 10135static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10136 PyObject *resultobj;
10137 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 10138 int arg2 = (int) -1 ;
d55e5bfc
RD
10139 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10140 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10141 wxSize const &arg4_defvalue = wxDefaultSize ;
10142 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10143 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10144 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10145 wxString *arg6 = (wxString *) &arg6_defvalue ;
10146 wxSashLayoutWindow *result;
10147 wxPoint temp3 ;
10148 wxSize temp4 ;
ae8162c8 10149 bool temp6 = false ;
d55e5bfc
RD
10150 PyObject * obj0 = 0 ;
10151 PyObject * obj1 = 0 ;
10152 PyObject * obj2 = 0 ;
10153 PyObject * obj3 = 0 ;
10154 PyObject * obj4 = 0 ;
10155 PyObject * obj5 = 0 ;
10156 char *kwnames[] = {
10157 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10158 };
10159
248ed943 10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
10161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10162 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 10163 if (obj1) {
093d3ff1
RD
10164 {
10165 arg2 = (int)(SWIG_As_int(obj1));
10166 if (SWIG_arg_fail(2)) SWIG_fail;
10167 }
248ed943 10168 }
d55e5bfc
RD
10169 if (obj2) {
10170 {
10171 arg3 = &temp3;
10172 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10173 }
10174 }
10175 if (obj3) {
10176 {
10177 arg4 = &temp4;
10178 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10179 }
10180 }
10181 if (obj4) {
093d3ff1
RD
10182 {
10183 arg5 = (long)(SWIG_As_long(obj4));
10184 if (SWIG_arg_fail(5)) SWIG_fail;
10185 }
d55e5bfc
RD
10186 }
10187 if (obj5) {
10188 {
10189 arg6 = wxString_in_helper(obj5);
10190 if (arg6 == NULL) SWIG_fail;
ae8162c8 10191 temp6 = true;
d55e5bfc
RD
10192 }
10193 }
10194 {
0439c23b 10195 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10198
10199 wxPyEndAllowThreads(__tstate);
110da5b0 10200 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10201 }
10202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10203 {
10204 if (temp6)
10205 delete arg6;
10206 }
10207 return resultobj;
10208 fail:
10209 {
10210 if (temp6)
10211 delete arg6;
10212 }
10213 return NULL;
10214}
10215
10216
c32bde28 10217static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10218 PyObject *resultobj;
10219 wxSashLayoutWindow *result;
10220 char *kwnames[] = {
10221 NULL
10222 };
10223
10224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10225 {
0439c23b 10226 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10227 PyThreadState* __tstate = wxPyBeginAllowThreads();
10228 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10229
10230 wxPyEndAllowThreads(__tstate);
110da5b0 10231 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10232 }
10233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10234 return resultobj;
10235 fail:
10236 return NULL;
10237}
10238
10239
c32bde28 10240static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10241 PyObject *resultobj;
10242 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10243 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 10244 int arg3 = (int) -1 ;
d55e5bfc
RD
10245 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10246 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10247 wxSize const &arg5_defvalue = wxDefaultSize ;
10248 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10249 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10250 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10251 wxString *arg7 = (wxString *) &arg7_defvalue ;
10252 bool result;
10253 wxPoint temp4 ;
10254 wxSize temp5 ;
ae8162c8 10255 bool temp7 = false ;
d55e5bfc
RD
10256 PyObject * obj0 = 0 ;
10257 PyObject * obj1 = 0 ;
10258 PyObject * obj2 = 0 ;
10259 PyObject * obj3 = 0 ;
10260 PyObject * obj4 = 0 ;
10261 PyObject * obj5 = 0 ;
10262 PyObject * obj6 = 0 ;
10263 char *kwnames[] = {
10264 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10265 };
10266
248ed943 10267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
10268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10269 if (SWIG_arg_fail(1)) SWIG_fail;
10270 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10271 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 10272 if (obj2) {
093d3ff1
RD
10273 {
10274 arg3 = (int)(SWIG_As_int(obj2));
10275 if (SWIG_arg_fail(3)) SWIG_fail;
10276 }
248ed943 10277 }
d55e5bfc
RD
10278 if (obj3) {
10279 {
10280 arg4 = &temp4;
10281 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10282 }
10283 }
10284 if (obj4) {
10285 {
10286 arg5 = &temp5;
10287 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10288 }
10289 }
10290 if (obj5) {
093d3ff1
RD
10291 {
10292 arg6 = (long)(SWIG_As_long(obj5));
10293 if (SWIG_arg_fail(6)) SWIG_fail;
10294 }
d55e5bfc
RD
10295 }
10296 if (obj6) {
10297 {
10298 arg7 = wxString_in_helper(obj6);
10299 if (arg7 == NULL) SWIG_fail;
ae8162c8 10300 temp7 = true;
d55e5bfc
RD
10301 }
10302 }
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 {
10311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10312 }
10313 {
10314 if (temp7)
10315 delete arg7;
10316 }
10317 return resultobj;
10318 fail:
10319 {
10320 if (temp7)
10321 delete arg7;
10322 }
10323 return NULL;
10324}
10325
10326
c32bde28 10327static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10328 PyObject *resultobj;
10329 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10330 wxLayoutAlignment result;
d55e5bfc
RD
10331 PyObject * obj0 = 0 ;
10332 char *kwnames[] = {
10333 (char *) "self", NULL
10334 };
10335
10336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
10337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10338 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10339 {
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10341 result = (wxLayoutAlignment)(arg1)->GetAlignment();
d55e5bfc
RD
10342
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 }
093d3ff1 10346 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10347 return resultobj;
10348 fail:
10349 return NULL;
10350}
10351
10352
c32bde28 10353static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10354 PyObject *resultobj;
10355 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10356 wxLayoutOrientation result;
d55e5bfc
RD
10357 PyObject * obj0 = 0 ;
10358 char *kwnames[] = {
10359 (char *) "self", NULL
10360 };
10361
10362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
10363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10364 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10367 result = (wxLayoutOrientation)(arg1)->GetOrientation();
d55e5bfc
RD
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
093d3ff1 10372 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10373 return resultobj;
10374 fail:
10375 return NULL;
10376}
10377
10378
c32bde28 10379static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10380 PyObject *resultobj;
10381 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10382 wxLayoutAlignment arg2 ;
d55e5bfc
RD
10383 PyObject * obj0 = 0 ;
10384 PyObject * obj1 = 0 ;
10385 char *kwnames[] = {
10386 (char *) "self",(char *) "alignment", NULL
10387 };
10388
10389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10391 if (SWIG_arg_fail(1)) SWIG_fail;
10392 {
10393 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10394 if (SWIG_arg_fail(2)) SWIG_fail;
10395 }
d55e5bfc
RD
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
10398 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 Py_INCREF(Py_None); resultobj = Py_None;
10404 return resultobj;
10405 fail:
10406 return NULL;
10407}
10408
10409
c32bde28 10410static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10411 PyObject *resultobj;
10412 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10413 wxSize *arg2 = 0 ;
10414 wxSize temp2 ;
10415 PyObject * obj0 = 0 ;
10416 PyObject * obj1 = 0 ;
10417 char *kwnames[] = {
10418 (char *) "self",(char *) "size", NULL
10419 };
10420
10421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10424 {
10425 arg2 = &temp2;
10426 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10427 }
10428 {
10429 PyThreadState* __tstate = wxPyBeginAllowThreads();
10430 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10431
10432 wxPyEndAllowThreads(__tstate);
10433 if (PyErr_Occurred()) SWIG_fail;
10434 }
10435 Py_INCREF(Py_None); resultobj = Py_None;
10436 return resultobj;
10437 fail:
10438 return NULL;
10439}
10440
10441
c32bde28 10442static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10443 PyObject *resultobj;
10444 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10445 wxLayoutOrientation arg2 ;
d55e5bfc
RD
10446 PyObject * obj0 = 0 ;
10447 PyObject * obj1 = 0 ;
10448 char *kwnames[] = {
10449 (char *) "self",(char *) "orientation", NULL
10450 };
10451
10452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10454 if (SWIG_arg_fail(1)) SWIG_fail;
10455 {
10456 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10457 if (SWIG_arg_fail(2)) SWIG_fail;
10458 }
d55e5bfc
RD
10459 {
10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
10461 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10462
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 }
10466 Py_INCREF(Py_None); resultobj = Py_None;
10467 return resultobj;
10468 fail:
10469 return NULL;
10470}
10471
10472
c32bde28 10473static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10474 PyObject *obj;
10475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10476 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10477 Py_INCREF(obj);
10478 return Py_BuildValue((char *)"");
10479}
c32bde28 10480static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10481 PyObject *resultobj;
10482 wxLayoutAlgorithm *result;
10483 char *kwnames[] = {
10484 NULL
10485 };
10486
10487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10488 {
10489 PyThreadState* __tstate = wxPyBeginAllowThreads();
10490 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10491
10492 wxPyEndAllowThreads(__tstate);
10493 if (PyErr_Occurred()) SWIG_fail;
10494 }
10495 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10496 return resultobj;
10497 fail:
10498 return NULL;
10499}
10500
10501
c32bde28 10502static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10503 PyObject *resultobj;
10504 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10505 PyObject * obj0 = 0 ;
10506 char *kwnames[] = {
10507 (char *) "self", NULL
10508 };
10509
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
093d3ff1
RD
10511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10512 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10513 {
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
10515 delete arg1;
10516
10517 wxPyEndAllowThreads(__tstate);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 }
10520 Py_INCREF(Py_None); resultobj = Py_None;
10521 return resultobj;
10522 fail:
10523 return NULL;
10524}
10525
10526
c32bde28 10527static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10528 PyObject *resultobj;
10529 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10530 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10531 wxRect *arg3 = (wxRect *) NULL ;
10532 bool result;
10533 PyObject * obj0 = 0 ;
10534 PyObject * obj1 = 0 ;
10535 PyObject * obj2 = 0 ;
10536 char *kwnames[] = {
10537 (char *) "self",(char *) "frame",(char *) "rect", NULL
10538 };
10539
10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10542 if (SWIG_arg_fail(1)) SWIG_fail;
10543 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10544 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10545 if (obj2) {
093d3ff1
RD
10546 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10547 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10548 }
10549 {
10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
10551 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10552
10553 wxPyEndAllowThreads(__tstate);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 {
10557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10558 }
10559 return resultobj;
10560 fail:
10561 return NULL;
10562}
10563
10564
c32bde28 10565static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10566 PyObject *resultobj;
10567 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10568 wxFrame *arg2 = (wxFrame *) 0 ;
10569 wxWindow *arg3 = (wxWindow *) NULL ;
10570 bool result;
10571 PyObject * obj0 = 0 ;
10572 PyObject * obj1 = 0 ;
10573 PyObject * obj2 = 0 ;
10574 char *kwnames[] = {
10575 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10576 };
10577
10578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10580 if (SWIG_arg_fail(1)) SWIG_fail;
10581 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10582 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10583 if (obj2) {
093d3ff1
RD
10584 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10585 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10586 }
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10590
10591 wxPyEndAllowThreads(__tstate);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 {
10595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10596 }
10597 return resultobj;
10598 fail:
10599 return NULL;
10600}
10601
10602
c32bde28 10603static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10604 PyObject *resultobj;
10605 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10606 wxWindow *arg2 = (wxWindow *) 0 ;
10607 wxWindow *arg3 = (wxWindow *) NULL ;
10608 bool result;
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj1 = 0 ;
10611 PyObject * obj2 = 0 ;
10612 char *kwnames[] = {
10613 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10614 };
10615
10616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10618 if (SWIG_arg_fail(1)) SWIG_fail;
10619 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10620 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10621 if (obj2) {
093d3ff1
RD
10622 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10623 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10624 }
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10628
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 {
10633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10634 }
10635 return resultobj;
10636 fail:
10637 return NULL;
10638}
10639
10640
c32bde28 10641static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10642 PyObject *obj;
10643 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10644 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10645 Py_INCREF(obj);
10646 return Py_BuildValue((char *)"");
10647}
c32bde28 10648static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10649 PyObject *resultobj;
10650 wxWindow *arg1 = (wxWindow *) 0 ;
10651 int arg2 = (int) wxBORDER_NONE ;
10652 wxPopupWindow *result;
10653 PyObject * obj0 = 0 ;
10654 PyObject * obj1 = 0 ;
10655 char *kwnames[] = {
10656 (char *) "parent",(char *) "flags", NULL
10657 };
10658
10659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10662 if (obj1) {
093d3ff1
RD
10663 {
10664 arg2 = (int)(SWIG_As_int(obj1));
10665 if (SWIG_arg_fail(2)) SWIG_fail;
10666 }
d55e5bfc
RD
10667 }
10668 {
0439c23b 10669 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10672
10673 wxPyEndAllowThreads(__tstate);
110da5b0 10674 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10675 }
10676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10677 return resultobj;
10678 fail:
10679 return NULL;
10680}
10681
10682
c32bde28 10683static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10684 PyObject *resultobj;
10685 wxPopupWindow *result;
10686 char *kwnames[] = {
10687 NULL
10688 };
10689
10690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10691 {
0439c23b 10692 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10693 PyThreadState* __tstate = wxPyBeginAllowThreads();
10694 result = (wxPopupWindow *)new wxPopupWindow();
10695
10696 wxPyEndAllowThreads(__tstate);
110da5b0 10697 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10698 }
10699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10700 return resultobj;
10701 fail:
10702 return NULL;
10703}
10704
10705
c32bde28 10706static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10707 PyObject *resultobj;
10708 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10709 wxWindow *arg2 = (wxWindow *) 0 ;
10710 int arg3 = (int) wxBORDER_NONE ;
10711 bool result;
10712 PyObject * obj0 = 0 ;
10713 PyObject * obj1 = 0 ;
10714 PyObject * obj2 = 0 ;
10715 char *kwnames[] = {
10716 (char *) "self",(char *) "parent",(char *) "flags", NULL
10717 };
10718
10719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10721 if (SWIG_arg_fail(1)) SWIG_fail;
10722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10723 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10724 if (obj2) {
093d3ff1
RD
10725 {
10726 arg3 = (int)(SWIG_As_int(obj2));
10727 if (SWIG_arg_fail(3)) SWIG_fail;
10728 }
d55e5bfc
RD
10729 }
10730 {
10731 PyThreadState* __tstate = wxPyBeginAllowThreads();
10732 result = (bool)(arg1)->Create(arg2,arg3);
10733
10734 wxPyEndAllowThreads(__tstate);
10735 if (PyErr_Occurred()) SWIG_fail;
10736 }
10737 {
10738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10739 }
10740 return resultobj;
10741 fail:
10742 return NULL;
10743}
10744
10745
c32bde28 10746static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10747 PyObject *resultobj;
10748 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10749 wxPoint *arg2 = 0 ;
10750 wxSize *arg3 = 0 ;
10751 wxPoint temp2 ;
10752 wxSize temp3 ;
10753 PyObject * obj0 = 0 ;
10754 PyObject * obj1 = 0 ;
10755 PyObject * obj2 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10763 {
10764 arg2 = &temp2;
10765 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10766 }
10767 {
10768 arg3 = &temp3;
10769 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10770 }
10771 {
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10774
10775 wxPyEndAllowThreads(__tstate);
10776 if (PyErr_Occurred()) SWIG_fail;
10777 }
10778 Py_INCREF(Py_None); resultobj = Py_None;
10779 return resultobj;
10780 fail:
10781 return NULL;
10782}
10783
10784
c32bde28 10785static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10786 PyObject *obj;
10787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10788 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10789 Py_INCREF(obj);
10790 return Py_BuildValue((char *)"");
10791}
c32bde28 10792static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10793 PyObject *resultobj;
10794 wxWindow *arg1 = (wxWindow *) 0 ;
10795 int arg2 = (int) wxBORDER_NONE ;
10796 wxPyPopupTransientWindow *result;
10797 PyObject * obj0 = 0 ;
10798 PyObject * obj1 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "parent",(char *) "style", NULL
10801 };
10802
10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10805 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10806 if (obj1) {
093d3ff1
RD
10807 {
10808 arg2 = (int)(SWIG_As_int(obj1));
10809 if (SWIG_arg_fail(2)) SWIG_fail;
10810 }
d55e5bfc
RD
10811 }
10812 {
0439c23b 10813 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10814 PyThreadState* __tstate = wxPyBeginAllowThreads();
10815 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10816
10817 wxPyEndAllowThreads(__tstate);
110da5b0 10818 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10819 }
10820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10821 return resultobj;
10822 fail:
10823 return NULL;
10824}
10825
10826
c32bde28 10827static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10828 PyObject *resultobj;
10829 wxPyPopupTransientWindow *result;
10830 char *kwnames[] = {
10831 NULL
10832 };
10833
10834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10835 {
0439c23b 10836 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10837 PyThreadState* __tstate = wxPyBeginAllowThreads();
10838 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10839
10840 wxPyEndAllowThreads(__tstate);
110da5b0 10841 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10842 }
10843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10844 return resultobj;
10845 fail:
10846 return NULL;
10847}
10848
10849
c32bde28 10850static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10851 PyObject *resultobj;
10852 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10853 PyObject *arg2 = (PyObject *) 0 ;
10854 PyObject *arg3 = (PyObject *) 0 ;
10855 PyObject * obj0 = 0 ;
10856 PyObject * obj1 = 0 ;
10857 PyObject * obj2 = 0 ;
10858 char *kwnames[] = {
10859 (char *) "self",(char *) "self",(char *) "_class", NULL
10860 };
10861
10862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10864 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10865 arg2 = obj1;
10866 arg3 = obj2;
10867 {
10868 PyThreadState* __tstate = wxPyBeginAllowThreads();
10869 (arg1)->_setCallbackInfo(arg2,arg3);
10870
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 Py_INCREF(Py_None); resultobj = Py_None;
10875 return resultobj;
10876 fail:
10877 return NULL;
10878}
10879
10880
c32bde28 10881static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10882 PyObject *resultobj;
10883 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10884 wxWindow *arg2 = (wxWindow *) NULL ;
10885 PyObject * obj0 = 0 ;
10886 PyObject * obj1 = 0 ;
10887 char *kwnames[] = {
10888 (char *) "self",(char *) "focus", NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10893 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10894 if (obj1) {
093d3ff1
RD
10895 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10896 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10897 }
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 (arg1)->Popup(arg2);
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
10905 Py_INCREF(Py_None); resultobj = Py_None;
10906 return resultobj;
10907 fail:
10908 return NULL;
10909}
10910
10911
c32bde28 10912static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10913 PyObject *resultobj;
10914 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10915 PyObject * obj0 = 0 ;
10916 char *kwnames[] = {
10917 (char *) "self", NULL
10918 };
10919
10920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
093d3ff1
RD
10921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10922 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 (arg1)->Dismiss();
10926
10927 wxPyEndAllowThreads(__tstate);
10928 if (PyErr_Occurred()) SWIG_fail;
10929 }
10930 Py_INCREF(Py_None); resultobj = Py_None;
10931 return resultobj;
10932 fail:
10933 return NULL;
10934}
10935
10936
c32bde28 10937static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10938 PyObject *obj;
10939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10940 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10941 Py_INCREF(obj);
10942 return Py_BuildValue((char *)"");
10943}
c32bde28 10944static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10945 PyObject *resultobj;
10946 wxWindow *arg1 = (wxWindow *) 0 ;
10947 wxString *arg2 = 0 ;
10948 int arg3 = (int) 100 ;
10949 wxRect *arg4 = (wxRect *) NULL ;
10950 wxTipWindow *result;
ae8162c8 10951 bool temp2 = false ;
d55e5bfc
RD
10952 PyObject * obj0 = 0 ;
10953 PyObject * obj1 = 0 ;
10954 PyObject * obj2 = 0 ;
10955 PyObject * obj3 = 0 ;
10956 char *kwnames[] = {
10957 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10958 };
10959
10960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10962 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10963 {
10964 arg2 = wxString_in_helper(obj1);
10965 if (arg2 == NULL) SWIG_fail;
ae8162c8 10966 temp2 = true;
d55e5bfc
RD
10967 }
10968 if (obj2) {
093d3ff1
RD
10969 {
10970 arg3 = (int)(SWIG_As_int(obj2));
10971 if (SWIG_arg_fail(3)) SWIG_fail;
10972 }
d55e5bfc
RD
10973 }
10974 if (obj3) {
093d3ff1
RD
10975 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10976 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10977 }
10978 {
0439c23b 10979 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10980 PyThreadState* __tstate = wxPyBeginAllowThreads();
10981 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10982
10983 wxPyEndAllowThreads(__tstate);
110da5b0 10984 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10985 }
10986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10987 {
10988 if (temp2)
10989 delete arg2;
10990 }
10991 return resultobj;
10992 fail:
10993 {
10994 if (temp2)
10995 delete arg2;
10996 }
10997 return NULL;
10998}
10999
11000
c32bde28 11001static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11002 PyObject *resultobj;
11003 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11004 wxRect *arg2 = 0 ;
11005 wxRect temp2 ;
11006 PyObject * obj0 = 0 ;
11007 PyObject * obj1 = 0 ;
11008 char *kwnames[] = {
11009 (char *) "self",(char *) "rectBound", NULL
11010 };
11011
11012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11014 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11015 {
11016 arg2 = &temp2;
11017 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11018 }
11019 {
11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
11021 (arg1)->SetBoundingRect((wxRect const &)*arg2);
11022
11023 wxPyEndAllowThreads(__tstate);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
11026 Py_INCREF(Py_None); resultobj = Py_None;
11027 return resultobj;
11028 fail:
11029 return NULL;
11030}
11031
11032
c32bde28 11033static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11034 PyObject *resultobj;
11035 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
11036 PyObject * obj0 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "self", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
11042 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11043 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11044 {
11045 PyThreadState* __tstate = wxPyBeginAllowThreads();
11046 (arg1)->Close();
11047
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 Py_INCREF(Py_None); resultobj = Py_None;
11052 return resultobj;
11053 fail:
11054 return NULL;
11055}
11056
11057
c32bde28 11058static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11059 PyObject *obj;
11060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11061 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11062 Py_INCREF(obj);
11063 return Py_BuildValue((char *)"");
11064}
c32bde28 11065static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11066 PyObject *resultobj;
11067 wxWindow *arg1 = (wxWindow *) 0 ;
11068 int arg2 = (int) wxID_ANY ;
11069 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11070 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11071 wxSize const &arg4_defvalue = wxDefaultSize ;
11072 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11073 long arg5 = (long) 0 ;
11074 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11075 wxString *arg6 = (wxString *) &arg6_defvalue ;
11076 wxPyVScrolledWindow *result;
11077 wxPoint temp3 ;
11078 wxSize temp4 ;
ae8162c8 11079 bool temp6 = false ;
d55e5bfc
RD
11080 PyObject * obj0 = 0 ;
11081 PyObject * obj1 = 0 ;
11082 PyObject * obj2 = 0 ;
11083 PyObject * obj3 = 0 ;
11084 PyObject * obj4 = 0 ;
11085 PyObject * obj5 = 0 ;
11086 char *kwnames[] = {
11087 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11088 };
11089
11090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11092 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11093 if (obj1) {
093d3ff1
RD
11094 {
11095 arg2 = (int)(SWIG_As_int(obj1));
11096 if (SWIG_arg_fail(2)) SWIG_fail;
11097 }
d55e5bfc
RD
11098 }
11099 if (obj2) {
11100 {
11101 arg3 = &temp3;
11102 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11103 }
11104 }
11105 if (obj3) {
11106 {
11107 arg4 = &temp4;
11108 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11109 }
11110 }
11111 if (obj4) {
093d3ff1
RD
11112 {
11113 arg5 = (long)(SWIG_As_long(obj4));
11114 if (SWIG_arg_fail(5)) SWIG_fail;
11115 }
d55e5bfc
RD
11116 }
11117 if (obj5) {
11118 {
11119 arg6 = wxString_in_helper(obj5);
11120 if (arg6 == NULL) SWIG_fail;
ae8162c8 11121 temp6 = true;
d55e5bfc
RD
11122 }
11123 }
11124 {
0439c23b 11125 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11126 PyThreadState* __tstate = wxPyBeginAllowThreads();
11127 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11128
11129 wxPyEndAllowThreads(__tstate);
110da5b0 11130 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11131 }
11132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11133 {
11134 if (temp6)
11135 delete arg6;
11136 }
11137 return resultobj;
11138 fail:
11139 {
11140 if (temp6)
11141 delete arg6;
11142 }
11143 return NULL;
11144}
11145
11146
c32bde28 11147static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11148 PyObject *resultobj;
11149 wxPyVScrolledWindow *result;
11150 char *kwnames[] = {
11151 NULL
11152 };
11153
11154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11155 {
0439c23b 11156 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11159
11160 wxPyEndAllowThreads(__tstate);
110da5b0 11161 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11162 }
11163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11164 return resultobj;
11165 fail:
11166 return NULL;
11167}
11168
11169
c32bde28 11170static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11171 PyObject *resultobj;
11172 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11173 PyObject *arg2 = (PyObject *) 0 ;
11174 PyObject *arg3 = (PyObject *) 0 ;
11175 PyObject * obj0 = 0 ;
11176 PyObject * obj1 = 0 ;
11177 PyObject * obj2 = 0 ;
11178 char *kwnames[] = {
11179 (char *) "self",(char *) "self",(char *) "_class", NULL
11180 };
11181
11182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11184 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11185 arg2 = obj1;
11186 arg3 = obj2;
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 (arg1)->_setCallbackInfo(arg2,arg3);
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 Py_INCREF(Py_None); resultobj = Py_None;
11195 return resultobj;
11196 fail:
11197 return NULL;
11198}
11199
11200
c32bde28 11201static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11202 PyObject *resultobj;
11203 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11204 wxWindow *arg2 = (wxWindow *) 0 ;
11205 int arg3 = (int) wxID_ANY ;
11206 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11207 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11208 wxSize const &arg5_defvalue = wxDefaultSize ;
11209 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11210 long arg6 = (long) 0 ;
11211 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11212 wxString *arg7 = (wxString *) &arg7_defvalue ;
11213 bool result;
11214 wxPoint temp4 ;
11215 wxSize temp5 ;
ae8162c8 11216 bool temp7 = false ;
d55e5bfc
RD
11217 PyObject * obj0 = 0 ;
11218 PyObject * obj1 = 0 ;
11219 PyObject * obj2 = 0 ;
11220 PyObject * obj3 = 0 ;
11221 PyObject * obj4 = 0 ;
11222 PyObject * obj5 = 0 ;
11223 PyObject * obj6 = 0 ;
11224 char *kwnames[] = {
11225 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11226 };
11227
11228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11230 if (SWIG_arg_fail(1)) SWIG_fail;
11231 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11232 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11233 if (obj2) {
093d3ff1
RD
11234 {
11235 arg3 = (int)(SWIG_As_int(obj2));
11236 if (SWIG_arg_fail(3)) SWIG_fail;
11237 }
d55e5bfc
RD
11238 }
11239 if (obj3) {
11240 {
11241 arg4 = &temp4;
11242 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11243 }
11244 }
11245 if (obj4) {
11246 {
11247 arg5 = &temp5;
11248 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11249 }
11250 }
11251 if (obj5) {
093d3ff1
RD
11252 {
11253 arg6 = (long)(SWIG_As_long(obj5));
11254 if (SWIG_arg_fail(6)) SWIG_fail;
11255 }
d55e5bfc
RD
11256 }
11257 if (obj6) {
11258 {
11259 arg7 = wxString_in_helper(obj6);
11260 if (arg7 == NULL) SWIG_fail;
ae8162c8 11261 temp7 = true;
d55e5bfc
RD
11262 }
11263 }
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
11266 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11267
11268 wxPyEndAllowThreads(__tstate);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 {
11272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11273 }
11274 {
11275 if (temp7)
11276 delete arg7;
11277 }
11278 return resultobj;
11279 fail:
11280 {
11281 if (temp7)
11282 delete arg7;
11283 }
11284 return NULL;
11285}
11286
11287
c32bde28 11288static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11289 PyObject *resultobj;
11290 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11291 size_t arg2 ;
11292 PyObject * obj0 = 0 ;
11293 PyObject * obj1 = 0 ;
11294 char *kwnames[] = {
11295 (char *) "self",(char *) "count", NULL
11296 };
11297
11298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11300 if (SWIG_arg_fail(1)) SWIG_fail;
11301 {
11302 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11303 if (SWIG_arg_fail(2)) SWIG_fail;
11304 }
d55e5bfc
RD
11305 {
11306 PyThreadState* __tstate = wxPyBeginAllowThreads();
11307 (arg1)->SetLineCount(arg2);
11308
11309 wxPyEndAllowThreads(__tstate);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 }
11312 Py_INCREF(Py_None); resultobj = Py_None;
11313 return resultobj;
11314 fail:
11315 return NULL;
11316}
11317
11318
c32bde28 11319static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11320 PyObject *resultobj;
11321 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11322 size_t arg2 ;
11323 bool result;
11324 PyObject * obj0 = 0 ;
11325 PyObject * obj1 = 0 ;
11326 char *kwnames[] = {
11327 (char *) "self",(char *) "line", NULL
11328 };
11329
11330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11332 if (SWIG_arg_fail(1)) SWIG_fail;
11333 {
11334 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11335 if (SWIG_arg_fail(2)) SWIG_fail;
11336 }
d55e5bfc
RD
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
11339 result = (bool)(arg1)->ScrollToLine(arg2);
11340
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 {
11345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11346 }
11347 return resultobj;
11348 fail:
11349 return NULL;
11350}
11351
11352
c32bde28 11353static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11354 PyObject *resultobj;
11355 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11356 int arg2 ;
11357 bool result;
11358 PyObject * obj0 = 0 ;
11359 PyObject * obj1 = 0 ;
11360 char *kwnames[] = {
11361 (char *) "self",(char *) "lines", NULL
11362 };
11363
11364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11366 if (SWIG_arg_fail(1)) SWIG_fail;
11367 {
11368 arg2 = (int)(SWIG_As_int(obj1));
11369 if (SWIG_arg_fail(2)) SWIG_fail;
11370 }
d55e5bfc
RD
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 result = (bool)(arg1)->ScrollLines(arg2);
11374
11375 wxPyEndAllowThreads(__tstate);
11376 if (PyErr_Occurred()) SWIG_fail;
11377 }
11378 {
11379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11380 }
11381 return resultobj;
11382 fail:
11383 return NULL;
11384}
11385
11386
c32bde28 11387static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11388 PyObject *resultobj;
11389 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11390 int arg2 ;
11391 bool result;
11392 PyObject * obj0 = 0 ;
11393 PyObject * obj1 = 0 ;
11394 char *kwnames[] = {
11395 (char *) "self",(char *) "pages", NULL
11396 };
11397
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail;
11401 {
11402 arg2 = (int)(SWIG_As_int(obj1));
11403 if (SWIG_arg_fail(2)) SWIG_fail;
11404 }
d55e5bfc
RD
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 result = (bool)(arg1)->ScrollPages(arg2);
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 {
11413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11414 }
11415 return resultobj;
11416 fail:
11417 return NULL;
11418}
11419
11420
c32bde28 11421static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11422 PyObject *resultobj;
11423 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11424 size_t arg2 ;
11425 PyObject * obj0 = 0 ;
11426 PyObject * obj1 = 0 ;
11427 char *kwnames[] = {
11428 (char *) "self",(char *) "line", NULL
11429 };
11430
11431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11433 if (SWIG_arg_fail(1)) SWIG_fail;
11434 {
11435 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11436 if (SWIG_arg_fail(2)) SWIG_fail;
11437 }
d55e5bfc
RD
11438 {
11439 PyThreadState* __tstate = wxPyBeginAllowThreads();
11440 (arg1)->RefreshLine(arg2);
11441
11442 wxPyEndAllowThreads(__tstate);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 }
11445 Py_INCREF(Py_None); resultobj = Py_None;
11446 return resultobj;
11447 fail:
11448 return NULL;
11449}
11450
11451
c32bde28 11452static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11453 PyObject *resultobj;
11454 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11455 size_t arg2 ;
11456 size_t arg3 ;
11457 PyObject * obj0 = 0 ;
11458 PyObject * obj1 = 0 ;
11459 PyObject * obj2 = 0 ;
11460 char *kwnames[] = {
11461 (char *) "self",(char *) "from",(char *) "to", NULL
11462 };
11463
11464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11466 if (SWIG_arg_fail(1)) SWIG_fail;
11467 {
11468 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11469 if (SWIG_arg_fail(2)) SWIG_fail;
11470 }
11471 {
11472 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11473 if (SWIG_arg_fail(3)) SWIG_fail;
11474 }
d55e5bfc
RD
11475 {
11476 PyThreadState* __tstate = wxPyBeginAllowThreads();
11477 (arg1)->RefreshLines(arg2,arg3);
11478
11479 wxPyEndAllowThreads(__tstate);
11480 if (PyErr_Occurred()) SWIG_fail;
11481 }
11482 Py_INCREF(Py_None); resultobj = Py_None;
11483 return resultobj;
11484 fail:
11485 return NULL;
11486}
11487
11488
c32bde28 11489static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11490 PyObject *resultobj;
11491 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11492 int arg2 ;
11493 int arg3 ;
11494 int result;
11495 PyObject * obj0 = 0 ;
11496 PyObject * obj1 = 0 ;
11497 PyObject * obj2 = 0 ;
11498 char *kwnames[] = {
11499 (char *) "self",(char *) "x",(char *) "y", NULL
11500 };
11501
354693ff 11502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11504 if (SWIG_arg_fail(1)) SWIG_fail;
11505 {
11506 arg2 = (int)(SWIG_As_int(obj1));
11507 if (SWIG_arg_fail(2)) SWIG_fail;
11508 }
11509 {
11510 arg3 = (int)(SWIG_As_int(obj2));
11511 if (SWIG_arg_fail(3)) SWIG_fail;
11512 }
d55e5bfc
RD
11513 {
11514 PyThreadState* __tstate = wxPyBeginAllowThreads();
11515 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11516
11517 wxPyEndAllowThreads(__tstate);
11518 if (PyErr_Occurred()) SWIG_fail;
11519 }
093d3ff1
RD
11520 {
11521 resultobj = SWIG_From_int((int)(result));
11522 }
d55e5bfc
RD
11523 return resultobj;
11524 fail:
11525 return NULL;
11526}
11527
11528
c32bde28 11529static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11530 PyObject *resultobj;
11531 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11532 wxPoint *arg2 = 0 ;
11533 int result;
11534 wxPoint temp2 ;
11535 PyObject * obj0 = 0 ;
11536 PyObject * obj1 = 0 ;
11537 char *kwnames[] = {
11538 (char *) "self",(char *) "pt", NULL
11539 };
11540
11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11544 {
11545 arg2 = &temp2;
11546 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11547 }
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11551
11552 wxPyEndAllowThreads(__tstate);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
093d3ff1
RD
11555 {
11556 resultobj = SWIG_From_int((int)(result));
11557 }
d55e5bfc
RD
11558 return resultobj;
11559 fail:
11560 return NULL;
11561}
11562
11563
c32bde28 11564static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11565 PyObject *resultobj;
11566 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11567 PyObject * obj0 = 0 ;
11568 char *kwnames[] = {
11569 (char *) "self", NULL
11570 };
11571
11572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11574 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11575 {
11576 PyThreadState* __tstate = wxPyBeginAllowThreads();
11577 (arg1)->RefreshAll();
11578
11579 wxPyEndAllowThreads(__tstate);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 Py_INCREF(Py_None); resultobj = Py_None;
11583 return resultobj;
11584 fail:
11585 return NULL;
11586}
11587
11588
c32bde28 11589static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11590 PyObject *resultobj;
11591 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11592 size_t result;
11593 PyObject * obj0 = 0 ;
11594 char *kwnames[] = {
11595 (char *) "self", NULL
11596 };
11597
11598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
11599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11600 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11601 {
11602 PyThreadState* __tstate = wxPyBeginAllowThreads();
11603 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11604
11605 wxPyEndAllowThreads(__tstate);
11606 if (PyErr_Occurred()) SWIG_fail;
11607 }
093d3ff1
RD
11608 {
11609 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11610 }
d55e5bfc
RD
11611 return resultobj;
11612 fail:
11613 return NULL;
11614}
11615
11616
70b7a5fe 11617static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11618 PyObject *resultobj;
11619 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11620 size_t result;
11621 PyObject * obj0 = 0 ;
11622 char *kwnames[] = {
11623 (char *) "self", NULL
11624 };
11625
70b7a5fe 11626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
093d3ff1
RD
11627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11628 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11629 {
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b7a5fe 11631 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
d55e5bfc
RD
11632
11633 wxPyEndAllowThreads(__tstate);
11634 if (PyErr_Occurred()) SWIG_fail;
11635 }
093d3ff1
RD
11636 {
11637 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11638 }
d55e5bfc
RD
11639 return resultobj;
11640 fail:
11641 return NULL;
11642}
11643
11644
70b7a5fe 11645static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11646 PyObject *resultobj;
11647 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11648 size_t result;
11649 PyObject * obj0 = 0 ;
11650 char *kwnames[] = {
11651 (char *) "self", NULL
11652 };
11653
70b7a5fe 11654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11656 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b7a5fe 11659 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
d55e5bfc
RD
11660
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
093d3ff1
RD
11664 {
11665 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11666 }
d55e5bfc
RD
11667 return resultobj;
11668 fail:
11669 return NULL;
11670}
11671
11672
c32bde28 11673static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11674 PyObject *resultobj;
11675 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11676 size_t arg2 ;
11677 bool result;
11678 PyObject * obj0 = 0 ;
11679 PyObject * obj1 = 0 ;
11680 char *kwnames[] = {
11681 (char *) "self",(char *) "line", NULL
11682 };
11683
11684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11686 if (SWIG_arg_fail(1)) SWIG_fail;
11687 {
11688 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11689 if (SWIG_arg_fail(2)) SWIG_fail;
11690 }
d55e5bfc
RD
11691 {
11692 PyThreadState* __tstate = wxPyBeginAllowThreads();
11693 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11694
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
11698 {
11699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11700 }
11701 return resultobj;
11702 fail:
11703 return NULL;
11704}
11705
11706
70b7a5fe
RD
11707static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11708 PyObject *resultobj;
11709 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11710 size_t result;
11711 PyObject * obj0 = 0 ;
11712 char *kwnames[] = {
11713 (char *) "self", NULL
11714 };
11715
11716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11718 if (SWIG_arg_fail(1)) SWIG_fail;
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
11726 {
11727 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11728 }
11729 return resultobj;
11730 fail:
11731 return NULL;
11732}
11733
11734
11735static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11736 PyObject *resultobj;
11737 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11738 size_t result;
11739 PyObject * obj0 = 0 ;
11740 char *kwnames[] = {
11741 (char *) "self", NULL
11742 };
11743
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11746 if (SWIG_arg_fail(1)) SWIG_fail;
11747 {
11748 PyThreadState* __tstate = wxPyBeginAllowThreads();
11749 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11750
11751 wxPyEndAllowThreads(__tstate);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 }
11754 {
11755 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11756 }
11757 return resultobj;
11758 fail:
11759 return NULL;
11760}
11761
11762
c32bde28 11763static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11764 PyObject *obj;
11765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11766 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11767 Py_INCREF(obj);
11768 return Py_BuildValue((char *)"");
11769}
c32bde28 11770static int _wrap_VListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
11771 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11772 return 1;
11773}
11774
11775
093d3ff1 11776static PyObject *_wrap_VListBoxNameStr_get(void) {
d55e5bfc
RD
11777 PyObject *pyobj;
11778
11779 {
11780#if wxUSE_UNICODE
11781 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11782#else
11783 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11784#endif
11785 }
11786 return pyobj;
11787}
11788
11789
c32bde28 11790static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11791 PyObject *resultobj;
11792 wxWindow *arg1 = (wxWindow *) 0 ;
11793 int arg2 = (int) wxID_ANY ;
11794 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11795 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11796 wxSize const &arg4_defvalue = wxDefaultSize ;
11797 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11798 long arg5 = (long) 0 ;
11799 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11800 wxString *arg6 = (wxString *) &arg6_defvalue ;
11801 wxPyVListBox *result;
11802 wxPoint temp3 ;
11803 wxSize temp4 ;
ae8162c8 11804 bool temp6 = false ;
d55e5bfc
RD
11805 PyObject * obj0 = 0 ;
11806 PyObject * obj1 = 0 ;
11807 PyObject * obj2 = 0 ;
11808 PyObject * obj3 = 0 ;
11809 PyObject * obj4 = 0 ;
11810 PyObject * obj5 = 0 ;
11811 char *kwnames[] = {
11812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11813 };
11814
11815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11817 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11818 if (obj1) {
093d3ff1
RD
11819 {
11820 arg2 = (int)(SWIG_As_int(obj1));
11821 if (SWIG_arg_fail(2)) SWIG_fail;
11822 }
d55e5bfc
RD
11823 }
11824 if (obj2) {
11825 {
11826 arg3 = &temp3;
11827 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11828 }
11829 }
11830 if (obj3) {
11831 {
11832 arg4 = &temp4;
11833 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11834 }
11835 }
11836 if (obj4) {
093d3ff1
RD
11837 {
11838 arg5 = (long)(SWIG_As_long(obj4));
11839 if (SWIG_arg_fail(5)) SWIG_fail;
11840 }
d55e5bfc
RD
11841 }
11842 if (obj5) {
11843 {
11844 arg6 = wxString_in_helper(obj5);
11845 if (arg6 == NULL) SWIG_fail;
ae8162c8 11846 temp6 = true;
d55e5bfc
RD
11847 }
11848 }
11849 {
0439c23b 11850 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11853
11854 wxPyEndAllowThreads(__tstate);
110da5b0 11855 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11856 }
11857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11858 {
11859 if (temp6)
11860 delete arg6;
11861 }
11862 return resultobj;
11863 fail:
11864 {
11865 if (temp6)
11866 delete arg6;
11867 }
11868 return NULL;
11869}
11870
11871
c32bde28 11872static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11873 PyObject *resultobj;
11874 wxPyVListBox *result;
11875 char *kwnames[] = {
11876 NULL
11877 };
11878
11879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11880 {
0439c23b 11881 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 result = (wxPyVListBox *)new wxPyVListBox();
11884
11885 wxPyEndAllowThreads(__tstate);
110da5b0 11886 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11887 }
11888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11889 return resultobj;
11890 fail:
11891 return NULL;
11892}
11893
11894
c32bde28 11895static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11896 PyObject *resultobj;
11897 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11898 PyObject *arg2 = (PyObject *) 0 ;
11899 PyObject *arg3 = (PyObject *) 0 ;
11900 PyObject * obj0 = 0 ;
11901 PyObject * obj1 = 0 ;
11902 PyObject * obj2 = 0 ;
11903 char *kwnames[] = {
11904 (char *) "self",(char *) "self",(char *) "_class", NULL
11905 };
11906
11907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11909 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11910 arg2 = obj1;
11911 arg3 = obj2;
11912 {
11913 PyThreadState* __tstate = wxPyBeginAllowThreads();
11914 (arg1)->_setCallbackInfo(arg2,arg3);
11915
11916 wxPyEndAllowThreads(__tstate);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 Py_INCREF(Py_None); resultobj = Py_None;
11920 return resultobj;
11921 fail:
11922 return NULL;
11923}
11924
11925
c32bde28 11926static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11927 PyObject *resultobj;
11928 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11929 wxWindow *arg2 = (wxWindow *) 0 ;
11930 int arg3 = (int) wxID_ANY ;
11931 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11932 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11933 wxSize const &arg5_defvalue = wxDefaultSize ;
11934 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11935 long arg6 = (long) 0 ;
11936 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11937 wxString *arg7 = (wxString *) &arg7_defvalue ;
11938 bool result;
11939 wxPoint temp4 ;
11940 wxSize temp5 ;
ae8162c8 11941 bool temp7 = false ;
d55e5bfc
RD
11942 PyObject * obj0 = 0 ;
11943 PyObject * obj1 = 0 ;
11944 PyObject * obj2 = 0 ;
11945 PyObject * obj3 = 0 ;
11946 PyObject * obj4 = 0 ;
11947 PyObject * obj5 = 0 ;
11948 PyObject * obj6 = 0 ;
11949 char *kwnames[] = {
11950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11951 };
11952
11953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11955 if (SWIG_arg_fail(1)) SWIG_fail;
11956 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11957 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11958 if (obj2) {
093d3ff1
RD
11959 {
11960 arg3 = (int)(SWIG_As_int(obj2));
11961 if (SWIG_arg_fail(3)) SWIG_fail;
11962 }
d55e5bfc
RD
11963 }
11964 if (obj3) {
11965 {
11966 arg4 = &temp4;
11967 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11968 }
11969 }
11970 if (obj4) {
11971 {
11972 arg5 = &temp5;
11973 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11974 }
11975 }
11976 if (obj5) {
093d3ff1
RD
11977 {
11978 arg6 = (long)(SWIG_As_long(obj5));
11979 if (SWIG_arg_fail(6)) SWIG_fail;
11980 }
d55e5bfc
RD
11981 }
11982 if (obj6) {
11983 {
11984 arg7 = wxString_in_helper(obj6);
11985 if (arg7 == NULL) SWIG_fail;
ae8162c8 11986 temp7 = true;
d55e5bfc
RD
11987 }
11988 }
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
11996 {
11997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11998 }
11999 {
12000 if (temp7)
12001 delete arg7;
12002 }
12003 return resultobj;
12004 fail:
12005 {
12006 if (temp7)
12007 delete arg7;
12008 }
12009 return NULL;
12010}
12011
12012
c32bde28 12013static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12014 PyObject *resultobj;
12015 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12016 size_t result;
12017 PyObject * obj0 = 0 ;
12018 char *kwnames[] = {
12019 (char *) "self", NULL
12020 };
12021
12022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
12023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12024 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
12028
12029 wxPyEndAllowThreads(__tstate);
12030 if (PyErr_Occurred()) SWIG_fail;
12031 }
093d3ff1
RD
12032 {
12033 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12034 }
d55e5bfc
RD
12035 return resultobj;
12036 fail:
12037 return NULL;
12038}
12039
12040
c32bde28 12041static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12042 PyObject *resultobj;
12043 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12044 bool result;
12045 PyObject * obj0 = 0 ;
12046 char *kwnames[] = {
12047 (char *) "self", NULL
12048 };
12049
12050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
12051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12052 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
12056
12057 wxPyEndAllowThreads(__tstate);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 {
12061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12062 }
12063 return resultobj;
12064 fail:
12065 return NULL;
12066}
12067
12068
c32bde28 12069static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12070 PyObject *resultobj;
12071 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12072 int result;
12073 PyObject * obj0 = 0 ;
12074 char *kwnames[] = {
12075 (char *) "self", NULL
12076 };
12077
12078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
12079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12080 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12081 {
12082 PyThreadState* __tstate = wxPyBeginAllowThreads();
12083 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12084
12085 wxPyEndAllowThreads(__tstate);
12086 if (PyErr_Occurred()) SWIG_fail;
12087 }
093d3ff1
RD
12088 {
12089 resultobj = SWIG_From_int((int)(result));
12090 }
d55e5bfc
RD
12091 return resultobj;
12092 fail:
12093 return NULL;
12094}
12095
12096
c32bde28 12097static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12098 PyObject *resultobj;
12099 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12100 size_t arg2 ;
12101 bool result;
12102 PyObject * obj0 = 0 ;
12103 PyObject * obj1 = 0 ;
12104 char *kwnames[] = {
12105 (char *) "self",(char *) "item", NULL
12106 };
12107
12108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12110 if (SWIG_arg_fail(1)) SWIG_fail;
12111 {
12112 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12113 if (SWIG_arg_fail(2)) SWIG_fail;
12114 }
d55e5bfc
RD
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12118
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
12122 {
12123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12124 }
12125 return resultobj;
12126 fail:
12127 return NULL;
12128}
12129
12130
c32bde28 12131static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12132 PyObject *resultobj;
12133 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12134 size_t arg2 ;
12135 bool result;
12136 PyObject * obj0 = 0 ;
12137 PyObject * obj1 = 0 ;
12138 char *kwnames[] = {
12139 (char *) "self",(char *) "item", NULL
12140 };
12141
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail;
12145 {
12146 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12147 if (SWIG_arg_fail(2)) SWIG_fail;
12148 }
d55e5bfc
RD
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
12151 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12152
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 {
12157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12158 }
12159 return resultobj;
12160 fail:
12161 return NULL;
12162}
12163
12164
c32bde28 12165static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12166 PyObject *resultobj;
12167 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12168 size_t result;
12169 PyObject * obj0 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self", NULL
12172 };
12173
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
12175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12177 {
12178 PyThreadState* __tstate = wxPyBeginAllowThreads();
12179 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12180
12181 wxPyEndAllowThreads(__tstate);
12182 if (PyErr_Occurred()) SWIG_fail;
12183 }
093d3ff1
RD
12184 {
12185 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12186 }
d55e5bfc
RD
12187 return resultobj;
12188 fail:
12189 return NULL;
12190}
12191
12192
c32bde28 12193static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12194 PyObject *resultobj;
12195 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 12196 PyObject *result;
d55e5bfc 12197 PyObject * obj0 = 0 ;
d55e5bfc 12198 char *kwnames[] = {
09c21d3b 12199 (char *) "self", NULL
d55e5bfc
RD
12200 };
12201
09c21d3b 12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
12203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12205 {
12206 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12207 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d55e5bfc
RD
12208
12209 wxPyEndAllowThreads(__tstate);
12210 if (PyErr_Occurred()) SWIG_fail;
12211 }
09c21d3b 12212 resultobj = result;
d55e5bfc
RD
12213 return resultobj;
12214 fail:
12215 return NULL;
12216}
12217
12218
c32bde28 12219static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12220 PyObject *resultobj;
12221 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
12222 unsigned long arg2 ;
12223 PyObject *result;
d55e5bfc
RD
12224 PyObject * obj0 = 0 ;
12225 PyObject * obj1 = 0 ;
12226 char *kwnames[] = {
12227 (char *) "self",(char *) "cookie", NULL
12228 };
12229
12230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12232 if (SWIG_arg_fail(1)) SWIG_fail;
12233 {
12234 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
12235 if (SWIG_arg_fail(2)) SWIG_fail;
12236 }
d55e5bfc
RD
12237 {
12238 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12239 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d55e5bfc
RD
12240
12241 wxPyEndAllowThreads(__tstate);
12242 if (PyErr_Occurred()) SWIG_fail;
12243 }
09c21d3b 12244 resultobj = result;
d55e5bfc
RD
12245 return resultobj;
12246 fail:
12247 return NULL;
12248}
12249
12250
c32bde28 12251static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12252 PyObject *resultobj;
12253 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12254 wxPoint result;
12255 PyObject * obj0 = 0 ;
12256 char *kwnames[] = {
12257 (char *) "self", NULL
12258 };
12259
12260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
12261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12262 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12263 {
12264 PyThreadState* __tstate = wxPyBeginAllowThreads();
12265 result = ((wxPyVListBox const *)arg1)->GetMargins();
12266
12267 wxPyEndAllowThreads(__tstate);
12268 if (PyErr_Occurred()) SWIG_fail;
12269 }
12270 {
12271 wxPoint * resultptr;
093d3ff1 12272 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
12273 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12274 }
12275 return resultobj;
12276 fail:
12277 return NULL;
12278}
12279
12280
c32bde28 12281static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12282 PyObject *resultobj;
12283 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12284 wxColour *result;
12285 PyObject * obj0 = 0 ;
12286 char *kwnames[] = {
12287 (char *) "self", NULL
12288 };
12289
12290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
093d3ff1
RD
12291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12292 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12293 {
12294 PyThreadState* __tstate = wxPyBeginAllowThreads();
12295 {
12296 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12297 result = (wxColour *) &_result_ref;
12298 }
12299
12300 wxPyEndAllowThreads(__tstate);
12301 if (PyErr_Occurred()) SWIG_fail;
12302 }
12303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12304 return resultobj;
12305 fail:
12306 return NULL;
12307}
12308
12309
c32bde28 12310static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12311 PyObject *resultobj;
12312 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12313 size_t arg2 ;
12314 PyObject * obj0 = 0 ;
12315 PyObject * obj1 = 0 ;
12316 char *kwnames[] = {
12317 (char *) "self",(char *) "count", NULL
12318 };
12319
12320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12322 if (SWIG_arg_fail(1)) SWIG_fail;
12323 {
12324 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12325 if (SWIG_arg_fail(2)) SWIG_fail;
12326 }
d55e5bfc
RD
12327 {
12328 PyThreadState* __tstate = wxPyBeginAllowThreads();
12329 (arg1)->SetItemCount(arg2);
12330
12331 wxPyEndAllowThreads(__tstate);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 }
12334 Py_INCREF(Py_None); resultobj = Py_None;
12335 return resultobj;
12336 fail:
12337 return NULL;
12338}
12339
12340
c32bde28 12341static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12342 PyObject *resultobj;
12343 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12344 PyObject * obj0 = 0 ;
12345 char *kwnames[] = {
12346 (char *) "self", NULL
12347 };
12348
12349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
12350 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12351 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 (arg1)->Clear();
12355
12356 wxPyEndAllowThreads(__tstate);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 Py_INCREF(Py_None); resultobj = Py_None;
12360 return resultobj;
12361 fail:
12362 return NULL;
12363}
12364
12365
c32bde28 12366static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12367 PyObject *resultobj;
12368 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12369 int arg2 ;
12370 PyObject * obj0 = 0 ;
12371 PyObject * obj1 = 0 ;
12372 char *kwnames[] = {
12373 (char *) "self",(char *) "selection", NULL
12374 };
12375
12376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12378 if (SWIG_arg_fail(1)) SWIG_fail;
12379 {
12380 arg2 = (int)(SWIG_As_int(obj1));
12381 if (SWIG_arg_fail(2)) SWIG_fail;
12382 }
d55e5bfc
RD
12383 {
12384 PyThreadState* __tstate = wxPyBeginAllowThreads();
12385 (arg1)->SetSelection(arg2);
12386
12387 wxPyEndAllowThreads(__tstate);
12388 if (PyErr_Occurred()) SWIG_fail;
12389 }
12390 Py_INCREF(Py_None); resultobj = Py_None;
12391 return resultobj;
12392 fail:
12393 return NULL;
12394}
12395
12396
c32bde28 12397static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12398 PyObject *resultobj;
12399 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12400 size_t arg2 ;
ae8162c8 12401 bool arg3 = (bool) true ;
d55e5bfc
RD
12402 bool result;
12403 PyObject * obj0 = 0 ;
12404 PyObject * obj1 = 0 ;
12405 PyObject * obj2 = 0 ;
12406 char *kwnames[] = {
12407 (char *) "self",(char *) "item",(char *) "select", NULL
12408 };
12409
12410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12412 if (SWIG_arg_fail(1)) SWIG_fail;
12413 {
12414 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12415 if (SWIG_arg_fail(2)) SWIG_fail;
12416 }
d55e5bfc 12417 if (obj2) {
093d3ff1
RD
12418 {
12419 arg3 = (bool)(SWIG_As_bool(obj2));
12420 if (SWIG_arg_fail(3)) SWIG_fail;
12421 }
d55e5bfc
RD
12422 }
12423 {
12424 PyThreadState* __tstate = wxPyBeginAllowThreads();
12425 result = (bool)(arg1)->Select(arg2,arg3);
12426
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 {
12431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12432 }
12433 return resultobj;
12434 fail:
12435 return NULL;
12436}
12437
12438
c32bde28 12439static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12440 PyObject *resultobj;
12441 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12442 size_t arg2 ;
12443 size_t arg3 ;
12444 bool result;
12445 PyObject * obj0 = 0 ;
12446 PyObject * obj1 = 0 ;
12447 PyObject * obj2 = 0 ;
12448 char *kwnames[] = {
12449 (char *) "self",(char *) "from",(char *) "to", NULL
12450 };
12451
12452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12454 if (SWIG_arg_fail(1)) SWIG_fail;
12455 {
12456 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12457 if (SWIG_arg_fail(2)) SWIG_fail;
12458 }
12459 {
12460 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12461 if (SWIG_arg_fail(3)) SWIG_fail;
12462 }
d55e5bfc
RD
12463 {
12464 PyThreadState* __tstate = wxPyBeginAllowThreads();
12465 result = (bool)(arg1)->SelectRange(arg2,arg3);
12466
12467 wxPyEndAllowThreads(__tstate);
12468 if (PyErr_Occurred()) SWIG_fail;
12469 }
12470 {
12471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12472 }
12473 return resultobj;
12474 fail:
12475 return NULL;
12476}
12477
12478
c32bde28 12479static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12480 PyObject *resultobj;
12481 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12482 size_t arg2 ;
12483 PyObject * obj0 = 0 ;
12484 PyObject * obj1 = 0 ;
12485 char *kwnames[] = {
12486 (char *) "self",(char *) "item", NULL
12487 };
12488
12489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12491 if (SWIG_arg_fail(1)) SWIG_fail;
12492 {
12493 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12494 if (SWIG_arg_fail(2)) SWIG_fail;
12495 }
d55e5bfc
RD
12496 {
12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
12498 (arg1)->Toggle(arg2);
12499
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
12503 Py_INCREF(Py_None); resultobj = Py_None;
12504 return resultobj;
12505 fail:
12506 return NULL;
12507}
12508
12509
c32bde28 12510static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12511 PyObject *resultobj;
12512 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12513 bool result;
12514 PyObject * obj0 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "self", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 result = (bool)(arg1)->SelectAll();
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 {
12530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12531 }
12532 return resultobj;
12533 fail:
12534 return NULL;
12535}
12536
12537
c32bde28 12538static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12539 PyObject *resultobj;
12540 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12541 bool result;
12542 PyObject * obj0 = 0 ;
12543 char *kwnames[] = {
12544 (char *) "self", NULL
12545 };
12546
12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12549 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 result = (bool)(arg1)->DeselectAll();
12553
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
12557 {
12558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12559 }
12560 return resultobj;
12561 fail:
12562 return NULL;
12563}
12564
12565
c32bde28 12566static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12567 PyObject *resultobj;
12568 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12569 wxPoint *arg2 = 0 ;
12570 wxPoint temp2 ;
12571 PyObject * obj0 = 0 ;
12572 PyObject * obj1 = 0 ;
12573 char *kwnames[] = {
12574 (char *) "self",(char *) "pt", NULL
12575 };
12576
12577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12579 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12580 {
12581 arg2 = &temp2;
12582 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12583 }
12584 {
12585 PyThreadState* __tstate = wxPyBeginAllowThreads();
12586 (arg1)->SetMargins((wxPoint const &)*arg2);
12587
12588 wxPyEndAllowThreads(__tstate);
12589 if (PyErr_Occurred()) SWIG_fail;
12590 }
12591 Py_INCREF(Py_None); resultobj = Py_None;
12592 return resultobj;
12593 fail:
12594 return NULL;
12595}
12596
12597
c32bde28 12598static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12599 PyObject *resultobj;
12600 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12601 int arg2 ;
12602 int arg3 ;
12603 PyObject * obj0 = 0 ;
12604 PyObject * obj1 = 0 ;
12605 PyObject * obj2 = 0 ;
12606 char *kwnames[] = {
12607 (char *) "self",(char *) "x",(char *) "y", NULL
12608 };
12609
12610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12612 if (SWIG_arg_fail(1)) SWIG_fail;
12613 {
12614 arg2 = (int)(SWIG_As_int(obj1));
12615 if (SWIG_arg_fail(2)) SWIG_fail;
12616 }
12617 {
12618 arg3 = (int)(SWIG_As_int(obj2));
12619 if (SWIG_arg_fail(3)) SWIG_fail;
12620 }
d55e5bfc
RD
12621 {
12622 PyThreadState* __tstate = wxPyBeginAllowThreads();
12623 (arg1)->SetMargins(arg2,arg3);
12624
12625 wxPyEndAllowThreads(__tstate);
12626 if (PyErr_Occurred()) SWIG_fail;
12627 }
12628 Py_INCREF(Py_None); resultobj = Py_None;
12629 return resultobj;
12630 fail:
12631 return NULL;
12632}
12633
12634
c32bde28 12635static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12636 PyObject *resultobj;
12637 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12638 wxColour *arg2 = 0 ;
12639 wxColour temp2 ;
12640 PyObject * obj0 = 0 ;
12641 PyObject * obj1 = 0 ;
12642 char *kwnames[] = {
12643 (char *) "self",(char *) "col", NULL
12644 };
12645
12646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12649 {
12650 arg2 = &temp2;
12651 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12652 }
12653 {
12654 PyThreadState* __tstate = wxPyBeginAllowThreads();
12655 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12656
12657 wxPyEndAllowThreads(__tstate);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 }
12660 Py_INCREF(Py_None); resultobj = Py_None;
12661 return resultobj;
12662 fail:
12663 return NULL;
12664}
12665
12666
c32bde28 12667static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12668 PyObject *obj;
12669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12670 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12671 Py_INCREF(obj);
12672 return Py_BuildValue((char *)"");
12673}
c32bde28 12674static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12675 PyObject *resultobj;
12676 wxWindow *arg1 = (wxWindow *) 0 ;
12677 int arg2 = (int) wxID_ANY ;
12678 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12679 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12680 wxSize const &arg4_defvalue = wxDefaultSize ;
12681 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12682 long arg5 = (long) 0 ;
12683 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12684 wxString *arg6 = (wxString *) &arg6_defvalue ;
12685 wxPyHtmlListBox *result;
12686 wxPoint temp3 ;
12687 wxSize temp4 ;
ae8162c8 12688 bool temp6 = false ;
d55e5bfc
RD
12689 PyObject * obj0 = 0 ;
12690 PyObject * obj1 = 0 ;
12691 PyObject * obj2 = 0 ;
12692 PyObject * obj3 = 0 ;
12693 PyObject * obj4 = 0 ;
12694 PyObject * obj5 = 0 ;
12695 char *kwnames[] = {
12696 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12697 };
12698
12699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12701 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12702 if (obj1) {
093d3ff1
RD
12703 {
12704 arg2 = (int)(SWIG_As_int(obj1));
12705 if (SWIG_arg_fail(2)) SWIG_fail;
12706 }
d55e5bfc
RD
12707 }
12708 if (obj2) {
12709 {
12710 arg3 = &temp3;
12711 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12712 }
12713 }
12714 if (obj3) {
12715 {
12716 arg4 = &temp4;
12717 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12718 }
12719 }
12720 if (obj4) {
093d3ff1
RD
12721 {
12722 arg5 = (long)(SWIG_As_long(obj4));
12723 if (SWIG_arg_fail(5)) SWIG_fail;
12724 }
d55e5bfc
RD
12725 }
12726 if (obj5) {
12727 {
12728 arg6 = wxString_in_helper(obj5);
12729 if (arg6 == NULL) SWIG_fail;
ae8162c8 12730 temp6 = true;
d55e5bfc
RD
12731 }
12732 }
12733 {
0439c23b 12734 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12735 PyThreadState* __tstate = wxPyBeginAllowThreads();
12736 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12737
12738 wxPyEndAllowThreads(__tstate);
110da5b0 12739 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12740 }
12741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12742 {
12743 if (temp6)
12744 delete arg6;
12745 }
12746 return resultobj;
12747 fail:
12748 {
12749 if (temp6)
12750 delete arg6;
12751 }
12752 return NULL;
12753}
12754
12755
c32bde28 12756static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12757 PyObject *resultobj;
12758 wxPyHtmlListBox *result;
12759 char *kwnames[] = {
12760 NULL
12761 };
12762
12763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12764 {
0439c23b 12765 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12766 PyThreadState* __tstate = wxPyBeginAllowThreads();
12767 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12768
12769 wxPyEndAllowThreads(__tstate);
110da5b0 12770 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12771 }
12772 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12773 return resultobj;
12774 fail:
12775 return NULL;
12776}
12777
12778
c32bde28 12779static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12780 PyObject *resultobj;
12781 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12782 PyObject *arg2 = (PyObject *) 0 ;
12783 PyObject *arg3 = (PyObject *) 0 ;
12784 PyObject * obj0 = 0 ;
12785 PyObject * obj1 = 0 ;
12786 PyObject * obj2 = 0 ;
12787 char *kwnames[] = {
12788 (char *) "self",(char *) "self",(char *) "_class", NULL
12789 };
12790
12791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12793 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12794 arg2 = obj1;
12795 arg3 = obj2;
12796 {
12797 PyThreadState* __tstate = wxPyBeginAllowThreads();
12798 (arg1)->_setCallbackInfo(arg2,arg3);
12799
12800 wxPyEndAllowThreads(__tstate);
12801 if (PyErr_Occurred()) SWIG_fail;
12802 }
12803 Py_INCREF(Py_None); resultobj = Py_None;
12804 return resultobj;
12805 fail:
12806 return NULL;
12807}
12808
12809
c32bde28 12810static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12811 PyObject *resultobj;
12812 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12813 wxWindow *arg2 = (wxWindow *) 0 ;
12814 int arg3 = (int) wxID_ANY ;
12815 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12816 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12817 wxSize const &arg5_defvalue = wxDefaultSize ;
12818 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12819 long arg6 = (long) 0 ;
12820 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12821 wxString *arg7 = (wxString *) &arg7_defvalue ;
12822 bool result;
12823 wxPoint temp4 ;
12824 wxSize temp5 ;
ae8162c8 12825 bool temp7 = false ;
d55e5bfc
RD
12826 PyObject * obj0 = 0 ;
12827 PyObject * obj1 = 0 ;
12828 PyObject * obj2 = 0 ;
12829 PyObject * obj3 = 0 ;
12830 PyObject * obj4 = 0 ;
12831 PyObject * obj5 = 0 ;
12832 PyObject * obj6 = 0 ;
12833 char *kwnames[] = {
12834 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12835 };
12836
12837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12839 if (SWIG_arg_fail(1)) SWIG_fail;
12840 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12841 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12842 if (obj2) {
093d3ff1
RD
12843 {
12844 arg3 = (int)(SWIG_As_int(obj2));
12845 if (SWIG_arg_fail(3)) SWIG_fail;
12846 }
d55e5bfc
RD
12847 }
12848 if (obj3) {
12849 {
12850 arg4 = &temp4;
12851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12852 }
12853 }
12854 if (obj4) {
12855 {
12856 arg5 = &temp5;
12857 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12858 }
12859 }
12860 if (obj5) {
093d3ff1
RD
12861 {
12862 arg6 = (long)(SWIG_As_long(obj5));
12863 if (SWIG_arg_fail(6)) SWIG_fail;
12864 }
d55e5bfc
RD
12865 }
12866 if (obj6) {
12867 {
12868 arg7 = wxString_in_helper(obj6);
12869 if (arg7 == NULL) SWIG_fail;
ae8162c8 12870 temp7 = true;
d55e5bfc
RD
12871 }
12872 }
12873 {
12874 PyThreadState* __tstate = wxPyBeginAllowThreads();
12875 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12876
12877 wxPyEndAllowThreads(__tstate);
12878 if (PyErr_Occurred()) SWIG_fail;
12879 }
12880 {
12881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12882 }
12883 {
12884 if (temp7)
12885 delete arg7;
12886 }
12887 return resultobj;
12888 fail:
12889 {
12890 if (temp7)
12891 delete arg7;
12892 }
12893 return NULL;
12894}
12895
12896
c32bde28 12897static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12898 PyObject *resultobj;
12899 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12900 PyObject * obj0 = 0 ;
12901 char *kwnames[] = {
12902 (char *) "self", NULL
12903 };
12904
12905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12908 {
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
12910 (arg1)->RefreshAll();
12911
12912 wxPyEndAllowThreads(__tstate);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
12915 Py_INCREF(Py_None); resultobj = Py_None;
12916 return resultobj;
12917 fail:
12918 return NULL;
12919}
12920
12921
c32bde28 12922static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12923 PyObject *resultobj;
12924 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12925 size_t arg2 ;
12926 PyObject * obj0 = 0 ;
12927 PyObject * obj1 = 0 ;
12928 char *kwnames[] = {
12929 (char *) "self",(char *) "count", NULL
12930 };
12931
12932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12934 if (SWIG_arg_fail(1)) SWIG_fail;
12935 {
12936 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12937 if (SWIG_arg_fail(2)) SWIG_fail;
12938 }
d55e5bfc
RD
12939 {
12940 PyThreadState* __tstate = wxPyBeginAllowThreads();
12941 (arg1)->SetItemCount(arg2);
12942
12943 wxPyEndAllowThreads(__tstate);
12944 if (PyErr_Occurred()) SWIG_fail;
12945 }
12946 Py_INCREF(Py_None); resultobj = Py_None;
12947 return resultobj;
12948 fail:
12949 return NULL;
12950}
12951
12952
c32bde28 12953static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
c24da6d6
RD
12954 PyObject *resultobj;
12955 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12956 wxFileSystem *result;
12957 PyObject * obj0 = 0 ;
12958 char *kwnames[] = {
12959 (char *) "self", NULL
12960 };
12961
12962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
093d3ff1
RD
12963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12964 if (SWIG_arg_fail(1)) SWIG_fail;
c24da6d6
RD
12965 {
12966 PyThreadState* __tstate = wxPyBeginAllowThreads();
12967 {
12968 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12969 result = (wxFileSystem *) &_result_ref;
12970 }
12971
12972 wxPyEndAllowThreads(__tstate);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
12975 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12976 return resultobj;
12977 fail:
12978 return NULL;
12979}
12980
12981
c32bde28 12982static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12983 PyObject *obj;
12984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12985 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12986 Py_INCREF(obj);
12987 return Py_BuildValue((char *)"");
12988}
c32bde28 12989static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12990 PyObject *resultobj;
5e483524 12991 wxPyTaskBarIcon *result;
d55e5bfc
RD
12992 char *kwnames[] = {
12993 NULL
12994 };
12995
12996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12997 {
0439c23b 12998 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 12999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13000 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d55e5bfc
RD
13001
13002 wxPyEndAllowThreads(__tstate);
110da5b0 13003 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 13004 }
5e483524 13005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d55e5bfc
RD
13006 return resultobj;
13007 fail:
13008 return NULL;
13009}
13010
13011
5e483524 13012static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13013 PyObject *resultobj;
5e483524
RD
13014 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
13015 PyObject *arg2 = (PyObject *) 0 ;
13016 PyObject *arg3 = (PyObject *) 0 ;
13017 int arg4 ;
d55e5bfc 13018 PyObject * obj0 = 0 ;
5e483524
RD
13019 PyObject * obj1 = 0 ;
13020 PyObject * obj2 = 0 ;
13021 PyObject * obj3 = 0 ;
d55e5bfc 13022 char *kwnames[] = {
5e483524 13023 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d55e5bfc
RD
13024 };
13025
5e483524 13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
13027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13028 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
13029 arg2 = obj1;
13030 arg3 = obj2;
093d3ff1
RD
13031 {
13032 arg4 = (int)(SWIG_As_int(obj3));
13033 if (SWIG_arg_fail(4)) SWIG_fail;
13034 }
d55e5bfc
RD
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13037 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d55e5bfc
RD
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 Py_INCREF(Py_None); resultobj = Py_None;
13043 return resultobj;
13044 fail:
13045 return NULL;
13046}
13047
13048
c32bde28 13049static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13050 PyObject *resultobj;
5e483524 13051 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13052 PyObject * obj0 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
13058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13059 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13060 {
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13062 wxPyTaskBarIcon_Destroy(arg1);
d55e5bfc
RD
13063
13064 wxPyEndAllowThreads(__tstate);
13065 if (PyErr_Occurred()) SWIG_fail;
13066 }
13067 Py_INCREF(Py_None); resultobj = Py_None;
13068 return resultobj;
13069 fail:
13070 return NULL;
13071}
13072
13073
c32bde28 13074static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13075 PyObject *resultobj;
5e483524 13076 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13077 bool result;
13078 PyObject * obj0 = 0 ;
13079 char *kwnames[] = {
13080 (char *) "self", NULL
13081 };
13082
13083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
13084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13085 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13086 {
13087 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13088 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
d55e5bfc
RD
13089
13090 wxPyEndAllowThreads(__tstate);
13091 if (PyErr_Occurred()) SWIG_fail;
13092 }
13093 {
13094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13095 }
13096 return resultobj;
13097 fail:
13098 return NULL;
13099}
13100
13101
c32bde28 13102static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13103 PyObject *resultobj;
5e483524 13104 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13105 bool result;
13106 PyObject * obj0 = 0 ;
13107 char *kwnames[] = {
13108 (char *) "self", NULL
13109 };
13110
13111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
093d3ff1
RD
13112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13113 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13114 {
13115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13116 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
d55e5bfc
RD
13117
13118 wxPyEndAllowThreads(__tstate);
13119 if (PyErr_Occurred()) SWIG_fail;
13120 }
13121 {
13122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13123 }
13124 return resultobj;
13125 fail:
13126 return NULL;
13127}
13128
13129
c32bde28 13130static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13131 PyObject *resultobj;
5e483524 13132 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13133 wxIcon *arg2 = 0 ;
13134 wxString const &arg3_defvalue = wxPyEmptyString ;
13135 wxString *arg3 = (wxString *) &arg3_defvalue ;
13136 bool result;
ae8162c8 13137 bool temp3 = false ;
d55e5bfc
RD
13138 PyObject * obj0 = 0 ;
13139 PyObject * obj1 = 0 ;
13140 PyObject * obj2 = 0 ;
13141 char *kwnames[] = {
13142 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13143 };
13144
13145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13147 if (SWIG_arg_fail(1)) SWIG_fail;
13148 {
13149 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13150 if (SWIG_arg_fail(2)) SWIG_fail;
13151 if (arg2 == NULL) {
13152 SWIG_null_ref("wxIcon");
13153 }
13154 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13155 }
13156 if (obj2) {
13157 {
13158 arg3 = wxString_in_helper(obj2);
13159 if (arg3 == NULL) SWIG_fail;
ae8162c8 13160 temp3 = true;
d55e5bfc
RD
13161 }
13162 }
13163 {
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13166
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
13170 {
13171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13172 }
13173 {
13174 if (temp3)
13175 delete arg3;
13176 }
13177 return resultobj;
13178 fail:
13179 {
13180 if (temp3)
13181 delete arg3;
13182 }
13183 return NULL;
13184}
13185
13186
c32bde28 13187static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13188 PyObject *resultobj;
5e483524 13189 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13190 bool result;
13191 PyObject * obj0 = 0 ;
13192 char *kwnames[] = {
13193 (char *) "self", NULL
13194 };
13195
13196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
13197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13198 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13199 {
13200 PyThreadState* __tstate = wxPyBeginAllowThreads();
13201 result = (bool)(arg1)->RemoveIcon();
13202
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 {
13207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13208 }
13209 return resultobj;
13210 fail:
13211 return NULL;
13212}
13213
13214
c32bde28 13215static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13216 PyObject *resultobj;
5e483524 13217 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13218 wxMenu *arg2 = (wxMenu *) 0 ;
13219 bool result;
13220 PyObject * obj0 = 0 ;
13221 PyObject * obj1 = 0 ;
13222 char *kwnames[] = {
13223 (char *) "self",(char *) "menu", NULL
13224 };
13225
13226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13228 if (SWIG_arg_fail(1)) SWIG_fail;
13229 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13230 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13231 {
13232 PyThreadState* __tstate = wxPyBeginAllowThreads();
13233 result = (bool)(arg1)->PopupMenu(arg2);
13234
13235 wxPyEndAllowThreads(__tstate);
13236 if (PyErr_Occurred()) SWIG_fail;
13237 }
13238 {
13239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13240 }
13241 return resultobj;
13242 fail:
13243 return NULL;
13244}
13245
13246
c32bde28 13247static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13248 PyObject *obj;
13249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 13250 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d55e5bfc
RD
13251 Py_INCREF(obj);
13252 return Py_BuildValue((char *)"");
13253}
c32bde28 13254static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13255 PyObject *resultobj;
13256 wxEventType arg1 ;
13257 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13258 wxTaskBarIconEvent *result;
13259 PyObject * obj0 = 0 ;
13260 PyObject * obj1 = 0 ;
13261 char *kwnames[] = {
13262 (char *) "evtType",(char *) "tbIcon", NULL
13263 };
13264
13265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13266 {
13267 arg1 = (wxEventType)(SWIG_As_int(obj0));
13268 if (SWIG_arg_fail(1)) SWIG_fail;
13269 }
13270 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13271 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13272 {
13273 PyThreadState* __tstate = wxPyBeginAllowThreads();
13274 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13275
13276 wxPyEndAllowThreads(__tstate);
13277 if (PyErr_Occurred()) SWIG_fail;
13278 }
13279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13280 return resultobj;
13281 fail:
13282 return NULL;
13283}
13284
13285
c32bde28 13286static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13287 PyObject *obj;
13288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13289 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13290 Py_INCREF(obj);
13291 return Py_BuildValue((char *)"");
13292}
c32bde28 13293static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13294 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13295 return 1;
13296}
13297
13298
093d3ff1 13299static PyObject *_wrap_FileSelectorPromptStr_get(void) {
d55e5bfc
RD
13300 PyObject *pyobj;
13301
13302 {
13303#if wxUSE_UNICODE
13304 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13305#else
13306 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13307#endif
13308 }
13309 return pyobj;
13310}
13311
13312
c32bde28 13313static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13314 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13315 return 1;
13316}
13317
13318
093d3ff1 13319static PyObject *_wrap_DirSelectorPromptStr_get(void) {
d55e5bfc
RD
13320 PyObject *pyobj;
13321
13322 {
13323#if wxUSE_UNICODE
13324 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13325#else
13326 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13327#endif
13328 }
13329 return pyobj;
13330}
13331
13332
c32bde28 13333static int _wrap_DirDialogNameStr_set(PyObject *) {
d55e5bfc
RD
13334 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13335 return 1;
13336}
13337
13338
093d3ff1 13339static PyObject *_wrap_DirDialogNameStr_get(void) {
d55e5bfc
RD
13340 PyObject *pyobj;
13341
13342 {
13343#if wxUSE_UNICODE
13344 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13345#else
13346 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13347#endif
13348 }
13349 return pyobj;
13350}
13351
13352
c32bde28 13353static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d55e5bfc
RD
13354 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13355 return 1;
13356}
13357
13358
093d3ff1 13359static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
d55e5bfc
RD
13360 PyObject *pyobj;
13361
13362 {
13363#if wxUSE_UNICODE
13364 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13365#else
13366 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13367#endif
13368 }
13369 return pyobj;
13370}
13371
13372
c32bde28 13373static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
d55e5bfc
RD
13374 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13375 return 1;
13376}
13377
13378
093d3ff1 13379static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
d55e5bfc
RD
13380 PyObject *pyobj;
13381
13382 {
13383#if wxUSE_UNICODE
13384 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13385#else
13386 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13387#endif
13388 }
13389 return pyobj;
13390}
13391
13392
c32bde28 13393static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
d55e5bfc
RD
13394 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13395 return 1;
13396}
13397
13398
093d3ff1 13399static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
d55e5bfc
RD
13400 PyObject *pyobj;
13401
13402 {
13403#if wxUSE_UNICODE
13404 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13405#else
13406 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13407#endif
13408 }
13409 return pyobj;
13410}
13411
13412
c32bde28 13413static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13414 PyObject *resultobj;
13415 wxColourData *result;
13416 char *kwnames[] = {
13417 NULL
13418 };
13419
13420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13421 {
13422 PyThreadState* __tstate = wxPyBeginAllowThreads();
13423 result = (wxColourData *)new wxColourData();
13424
13425 wxPyEndAllowThreads(__tstate);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 }
13428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13429 return resultobj;
13430 fail:
13431 return NULL;
13432}
13433
13434
c32bde28 13435static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13436 PyObject *resultobj;
13437 wxColourData *arg1 = (wxColourData *) 0 ;
13438 PyObject * obj0 = 0 ;
13439 char *kwnames[] = {
13440 (char *) "self", NULL
13441 };
13442
13443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 delete arg1;
13449
13450 wxPyEndAllowThreads(__tstate);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 }
13453 Py_INCREF(Py_None); resultobj = Py_None;
13454 return resultobj;
13455 fail:
13456 return NULL;
13457}
13458
13459
c32bde28 13460static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13461 PyObject *resultobj;
13462 wxColourData *arg1 = (wxColourData *) 0 ;
13463 bool result;
13464 PyObject * obj0 = 0 ;
13465 char *kwnames[] = {
13466 (char *) "self", NULL
13467 };
13468
13469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
093d3ff1
RD
13470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13471 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 result = (bool)(arg1)->GetChooseFull();
13475
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 {
13480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13481 }
13482 return resultobj;
13483 fail:
13484 return NULL;
13485}
13486
13487
c32bde28 13488static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13489 PyObject *resultobj;
13490 wxColourData *arg1 = (wxColourData *) 0 ;
13491 wxColour result;
13492 PyObject * obj0 = 0 ;
13493 char *kwnames[] = {
13494 (char *) "self", NULL
13495 };
13496
13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
13498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13499 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 result = (arg1)->GetColour();
13503
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 {
13508 wxColour * resultptr;
093d3ff1 13509 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
13510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13511 }
13512 return resultobj;
13513 fail:
13514 return NULL;
13515}
13516
13517
c32bde28 13518static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13519 PyObject *resultobj;
13520 wxColourData *arg1 = (wxColourData *) 0 ;
13521 int arg2 ;
13522 wxColour result;
13523 PyObject * obj0 = 0 ;
13524 PyObject * obj1 = 0 ;
13525 char *kwnames[] = {
13526 (char *) "self",(char *) "i", NULL
13527 };
13528
13529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13531 if (SWIG_arg_fail(1)) SWIG_fail;
13532 {
13533 arg2 = (int)(SWIG_As_int(obj1));
13534 if (SWIG_arg_fail(2)) SWIG_fail;
13535 }
d55e5bfc
RD
13536 {
13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
13538 result = (arg1)->GetCustomColour(arg2);
13539
13540 wxPyEndAllowThreads(__tstate);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 {
13544 wxColour * resultptr;
093d3ff1 13545 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
13546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13547 }
13548 return resultobj;
13549 fail:
13550 return NULL;
13551}
13552
13553
c32bde28 13554static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13555 PyObject *resultobj;
13556 wxColourData *arg1 = (wxColourData *) 0 ;
13557 int arg2 ;
13558 PyObject * obj0 = 0 ;
13559 PyObject * obj1 = 0 ;
13560 char *kwnames[] = {
13561 (char *) "self",(char *) "flag", NULL
13562 };
13563
13564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13566 if (SWIG_arg_fail(1)) SWIG_fail;
13567 {
13568 arg2 = (int)(SWIG_As_int(obj1));
13569 if (SWIG_arg_fail(2)) SWIG_fail;
13570 }
d55e5bfc
RD
13571 {
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 (arg1)->SetChooseFull(arg2);
13574
13575 wxPyEndAllowThreads(__tstate);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 Py_INCREF(Py_None); resultobj = Py_None;
13579 return resultobj;
13580 fail:
13581 return NULL;
13582}
13583
13584
c32bde28 13585static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13586 PyObject *resultobj;
13587 wxColourData *arg1 = (wxColourData *) 0 ;
13588 wxColour *arg2 = 0 ;
13589 wxColour temp2 ;
13590 PyObject * obj0 = 0 ;
13591 PyObject * obj1 = 0 ;
13592 char *kwnames[] = {
13593 (char *) "self",(char *) "colour", NULL
13594 };
13595
13596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13598 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13599 {
13600 arg2 = &temp2;
13601 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13602 }
13603 {
13604 PyThreadState* __tstate = wxPyBeginAllowThreads();
13605 (arg1)->SetColour((wxColour const &)*arg2);
13606
13607 wxPyEndAllowThreads(__tstate);
13608 if (PyErr_Occurred()) SWIG_fail;
13609 }
13610 Py_INCREF(Py_None); resultobj = Py_None;
13611 return resultobj;
13612 fail:
13613 return NULL;
13614}
13615
13616
c32bde28 13617static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13618 PyObject *resultobj;
13619 wxColourData *arg1 = (wxColourData *) 0 ;
13620 int arg2 ;
13621 wxColour *arg3 = 0 ;
13622 wxColour temp3 ;
13623 PyObject * obj0 = 0 ;
13624 PyObject * obj1 = 0 ;
13625 PyObject * obj2 = 0 ;
13626 char *kwnames[] = {
13627 (char *) "self",(char *) "i",(char *) "colour", NULL
13628 };
13629
13630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13632 if (SWIG_arg_fail(1)) SWIG_fail;
13633 {
13634 arg2 = (int)(SWIG_As_int(obj1));
13635 if (SWIG_arg_fail(2)) SWIG_fail;
13636 }
d55e5bfc
RD
13637 {
13638 arg3 = &temp3;
13639 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13640 }
13641 {
13642 PyThreadState* __tstate = wxPyBeginAllowThreads();
13643 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13644
13645 wxPyEndAllowThreads(__tstate);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 Py_INCREF(Py_None); resultobj = Py_None;
13649 return resultobj;
13650 fail:
13651 return NULL;
13652}
13653
13654
c32bde28 13655static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13656 PyObject *obj;
13657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13658 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13659 Py_INCREF(obj);
13660 return Py_BuildValue((char *)"");
13661}
c32bde28 13662static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13663 PyObject *resultobj;
13664 wxWindow *arg1 = (wxWindow *) 0 ;
13665 wxColourData *arg2 = (wxColourData *) NULL ;
13666 wxColourDialog *result;
13667 PyObject * obj0 = 0 ;
13668 PyObject * obj1 = 0 ;
13669 char *kwnames[] = {
13670 (char *) "parent",(char *) "data", NULL
13671 };
13672
13673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13675 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13676 if (obj1) {
093d3ff1
RD
13677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13678 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13679 }
13680 {
0439c23b 13681 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13684
13685 wxPyEndAllowThreads(__tstate);
110da5b0 13686 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13687 }
13688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13689 return resultobj;
13690 fail:
13691 return NULL;
13692}
13693
13694
c32bde28 13695static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13696 PyObject *resultobj;
13697 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13698 wxColourData *result;
13699 PyObject * obj0 = 0 ;
13700 char *kwnames[] = {
13701 (char *) "self", NULL
13702 };
13703
13704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13706 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13707 {
13708 PyThreadState* __tstate = wxPyBeginAllowThreads();
13709 {
13710 wxColourData &_result_ref = (arg1)->GetColourData();
13711 result = (wxColourData *) &_result_ref;
13712 }
13713
13714 wxPyEndAllowThreads(__tstate);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13718 return resultobj;
13719 fail:
13720 return NULL;
13721}
13722
13723
c32bde28 13724static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13725 PyObject *obj;
13726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13727 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13728 Py_INCREF(obj);
13729 return Py_BuildValue((char *)"");
13730}
c32bde28 13731static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13732 PyObject *resultobj;
13733 wxWindow *arg1 = (wxWindow *) 0 ;
13734 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13735 wxString *arg2 = (wxString *) &arg2_defvalue ;
13736 wxString const &arg3_defvalue = wxPyEmptyString ;
13737 wxString *arg3 = (wxString *) &arg3_defvalue ;
13738 long arg4 = (long) 0 ;
13739 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13740 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13741 wxSize const &arg6_defvalue = wxDefaultSize ;
13742 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13743 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13744 wxString *arg7 = (wxString *) &arg7_defvalue ;
13745 wxDirDialog *result;
ae8162c8
RD
13746 bool temp2 = false ;
13747 bool temp3 = false ;
d55e5bfc
RD
13748 wxPoint temp5 ;
13749 wxSize temp6 ;
ae8162c8 13750 bool temp7 = false ;
d55e5bfc
RD
13751 PyObject * obj0 = 0 ;
13752 PyObject * obj1 = 0 ;
13753 PyObject * obj2 = 0 ;
13754 PyObject * obj3 = 0 ;
13755 PyObject * obj4 = 0 ;
13756 PyObject * obj5 = 0 ;
13757 PyObject * obj6 = 0 ;
13758 char *kwnames[] = {
13759 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13760 };
13761
13762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13764 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13765 if (obj1) {
13766 {
13767 arg2 = wxString_in_helper(obj1);
13768 if (arg2 == NULL) SWIG_fail;
ae8162c8 13769 temp2 = true;
d55e5bfc
RD
13770 }
13771 }
13772 if (obj2) {
13773 {
13774 arg3 = wxString_in_helper(obj2);
13775 if (arg3 == NULL) SWIG_fail;
ae8162c8 13776 temp3 = true;
d55e5bfc
RD
13777 }
13778 }
13779 if (obj3) {
093d3ff1
RD
13780 {
13781 arg4 = (long)(SWIG_As_long(obj3));
13782 if (SWIG_arg_fail(4)) SWIG_fail;
13783 }
d55e5bfc
RD
13784 }
13785 if (obj4) {
13786 {
13787 arg5 = &temp5;
13788 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13789 }
13790 }
13791 if (obj5) {
13792 {
13793 arg6 = &temp6;
13794 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13795 }
13796 }
13797 if (obj6) {
13798 {
13799 arg7 = wxString_in_helper(obj6);
13800 if (arg7 == NULL) SWIG_fail;
ae8162c8 13801 temp7 = true;
d55e5bfc
RD
13802 }
13803 }
13804 {
0439c23b 13805 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13806 PyThreadState* __tstate = wxPyBeginAllowThreads();
13807 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13808
13809 wxPyEndAllowThreads(__tstate);
110da5b0 13810 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13811 }
13812 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13813 {
13814 if (temp2)
13815 delete arg2;
13816 }
13817 {
13818 if (temp3)
13819 delete arg3;
13820 }
13821 {
13822 if (temp7)
13823 delete arg7;
13824 }
13825 return resultobj;
13826 fail:
13827 {
13828 if (temp2)
13829 delete arg2;
13830 }
13831 {
13832 if (temp3)
13833 delete arg3;
13834 }
13835 {
13836 if (temp7)
13837 delete arg7;
13838 }
13839 return NULL;
13840}
13841
13842
c32bde28 13843static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13844 PyObject *resultobj;
13845 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13846 wxString result;
13847 PyObject * obj0 = 0 ;
13848 char *kwnames[] = {
13849 (char *) "self", NULL
13850 };
13851
13852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
13853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13854 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13855 {
13856 PyThreadState* __tstate = wxPyBeginAllowThreads();
13857 result = (arg1)->GetPath();
13858
13859 wxPyEndAllowThreads(__tstate);
13860 if (PyErr_Occurred()) SWIG_fail;
13861 }
13862 {
13863#if wxUSE_UNICODE
13864 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13865#else
13866 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13867#endif
13868 }
13869 return resultobj;
13870 fail:
13871 return NULL;
13872}
13873
13874
c32bde28 13875static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13876 PyObject *resultobj;
13877 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13878 wxString result;
13879 PyObject * obj0 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
13885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13886 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13887 {
13888 PyThreadState* __tstate = wxPyBeginAllowThreads();
13889 result = (arg1)->GetMessage();
13890
13891 wxPyEndAllowThreads(__tstate);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 }
13894 {
13895#if wxUSE_UNICODE
13896 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13897#else
13898 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13899#endif
13900 }
13901 return resultobj;
13902 fail:
13903 return NULL;
13904}
13905
13906
c32bde28 13907static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13908 PyObject *resultobj;
13909 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13910 long result;
13911 PyObject * obj0 = 0 ;
13912 char *kwnames[] = {
13913 (char *) "self", NULL
13914 };
13915
13916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
13917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13918 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13919 {
13920 PyThreadState* __tstate = wxPyBeginAllowThreads();
13921 result = (long)(arg1)->GetStyle();
13922
13923 wxPyEndAllowThreads(__tstate);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 }
093d3ff1
RD
13926 {
13927 resultobj = SWIG_From_long((long)(result));
13928 }
d55e5bfc
RD
13929 return resultobj;
13930 fail:
13931 return NULL;
13932}
13933
13934
c32bde28 13935static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13936 PyObject *resultobj;
13937 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13938 wxString *arg2 = 0 ;
ae8162c8 13939 bool temp2 = false ;
d55e5bfc
RD
13940 PyObject * obj0 = 0 ;
13941 PyObject * obj1 = 0 ;
13942 char *kwnames[] = {
13943 (char *) "self",(char *) "message", NULL
13944 };
13945
13946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13948 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13949 {
13950 arg2 = wxString_in_helper(obj1);
13951 if (arg2 == NULL) SWIG_fail;
ae8162c8 13952 temp2 = true;
d55e5bfc
RD
13953 }
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 (arg1)->SetMessage((wxString const &)*arg2);
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
13961 Py_INCREF(Py_None); resultobj = Py_None;
13962 {
13963 if (temp2)
13964 delete arg2;
13965 }
13966 return resultobj;
13967 fail:
13968 {
13969 if (temp2)
13970 delete arg2;
13971 }
13972 return NULL;
13973}
13974
13975
c32bde28 13976static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13977 PyObject *resultobj;
13978 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13979 wxString *arg2 = 0 ;
ae8162c8 13980 bool temp2 = false ;
d55e5bfc
RD
13981 PyObject * obj0 = 0 ;
13982 PyObject * obj1 = 0 ;
13983 char *kwnames[] = {
13984 (char *) "self",(char *) "path", NULL
13985 };
13986
13987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13989 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13990 {
13991 arg2 = wxString_in_helper(obj1);
13992 if (arg2 == NULL) SWIG_fail;
ae8162c8 13993 temp2 = true;
d55e5bfc
RD
13994 }
13995 {
13996 PyThreadState* __tstate = wxPyBeginAllowThreads();
13997 (arg1)->SetPath((wxString const &)*arg2);
13998
13999 wxPyEndAllowThreads(__tstate);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 }
14002 Py_INCREF(Py_None); resultobj = Py_None;
14003 {
14004 if (temp2)
14005 delete arg2;
14006 }
14007 return resultobj;
14008 fail:
14009 {
14010 if (temp2)
14011 delete arg2;
14012 }
14013 return NULL;
14014}
14015
14016
c32bde28 14017static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14018 PyObject *obj;
14019 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14020 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
14021 Py_INCREF(obj);
14022 return Py_BuildValue((char *)"");
14023}
c32bde28 14024static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14025 PyObject *resultobj;
14026 wxWindow *arg1 = (wxWindow *) 0 ;
14027 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
14028 wxString *arg2 = (wxString *) &arg2_defvalue ;
14029 wxString const &arg3_defvalue = wxPyEmptyString ;
14030 wxString *arg3 = (wxString *) &arg3_defvalue ;
14031 wxString const &arg4_defvalue = wxPyEmptyString ;
14032 wxString *arg4 = (wxString *) &arg4_defvalue ;
14033 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
14034 wxString *arg5 = (wxString *) &arg5_defvalue ;
14035 long arg6 = (long) 0 ;
14036 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14037 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14038 wxFileDialog *result;
ae8162c8
RD
14039 bool temp2 = false ;
14040 bool temp3 = false ;
14041 bool temp4 = false ;
14042 bool temp5 = false ;
d55e5bfc
RD
14043 wxPoint temp7 ;
14044 PyObject * obj0 = 0 ;
14045 PyObject * obj1 = 0 ;
14046 PyObject * obj2 = 0 ;
14047 PyObject * obj3 = 0 ;
14048 PyObject * obj4 = 0 ;
14049 PyObject * obj5 = 0 ;
14050 PyObject * obj6 = 0 ;
14051 char *kwnames[] = {
14052 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14053 };
14054
14055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
14056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14057 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14058 if (obj1) {
14059 {
14060 arg2 = wxString_in_helper(obj1);
14061 if (arg2 == NULL) SWIG_fail;
ae8162c8 14062 temp2 = true;
d55e5bfc
RD
14063 }
14064 }
14065 if (obj2) {
14066 {
14067 arg3 = wxString_in_helper(obj2);
14068 if (arg3 == NULL) SWIG_fail;
ae8162c8 14069 temp3 = true;
d55e5bfc
RD
14070 }
14071 }
14072 if (obj3) {
14073 {
14074 arg4 = wxString_in_helper(obj3);
14075 if (arg4 == NULL) SWIG_fail;
ae8162c8 14076 temp4 = true;
d55e5bfc
RD
14077 }
14078 }
14079 if (obj4) {
14080 {
14081 arg5 = wxString_in_helper(obj4);
14082 if (arg5 == NULL) SWIG_fail;
ae8162c8 14083 temp5 = true;
d55e5bfc
RD
14084 }
14085 }
14086 if (obj5) {
093d3ff1
RD
14087 {
14088 arg6 = (long)(SWIG_As_long(obj5));
14089 if (SWIG_arg_fail(6)) SWIG_fail;
14090 }
d55e5bfc
RD
14091 }
14092 if (obj6) {
14093 {
14094 arg7 = &temp7;
14095 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14096 }
14097 }
14098 {
0439c23b 14099 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14100 PyThreadState* __tstate = wxPyBeginAllowThreads();
14101 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14102
14103 wxPyEndAllowThreads(__tstate);
110da5b0 14104 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14105 }
14106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14107 {
14108 if (temp2)
14109 delete arg2;
14110 }
14111 {
14112 if (temp3)
14113 delete arg3;
14114 }
14115 {
14116 if (temp4)
14117 delete arg4;
14118 }
14119 {
14120 if (temp5)
14121 delete arg5;
14122 }
14123 return resultobj;
14124 fail:
14125 {
14126 if (temp2)
14127 delete arg2;
14128 }
14129 {
14130 if (temp3)
14131 delete arg3;
14132 }
14133 {
14134 if (temp4)
14135 delete arg4;
14136 }
14137 {
14138 if (temp5)
14139 delete arg5;
14140 }
14141 return NULL;
14142}
14143
14144
c32bde28 14145static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14146 PyObject *resultobj;
14147 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14148 wxString *arg2 = 0 ;
ae8162c8 14149 bool temp2 = false ;
d55e5bfc
RD
14150 PyObject * obj0 = 0 ;
14151 PyObject * obj1 = 0 ;
14152 char *kwnames[] = {
14153 (char *) "self",(char *) "message", NULL
14154 };
14155
14156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14158 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14159 {
14160 arg2 = wxString_in_helper(obj1);
14161 if (arg2 == NULL) SWIG_fail;
ae8162c8 14162 temp2 = true;
d55e5bfc
RD
14163 }
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 (arg1)->SetMessage((wxString const &)*arg2);
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 Py_INCREF(Py_None); resultobj = Py_None;
14172 {
14173 if (temp2)
14174 delete arg2;
14175 }
14176 return resultobj;
14177 fail:
14178 {
14179 if (temp2)
14180 delete arg2;
14181 }
14182 return NULL;
14183}
14184
14185
c32bde28 14186static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14187 PyObject *resultobj;
14188 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14189 wxString *arg2 = 0 ;
ae8162c8 14190 bool temp2 = false ;
d55e5bfc
RD
14191 PyObject * obj0 = 0 ;
14192 PyObject * obj1 = 0 ;
14193 char *kwnames[] = {
14194 (char *) "self",(char *) "path", NULL
14195 };
14196
14197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14200 {
14201 arg2 = wxString_in_helper(obj1);
14202 if (arg2 == NULL) SWIG_fail;
ae8162c8 14203 temp2 = true;
d55e5bfc
RD
14204 }
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 (arg1)->SetPath((wxString const &)*arg2);
14208
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
14212 Py_INCREF(Py_None); resultobj = Py_None;
14213 {
14214 if (temp2)
14215 delete arg2;
14216 }
14217 return resultobj;
14218 fail:
14219 {
14220 if (temp2)
14221 delete arg2;
14222 }
14223 return NULL;
14224}
14225
14226
c32bde28 14227static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14228 PyObject *resultobj;
14229 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14230 wxString *arg2 = 0 ;
ae8162c8 14231 bool temp2 = false ;
d55e5bfc
RD
14232 PyObject * obj0 = 0 ;
14233 PyObject * obj1 = 0 ;
14234 char *kwnames[] = {
14235 (char *) "self",(char *) "dir", NULL
14236 };
14237
14238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14240 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14241 {
14242 arg2 = wxString_in_helper(obj1);
14243 if (arg2 == NULL) SWIG_fail;
ae8162c8 14244 temp2 = true;
d55e5bfc
RD
14245 }
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 (arg1)->SetDirectory((wxString const &)*arg2);
14249
14250 wxPyEndAllowThreads(__tstate);
14251 if (PyErr_Occurred()) SWIG_fail;
14252 }
14253 Py_INCREF(Py_None); resultobj = Py_None;
14254 {
14255 if (temp2)
14256 delete arg2;
14257 }
14258 return resultobj;
14259 fail:
14260 {
14261 if (temp2)
14262 delete arg2;
14263 }
14264 return NULL;
14265}
14266
14267
c32bde28 14268static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14269 PyObject *resultobj;
14270 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14271 wxString *arg2 = 0 ;
ae8162c8 14272 bool temp2 = false ;
d55e5bfc
RD
14273 PyObject * obj0 = 0 ;
14274 PyObject * obj1 = 0 ;
14275 char *kwnames[] = {
14276 (char *) "self",(char *) "name", NULL
14277 };
14278
14279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14281 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14282 {
14283 arg2 = wxString_in_helper(obj1);
14284 if (arg2 == NULL) SWIG_fail;
ae8162c8 14285 temp2 = true;
d55e5bfc
RD
14286 }
14287 {
14288 PyThreadState* __tstate = wxPyBeginAllowThreads();
14289 (arg1)->SetFilename((wxString const &)*arg2);
14290
14291 wxPyEndAllowThreads(__tstate);
14292 if (PyErr_Occurred()) SWIG_fail;
14293 }
14294 Py_INCREF(Py_None); resultobj = Py_None;
14295 {
14296 if (temp2)
14297 delete arg2;
14298 }
14299 return resultobj;
14300 fail:
14301 {
14302 if (temp2)
14303 delete arg2;
14304 }
14305 return NULL;
14306}
14307
14308
c32bde28 14309static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14310 PyObject *resultobj;
14311 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14312 wxString *arg2 = 0 ;
ae8162c8 14313 bool temp2 = false ;
d55e5bfc
RD
14314 PyObject * obj0 = 0 ;
14315 PyObject * obj1 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "self",(char *) "wildCard", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14322 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14323 {
14324 arg2 = wxString_in_helper(obj1);
14325 if (arg2 == NULL) SWIG_fail;
ae8162c8 14326 temp2 = true;
d55e5bfc
RD
14327 }
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 (arg1)->SetWildcard((wxString const &)*arg2);
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 Py_INCREF(Py_None); resultobj = Py_None;
14336 {
14337 if (temp2)
14338 delete arg2;
14339 }
14340 return resultobj;
14341 fail:
14342 {
14343 if (temp2)
14344 delete arg2;
14345 }
14346 return NULL;
14347}
14348
14349
c32bde28 14350static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14351 PyObject *resultobj;
14352 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14353 long arg2 ;
14354 PyObject * obj0 = 0 ;
14355 PyObject * obj1 = 0 ;
14356 char *kwnames[] = {
14357 (char *) "self",(char *) "style", NULL
14358 };
14359
14360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14362 if (SWIG_arg_fail(1)) SWIG_fail;
14363 {
14364 arg2 = (long)(SWIG_As_long(obj1));
14365 if (SWIG_arg_fail(2)) SWIG_fail;
14366 }
d55e5bfc
RD
14367 {
14368 PyThreadState* __tstate = wxPyBeginAllowThreads();
14369 (arg1)->SetStyle(arg2);
14370
14371 wxPyEndAllowThreads(__tstate);
14372 if (PyErr_Occurred()) SWIG_fail;
14373 }
14374 Py_INCREF(Py_None); resultobj = Py_None;
14375 return resultobj;
14376 fail:
14377 return NULL;
14378}
14379
14380
c32bde28 14381static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14382 PyObject *resultobj;
14383 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14384 int arg2 ;
14385 PyObject * obj0 = 0 ;
14386 PyObject * obj1 = 0 ;
14387 char *kwnames[] = {
14388 (char *) "self",(char *) "filterIndex", NULL
14389 };
14390
14391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14393 if (SWIG_arg_fail(1)) SWIG_fail;
14394 {
14395 arg2 = (int)(SWIG_As_int(obj1));
14396 if (SWIG_arg_fail(2)) SWIG_fail;
14397 }
d55e5bfc
RD
14398 {
14399 PyThreadState* __tstate = wxPyBeginAllowThreads();
14400 (arg1)->SetFilterIndex(arg2);
14401
14402 wxPyEndAllowThreads(__tstate);
14403 if (PyErr_Occurred()) SWIG_fail;
14404 }
14405 Py_INCREF(Py_None); resultobj = Py_None;
14406 return resultobj;
14407 fail:
14408 return NULL;
14409}
14410
14411
c32bde28 14412static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14413 PyObject *resultobj;
14414 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14415 wxString result;
14416 PyObject * obj0 = 0 ;
14417 char *kwnames[] = {
14418 (char *) "self", NULL
14419 };
14420
14421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
14422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14424 {
14425 PyThreadState* __tstate = wxPyBeginAllowThreads();
14426 result = ((wxFileDialog const *)arg1)->GetMessage();
14427
14428 wxPyEndAllowThreads(__tstate);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 }
14431 {
14432#if wxUSE_UNICODE
14433 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14434#else
14435 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14436#endif
14437 }
14438 return resultobj;
14439 fail:
14440 return NULL;
14441}
14442
14443
c32bde28 14444static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14445 PyObject *resultobj;
14446 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14447 wxString result;
14448 PyObject * obj0 = 0 ;
14449 char *kwnames[] = {
14450 (char *) "self", NULL
14451 };
14452
14453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
14454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14455 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14456 {
14457 PyThreadState* __tstate = wxPyBeginAllowThreads();
14458 result = ((wxFileDialog const *)arg1)->GetPath();
14459
14460 wxPyEndAllowThreads(__tstate);
14461 if (PyErr_Occurred()) SWIG_fail;
14462 }
14463 {
14464#if wxUSE_UNICODE
14465 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14466#else
14467 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14468#endif
14469 }
14470 return resultobj;
14471 fail:
14472 return NULL;
14473}
14474
14475
c32bde28 14476static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14477 PyObject *resultobj;
14478 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14479 wxString result;
14480 PyObject * obj0 = 0 ;
14481 char *kwnames[] = {
14482 (char *) "self", NULL
14483 };
14484
14485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
093d3ff1
RD
14486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14487 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14488 {
14489 PyThreadState* __tstate = wxPyBeginAllowThreads();
14490 result = ((wxFileDialog const *)arg1)->GetDirectory();
14491
14492 wxPyEndAllowThreads(__tstate);
14493 if (PyErr_Occurred()) SWIG_fail;
14494 }
14495 {
14496#if wxUSE_UNICODE
14497 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14498#else
14499 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14500#endif
14501 }
14502 return resultobj;
14503 fail:
14504 return NULL;
14505}
14506
14507
c32bde28 14508static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14509 PyObject *resultobj;
14510 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14511 wxString result;
14512 PyObject * obj0 = 0 ;
14513 char *kwnames[] = {
14514 (char *) "self", NULL
14515 };
14516
14517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
14518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14520 {
14521 PyThreadState* __tstate = wxPyBeginAllowThreads();
14522 result = ((wxFileDialog const *)arg1)->GetFilename();
14523
14524 wxPyEndAllowThreads(__tstate);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 }
14527 {
14528#if wxUSE_UNICODE
14529 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14530#else
14531 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14532#endif
14533 }
14534 return resultobj;
14535 fail:
14536 return NULL;
14537}
14538
14539
c32bde28 14540static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14541 PyObject *resultobj;
14542 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14543 wxString result;
14544 PyObject * obj0 = 0 ;
14545 char *kwnames[] = {
14546 (char *) "self", NULL
14547 };
14548
14549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
093d3ff1
RD
14550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14551 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 result = ((wxFileDialog const *)arg1)->GetWildcard();
14555
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 {
14560#if wxUSE_UNICODE
14561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14562#else
14563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14564#endif
14565 }
14566 return resultobj;
14567 fail:
14568 return NULL;
14569}
14570
14571
c32bde28 14572static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14573 PyObject *resultobj;
14574 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14575 long result;
14576 PyObject * obj0 = 0 ;
14577 char *kwnames[] = {
14578 (char *) "self", NULL
14579 };
14580
14581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
14582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14583 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14584 {
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14587
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
093d3ff1
RD
14591 {
14592 resultobj = SWIG_From_long((long)(result));
14593 }
d55e5bfc
RD
14594 return resultobj;
14595 fail:
14596 return NULL;
14597}
14598
14599
c32bde28 14600static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14601 PyObject *resultobj;
14602 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14603 int result;
14604 PyObject * obj0 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
14610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14611 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14612 {
14613 PyThreadState* __tstate = wxPyBeginAllowThreads();
14614 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14615
14616 wxPyEndAllowThreads(__tstate);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 }
093d3ff1
RD
14619 {
14620 resultobj = SWIG_From_int((int)(result));
14621 }
d55e5bfc
RD
14622 return resultobj;
14623 fail:
14624 return NULL;
14625}
14626
14627
c32bde28 14628static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14629 PyObject *resultobj;
14630 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14631 PyObject *result;
14632 PyObject * obj0 = 0 ;
14633 char *kwnames[] = {
14634 (char *) "self", NULL
14635 };
14636
14637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
14638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14639 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14640 {
14641 PyThreadState* __tstate = wxPyBeginAllowThreads();
14642 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14643
14644 wxPyEndAllowThreads(__tstate);
14645 if (PyErr_Occurred()) SWIG_fail;
14646 }
14647 resultobj = result;
14648 return resultobj;
14649 fail:
14650 return NULL;
14651}
14652
14653
c32bde28 14654static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14655 PyObject *resultobj;
14656 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14657 PyObject *result;
14658 PyObject * obj0 = 0 ;
14659 char *kwnames[] = {
14660 (char *) "self", NULL
14661 };
14662
14663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
093d3ff1
RD
14664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14665 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14666 {
14667 PyThreadState* __tstate = wxPyBeginAllowThreads();
14668 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14669
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 resultobj = result;
14674 return resultobj;
14675 fail:
14676 return NULL;
14677}
14678
14679
c32bde28 14680static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14681 PyObject *obj;
14682 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14683 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14684 Py_INCREF(obj);
14685 return Py_BuildValue((char *)"");
14686}
c32bde28 14687static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14688 PyObject *resultobj;
14689 wxWindow *arg1 = (wxWindow *) 0 ;
14690 wxString *arg2 = 0 ;
14691 wxString *arg3 = 0 ;
14692 int arg4 = (int) 0 ;
248ed943 14693 wxString *arg5 = (wxString *) NULL ;
d55e5bfc
RD
14694 long arg6 = (long) wxCHOICEDLG_STYLE ;
14695 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14696 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14697 wxMultiChoiceDialog *result;
ae8162c8
RD
14698 bool temp2 = false ;
14699 bool temp3 = false ;
093d3ff1 14700 wxPoint temp7 ;
d55e5bfc
RD
14701 PyObject * obj0 = 0 ;
14702 PyObject * obj1 = 0 ;
14703 PyObject * obj2 = 0 ;
14704 PyObject * obj3 = 0 ;
14705 PyObject * obj4 = 0 ;
14706 PyObject * obj5 = 0 ;
14707 char *kwnames[] = {
14708 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14709 };
14710
14711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14713 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14714 {
14715 arg2 = wxString_in_helper(obj1);
14716 if (arg2 == NULL) SWIG_fail;
ae8162c8 14717 temp2 = true;
d55e5bfc
RD
14718 }
14719 {
14720 arg3 = wxString_in_helper(obj2);
14721 if (arg3 == NULL) SWIG_fail;
ae8162c8 14722 temp3 = true;
d55e5bfc
RD
14723 }
14724 if (obj3) {
14725 {
14726 arg4 = PyList_Size(obj3);
14727 arg5 = wxString_LIST_helper(obj3);
14728 if (arg5 == NULL) SWIG_fail;
14729 }
14730 }
14731 if (obj4) {
093d3ff1
RD
14732 {
14733 arg6 = (long)(SWIG_As_long(obj4));
14734 if (SWIG_arg_fail(6)) SWIG_fail;
14735 }
d55e5bfc
RD
14736 }
14737 if (obj5) {
14738 {
093d3ff1 14739 arg7 = &temp7;
d55e5bfc
RD
14740 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14741 }
14742 }
14743 {
0439c23b 14744 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14745 PyThreadState* __tstate = wxPyBeginAllowThreads();
14746 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14747
14748 wxPyEndAllowThreads(__tstate);
110da5b0 14749 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14750 }
14751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14752 {
14753 if (temp2)
14754 delete arg2;
14755 }
14756 {
14757 if (temp3)
14758 delete arg3;
14759 }
14760 {
14761 if (arg5) delete [] arg5;
14762 }
14763 return resultobj;
14764 fail:
14765 {
14766 if (temp2)
14767 delete arg2;
14768 }
14769 {
14770 if (temp3)
14771 delete arg3;
14772 }
14773 {
14774 if (arg5) delete [] arg5;
14775 }
14776 return NULL;
14777}
14778
14779
c32bde28 14780static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14781 PyObject *resultobj;
14782 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14783 wxArrayInt *arg2 = 0 ;
ae8162c8 14784 bool temp2 = false ;
d55e5bfc
RD
14785 PyObject * obj0 = 0 ;
14786 PyObject * obj1 = 0 ;
14787 char *kwnames[] = {
14788 (char *) "self",(char *) "selections", NULL
14789 };
14790
14791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14793 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14794 {
14795 if (! PySequence_Check(obj1)) {
14796 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14797 SWIG_fail;
14798 }
14799 arg2 = new wxArrayInt;
ae8162c8 14800 temp2 = true;
d55e5bfc
RD
14801 int i, len=PySequence_Length(obj1);
14802 for (i=0; i<len; i++) {
14803 PyObject* item = PySequence_GetItem(obj1, i);
14804 PyObject* number = PyNumber_Int(item);
14805 arg2->Add(PyInt_AS_LONG(number));
14806 Py_DECREF(item);
14807 Py_DECREF(number);
14808 }
14809 }
14810 {
14811 PyThreadState* __tstate = wxPyBeginAllowThreads();
14812 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14813
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 Py_INCREF(Py_None); resultobj = Py_None;
14818 {
14819 if (temp2) delete arg2;
14820 }
14821 return resultobj;
14822 fail:
14823 {
14824 if (temp2) delete arg2;
14825 }
14826 return NULL;
14827}
14828
14829
c32bde28 14830static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14831 PyObject *resultobj;
14832 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14833 PyObject *result;
14834 PyObject * obj0 = 0 ;
14835 char *kwnames[] = {
14836 (char *) "self", NULL
14837 };
14838
14839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
14840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14842 {
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
14844 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14845
14846 wxPyEndAllowThreads(__tstate);
14847 if (PyErr_Occurred()) SWIG_fail;
14848 }
14849 resultobj = result;
14850 return resultobj;
14851 fail:
14852 return NULL;
14853}
14854
14855
c32bde28 14856static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14857 PyObject *obj;
14858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14859 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14860 Py_INCREF(obj);
14861 return Py_BuildValue((char *)"");
14862}
c32bde28 14863static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14864 PyObject *resultobj;
14865 wxWindow *arg1 = (wxWindow *) 0 ;
14866 wxString *arg2 = 0 ;
14867 wxString *arg3 = 0 ;
14868 int arg4 ;
14869 wxString *arg5 = (wxString *) 0 ;
14870 long arg6 = (long) wxCHOICEDLG_STYLE ;
14871 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14872 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14873 wxSingleChoiceDialog *result;
ae8162c8
RD
14874 bool temp2 = false ;
14875 bool temp3 = false ;
093d3ff1 14876 wxPoint temp7 ;
d55e5bfc
RD
14877 PyObject * obj0 = 0 ;
14878 PyObject * obj1 = 0 ;
14879 PyObject * obj2 = 0 ;
14880 PyObject * obj3 = 0 ;
14881 PyObject * obj4 = 0 ;
14882 PyObject * obj5 = 0 ;
14883 char *kwnames[] = {
14884 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14885 };
14886
14887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14889 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14890 {
14891 arg2 = wxString_in_helper(obj1);
14892 if (arg2 == NULL) SWIG_fail;
ae8162c8 14893 temp2 = true;
d55e5bfc
RD
14894 }
14895 {
14896 arg3 = wxString_in_helper(obj2);
14897 if (arg3 == NULL) SWIG_fail;
ae8162c8 14898 temp3 = true;
d55e5bfc
RD
14899 }
14900 {
14901 arg4 = PyList_Size(obj3);
14902 arg5 = wxString_LIST_helper(obj3);
14903 if (arg5 == NULL) SWIG_fail;
14904 }
14905 if (obj4) {
093d3ff1
RD
14906 {
14907 arg6 = (long)(SWIG_As_long(obj4));
14908 if (SWIG_arg_fail(6)) SWIG_fail;
14909 }
d55e5bfc
RD
14910 }
14911 if (obj5) {
14912 {
093d3ff1 14913 arg7 = &temp7;
d55e5bfc
RD
14914 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14915 }
14916 }
14917 {
0439c23b 14918 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14919 PyThreadState* __tstate = wxPyBeginAllowThreads();
14920 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14921
14922 wxPyEndAllowThreads(__tstate);
110da5b0 14923 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14924 }
14925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14926 {
14927 if (temp2)
14928 delete arg2;
14929 }
14930 {
14931 if (temp3)
14932 delete arg3;
14933 }
14934 {
14935 if (arg5) delete [] arg5;
14936 }
14937 return resultobj;
14938 fail:
14939 {
14940 if (temp2)
14941 delete arg2;
14942 }
14943 {
14944 if (temp3)
14945 delete arg3;
14946 }
14947 {
14948 if (arg5) delete [] arg5;
14949 }
14950 return NULL;
14951}
14952
14953
c32bde28 14954static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14955 PyObject *resultobj;
14956 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14957 int result;
14958 PyObject * obj0 = 0 ;
14959 char *kwnames[] = {
14960 (char *) "self", NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14965 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14966 {
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 result = (int)(arg1)->GetSelection();
14969
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
093d3ff1
RD
14973 {
14974 resultobj = SWIG_From_int((int)(result));
14975 }
d55e5bfc
RD
14976 return resultobj;
14977 fail:
14978 return NULL;
14979}
14980
14981
c32bde28 14982static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14983 PyObject *resultobj;
14984 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14985 wxString result;
14986 PyObject * obj0 = 0 ;
14987 char *kwnames[] = {
14988 (char *) "self", NULL
14989 };
14990
14991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14993 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14994 {
14995 PyThreadState* __tstate = wxPyBeginAllowThreads();
14996 result = (arg1)->GetStringSelection();
14997
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
15001 {
15002#if wxUSE_UNICODE
15003 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15004#else
15005 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15006#endif
15007 }
15008 return resultobj;
15009 fail:
15010 return NULL;
15011}
15012
15013
c32bde28 15014static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15015 PyObject *resultobj;
15016 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
15017 int arg2 ;
15018 PyObject * obj0 = 0 ;
15019 PyObject * obj1 = 0 ;
15020 char *kwnames[] = {
15021 (char *) "self",(char *) "sel", NULL
15022 };
15023
15024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
15026 if (SWIG_arg_fail(1)) SWIG_fail;
15027 {
15028 arg2 = (int)(SWIG_As_int(obj1));
15029 if (SWIG_arg_fail(2)) SWIG_fail;
15030 }
d55e5bfc
RD
15031 {
15032 PyThreadState* __tstate = wxPyBeginAllowThreads();
15033 (arg1)->SetSelection(arg2);
15034
15035 wxPyEndAllowThreads(__tstate);
15036 if (PyErr_Occurred()) SWIG_fail;
15037 }
15038 Py_INCREF(Py_None); resultobj = Py_None;
15039 return resultobj;
15040 fail:
15041 return NULL;
15042}
15043
15044
c32bde28 15045static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15046 PyObject *obj;
15047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15048 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
15049 Py_INCREF(obj);
15050 return Py_BuildValue((char *)"");
15051}
c32bde28 15052static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15053 PyObject *resultobj;
15054 wxWindow *arg1 = (wxWindow *) 0 ;
15055 wxString *arg2 = 0 ;
15056 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
15057 wxString *arg3 = (wxString *) &arg3_defvalue ;
15058 wxString const &arg4_defvalue = wxPyEmptyString ;
15059 wxString *arg4 = (wxString *) &arg4_defvalue ;
c1cb24a4 15060 long arg5 = (long) wxTextEntryDialogStyle ;
d55e5bfc
RD
15061 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15062 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15063 wxTextEntryDialog *result;
ae8162c8
RD
15064 bool temp2 = false ;
15065 bool temp3 = false ;
15066 bool temp4 = false ;
d55e5bfc
RD
15067 wxPoint temp6 ;
15068 PyObject * obj0 = 0 ;
15069 PyObject * obj1 = 0 ;
15070 PyObject * obj2 = 0 ;
15071 PyObject * obj3 = 0 ;
15072 PyObject * obj4 = 0 ;
15073 PyObject * obj5 = 0 ;
15074 char *kwnames[] = {
15075 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15076 };
15077
15078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15080 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15081 {
15082 arg2 = wxString_in_helper(obj1);
15083 if (arg2 == NULL) SWIG_fail;
ae8162c8 15084 temp2 = true;
d55e5bfc
RD
15085 }
15086 if (obj2) {
15087 {
15088 arg3 = wxString_in_helper(obj2);
15089 if (arg3 == NULL) SWIG_fail;
ae8162c8 15090 temp3 = true;
d55e5bfc
RD
15091 }
15092 }
15093 if (obj3) {
15094 {
15095 arg4 = wxString_in_helper(obj3);
15096 if (arg4 == NULL) SWIG_fail;
ae8162c8 15097 temp4 = true;
d55e5bfc
RD
15098 }
15099 }
15100 if (obj4) {
093d3ff1
RD
15101 {
15102 arg5 = (long)(SWIG_As_long(obj4));
15103 if (SWIG_arg_fail(5)) SWIG_fail;
15104 }
d55e5bfc
RD
15105 }
15106 if (obj5) {
15107 {
15108 arg6 = &temp6;
15109 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15110 }
15111 }
15112 {
0439c23b 15113 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15114 PyThreadState* __tstate = wxPyBeginAllowThreads();
15115 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15116
15117 wxPyEndAllowThreads(__tstate);
110da5b0 15118 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15119 }
15120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15121 {
15122 if (temp2)
15123 delete arg2;
15124 }
15125 {
15126 if (temp3)
15127 delete arg3;
15128 }
15129 {
15130 if (temp4)
15131 delete arg4;
15132 }
15133 return resultobj;
15134 fail:
15135 {
15136 if (temp2)
15137 delete arg2;
15138 }
15139 {
15140 if (temp3)
15141 delete arg3;
15142 }
15143 {
15144 if (temp4)
15145 delete arg4;
15146 }
15147 return NULL;
15148}
15149
15150
c32bde28 15151static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15152 PyObject *resultobj;
15153 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15154 wxString result;
15155 PyObject * obj0 = 0 ;
15156 char *kwnames[] = {
15157 (char *) "self", NULL
15158 };
15159
15160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15163 {
15164 PyThreadState* __tstate = wxPyBeginAllowThreads();
15165 result = (arg1)->GetValue();
15166
15167 wxPyEndAllowThreads(__tstate);
15168 if (PyErr_Occurred()) SWIG_fail;
15169 }
15170 {
15171#if wxUSE_UNICODE
15172 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15173#else
15174 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15175#endif
15176 }
15177 return resultobj;
15178 fail:
15179 return NULL;
15180}
15181
15182
c32bde28 15183static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15184 PyObject *resultobj;
15185 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15186 wxString *arg2 = 0 ;
ae8162c8 15187 bool temp2 = false ;
d55e5bfc
RD
15188 PyObject * obj0 = 0 ;
15189 PyObject * obj1 = 0 ;
15190 char *kwnames[] = {
15191 (char *) "self",(char *) "value", NULL
15192 };
15193
15194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15196 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15197 {
15198 arg2 = wxString_in_helper(obj1);
15199 if (arg2 == NULL) SWIG_fail;
ae8162c8 15200 temp2 = true;
d55e5bfc
RD
15201 }
15202 {
15203 PyThreadState* __tstate = wxPyBeginAllowThreads();
15204 (arg1)->SetValue((wxString const &)*arg2);
15205
15206 wxPyEndAllowThreads(__tstate);
15207 if (PyErr_Occurred()) SWIG_fail;
15208 }
15209 Py_INCREF(Py_None); resultobj = Py_None;
15210 {
15211 if (temp2)
15212 delete arg2;
15213 }
15214 return resultobj;
15215 fail:
15216 {
15217 if (temp2)
15218 delete arg2;
15219 }
15220 return NULL;
15221}
15222
15223
c32bde28 15224static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15225 PyObject *obj;
15226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15227 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15228 Py_INCREF(obj);
15229 return Py_BuildValue((char *)"");
15230}
c1cb24a4
RD
15231static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15232 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15233 return 1;
15234}
15235
15236
093d3ff1 15237static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
c1cb24a4
RD
15238 PyObject *pyobj;
15239
15240 {
15241#if wxUSE_UNICODE
15242 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15243#else
15244 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15245#endif
15246 }
15247 return pyobj;
15248}
15249
15250
15251static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15252 PyObject *resultobj;
15253 wxWindow *arg1 = (wxWindow *) 0 ;
15254 wxString *arg2 = 0 ;
15255 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15256 wxString *arg3 = (wxString *) &arg3_defvalue ;
15257 wxString const &arg4_defvalue = wxPyEmptyString ;
15258 wxString *arg4 = (wxString *) &arg4_defvalue ;
15259 long arg5 = (long) wxTextEntryDialogStyle ;
15260 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15261 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15262 wxPasswordEntryDialog *result;
15263 bool temp2 = false ;
15264 bool temp3 = false ;
15265 bool temp4 = false ;
15266 wxPoint temp6 ;
15267 PyObject * obj0 = 0 ;
15268 PyObject * obj1 = 0 ;
15269 PyObject * obj2 = 0 ;
15270 PyObject * obj3 = 0 ;
15271 PyObject * obj4 = 0 ;
15272 PyObject * obj5 = 0 ;
15273 char *kwnames[] = {
15274 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15275 };
15276
15277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15279 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
15280 {
15281 arg2 = wxString_in_helper(obj1);
15282 if (arg2 == NULL) SWIG_fail;
15283 temp2 = true;
15284 }
15285 if (obj2) {
15286 {
15287 arg3 = wxString_in_helper(obj2);
15288 if (arg3 == NULL) SWIG_fail;
15289 temp3 = true;
15290 }
15291 }
15292 if (obj3) {
15293 {
15294 arg4 = wxString_in_helper(obj3);
15295 if (arg4 == NULL) SWIG_fail;
15296 temp4 = true;
15297 }
15298 }
15299 if (obj4) {
093d3ff1
RD
15300 {
15301 arg5 = (long)(SWIG_As_long(obj4));
15302 if (SWIG_arg_fail(5)) SWIG_fail;
15303 }
c1cb24a4
RD
15304 }
15305 if (obj5) {
15306 {
15307 arg6 = &temp6;
15308 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15309 }
15310 }
15311 {
15312 PyThreadState* __tstate = wxPyBeginAllowThreads();
15313 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15314
15315 wxPyEndAllowThreads(__tstate);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
15318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15319 {
15320 if (temp2)
15321 delete arg2;
15322 }
15323 {
15324 if (temp3)
15325 delete arg3;
15326 }
15327 {
15328 if (temp4)
15329 delete arg4;
15330 }
15331 return resultobj;
15332 fail:
15333 {
15334 if (temp2)
15335 delete arg2;
15336 }
15337 {
15338 if (temp3)
15339 delete arg3;
15340 }
15341 {
15342 if (temp4)
15343 delete arg4;
15344 }
15345 return NULL;
15346}
15347
15348
15349static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15350 PyObject *obj;
15351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15352 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15353 Py_INCREF(obj);
15354 return Py_BuildValue((char *)"");
15355}
c32bde28 15356static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15357 PyObject *resultobj;
15358 wxFontData *result;
15359 char *kwnames[] = {
15360 NULL
15361 };
15362
15363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15364 {
15365 PyThreadState* __tstate = wxPyBeginAllowThreads();
15366 result = (wxFontData *)new wxFontData();
15367
15368 wxPyEndAllowThreads(__tstate);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15372 return resultobj;
15373 fail:
15374 return NULL;
15375}
15376
15377
c32bde28 15378static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15379 PyObject *resultobj;
15380 wxFontData *arg1 = (wxFontData *) 0 ;
15381 PyObject * obj0 = 0 ;
15382 char *kwnames[] = {
15383 (char *) "self", NULL
15384 };
15385
15386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15388 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15389 {
15390 PyThreadState* __tstate = wxPyBeginAllowThreads();
15391 delete arg1;
15392
15393 wxPyEndAllowThreads(__tstate);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 }
15396 Py_INCREF(Py_None); resultobj = Py_None;
15397 return resultobj;
15398 fail:
15399 return NULL;
15400}
15401
15402
c32bde28 15403static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15404 PyObject *resultobj;
15405 wxFontData *arg1 = (wxFontData *) 0 ;
15406 bool arg2 ;
15407 PyObject * obj0 = 0 ;
15408 PyObject * obj1 = 0 ;
15409 char *kwnames[] = {
15410 (char *) "self",(char *) "enable", NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15415 if (SWIG_arg_fail(1)) SWIG_fail;
15416 {
15417 arg2 = (bool)(SWIG_As_bool(obj1));
15418 if (SWIG_arg_fail(2)) SWIG_fail;
15419 }
d55e5bfc
RD
15420 {
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 (arg1)->EnableEffects(arg2);
15423
15424 wxPyEndAllowThreads(__tstate);
15425 if (PyErr_Occurred()) SWIG_fail;
15426 }
15427 Py_INCREF(Py_None); resultobj = Py_None;
15428 return resultobj;
15429 fail:
15430 return NULL;
15431}
15432
15433
c32bde28 15434static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15435 PyObject *resultobj;
15436 wxFontData *arg1 = (wxFontData *) 0 ;
15437 bool result;
15438 PyObject * obj0 = 0 ;
15439 char *kwnames[] = {
15440 (char *) "self", NULL
15441 };
15442
15443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
093d3ff1
RD
15444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15446 {
15447 PyThreadState* __tstate = wxPyBeginAllowThreads();
15448 result = (bool)(arg1)->GetAllowSymbols();
15449
15450 wxPyEndAllowThreads(__tstate);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
15453 {
15454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15455 }
15456 return resultobj;
15457 fail:
15458 return NULL;
15459}
15460
15461
c32bde28 15462static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15463 PyObject *resultobj;
15464 wxFontData *arg1 = (wxFontData *) 0 ;
15465 wxColour result;
15466 PyObject * obj0 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
15472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15474 {
15475 PyThreadState* __tstate = wxPyBeginAllowThreads();
15476 result = (arg1)->GetColour();
15477
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
15481 {
15482 wxColour * resultptr;
093d3ff1 15483 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
15484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15485 }
15486 return resultobj;
15487 fail:
15488 return NULL;
15489}
15490
15491
c32bde28 15492static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15493 PyObject *resultobj;
15494 wxFontData *arg1 = (wxFontData *) 0 ;
15495 wxFont result;
15496 PyObject * obj0 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "self", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15504 {
15505 PyThreadState* __tstate = wxPyBeginAllowThreads();
15506 result = (arg1)->GetChosenFont();
15507
15508 wxPyEndAllowThreads(__tstate);
15509 if (PyErr_Occurred()) SWIG_fail;
15510 }
15511 {
15512 wxFont * resultptr;
093d3ff1 15513 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
15514 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15515 }
15516 return resultobj;
15517 fail:
15518 return NULL;
15519}
15520
15521
c32bde28 15522static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15523 PyObject *resultobj;
15524 wxFontData *arg1 = (wxFontData *) 0 ;
15525 bool result;
15526 PyObject * obj0 = 0 ;
15527 char *kwnames[] = {
15528 (char *) "self", NULL
15529 };
15530
15531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
093d3ff1
RD
15532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15533 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15534 {
15535 PyThreadState* __tstate = wxPyBeginAllowThreads();
15536 result = (bool)(arg1)->GetEnableEffects();
15537
15538 wxPyEndAllowThreads(__tstate);
15539 if (PyErr_Occurred()) SWIG_fail;
15540 }
15541 {
15542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15543 }
15544 return resultobj;
15545 fail:
15546 return NULL;
15547}
15548
15549
c32bde28 15550static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15551 PyObject *resultobj;
15552 wxFontData *arg1 = (wxFontData *) 0 ;
15553 wxFont result;
15554 PyObject * obj0 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 result = (arg1)->GetInitialFont();
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 {
15570 wxFont * resultptr;
093d3ff1 15571 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
15572 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15573 }
15574 return resultobj;
15575 fail:
15576 return NULL;
15577}
15578
15579
c32bde28 15580static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15581 PyObject *resultobj;
15582 wxFontData *arg1 = (wxFontData *) 0 ;
15583 bool result;
15584 PyObject * obj0 = 0 ;
15585 char *kwnames[] = {
15586 (char *) "self", NULL
15587 };
15588
15589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
15590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15592 {
15593 PyThreadState* __tstate = wxPyBeginAllowThreads();
15594 result = (bool)(arg1)->GetShowHelp();
15595
15596 wxPyEndAllowThreads(__tstate);
15597 if (PyErr_Occurred()) SWIG_fail;
15598 }
15599 {
15600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15601 }
15602 return resultobj;
15603 fail:
15604 return NULL;
15605}
15606
15607
c32bde28 15608static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15609 PyObject *resultobj;
15610 wxFontData *arg1 = (wxFontData *) 0 ;
15611 bool arg2 ;
15612 PyObject * obj0 = 0 ;
15613 PyObject * obj1 = 0 ;
15614 char *kwnames[] = {
15615 (char *) "self",(char *) "allowSymbols", NULL
15616 };
15617
15618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15620 if (SWIG_arg_fail(1)) SWIG_fail;
15621 {
15622 arg2 = (bool)(SWIG_As_bool(obj1));
15623 if (SWIG_arg_fail(2)) SWIG_fail;
15624 }
d55e5bfc
RD
15625 {
15626 PyThreadState* __tstate = wxPyBeginAllowThreads();
15627 (arg1)->SetAllowSymbols(arg2);
15628
15629 wxPyEndAllowThreads(__tstate);
15630 if (PyErr_Occurred()) SWIG_fail;
15631 }
15632 Py_INCREF(Py_None); resultobj = Py_None;
15633 return resultobj;
15634 fail:
15635 return NULL;
15636}
15637
15638
c32bde28 15639static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15640 PyObject *resultobj;
15641 wxFontData *arg1 = (wxFontData *) 0 ;
15642 wxFont *arg2 = 0 ;
15643 PyObject * obj0 = 0 ;
15644 PyObject * obj1 = 0 ;
15645 char *kwnames[] = {
15646 (char *) "self",(char *) "font", NULL
15647 };
15648
15649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15651 if (SWIG_arg_fail(1)) SWIG_fail;
15652 {
15653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15654 if (SWIG_arg_fail(2)) SWIG_fail;
15655 if (arg2 == NULL) {
15656 SWIG_null_ref("wxFont");
15657 }
15658 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15659 }
15660 {
15661 PyThreadState* __tstate = wxPyBeginAllowThreads();
15662 (arg1)->SetChosenFont((wxFont const &)*arg2);
15663
15664 wxPyEndAllowThreads(__tstate);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 }
15667 Py_INCREF(Py_None); resultobj = Py_None;
15668 return resultobj;
15669 fail:
15670 return NULL;
15671}
15672
15673
c32bde28 15674static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15675 PyObject *resultobj;
15676 wxFontData *arg1 = (wxFontData *) 0 ;
15677 wxColour *arg2 = 0 ;
15678 wxColour temp2 ;
15679 PyObject * obj0 = 0 ;
15680 PyObject * obj1 = 0 ;
15681 char *kwnames[] = {
15682 (char *) "self",(char *) "colour", NULL
15683 };
15684
15685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15687 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15688 {
15689 arg2 = &temp2;
15690 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15691 }
15692 {
15693 PyThreadState* __tstate = wxPyBeginAllowThreads();
15694 (arg1)->SetColour((wxColour const &)*arg2);
15695
15696 wxPyEndAllowThreads(__tstate);
15697 if (PyErr_Occurred()) SWIG_fail;
15698 }
15699 Py_INCREF(Py_None); resultobj = Py_None;
15700 return resultobj;
15701 fail:
15702 return NULL;
15703}
15704
15705
c32bde28 15706static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15707 PyObject *resultobj;
15708 wxFontData *arg1 = (wxFontData *) 0 ;
15709 wxFont *arg2 = 0 ;
15710 PyObject * obj0 = 0 ;
15711 PyObject * obj1 = 0 ;
15712 char *kwnames[] = {
15713 (char *) "self",(char *) "font", NULL
15714 };
15715
15716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15718 if (SWIG_arg_fail(1)) SWIG_fail;
15719 {
15720 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15721 if (SWIG_arg_fail(2)) SWIG_fail;
15722 if (arg2 == NULL) {
15723 SWIG_null_ref("wxFont");
15724 }
15725 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15726 }
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 (arg1)->SetInitialFont((wxFont const &)*arg2);
15730
15731 wxPyEndAllowThreads(__tstate);
15732 if (PyErr_Occurred()) SWIG_fail;
15733 }
15734 Py_INCREF(Py_None); resultobj = Py_None;
15735 return resultobj;
15736 fail:
15737 return NULL;
15738}
15739
15740
c32bde28 15741static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15742 PyObject *resultobj;
15743 wxFontData *arg1 = (wxFontData *) 0 ;
15744 int arg2 ;
15745 int arg3 ;
15746 PyObject * obj0 = 0 ;
15747 PyObject * obj1 = 0 ;
15748 PyObject * obj2 = 0 ;
15749 char *kwnames[] = {
15750 (char *) "self",(char *) "min",(char *) "max", NULL
15751 };
15752
15753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15755 if (SWIG_arg_fail(1)) SWIG_fail;
15756 {
15757 arg2 = (int)(SWIG_As_int(obj1));
15758 if (SWIG_arg_fail(2)) SWIG_fail;
15759 }
15760 {
15761 arg3 = (int)(SWIG_As_int(obj2));
15762 if (SWIG_arg_fail(3)) SWIG_fail;
15763 }
d55e5bfc
RD
15764 {
15765 PyThreadState* __tstate = wxPyBeginAllowThreads();
15766 (arg1)->SetRange(arg2,arg3);
15767
15768 wxPyEndAllowThreads(__tstate);
15769 if (PyErr_Occurred()) SWIG_fail;
15770 }
15771 Py_INCREF(Py_None); resultobj = Py_None;
15772 return resultobj;
15773 fail:
15774 return NULL;
15775}
15776
15777
c32bde28 15778static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15779 PyObject *resultobj;
15780 wxFontData *arg1 = (wxFontData *) 0 ;
15781 bool arg2 ;
15782 PyObject * obj0 = 0 ;
15783 PyObject * obj1 = 0 ;
15784 char *kwnames[] = {
15785 (char *) "self",(char *) "showHelp", NULL
15786 };
15787
15788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15790 if (SWIG_arg_fail(1)) SWIG_fail;
15791 {
15792 arg2 = (bool)(SWIG_As_bool(obj1));
15793 if (SWIG_arg_fail(2)) SWIG_fail;
15794 }
d55e5bfc
RD
15795 {
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
15797 (arg1)->SetShowHelp(arg2);
15798
15799 wxPyEndAllowThreads(__tstate);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 }
15802 Py_INCREF(Py_None); resultobj = Py_None;
15803 return resultobj;
15804 fail:
15805 return NULL;
15806}
15807
15808
c32bde28 15809static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15810 PyObject *obj;
15811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15812 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15813 Py_INCREF(obj);
15814 return Py_BuildValue((char *)"");
15815}
c32bde28 15816static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15817 PyObject *resultobj;
15818 wxWindow *arg1 = (wxWindow *) 0 ;
15819 wxFontData *arg2 = 0 ;
15820 wxFontDialog *result;
15821 PyObject * obj0 = 0 ;
15822 PyObject * obj1 = 0 ;
15823 char *kwnames[] = {
15824 (char *) "parent",(char *) "data", NULL
15825 };
15826
15827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15829 if (SWIG_arg_fail(1)) SWIG_fail;
15830 {
15831 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15832 if (SWIG_arg_fail(2)) SWIG_fail;
15833 if (arg2 == NULL) {
15834 SWIG_null_ref("wxFontData");
15835 }
15836 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15837 }
15838 {
0439c23b 15839 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15840 PyThreadState* __tstate = wxPyBeginAllowThreads();
15841 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15842
15843 wxPyEndAllowThreads(__tstate);
110da5b0 15844 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15845 }
15846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15847 return resultobj;
15848 fail:
15849 return NULL;
15850}
15851
15852
c32bde28 15853static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15854 PyObject *resultobj;
15855 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15856 wxFontData *result;
15857 PyObject * obj0 = 0 ;
15858 char *kwnames[] = {
15859 (char *) "self", NULL
15860 };
15861
15862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15864 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15865 {
15866 PyThreadState* __tstate = wxPyBeginAllowThreads();
15867 {
15868 wxFontData &_result_ref = (arg1)->GetFontData();
15869 result = (wxFontData *) &_result_ref;
15870 }
15871
15872 wxPyEndAllowThreads(__tstate);
15873 if (PyErr_Occurred()) SWIG_fail;
15874 }
15875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15876 return resultobj;
15877 fail:
15878 return NULL;
15879}
15880
15881
c32bde28 15882static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15883 PyObject *obj;
15884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15885 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15886 Py_INCREF(obj);
15887 return Py_BuildValue((char *)"");
15888}
c32bde28 15889static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15890 PyObject *resultobj;
15891 wxWindow *arg1 = (wxWindow *) 0 ;
15892 wxString *arg2 = 0 ;
15893 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15894 wxString *arg3 = (wxString *) &arg3_defvalue ;
15895 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15896 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15897 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15898 wxMessageDialog *result;
ae8162c8
RD
15899 bool temp2 = false ;
15900 bool temp3 = false ;
d55e5bfc
RD
15901 wxPoint temp5 ;
15902 PyObject * obj0 = 0 ;
15903 PyObject * obj1 = 0 ;
15904 PyObject * obj2 = 0 ;
15905 PyObject * obj3 = 0 ;
15906 PyObject * obj4 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
15912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15913 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15914 {
15915 arg2 = wxString_in_helper(obj1);
15916 if (arg2 == NULL) SWIG_fail;
ae8162c8 15917 temp2 = true;
d55e5bfc
RD
15918 }
15919 if (obj2) {
15920 {
15921 arg3 = wxString_in_helper(obj2);
15922 if (arg3 == NULL) SWIG_fail;
ae8162c8 15923 temp3 = true;
d55e5bfc
RD
15924 }
15925 }
15926 if (obj3) {
093d3ff1
RD
15927 {
15928 arg4 = (long)(SWIG_As_long(obj3));
15929 if (SWIG_arg_fail(4)) SWIG_fail;
15930 }
d55e5bfc
RD
15931 }
15932 if (obj4) {
15933 {
15934 arg5 = &temp5;
15935 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15936 }
15937 }
15938 {
0439c23b 15939 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15940 PyThreadState* __tstate = wxPyBeginAllowThreads();
15941 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15942
15943 wxPyEndAllowThreads(__tstate);
110da5b0 15944 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15945 }
15946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15947 {
15948 if (temp2)
15949 delete arg2;
15950 }
15951 {
15952 if (temp3)
15953 delete arg3;
15954 }
15955 return resultobj;
15956 fail:
15957 {
15958 if (temp2)
15959 delete arg2;
15960 }
15961 {
15962 if (temp3)
15963 delete arg3;
15964 }
15965 return NULL;
15966}
15967
15968
c32bde28 15969static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15970 PyObject *obj;
15971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15972 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15973 Py_INCREF(obj);
15974 return Py_BuildValue((char *)"");
15975}
c32bde28 15976static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15977 PyObject *resultobj;
15978 wxString *arg1 = 0 ;
15979 wxString *arg2 = 0 ;
15980 int arg3 = (int) 100 ;
15981 wxWindow *arg4 = (wxWindow *) NULL ;
15982 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15983 wxProgressDialog *result;
ae8162c8
RD
15984 bool temp1 = false ;
15985 bool temp2 = false ;
d55e5bfc
RD
15986 PyObject * obj0 = 0 ;
15987 PyObject * obj1 = 0 ;
15988 PyObject * obj2 = 0 ;
15989 PyObject * obj3 = 0 ;
15990 PyObject * obj4 = 0 ;
15991 char *kwnames[] = {
15992 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15993 };
15994
15995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15996 {
15997 arg1 = wxString_in_helper(obj0);
15998 if (arg1 == NULL) SWIG_fail;
ae8162c8 15999 temp1 = true;
d55e5bfc
RD
16000 }
16001 {
16002 arg2 = wxString_in_helper(obj1);
16003 if (arg2 == NULL) SWIG_fail;
ae8162c8 16004 temp2 = true;
d55e5bfc
RD
16005 }
16006 if (obj2) {
093d3ff1
RD
16007 {
16008 arg3 = (int)(SWIG_As_int(obj2));
16009 if (SWIG_arg_fail(3)) SWIG_fail;
16010 }
d55e5bfc
RD
16011 }
16012 if (obj3) {
093d3ff1
RD
16013 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16014 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
16015 }
16016 if (obj4) {
093d3ff1
RD
16017 {
16018 arg5 = (int)(SWIG_As_int(obj4));
16019 if (SWIG_arg_fail(5)) SWIG_fail;
16020 }
d55e5bfc
RD
16021 }
16022 {
0439c23b 16023 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16024 PyThreadState* __tstate = wxPyBeginAllowThreads();
16025 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
16026
16027 wxPyEndAllowThreads(__tstate);
110da5b0 16028 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16029 }
16030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
16031 {
16032 if (temp1)
16033 delete arg1;
16034 }
16035 {
16036 if (temp2)
16037 delete arg2;
16038 }
16039 return resultobj;
16040 fail:
16041 {
16042 if (temp1)
16043 delete arg1;
16044 }
16045 {
16046 if (temp2)
16047 delete arg2;
16048 }
16049 return NULL;
16050}
16051
16052
c32bde28 16053static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16054 PyObject *resultobj;
16055 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16056 int arg2 ;
16057 wxString const &arg3_defvalue = wxPyEmptyString ;
16058 wxString *arg3 = (wxString *) &arg3_defvalue ;
16059 bool result;
ae8162c8 16060 bool temp3 = false ;
d55e5bfc
RD
16061 PyObject * obj0 = 0 ;
16062 PyObject * obj1 = 0 ;
16063 PyObject * obj2 = 0 ;
16064 char *kwnames[] = {
16065 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16066 };
16067
16068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16070 if (SWIG_arg_fail(1)) SWIG_fail;
16071 {
16072 arg2 = (int)(SWIG_As_int(obj1));
16073 if (SWIG_arg_fail(2)) SWIG_fail;
16074 }
d55e5bfc
RD
16075 if (obj2) {
16076 {
16077 arg3 = wxString_in_helper(obj2);
16078 if (arg3 == NULL) SWIG_fail;
ae8162c8 16079 temp3 = true;
d55e5bfc
RD
16080 }
16081 }
16082 {
16083 PyThreadState* __tstate = wxPyBeginAllowThreads();
16084 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16085
16086 wxPyEndAllowThreads(__tstate);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 }
16089 {
16090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16091 }
16092 {
16093 if (temp3)
16094 delete arg3;
16095 }
16096 return resultobj;
16097 fail:
16098 {
16099 if (temp3)
16100 delete arg3;
16101 }
16102 return NULL;
16103}
16104
16105
c32bde28 16106static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16107 PyObject *resultobj;
16108 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16109 PyObject * obj0 = 0 ;
16110 char *kwnames[] = {
16111 (char *) "self", NULL
16112 };
16113
16114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
16115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16116 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16117 {
16118 PyThreadState* __tstate = wxPyBeginAllowThreads();
16119 (arg1)->Resume();
16120
16121 wxPyEndAllowThreads(__tstate);
16122 if (PyErr_Occurred()) SWIG_fail;
16123 }
16124 Py_INCREF(Py_None); resultobj = Py_None;
16125 return resultobj;
16126 fail:
16127 return NULL;
16128}
16129
16130
c32bde28 16131static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16132 PyObject *obj;
16133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16134 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16135 Py_INCREF(obj);
16136 return Py_BuildValue((char *)"");
16137}
c32bde28 16138static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16139 PyObject *resultobj;
16140 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16141 int arg2 = (int) 0 ;
16142 wxFindDialogEvent *result;
16143 PyObject * obj0 = 0 ;
16144 PyObject * obj1 = 0 ;
16145 char *kwnames[] = {
16146 (char *) "commandType",(char *) "id", NULL
16147 };
16148
16149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16150 if (obj0) {
093d3ff1
RD
16151 {
16152 arg1 = (wxEventType)(SWIG_As_int(obj0));
16153 if (SWIG_arg_fail(1)) SWIG_fail;
16154 }
d55e5bfc
RD
16155 }
16156 if (obj1) {
093d3ff1
RD
16157 {
16158 arg2 = (int)(SWIG_As_int(obj1));
16159 if (SWIG_arg_fail(2)) SWIG_fail;
16160 }
d55e5bfc
RD
16161 }
16162 {
16163 PyThreadState* __tstate = wxPyBeginAllowThreads();
16164 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16165
16166 wxPyEndAllowThreads(__tstate);
16167 if (PyErr_Occurred()) SWIG_fail;
16168 }
16169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16170 return resultobj;
16171 fail:
16172 return NULL;
16173}
16174
16175
c32bde28 16176static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16177 PyObject *resultobj;
16178 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16179 int result;
16180 PyObject * obj0 = 0 ;
16181 char *kwnames[] = {
16182 (char *) "self", NULL
16183 };
16184
16185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16188 {
16189 PyThreadState* __tstate = wxPyBeginAllowThreads();
16190 result = (int)(arg1)->GetFlags();
16191
16192 wxPyEndAllowThreads(__tstate);
16193 if (PyErr_Occurred()) SWIG_fail;
16194 }
093d3ff1
RD
16195 {
16196 resultobj = SWIG_From_int((int)(result));
16197 }
d55e5bfc
RD
16198 return resultobj;
16199 fail:
16200 return NULL;
16201}
16202
16203
c32bde28 16204static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16205 PyObject *resultobj;
16206 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16207 wxString *result;
16208 PyObject * obj0 = 0 ;
16209 char *kwnames[] = {
16210 (char *) "self", NULL
16211 };
16212
16213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16215 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16216 {
16217 PyThreadState* __tstate = wxPyBeginAllowThreads();
16218 {
16219 wxString const &_result_ref = (arg1)->GetFindString();
16220 result = (wxString *) &_result_ref;
16221 }
16222
16223 wxPyEndAllowThreads(__tstate);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 }
16226 {
16227#if wxUSE_UNICODE
16228 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16229#else
16230 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16231#endif
16232 }
16233 return resultobj;
16234 fail:
16235 return NULL;
16236}
16237
16238
c32bde28 16239static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16240 PyObject *resultobj;
16241 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16242 wxString *result;
16243 PyObject * obj0 = 0 ;
16244 char *kwnames[] = {
16245 (char *) "self", NULL
16246 };
16247
16248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16250 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16251 {
16252 PyThreadState* __tstate = wxPyBeginAllowThreads();
16253 {
16254 wxString const &_result_ref = (arg1)->GetReplaceString();
16255 result = (wxString *) &_result_ref;
16256 }
16257
16258 wxPyEndAllowThreads(__tstate);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 }
16261 {
16262#if wxUSE_UNICODE
16263 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16264#else
16265 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16266#endif
16267 }
16268 return resultobj;
16269 fail:
16270 return NULL;
16271}
16272
16273
c32bde28 16274static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16275 PyObject *resultobj;
16276 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16277 wxFindReplaceDialog *result;
16278 PyObject * obj0 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
16284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16286 {
16287 PyThreadState* __tstate = wxPyBeginAllowThreads();
16288 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16289
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
16293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16294 return resultobj;
16295 fail:
16296 return NULL;
16297}
16298
16299
c32bde28 16300static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16301 PyObject *resultobj;
16302 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16303 int arg2 ;
16304 PyObject * obj0 = 0 ;
16305 PyObject * obj1 = 0 ;
16306 char *kwnames[] = {
16307 (char *) "self",(char *) "flags", NULL
16308 };
16309
16310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16312 if (SWIG_arg_fail(1)) SWIG_fail;
16313 {
16314 arg2 = (int)(SWIG_As_int(obj1));
16315 if (SWIG_arg_fail(2)) SWIG_fail;
16316 }
d55e5bfc
RD
16317 {
16318 PyThreadState* __tstate = wxPyBeginAllowThreads();
16319 (arg1)->SetFlags(arg2);
16320
16321 wxPyEndAllowThreads(__tstate);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 }
16324 Py_INCREF(Py_None); resultobj = Py_None;
16325 return resultobj;
16326 fail:
16327 return NULL;
16328}
16329
16330
c32bde28 16331static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16332 PyObject *resultobj;
16333 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16334 wxString *arg2 = 0 ;
ae8162c8 16335 bool temp2 = false ;
d55e5bfc
RD
16336 PyObject * obj0 = 0 ;
16337 PyObject * obj1 = 0 ;
16338 char *kwnames[] = {
16339 (char *) "self",(char *) "str", NULL
16340 };
16341
16342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16344 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16345 {
16346 arg2 = wxString_in_helper(obj1);
16347 if (arg2 == NULL) SWIG_fail;
ae8162c8 16348 temp2 = true;
d55e5bfc
RD
16349 }
16350 {
16351 PyThreadState* __tstate = wxPyBeginAllowThreads();
16352 (arg1)->SetFindString((wxString const &)*arg2);
16353
16354 wxPyEndAllowThreads(__tstate);
16355 if (PyErr_Occurred()) SWIG_fail;
16356 }
16357 Py_INCREF(Py_None); resultobj = Py_None;
16358 {
16359 if (temp2)
16360 delete arg2;
16361 }
16362 return resultobj;
16363 fail:
16364 {
16365 if (temp2)
16366 delete arg2;
16367 }
16368 return NULL;
16369}
16370
16371
c32bde28 16372static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16373 PyObject *resultobj;
16374 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16375 wxString *arg2 = 0 ;
ae8162c8 16376 bool temp2 = false ;
d55e5bfc
RD
16377 PyObject * obj0 = 0 ;
16378 PyObject * obj1 = 0 ;
16379 char *kwnames[] = {
16380 (char *) "self",(char *) "str", NULL
16381 };
16382
16383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16385 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16386 {
16387 arg2 = wxString_in_helper(obj1);
16388 if (arg2 == NULL) SWIG_fail;
ae8162c8 16389 temp2 = true;
d55e5bfc
RD
16390 }
16391 {
16392 PyThreadState* __tstate = wxPyBeginAllowThreads();
16393 (arg1)->SetReplaceString((wxString const &)*arg2);
16394
16395 wxPyEndAllowThreads(__tstate);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 }
16398 Py_INCREF(Py_None); resultobj = Py_None;
16399 {
16400 if (temp2)
16401 delete arg2;
16402 }
16403 return resultobj;
16404 fail:
16405 {
16406 if (temp2)
16407 delete arg2;
16408 }
16409 return NULL;
16410}
16411
16412
c32bde28 16413static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16414 PyObject *obj;
16415 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16416 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16417 Py_INCREF(obj);
16418 return Py_BuildValue((char *)"");
16419}
c32bde28 16420static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16421 PyObject *resultobj;
16422 int arg1 = (int) 0 ;
16423 wxFindReplaceData *result;
16424 PyObject * obj0 = 0 ;
16425 char *kwnames[] = {
16426 (char *) "flags", NULL
16427 };
16428
16429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16430 if (obj0) {
093d3ff1
RD
16431 {
16432 arg1 = (int)(SWIG_As_int(obj0));
16433 if (SWIG_arg_fail(1)) SWIG_fail;
16434 }
d55e5bfc
RD
16435 }
16436 {
16437 PyThreadState* __tstate = wxPyBeginAllowThreads();
16438 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16439
16440 wxPyEndAllowThreads(__tstate);
16441 if (PyErr_Occurred()) SWIG_fail;
16442 }
16443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16444 return resultobj;
16445 fail:
16446 return NULL;
16447}
16448
16449
c32bde28 16450static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16451 PyObject *resultobj;
16452 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16453 PyObject * obj0 = 0 ;
16454 char *kwnames[] = {
16455 (char *) "self", NULL
16456 };
16457
16458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16460 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16461 {
16462 PyThreadState* __tstate = wxPyBeginAllowThreads();
16463 delete arg1;
16464
16465 wxPyEndAllowThreads(__tstate);
16466 if (PyErr_Occurred()) SWIG_fail;
16467 }
16468 Py_INCREF(Py_None); resultobj = Py_None;
16469 return resultobj;
16470 fail:
16471 return NULL;
16472}
16473
16474
c32bde28 16475static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16476 PyObject *resultobj;
16477 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16478 wxString *result;
16479 PyObject * obj0 = 0 ;
16480 char *kwnames[] = {
16481 (char *) "self", NULL
16482 };
16483
16484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 {
16490 wxString const &_result_ref = (arg1)->GetFindString();
16491 result = (wxString *) &_result_ref;
16492 }
16493
16494 wxPyEndAllowThreads(__tstate);
16495 if (PyErr_Occurred()) SWIG_fail;
16496 }
16497 {
16498#if wxUSE_UNICODE
16499 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16500#else
16501 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16502#endif
16503 }
16504 return resultobj;
16505 fail:
16506 return NULL;
16507}
16508
16509
c32bde28 16510static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16511 PyObject *resultobj;
16512 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16513 wxString *result;
16514 PyObject * obj0 = 0 ;
16515 char *kwnames[] = {
16516 (char *) "self", NULL
16517 };
16518
16519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16522 {
16523 PyThreadState* __tstate = wxPyBeginAllowThreads();
16524 {
16525 wxString const &_result_ref = (arg1)->GetReplaceString();
16526 result = (wxString *) &_result_ref;
16527 }
16528
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 {
16533#if wxUSE_UNICODE
16534 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16535#else
16536 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16537#endif
16538 }
16539 return resultobj;
16540 fail:
16541 return NULL;
16542}
16543
16544
c32bde28 16545static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16546 PyObject *resultobj;
16547 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16548 int result;
16549 PyObject * obj0 = 0 ;
16550 char *kwnames[] = {
16551 (char *) "self", NULL
16552 };
16553
16554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16556 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16557 {
16558 PyThreadState* __tstate = wxPyBeginAllowThreads();
16559 result = (int)(arg1)->GetFlags();
16560
16561 wxPyEndAllowThreads(__tstate);
16562 if (PyErr_Occurred()) SWIG_fail;
16563 }
093d3ff1
RD
16564 {
16565 resultobj = SWIG_From_int((int)(result));
16566 }
d55e5bfc
RD
16567 return resultobj;
16568 fail:
16569 return NULL;
16570}
16571
16572
c32bde28 16573static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16574 PyObject *resultobj;
16575 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16576 int arg2 ;
16577 PyObject * obj0 = 0 ;
16578 PyObject * obj1 = 0 ;
16579 char *kwnames[] = {
16580 (char *) "self",(char *) "flags", NULL
16581 };
16582
16583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16585 if (SWIG_arg_fail(1)) SWIG_fail;
16586 {
16587 arg2 = (int)(SWIG_As_int(obj1));
16588 if (SWIG_arg_fail(2)) SWIG_fail;
16589 }
d55e5bfc
RD
16590 {
16591 PyThreadState* __tstate = wxPyBeginAllowThreads();
16592 (arg1)->SetFlags(arg2);
16593
16594 wxPyEndAllowThreads(__tstate);
16595 if (PyErr_Occurred()) SWIG_fail;
16596 }
16597 Py_INCREF(Py_None); resultobj = Py_None;
16598 return resultobj;
16599 fail:
16600 return NULL;
16601}
16602
16603
c32bde28 16604static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16605 PyObject *resultobj;
16606 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16607 wxString *arg2 = 0 ;
ae8162c8 16608 bool temp2 = false ;
d55e5bfc
RD
16609 PyObject * obj0 = 0 ;
16610 PyObject * obj1 = 0 ;
16611 char *kwnames[] = {
16612 (char *) "self",(char *) "str", NULL
16613 };
16614
16615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16617 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16618 {
16619 arg2 = wxString_in_helper(obj1);
16620 if (arg2 == NULL) SWIG_fail;
ae8162c8 16621 temp2 = true;
d55e5bfc
RD
16622 }
16623 {
16624 PyThreadState* __tstate = wxPyBeginAllowThreads();
16625 (arg1)->SetFindString((wxString const &)*arg2);
16626
16627 wxPyEndAllowThreads(__tstate);
16628 if (PyErr_Occurred()) SWIG_fail;
16629 }
16630 Py_INCREF(Py_None); resultobj = Py_None;
16631 {
16632 if (temp2)
16633 delete arg2;
16634 }
16635 return resultobj;
16636 fail:
16637 {
16638 if (temp2)
16639 delete arg2;
16640 }
16641 return NULL;
16642}
16643
16644
c32bde28 16645static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16646 PyObject *resultobj;
16647 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16648 wxString *arg2 = 0 ;
ae8162c8 16649 bool temp2 = false ;
d55e5bfc
RD
16650 PyObject * obj0 = 0 ;
16651 PyObject * obj1 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "self",(char *) "str", NULL
16654 };
16655
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16658 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16659 {
16660 arg2 = wxString_in_helper(obj1);
16661 if (arg2 == NULL) SWIG_fail;
ae8162c8 16662 temp2 = true;
d55e5bfc
RD
16663 }
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 (arg1)->SetReplaceString((wxString const &)*arg2);
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 Py_INCREF(Py_None); resultobj = Py_None;
16672 {
16673 if (temp2)
16674 delete arg2;
16675 }
16676 return resultobj;
16677 fail:
16678 {
16679 if (temp2)
16680 delete arg2;
16681 }
16682 return NULL;
16683}
16684
16685
c32bde28 16686static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16687 PyObject *obj;
16688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16689 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16690 Py_INCREF(obj);
16691 return Py_BuildValue((char *)"");
16692}
c32bde28 16693static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16694 PyObject *resultobj;
16695 wxWindow *arg1 = (wxWindow *) 0 ;
16696 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16697 wxString *arg3 = 0 ;
16698 int arg4 = (int) 0 ;
16699 wxFindReplaceDialog *result;
ae8162c8 16700 bool temp3 = false ;
d55e5bfc
RD
16701 PyObject * obj0 = 0 ;
16702 PyObject * obj1 = 0 ;
16703 PyObject * obj2 = 0 ;
16704 PyObject * obj3 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
16710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16711 if (SWIG_arg_fail(1)) SWIG_fail;
16712 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16713 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16714 {
16715 arg3 = wxString_in_helper(obj2);
16716 if (arg3 == NULL) SWIG_fail;
ae8162c8 16717 temp3 = true;
d55e5bfc
RD
16718 }
16719 if (obj3) {
093d3ff1
RD
16720 {
16721 arg4 = (int)(SWIG_As_int(obj3));
16722 if (SWIG_arg_fail(4)) SWIG_fail;
16723 }
d55e5bfc
RD
16724 }
16725 {
0439c23b 16726 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
16728 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16729
16730 wxPyEndAllowThreads(__tstate);
110da5b0 16731 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16732 }
16733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16734 {
16735 if (temp3)
16736 delete arg3;
16737 }
16738 return resultobj;
16739 fail:
16740 {
16741 if (temp3)
16742 delete arg3;
16743 }
16744 return NULL;
16745}
16746
16747
c32bde28 16748static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16749 PyObject *resultobj;
16750 wxFindReplaceDialog *result;
16751 char *kwnames[] = {
16752 NULL
16753 };
16754
16755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16756 {
0439c23b 16757 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16758 PyThreadState* __tstate = wxPyBeginAllowThreads();
16759 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16760
16761 wxPyEndAllowThreads(__tstate);
110da5b0 16762 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16763 }
16764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16765 return resultobj;
16766 fail:
16767 return NULL;
16768}
16769
16770
c32bde28 16771static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16772 PyObject *resultobj;
16773 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16774 wxWindow *arg2 = (wxWindow *) 0 ;
16775 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16776 wxString *arg4 = 0 ;
16777 int arg5 = (int) 0 ;
16778 bool result;
ae8162c8 16779 bool temp4 = false ;
d55e5bfc
RD
16780 PyObject * obj0 = 0 ;
16781 PyObject * obj1 = 0 ;
16782 PyObject * obj2 = 0 ;
16783 PyObject * obj3 = 0 ;
16784 PyObject * obj4 = 0 ;
16785 char *kwnames[] = {
16786 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16787 };
16788
16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail;
16792 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16793 if (SWIG_arg_fail(2)) SWIG_fail;
16794 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16795 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
16796 {
16797 arg4 = wxString_in_helper(obj3);
16798 if (arg4 == NULL) SWIG_fail;
ae8162c8 16799 temp4 = true;
d55e5bfc
RD
16800 }
16801 if (obj4) {
093d3ff1
RD
16802 {
16803 arg5 = (int)(SWIG_As_int(obj4));
16804 if (SWIG_arg_fail(5)) SWIG_fail;
16805 }
d55e5bfc
RD
16806 }
16807 {
16808 PyThreadState* __tstate = wxPyBeginAllowThreads();
16809 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16810
16811 wxPyEndAllowThreads(__tstate);
16812 if (PyErr_Occurred()) SWIG_fail;
16813 }
16814 {
16815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16816 }
16817 {
16818 if (temp4)
16819 delete arg4;
16820 }
16821 return resultobj;
16822 fail:
16823 {
16824 if (temp4)
16825 delete arg4;
16826 }
16827 return NULL;
16828}
16829
16830
c32bde28 16831static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16832 PyObject *resultobj;
16833 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16834 wxFindReplaceData *result;
16835 PyObject * obj0 = 0 ;
16836 char *kwnames[] = {
16837 (char *) "self", NULL
16838 };
16839
16840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16842 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16843 {
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 result = (wxFindReplaceData *)(arg1)->GetData();
16846
16847 wxPyEndAllowThreads(__tstate);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16851 return resultobj;
16852 fail:
16853 return NULL;
16854}
16855
16856
c32bde28 16857static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16858 PyObject *resultobj;
16859 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16860 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16861 PyObject * obj0 = 0 ;
16862 PyObject * obj1 = 0 ;
16863 char *kwnames[] = {
16864 (char *) "self",(char *) "data", NULL
16865 };
16866
16867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16869 if (SWIG_arg_fail(1)) SWIG_fail;
16870 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16871 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16872 {
16873 PyThreadState* __tstate = wxPyBeginAllowThreads();
16874 (arg1)->SetData(arg2);
16875
16876 wxPyEndAllowThreads(__tstate);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 Py_INCREF(Py_None); resultobj = Py_None;
16880 return resultobj;
16881 fail:
16882 return NULL;
16883}
16884
16885
c32bde28 16886static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16887 PyObject *obj;
16888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16889 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16890 Py_INCREF(obj);
16891 return Py_BuildValue((char *)"");
16892}
c32bde28 16893static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16894 PyObject *resultobj;
16895 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
16896 int arg2 = (int) (int)-1 ;
16897 wxString const &arg3_defvalue = wxPyEmptyString ;
16898 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
16899 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16900 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16901 wxSize const &arg5_defvalue = wxDefaultSize ;
16902 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16903 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16904 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16905 wxString *arg7 = (wxString *) &arg7_defvalue ;
16906 wxMDIParentFrame *result;
ae8162c8 16907 bool temp3 = false ;
d55e5bfc
RD
16908 wxPoint temp4 ;
16909 wxSize temp5 ;
ae8162c8 16910 bool temp7 = false ;
d55e5bfc
RD
16911 PyObject * obj0 = 0 ;
16912 PyObject * obj1 = 0 ;
16913 PyObject * obj2 = 0 ;
16914 PyObject * obj3 = 0 ;
16915 PyObject * obj4 = 0 ;
16916 PyObject * obj5 = 0 ;
16917 PyObject * obj6 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16920 };
16921
248ed943 16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
16923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16924 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 16925 if (obj1) {
093d3ff1
RD
16926 {
16927 arg2 = (int const)(SWIG_As_int(obj1));
16928 if (SWIG_arg_fail(2)) SWIG_fail;
16929 }
248ed943
RD
16930 }
16931 if (obj2) {
16932 {
16933 arg3 = wxString_in_helper(obj2);
16934 if (arg3 == NULL) SWIG_fail;
ae8162c8 16935 temp3 = true;
248ed943 16936 }
d55e5bfc
RD
16937 }
16938 if (obj3) {
16939 {
16940 arg4 = &temp4;
16941 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16942 }
16943 }
16944 if (obj4) {
16945 {
16946 arg5 = &temp5;
16947 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16948 }
16949 }
16950 if (obj5) {
093d3ff1
RD
16951 {
16952 arg6 = (long)(SWIG_As_long(obj5));
16953 if (SWIG_arg_fail(6)) SWIG_fail;
16954 }
d55e5bfc
RD
16955 }
16956 if (obj6) {
16957 {
16958 arg7 = wxString_in_helper(obj6);
16959 if (arg7 == NULL) SWIG_fail;
ae8162c8 16960 temp7 = true;
d55e5bfc
RD
16961 }
16962 }
16963 {
0439c23b 16964 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16965 PyThreadState* __tstate = wxPyBeginAllowThreads();
16966 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16967
16968 wxPyEndAllowThreads(__tstate);
110da5b0 16969 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16970 }
16971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16972 {
16973 if (temp3)
16974 delete arg3;
16975 }
16976 {
16977 if (temp7)
16978 delete arg7;
16979 }
16980 return resultobj;
16981 fail:
16982 {
16983 if (temp3)
16984 delete arg3;
16985 }
16986 {
16987 if (temp7)
16988 delete arg7;
16989 }
16990 return NULL;
16991}
16992
16993
c32bde28 16994static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16995 PyObject *resultobj;
16996 wxMDIParentFrame *result;
16997 char *kwnames[] = {
16998 NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
17002 {
0439c23b 17003 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (wxMDIParentFrame *)new wxMDIParentFrame();
17006
17007 wxPyEndAllowThreads(__tstate);
110da5b0 17008 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17009 }
17010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
17011 return resultobj;
17012 fail:
17013 return NULL;
17014}
17015
17016
c32bde28 17017static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17018 PyObject *resultobj;
17019 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17020 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
17021 int arg3 = (int) (int)-1 ;
17022 wxString const &arg4_defvalue = wxPyEmptyString ;
17023 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
17024 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17025 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17026 wxSize const &arg6_defvalue = wxDefaultSize ;
17027 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17028 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
17029 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17030 wxString *arg8 = (wxString *) &arg8_defvalue ;
17031 bool result;
ae8162c8 17032 bool temp4 = false ;
d55e5bfc
RD
17033 wxPoint temp5 ;
17034 wxSize temp6 ;
ae8162c8 17035 bool temp8 = false ;
d55e5bfc
RD
17036 PyObject * obj0 = 0 ;
17037 PyObject * obj1 = 0 ;
17038 PyObject * obj2 = 0 ;
17039 PyObject * obj3 = 0 ;
17040 PyObject * obj4 = 0 ;
17041 PyObject * obj5 = 0 ;
17042 PyObject * obj6 = 0 ;
17043 PyObject * obj7 = 0 ;
17044 char *kwnames[] = {
17045 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17046 };
17047
248ed943 17048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
17049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17050 if (SWIG_arg_fail(1)) SWIG_fail;
17051 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17052 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17053 if (obj2) {
093d3ff1
RD
17054 {
17055 arg3 = (int const)(SWIG_As_int(obj2));
17056 if (SWIG_arg_fail(3)) SWIG_fail;
17057 }
248ed943
RD
17058 }
17059 if (obj3) {
17060 {
17061 arg4 = wxString_in_helper(obj3);
17062 if (arg4 == NULL) SWIG_fail;
ae8162c8 17063 temp4 = true;
248ed943 17064 }
d55e5bfc
RD
17065 }
17066 if (obj4) {
17067 {
17068 arg5 = &temp5;
17069 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17070 }
17071 }
17072 if (obj5) {
17073 {
17074 arg6 = &temp6;
17075 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17076 }
17077 }
17078 if (obj6) {
093d3ff1
RD
17079 {
17080 arg7 = (long)(SWIG_As_long(obj6));
17081 if (SWIG_arg_fail(7)) SWIG_fail;
17082 }
d55e5bfc
RD
17083 }
17084 if (obj7) {
17085 {
17086 arg8 = wxString_in_helper(obj7);
17087 if (arg8 == NULL) SWIG_fail;
ae8162c8 17088 temp8 = true;
d55e5bfc
RD
17089 }
17090 }
17091 {
17092 PyThreadState* __tstate = wxPyBeginAllowThreads();
17093 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17094
17095 wxPyEndAllowThreads(__tstate);
17096 if (PyErr_Occurred()) SWIG_fail;
17097 }
17098 {
17099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17100 }
17101 {
17102 if (temp4)
17103 delete arg4;
17104 }
17105 {
17106 if (temp8)
17107 delete arg8;
17108 }
17109 return resultobj;
17110 fail:
17111 {
17112 if (temp4)
17113 delete arg4;
17114 }
17115 {
17116 if (temp8)
17117 delete arg8;
17118 }
17119 return NULL;
17120}
17121
17122
c32bde28 17123static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17124 PyObject *resultobj;
17125 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17126 PyObject * obj0 = 0 ;
17127 char *kwnames[] = {
17128 (char *) "self", NULL
17129 };
17130
17131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
17132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17133 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17134 {
17135 PyThreadState* __tstate = wxPyBeginAllowThreads();
17136 (arg1)->ActivateNext();
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 Py_INCREF(Py_None); resultobj = Py_None;
17142 return resultobj;
17143 fail:
17144 return NULL;
17145}
17146
17147
c32bde28 17148static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17149 PyObject *resultobj;
17150 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17151 PyObject * obj0 = 0 ;
17152 char *kwnames[] = {
17153 (char *) "self", NULL
17154 };
17155
17156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
17157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17158 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 (arg1)->ActivatePrevious();
17162
17163 wxPyEndAllowThreads(__tstate);
17164 if (PyErr_Occurred()) SWIG_fail;
17165 }
17166 Py_INCREF(Py_None); resultobj = Py_None;
17167 return resultobj;
17168 fail:
17169 return NULL;
17170}
17171
17172
c32bde28 17173static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17174 PyObject *resultobj;
17175 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17176 PyObject * obj0 = 0 ;
17177 char *kwnames[] = {
17178 (char *) "self", NULL
17179 };
17180
17181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
093d3ff1
RD
17182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17184 {
17185 PyThreadState* __tstate = wxPyBeginAllowThreads();
17186 (arg1)->ArrangeIcons();
17187
17188 wxPyEndAllowThreads(__tstate);
17189 if (PyErr_Occurred()) SWIG_fail;
17190 }
17191 Py_INCREF(Py_None); resultobj = Py_None;
17192 return resultobj;
17193 fail:
17194 return NULL;
17195}
17196
17197
c32bde28 17198static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17199 PyObject *resultobj;
17200 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17201 PyObject * obj0 = 0 ;
17202 char *kwnames[] = {
17203 (char *) "self", NULL
17204 };
17205
17206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
093d3ff1
RD
17207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17208 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17209 {
17210 PyThreadState* __tstate = wxPyBeginAllowThreads();
17211 (arg1)->Cascade();
17212
17213 wxPyEndAllowThreads(__tstate);
17214 if (PyErr_Occurred()) SWIG_fail;
17215 }
17216 Py_INCREF(Py_None); resultobj = Py_None;
17217 return resultobj;
17218 fail:
17219 return NULL;
17220}
17221
17222
c32bde28 17223static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17224 PyObject *resultobj;
17225 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17226 wxMDIChildFrame *result;
17227 PyObject * obj0 = 0 ;
17228 char *kwnames[] = {
17229 (char *) "self", NULL
17230 };
17231
17232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
17233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17234 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17235 {
17236 PyThreadState* __tstate = wxPyBeginAllowThreads();
17237 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17238
17239 wxPyEndAllowThreads(__tstate);
17240 if (PyErr_Occurred()) SWIG_fail;
17241 }
17242 {
412d302d 17243 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17244 }
17245 return resultobj;
17246 fail:
17247 return NULL;
17248}
17249
17250
c32bde28 17251static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17252 PyObject *resultobj;
17253 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17254 wxMDIClientWindow *result;
17255 PyObject * obj0 = 0 ;
17256 char *kwnames[] = {
17257 (char *) "self", NULL
17258 };
17259
17260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
17261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17262 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17263 {
17264 PyThreadState* __tstate = wxPyBeginAllowThreads();
17265 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17266
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 {
412d302d 17271 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17272 }
17273 return resultobj;
17274 fail:
17275 return NULL;
17276}
17277
17278
c32bde28 17279static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17280 PyObject *resultobj;
17281 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17282 wxWindow *result;
17283 PyObject * obj0 = 0 ;
17284 char *kwnames[] = {
17285 (char *) "self", NULL
17286 };
17287
17288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
17289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17290 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17291 {
17292 PyThreadState* __tstate = wxPyBeginAllowThreads();
17293 result = (wxWindow *)(arg1)->GetToolBar();
17294
17295 wxPyEndAllowThreads(__tstate);
17296 if (PyErr_Occurred()) SWIG_fail;
17297 }
17298 {
412d302d 17299 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17300 }
17301 return resultobj;
17302 fail:
17303 return NULL;
17304}
17305
17306
c32bde28 17307static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17308 PyObject *resultobj;
17309 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17310 wxMenu *result;
17311 PyObject * obj0 = 0 ;
17312 char *kwnames[] = {
17313 (char *) "self", NULL
17314 };
17315
17316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
17317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17318 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17319 {
17320 PyThreadState* __tstate = wxPyBeginAllowThreads();
17321 result = (wxMenu *)(arg1)->GetWindowMenu();
17322
17323 wxPyEndAllowThreads(__tstate);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 {
412d302d 17327 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17328 }
17329 return resultobj;
17330 fail:
17331 return NULL;
17332}
17333
17334
c32bde28 17335static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17336 PyObject *resultobj;
17337 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17338 wxMenu *arg2 = (wxMenu *) 0 ;
17339 PyObject * obj0 = 0 ;
17340 PyObject * obj1 = 0 ;
17341 char *kwnames[] = {
17342 (char *) "self",(char *) "menu", NULL
17343 };
17344
17345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17347 if (SWIG_arg_fail(1)) SWIG_fail;
17348 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
17349 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17350 {
17351 PyThreadState* __tstate = wxPyBeginAllowThreads();
17352 (arg1)->SetWindowMenu(arg2);
17353
17354 wxPyEndAllowThreads(__tstate);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 }
17357 Py_INCREF(Py_None); resultobj = Py_None;
17358 return resultobj;
17359 fail:
17360 return NULL;
17361}
17362
17363
c32bde28 17364static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17365 PyObject *resultobj;
17366 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17367 wxToolBar *arg2 = (wxToolBar *) 0 ;
17368 PyObject * obj0 = 0 ;
17369 PyObject * obj1 = 0 ;
17370 char *kwnames[] = {
17371 (char *) "self",(char *) "toolbar", NULL
17372 };
17373
17374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17376 if (SWIG_arg_fail(1)) SWIG_fail;
17377 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
17378 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17379 {
17380 PyThreadState* __tstate = wxPyBeginAllowThreads();
17381 (arg1)->SetToolBar(arg2);
17382
17383 wxPyEndAllowThreads(__tstate);
17384 if (PyErr_Occurred()) SWIG_fail;
17385 }
17386 Py_INCREF(Py_None); resultobj = Py_None;
17387 return resultobj;
17388 fail:
17389 return NULL;
17390}
17391
17392
c32bde28 17393static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17394 PyObject *resultobj;
17395 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
396fb509 17396 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
d55e5bfc 17397 PyObject * obj0 = 0 ;
396fb509 17398 PyObject * obj1 = 0 ;
d55e5bfc 17399 char *kwnames[] = {
396fb509 17400 (char *) "self",(char *) "orient", NULL
d55e5bfc
RD
17401 };
17402
396fb509 17403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17405 if (SWIG_arg_fail(1)) SWIG_fail;
396fb509
RD
17406 if (obj1) {
17407 {
17408 arg2 = (wxOrientation)(SWIG_As_int(obj1));
17409 if (SWIG_arg_fail(2)) SWIG_fail;
17410 }
17411 }
d55e5bfc
RD
17412 {
17413 PyThreadState* __tstate = wxPyBeginAllowThreads();
396fb509 17414 (arg1)->Tile((wxOrientation )arg2);
d55e5bfc
RD
17415
17416 wxPyEndAllowThreads(__tstate);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 }
17419 Py_INCREF(Py_None); resultobj = Py_None;
17420 return resultobj;
17421 fail:
17422 return NULL;
17423}
17424
17425
c32bde28 17426static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17427 PyObject *obj;
17428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17429 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17430 Py_INCREF(obj);
17431 return Py_BuildValue((char *)"");
17432}
c32bde28 17433static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17434 PyObject *resultobj;
17435 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17436 int arg2 = (int) (int)-1 ;
17437 wxString const &arg3_defvalue = wxPyEmptyString ;
17438 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
17439 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17440 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17441 wxSize const &arg5_defvalue = wxDefaultSize ;
17442 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17443 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17444 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17445 wxString *arg7 = (wxString *) &arg7_defvalue ;
17446 wxMDIChildFrame *result;
ae8162c8 17447 bool temp3 = false ;
d55e5bfc
RD
17448 wxPoint temp4 ;
17449 wxSize temp5 ;
ae8162c8 17450 bool temp7 = false ;
d55e5bfc
RD
17451 PyObject * obj0 = 0 ;
17452 PyObject * obj1 = 0 ;
17453 PyObject * obj2 = 0 ;
17454 PyObject * obj3 = 0 ;
17455 PyObject * obj4 = 0 ;
17456 PyObject * obj5 = 0 ;
17457 PyObject * obj6 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17460 };
17461
248ed943 17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17464 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17465 if (obj1) {
093d3ff1
RD
17466 {
17467 arg2 = (int const)(SWIG_As_int(obj1));
17468 if (SWIG_arg_fail(2)) SWIG_fail;
17469 }
248ed943
RD
17470 }
17471 if (obj2) {
17472 {
17473 arg3 = wxString_in_helper(obj2);
17474 if (arg3 == NULL) SWIG_fail;
ae8162c8 17475 temp3 = true;
248ed943 17476 }
d55e5bfc
RD
17477 }
17478 if (obj3) {
17479 {
17480 arg4 = &temp4;
17481 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17482 }
17483 }
17484 if (obj4) {
17485 {
17486 arg5 = &temp5;
17487 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17488 }
17489 }
17490 if (obj5) {
093d3ff1
RD
17491 {
17492 arg6 = (long)(SWIG_As_long(obj5));
17493 if (SWIG_arg_fail(6)) SWIG_fail;
17494 }
d55e5bfc
RD
17495 }
17496 if (obj6) {
17497 {
17498 arg7 = wxString_in_helper(obj6);
17499 if (arg7 == NULL) SWIG_fail;
ae8162c8 17500 temp7 = true;
d55e5bfc
RD
17501 }
17502 }
17503 {
0439c23b 17504 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17505 PyThreadState* __tstate = wxPyBeginAllowThreads();
17506 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17507
17508 wxPyEndAllowThreads(__tstate);
110da5b0 17509 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17510 }
b0f7404b 17511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17512 {
17513 if (temp3)
17514 delete arg3;
17515 }
17516 {
17517 if (temp7)
17518 delete arg7;
17519 }
17520 return resultobj;
17521 fail:
17522 {
17523 if (temp3)
17524 delete arg3;
17525 }
17526 {
17527 if (temp7)
17528 delete arg7;
17529 }
17530 return NULL;
17531}
17532
17533
c32bde28 17534static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17535 PyObject *resultobj;
17536 wxMDIChildFrame *result;
17537 char *kwnames[] = {
17538 NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17542 {
0439c23b 17543 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17544 PyThreadState* __tstate = wxPyBeginAllowThreads();
17545 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17546
17547 wxPyEndAllowThreads(__tstate);
110da5b0 17548 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17549 }
b0f7404b 17550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17551 return resultobj;
17552 fail:
17553 return NULL;
17554}
17555
17556
c32bde28 17557static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17558 PyObject *resultobj;
17559 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17560 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17561 int arg3 = (int) (int)-1 ;
17562 wxString const &arg4_defvalue = wxPyEmptyString ;
17563 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
17564 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17565 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17566 wxSize const &arg6_defvalue = wxDefaultSize ;
17567 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17568 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17569 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17570 wxString *arg8 = (wxString *) &arg8_defvalue ;
17571 bool result;
ae8162c8 17572 bool temp4 = false ;
d55e5bfc
RD
17573 wxPoint temp5 ;
17574 wxSize temp6 ;
ae8162c8 17575 bool temp8 = false ;
d55e5bfc
RD
17576 PyObject * obj0 = 0 ;
17577 PyObject * obj1 = 0 ;
17578 PyObject * obj2 = 0 ;
17579 PyObject * obj3 = 0 ;
17580 PyObject * obj4 = 0 ;
17581 PyObject * obj5 = 0 ;
17582 PyObject * obj6 = 0 ;
17583 PyObject * obj7 = 0 ;
17584 char *kwnames[] = {
17585 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17586 };
17587
248ed943 17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
17589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17590 if (SWIG_arg_fail(1)) SWIG_fail;
17591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17592 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17593 if (obj2) {
093d3ff1
RD
17594 {
17595 arg3 = (int const)(SWIG_As_int(obj2));
17596 if (SWIG_arg_fail(3)) SWIG_fail;
17597 }
248ed943
RD
17598 }
17599 if (obj3) {
17600 {
17601 arg4 = wxString_in_helper(obj3);
17602 if (arg4 == NULL) SWIG_fail;
ae8162c8 17603 temp4 = true;
248ed943 17604 }
d55e5bfc
RD
17605 }
17606 if (obj4) {
17607 {
17608 arg5 = &temp5;
17609 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17610 }
17611 }
17612 if (obj5) {
17613 {
17614 arg6 = &temp6;
17615 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17616 }
17617 }
17618 if (obj6) {
093d3ff1
RD
17619 {
17620 arg7 = (long)(SWIG_As_long(obj6));
17621 if (SWIG_arg_fail(7)) SWIG_fail;
17622 }
d55e5bfc
RD
17623 }
17624 if (obj7) {
17625 {
17626 arg8 = wxString_in_helper(obj7);
17627 if (arg8 == NULL) SWIG_fail;
ae8162c8 17628 temp8 = true;
d55e5bfc
RD
17629 }
17630 }
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 {
17639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17640 }
17641 {
17642 if (temp4)
17643 delete arg4;
17644 }
17645 {
17646 if (temp8)
17647 delete arg8;
17648 }
17649 return resultobj;
17650 fail:
17651 {
17652 if (temp4)
17653 delete arg4;
17654 }
17655 {
17656 if (temp8)
17657 delete arg8;
17658 }
17659 return NULL;
17660}
17661
17662
c32bde28 17663static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17664 PyObject *resultobj;
17665 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17666 PyObject * obj0 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
093d3ff1
RD
17672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17674 {
17675 PyThreadState* __tstate = wxPyBeginAllowThreads();
17676 (arg1)->Activate();
17677
17678 wxPyEndAllowThreads(__tstate);
17679 if (PyErr_Occurred()) SWIG_fail;
17680 }
17681 Py_INCREF(Py_None); resultobj = Py_None;
17682 return resultobj;
17683 fail:
17684 return NULL;
17685}
17686
17687
c32bde28 17688static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17689 PyObject *resultobj;
17690 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
b519803b 17691 bool arg2 = (bool) true ;
d55e5bfc
RD
17692 PyObject * obj0 = 0 ;
17693 PyObject * obj1 = 0 ;
17694 char *kwnames[] = {
17695 (char *) "self",(char *) "maximize", NULL
17696 };
17697
b519803b 17698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17700 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b 17701 if (obj1) {
093d3ff1
RD
17702 {
17703 arg2 = (bool)(SWIG_As_bool(obj1));
17704 if (SWIG_arg_fail(2)) SWIG_fail;
17705 }
b519803b 17706 }
d55e5bfc
RD
17707 {
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 (arg1)->Maximize(arg2);
17710
17711 wxPyEndAllowThreads(__tstate);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
17714 Py_INCREF(Py_None); resultobj = Py_None;
17715 return resultobj;
17716 fail:
17717 return NULL;
17718}
17719
17720
c32bde28 17721static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17722 PyObject *resultobj;
17723 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17724 PyObject * obj0 = 0 ;
17725 char *kwnames[] = {
17726 (char *) "self", NULL
17727 };
17728
17729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
17730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17731 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17732 {
17733 PyThreadState* __tstate = wxPyBeginAllowThreads();
17734 (arg1)->Restore();
17735
17736 wxPyEndAllowThreads(__tstate);
17737 if (PyErr_Occurred()) SWIG_fail;
17738 }
17739 Py_INCREF(Py_None); resultobj = Py_None;
17740 return resultobj;
17741 fail:
17742 return NULL;
17743}
17744
17745
c32bde28 17746static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17747 PyObject *obj;
17748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17749 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17750 Py_INCREF(obj);
17751 return Py_BuildValue((char *)"");
17752}
c32bde28 17753static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17754 PyObject *resultobj;
17755 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17756 long arg2 = (long) 0 ;
17757 wxMDIClientWindow *result;
17758 PyObject * obj0 = 0 ;
17759 PyObject * obj1 = 0 ;
17760 char *kwnames[] = {
17761 (char *) "parent",(char *) "style", NULL
17762 };
17763
17764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17766 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17767 if (obj1) {
093d3ff1
RD
17768 {
17769 arg2 = (long)(SWIG_As_long(obj1));
17770 if (SWIG_arg_fail(2)) SWIG_fail;
17771 }
d55e5bfc
RD
17772 }
17773 {
0439c23b 17774 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17775 PyThreadState* __tstate = wxPyBeginAllowThreads();
17776 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17777
17778 wxPyEndAllowThreads(__tstate);
110da5b0 17779 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17780 }
b0f7404b 17781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
17782 return resultobj;
17783 fail:
17784 return NULL;
17785}
17786
17787
c32bde28 17788static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17789 PyObject *resultobj;
17790 wxMDIClientWindow *result;
17791 char *kwnames[] = {
17792 NULL
17793 };
17794
17795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17796 {
0439c23b 17797 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17798 PyThreadState* __tstate = wxPyBeginAllowThreads();
17799 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17800
17801 wxPyEndAllowThreads(__tstate);
110da5b0 17802 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17803 }
b0f7404b 17804 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
17805 return resultobj;
17806 fail:
17807 return NULL;
17808}
17809
17810
c32bde28 17811static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17812 PyObject *resultobj;
17813 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17814 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17815 long arg3 = (long) 0 ;
17816 bool result;
17817 PyObject * obj0 = 0 ;
17818 PyObject * obj1 = 0 ;
17819 PyObject * obj2 = 0 ;
17820 char *kwnames[] = {
17821 (char *) "self",(char *) "parent",(char *) "style", NULL
17822 };
17823
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17826 if (SWIG_arg_fail(1)) SWIG_fail;
17827 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17828 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 17829 if (obj2) {
093d3ff1
RD
17830 {
17831 arg3 = (long)(SWIG_As_long(obj2));
17832 if (SWIG_arg_fail(3)) SWIG_fail;
17833 }
d55e5bfc
RD
17834 }
17835 {
17836 PyThreadState* __tstate = wxPyBeginAllowThreads();
17837 result = (bool)(arg1)->Create(arg2,arg3);
17838
17839 wxPyEndAllowThreads(__tstate);
17840 if (PyErr_Occurred()) SWIG_fail;
17841 }
17842 {
17843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17844 }
17845 return resultobj;
17846 fail:
17847 return NULL;
17848}
17849
17850
c32bde28 17851static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17852 PyObject *obj;
17853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17854 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17855 Py_INCREF(obj);
17856 return Py_BuildValue((char *)"");
17857}
c32bde28 17858static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17859 PyObject *resultobj;
17860 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 17861 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
17862 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17863 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17864 wxSize const &arg4_defvalue = wxDefaultSize ;
17865 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17866 long arg5 = (long) 0 ;
17867 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17868 wxString *arg6 = (wxString *) &arg6_defvalue ;
17869 wxPyWindow *result;
17870 wxPoint temp3 ;
17871 wxSize temp4 ;
ae8162c8 17872 bool temp6 = false ;
d55e5bfc
RD
17873 PyObject * obj0 = 0 ;
17874 PyObject * obj1 = 0 ;
17875 PyObject * obj2 = 0 ;
17876 PyObject * obj3 = 0 ;
17877 PyObject * obj4 = 0 ;
17878 PyObject * obj5 = 0 ;
17879 char *kwnames[] = {
17880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17881 };
17882
248ed943 17883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17885 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17886 if (obj1) {
093d3ff1
RD
17887 {
17888 arg2 = (int const)(SWIG_As_int(obj1));
17889 if (SWIG_arg_fail(2)) SWIG_fail;
17890 }
248ed943 17891 }
d55e5bfc
RD
17892 if (obj2) {
17893 {
17894 arg3 = &temp3;
17895 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17896 }
17897 }
17898 if (obj3) {
17899 {
17900 arg4 = &temp4;
17901 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17902 }
17903 }
17904 if (obj4) {
093d3ff1
RD
17905 {
17906 arg5 = (long)(SWIG_As_long(obj4));
17907 if (SWIG_arg_fail(5)) SWIG_fail;
17908 }
d55e5bfc
RD
17909 }
17910 if (obj5) {
17911 {
17912 arg6 = wxString_in_helper(obj5);
17913 if (arg6 == NULL) SWIG_fail;
ae8162c8 17914 temp6 = true;
d55e5bfc
RD
17915 }
17916 }
17917 {
0439c23b 17918 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17921
17922 wxPyEndAllowThreads(__tstate);
110da5b0 17923 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17924 }
17925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17926 {
17927 if (temp6)
17928 delete arg6;
17929 }
17930 return resultobj;
17931 fail:
17932 {
17933 if (temp6)
17934 delete arg6;
17935 }
17936 return NULL;
17937}
17938
17939
c32bde28 17940static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17941 PyObject *resultobj;
17942 wxPyWindow *result;
17943 char *kwnames[] = {
17944 NULL
17945 };
17946
17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17948 {
0439c23b 17949 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17950 PyThreadState* __tstate = wxPyBeginAllowThreads();
17951 result = (wxPyWindow *)new wxPyWindow();
17952
17953 wxPyEndAllowThreads(__tstate);
110da5b0 17954 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17955 }
17956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17957 return resultobj;
17958 fail:
17959 return NULL;
17960}
17961
17962
c32bde28 17963static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17964 PyObject *resultobj;
17965 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17966 PyObject *arg2 = (PyObject *) 0 ;
17967 PyObject *arg3 = (PyObject *) 0 ;
17968 PyObject * obj0 = 0 ;
17969 PyObject * obj1 = 0 ;
17970 PyObject * obj2 = 0 ;
17971 char *kwnames[] = {
17972 (char *) "self",(char *) "self",(char *) "_class", NULL
17973 };
17974
17975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17977 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17978 arg2 = obj1;
17979 arg3 = obj2;
17980 {
17981 PyThreadState* __tstate = wxPyBeginAllowThreads();
17982 (arg1)->_setCallbackInfo(arg2,arg3);
17983
17984 wxPyEndAllowThreads(__tstate);
17985 if (PyErr_Occurred()) SWIG_fail;
17986 }
17987 Py_INCREF(Py_None); resultobj = Py_None;
17988 return resultobj;
17989 fail:
17990 return NULL;
17991}
17992
17993
c32bde28 17994static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
17995 PyObject *resultobj;
17996 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17997 wxSize *arg2 = 0 ;
17998 wxSize temp2 ;
17999 PyObject * obj0 = 0 ;
18000 PyObject * obj1 = 0 ;
18001 char *kwnames[] = {
18002 (char *) "self",(char *) "size", NULL
18003 };
18004
18005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18007 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
18008 {
18009 arg2 = &temp2;
18010 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18011 }
18012 {
18013 PyThreadState* __tstate = wxPyBeginAllowThreads();
18014 (arg1)->SetBestSize((wxSize const &)*arg2);
18015
18016 wxPyEndAllowThreads(__tstate);
18017 if (PyErr_Occurred()) SWIG_fail;
18018 }
18019 Py_INCREF(Py_None); resultobj = Py_None;
18020 return resultobj;
18021 fail:
18022 return NULL;
18023}
18024
18025
60d5fcc1
RD
18026static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18027 PyObject *resultobj;
18028 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18029 wxDC *arg2 = (wxDC *) 0 ;
18030 bool result;
18031 PyObject * obj0 = 0 ;
18032 PyObject * obj1 = 0 ;
18033 char *kwnames[] = {
18034 (char *) "self",(char *) "dc", NULL
18035 };
18036
18037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18039 if (SWIG_arg_fail(1)) SWIG_fail;
18040 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18041 if (SWIG_arg_fail(2)) SWIG_fail;
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 result = (bool)(arg1)->DoEraseBackground(arg2);
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 {
18050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18051 }
18052 return resultobj;
18053 fail:
18054 return NULL;
18055}
18056
18057
c32bde28 18058static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18059 PyObject *resultobj;
18060 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18061 int arg2 ;
18062 int arg3 ;
18063 int arg4 ;
18064 int arg5 ;
18065 PyObject * obj0 = 0 ;
18066 PyObject * obj1 = 0 ;
18067 PyObject * obj2 = 0 ;
18068 PyObject * obj3 = 0 ;
18069 PyObject * obj4 = 0 ;
18070 char *kwnames[] = {
18071 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18072 };
18073
18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
18075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18076 if (SWIG_arg_fail(1)) SWIG_fail;
18077 {
18078 arg2 = (int)(SWIG_As_int(obj1));
18079 if (SWIG_arg_fail(2)) SWIG_fail;
18080 }
18081 {
18082 arg3 = (int)(SWIG_As_int(obj2));
18083 if (SWIG_arg_fail(3)) SWIG_fail;
18084 }
18085 {
18086 arg4 = (int)(SWIG_As_int(obj3));
18087 if (SWIG_arg_fail(4)) SWIG_fail;
18088 }
18089 {
18090 arg5 = (int)(SWIG_As_int(obj4));
18091 if (SWIG_arg_fail(5)) SWIG_fail;
18092 }
d55e5bfc
RD
18093 {
18094 PyThreadState* __tstate = wxPyBeginAllowThreads();
18095 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 Py_INCREF(Py_None); resultobj = Py_None;
18101 return resultobj;
18102 fail:
18103 return NULL;
18104}
18105
18106
c32bde28 18107static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18108 PyObject *resultobj;
18109 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18110 int arg2 ;
18111 int arg3 ;
18112 int arg4 ;
18113 int arg5 ;
18114 int arg6 = (int) wxSIZE_AUTO ;
18115 PyObject * obj0 = 0 ;
18116 PyObject * obj1 = 0 ;
18117 PyObject * obj2 = 0 ;
18118 PyObject * obj3 = 0 ;
18119 PyObject * obj4 = 0 ;
18120 PyObject * obj5 = 0 ;
18121 char *kwnames[] = {
18122 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18123 };
18124
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18127 if (SWIG_arg_fail(1)) SWIG_fail;
18128 {
18129 arg2 = (int)(SWIG_As_int(obj1));
18130 if (SWIG_arg_fail(2)) SWIG_fail;
18131 }
18132 {
18133 arg3 = (int)(SWIG_As_int(obj2));
18134 if (SWIG_arg_fail(3)) SWIG_fail;
18135 }
18136 {
18137 arg4 = (int)(SWIG_As_int(obj3));
18138 if (SWIG_arg_fail(4)) SWIG_fail;
18139 }
18140 {
18141 arg5 = (int)(SWIG_As_int(obj4));
18142 if (SWIG_arg_fail(5)) SWIG_fail;
18143 }
d55e5bfc 18144 if (obj5) {
093d3ff1
RD
18145 {
18146 arg6 = (int)(SWIG_As_int(obj5));
18147 if (SWIG_arg_fail(6)) SWIG_fail;
18148 }
d55e5bfc
RD
18149 }
18150 {
18151 PyThreadState* __tstate = wxPyBeginAllowThreads();
18152 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18153
18154 wxPyEndAllowThreads(__tstate);
18155 if (PyErr_Occurred()) SWIG_fail;
18156 }
18157 Py_INCREF(Py_None); resultobj = Py_None;
18158 return resultobj;
18159 fail:
18160 return NULL;
18161}
18162
18163
c32bde28 18164static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18165 PyObject *resultobj;
18166 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18167 int arg2 ;
18168 int arg3 ;
18169 PyObject * obj0 = 0 ;
18170 PyObject * obj1 = 0 ;
18171 PyObject * obj2 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self",(char *) "width",(char *) "height", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18178 if (SWIG_arg_fail(1)) SWIG_fail;
18179 {
18180 arg2 = (int)(SWIG_As_int(obj1));
18181 if (SWIG_arg_fail(2)) SWIG_fail;
18182 }
18183 {
18184 arg3 = (int)(SWIG_As_int(obj2));
18185 if (SWIG_arg_fail(3)) SWIG_fail;
18186 }
d55e5bfc
RD
18187 {
18188 PyThreadState* __tstate = wxPyBeginAllowThreads();
18189 (arg1)->base_DoSetClientSize(arg2,arg3);
18190
18191 wxPyEndAllowThreads(__tstate);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 Py_INCREF(Py_None); resultobj = Py_None;
18195 return resultobj;
18196 fail:
18197 return NULL;
18198}
18199
18200
c32bde28 18201static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18202 PyObject *resultobj;
18203 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18204 int arg2 ;
18205 int arg3 ;
18206 PyObject * obj0 = 0 ;
18207 PyObject * obj1 = 0 ;
18208 PyObject * obj2 = 0 ;
18209 char *kwnames[] = {
18210 (char *) "self",(char *) "x",(char *) "y", NULL
18211 };
18212
18213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18215 if (SWIG_arg_fail(1)) SWIG_fail;
18216 {
18217 arg2 = (int)(SWIG_As_int(obj1));
18218 if (SWIG_arg_fail(2)) SWIG_fail;
18219 }
18220 {
18221 arg3 = (int)(SWIG_As_int(obj2));
18222 if (SWIG_arg_fail(3)) SWIG_fail;
18223 }
d55e5bfc
RD
18224 {
18225 PyThreadState* __tstate = wxPyBeginAllowThreads();
18226 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18227
18228 wxPyEndAllowThreads(__tstate);
18229 if (PyErr_Occurred()) SWIG_fail;
18230 }
18231 Py_INCREF(Py_None); resultobj = Py_None;
18232 return resultobj;
18233 fail:
18234 return NULL;
18235}
18236
18237
c32bde28 18238static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18239 PyObject *resultobj;
18240 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18241 int *arg2 = (int *) 0 ;
18242 int *arg3 = (int *) 0 ;
18243 int temp2 ;
c32bde28 18244 int res2 = 0 ;
d55e5bfc 18245 int temp3 ;
c32bde28 18246 int res3 = 0 ;
d55e5bfc
RD
18247 PyObject * obj0 = 0 ;
18248 char *kwnames[] = {
18249 (char *) "self", NULL
18250 };
18251
c32bde28
RD
18252 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18253 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18256 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18257 {
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18260
18261 wxPyEndAllowThreads(__tstate);
18262 if (PyErr_Occurred()) SWIG_fail;
18263 }
18264 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18265 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18266 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18267 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18268 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18269 return resultobj;
18270 fail:
18271 return NULL;
18272}
18273
18274
c32bde28 18275static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18276 PyObject *resultobj;
18277 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18278 int *arg2 = (int *) 0 ;
18279 int *arg3 = (int *) 0 ;
18280 int temp2 ;
c32bde28 18281 int res2 = 0 ;
d55e5bfc 18282 int temp3 ;
c32bde28 18283 int res3 = 0 ;
d55e5bfc
RD
18284 PyObject * obj0 = 0 ;
18285 char *kwnames[] = {
18286 (char *) "self", NULL
18287 };
18288
c32bde28
RD
18289 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18290 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
18301 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18302 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18303 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18304 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18305 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18306 return resultobj;
18307 fail:
18308 return NULL;
18309}
18310
18311
c32bde28 18312static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18313 PyObject *resultobj;
18314 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18315 int *arg2 = (int *) 0 ;
18316 int *arg3 = (int *) 0 ;
18317 int temp2 ;
c32bde28 18318 int res2 = 0 ;
d55e5bfc 18319 int temp3 ;
c32bde28 18320 int res3 = 0 ;
d55e5bfc
RD
18321 PyObject * obj0 = 0 ;
18322 char *kwnames[] = {
18323 (char *) "self", NULL
18324 };
18325
c32bde28
RD
18326 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18327 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
18329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18330 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18331 {
18332 PyThreadState* __tstate = wxPyBeginAllowThreads();
18333 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18334
18335 wxPyEndAllowThreads(__tstate);
18336 if (PyErr_Occurred()) SWIG_fail;
18337 }
18338 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18339 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18340 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18341 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18342 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18343 return resultobj;
18344 fail:
18345 return NULL;
18346}
18347
18348
c32bde28 18349static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18350 PyObject *resultobj;
18351 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18352 wxSize result;
18353 PyObject * obj0 = 0 ;
18354 char *kwnames[] = {
18355 (char *) "self", NULL
18356 };
18357
18358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18361 {
18362 PyThreadState* __tstate = wxPyBeginAllowThreads();
18363 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18364
18365 wxPyEndAllowThreads(__tstate);
18366 if (PyErr_Occurred()) SWIG_fail;
18367 }
18368 {
18369 wxSize * resultptr;
093d3ff1 18370 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18371 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18372 }
18373 return resultobj;
18374 fail:
18375 return NULL;
18376}
18377
18378
c32bde28 18379static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18380 PyObject *resultobj;
18381 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18382 wxSize result;
18383 PyObject * obj0 = 0 ;
18384 char *kwnames[] = {
18385 (char *) "self", NULL
18386 };
18387
18388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18391 {
18392 PyThreadState* __tstate = wxPyBeginAllowThreads();
18393 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18394
18395 wxPyEndAllowThreads(__tstate);
18396 if (PyErr_Occurred()) SWIG_fail;
18397 }
18398 {
18399 wxSize * resultptr;
093d3ff1 18400 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18401 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18402 }
18403 return resultobj;
18404 fail:
18405 return NULL;
18406}
18407
18408
c32bde28 18409static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18410 PyObject *resultobj;
18411 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18412 PyObject * obj0 = 0 ;
18413 char *kwnames[] = {
18414 (char *) "self", NULL
18415 };
18416
18417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
18418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18420 {
18421 PyThreadState* __tstate = wxPyBeginAllowThreads();
18422 (arg1)->base_InitDialog();
18423
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
18427 Py_INCREF(Py_None); resultobj = Py_None;
18428 return resultobj;
18429 fail:
18430 return NULL;
18431}
18432
18433
c32bde28 18434static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18435 PyObject *resultobj;
18436 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18437 bool result;
18438 PyObject * obj0 = 0 ;
18439 char *kwnames[] = {
18440 (char *) "self", NULL
18441 };
18442
18443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18446 {
18447 PyThreadState* __tstate = wxPyBeginAllowThreads();
18448 result = (bool)(arg1)->base_TransferDataToWindow();
18449
18450 wxPyEndAllowThreads(__tstate);
18451 if (PyErr_Occurred()) SWIG_fail;
18452 }
18453 {
18454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18455 }
18456 return resultobj;
18457 fail:
18458 return NULL;
18459}
18460
18461
c32bde28 18462static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18463 PyObject *resultobj;
18464 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18465 bool result;
18466 PyObject * obj0 = 0 ;
18467 char *kwnames[] = {
18468 (char *) "self", NULL
18469 };
18470
18471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18474 {
18475 PyThreadState* __tstate = wxPyBeginAllowThreads();
18476 result = (bool)(arg1)->base_TransferDataFromWindow();
18477
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 {
18482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18483 }
18484 return resultobj;
18485 fail:
18486 return NULL;
18487}
18488
18489
c32bde28 18490static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18491 PyObject *resultobj;
18492 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18493 bool result;
18494 PyObject * obj0 = 0 ;
18495 char *kwnames[] = {
18496 (char *) "self", NULL
18497 };
18498
18499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
18500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18501 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18502 {
18503 PyThreadState* __tstate = wxPyBeginAllowThreads();
18504 result = (bool)(arg1)->base_Validate();
18505
18506 wxPyEndAllowThreads(__tstate);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
18509 {
18510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18511 }
18512 return resultobj;
18513 fail:
18514 return NULL;
18515}
18516
18517
c32bde28 18518static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18519 PyObject *resultobj;
18520 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18521 bool result;
18522 PyObject * obj0 = 0 ;
18523 char *kwnames[] = {
18524 (char *) "self", NULL
18525 };
18526
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
18528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18529 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18530 {
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18533
18534 wxPyEndAllowThreads(__tstate);
18535 if (PyErr_Occurred()) SWIG_fail;
18536 }
18537 {
18538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18539 }
18540 return resultobj;
18541 fail:
18542 return NULL;
18543}
18544
18545
c32bde28 18546static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18547 PyObject *resultobj;
18548 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18549 bool result;
18550 PyObject * obj0 = 0 ;
18551 char *kwnames[] = {
18552 (char *) "self", NULL
18553 };
18554
18555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
18556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
18565 {
18566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18567 }
18568 return resultobj;
18569 fail:
18570 return NULL;
18571}
18572
18573
c32bde28 18574static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18575 PyObject *resultobj;
18576 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18577 wxSize result;
18578 PyObject * obj0 = 0 ;
18579 char *kwnames[] = {
18580 (char *) "self", NULL
18581 };
18582
18583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18586 {
18587 PyThreadState* __tstate = wxPyBeginAllowThreads();
18588 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18589
18590 wxPyEndAllowThreads(__tstate);
18591 if (PyErr_Occurred()) SWIG_fail;
18592 }
18593 {
18594 wxSize * resultptr;
093d3ff1 18595 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18596 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18597 }
18598 return resultobj;
18599 fail:
18600 return NULL;
18601}
18602
18603
c32bde28 18604static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18605 PyObject *resultobj;
18606 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18607 wxWindow *arg2 = (wxWindow *) 0 ;
18608 PyObject * obj0 = 0 ;
18609 PyObject * obj1 = 0 ;
18610 char *kwnames[] = {
18611 (char *) "self",(char *) "child", NULL
18612 };
18613
18614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18616 if (SWIG_arg_fail(1)) SWIG_fail;
18617 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18618 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 (arg1)->base_AddChild(arg2);
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
18626 Py_INCREF(Py_None); resultobj = Py_None;
18627 return resultobj;
18628 fail:
18629 return NULL;
18630}
18631
18632
c32bde28 18633static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18634 PyObject *resultobj;
18635 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18636 wxWindow *arg2 = (wxWindow *) 0 ;
18637 PyObject * obj0 = 0 ;
18638 PyObject * obj1 = 0 ;
18639 char *kwnames[] = {
18640 (char *) "self",(char *) "child", NULL
18641 };
18642
18643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18645 if (SWIG_arg_fail(1)) SWIG_fail;
18646 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18647 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18648 {
18649 PyThreadState* __tstate = wxPyBeginAllowThreads();
18650 (arg1)->base_RemoveChild(arg2);
18651
18652 wxPyEndAllowThreads(__tstate);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 }
18655 Py_INCREF(Py_None); resultobj = Py_None;
18656 return resultobj;
18657 fail:
18658 return NULL;
18659}
18660
18661
c32bde28 18662static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18663 PyObject *resultobj;
18664 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18665 bool result;
18666 PyObject * obj0 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self", NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
18672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 18676 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 {
18682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18683 }
18684 return resultobj;
18685 fail:
18686 return NULL;
18687}
18688
18689
c32bde28 18690static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
18691 PyObject *resultobj;
18692 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18693 wxVisualAttributes result;
18694 PyObject * obj0 = 0 ;
18695 char *kwnames[] = {
18696 (char *) "self", NULL
18697 };
18698
18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18701 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 result = (arg1)->base_GetDefaultAttributes();
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 {
18710 wxVisualAttributes * resultptr;
093d3ff1 18711 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
caef1a4d
RD
18712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18713 }
18714 return resultobj;
18715 fail:
18716 return NULL;
18717}
18718
18719
c32bde28 18720static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18721 PyObject *obj;
18722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18723 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18724 Py_INCREF(obj);
18725 return Py_BuildValue((char *)"");
18726}
c32bde28 18727static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18728 PyObject *resultobj;
18729 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 18730 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
18731 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18732 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18733 wxSize const &arg4_defvalue = wxDefaultSize ;
18734 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18735 long arg5 = (long) 0 ;
18736 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18737 wxString *arg6 = (wxString *) &arg6_defvalue ;
18738 wxPyPanel *result;
18739 wxPoint temp3 ;
18740 wxSize temp4 ;
ae8162c8 18741 bool temp6 = false ;
d55e5bfc
RD
18742 PyObject * obj0 = 0 ;
18743 PyObject * obj1 = 0 ;
18744 PyObject * obj2 = 0 ;
18745 PyObject * obj3 = 0 ;
18746 PyObject * obj4 = 0 ;
18747 PyObject * obj5 = 0 ;
18748 char *kwnames[] = {
18749 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18750 };
18751
248ed943 18752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18754 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 18755 if (obj1) {
093d3ff1
RD
18756 {
18757 arg2 = (int const)(SWIG_As_int(obj1));
18758 if (SWIG_arg_fail(2)) SWIG_fail;
18759 }
248ed943 18760 }
d55e5bfc
RD
18761 if (obj2) {
18762 {
18763 arg3 = &temp3;
18764 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18765 }
18766 }
18767 if (obj3) {
18768 {
18769 arg4 = &temp4;
18770 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18771 }
18772 }
18773 if (obj4) {
093d3ff1
RD
18774 {
18775 arg5 = (long)(SWIG_As_long(obj4));
18776 if (SWIG_arg_fail(5)) SWIG_fail;
18777 }
d55e5bfc
RD
18778 }
18779 if (obj5) {
18780 {
18781 arg6 = wxString_in_helper(obj5);
18782 if (arg6 == NULL) SWIG_fail;
ae8162c8 18783 temp6 = true;
d55e5bfc
RD
18784 }
18785 }
18786 {
0439c23b 18787 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18788 PyThreadState* __tstate = wxPyBeginAllowThreads();
18789 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18790
18791 wxPyEndAllowThreads(__tstate);
110da5b0 18792 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18793 }
18794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18795 {
18796 if (temp6)
18797 delete arg6;
18798 }
18799 return resultobj;
18800 fail:
18801 {
18802 if (temp6)
18803 delete arg6;
18804 }
18805 return NULL;
18806}
18807
18808
c32bde28 18809static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18810 PyObject *resultobj;
18811 wxPyPanel *result;
18812 char *kwnames[] = {
18813 NULL
18814 };
18815
18816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18817 {
0439c23b 18818 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18819 PyThreadState* __tstate = wxPyBeginAllowThreads();
18820 result = (wxPyPanel *)new wxPyPanel();
18821
18822 wxPyEndAllowThreads(__tstate);
110da5b0 18823 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18824 }
18825 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18826 return resultobj;
18827 fail:
18828 return NULL;
18829}
18830
18831
c32bde28 18832static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18833 PyObject *resultobj;
18834 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18835 PyObject *arg2 = (PyObject *) 0 ;
18836 PyObject *arg3 = (PyObject *) 0 ;
18837 PyObject * obj0 = 0 ;
18838 PyObject * obj1 = 0 ;
18839 PyObject * obj2 = 0 ;
18840 char *kwnames[] = {
18841 (char *) "self",(char *) "self",(char *) "_class", NULL
18842 };
18843
18844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18847 arg2 = obj1;
18848 arg3 = obj2;
18849 {
18850 PyThreadState* __tstate = wxPyBeginAllowThreads();
18851 (arg1)->_setCallbackInfo(arg2,arg3);
18852
18853 wxPyEndAllowThreads(__tstate);
18854 if (PyErr_Occurred()) SWIG_fail;
18855 }
18856 Py_INCREF(Py_None); resultobj = Py_None;
18857 return resultobj;
18858 fail:
18859 return NULL;
18860}
18861
18862
c32bde28 18863static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
18864 PyObject *resultobj;
18865 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18866 wxSize *arg2 = 0 ;
18867 wxSize temp2 ;
18868 PyObject * obj0 = 0 ;
18869 PyObject * obj1 = 0 ;
18870 char *kwnames[] = {
18871 (char *) "self",(char *) "size", NULL
18872 };
18873
18874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18876 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
18877 {
18878 arg2 = &temp2;
18879 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18880 }
18881 {
18882 PyThreadState* __tstate = wxPyBeginAllowThreads();
18883 (arg1)->SetBestSize((wxSize const &)*arg2);
18884
18885 wxPyEndAllowThreads(__tstate);
18886 if (PyErr_Occurred()) SWIG_fail;
18887 }
18888 Py_INCREF(Py_None); resultobj = Py_None;
18889 return resultobj;
18890 fail:
18891 return NULL;
18892}
18893
18894
60d5fcc1
RD
18895static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18896 PyObject *resultobj;
18897 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18898 wxDC *arg2 = (wxDC *) 0 ;
18899 bool result;
18900 PyObject * obj0 = 0 ;
18901 PyObject * obj1 = 0 ;
18902 char *kwnames[] = {
18903 (char *) "self",(char *) "dc", NULL
18904 };
18905
18906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18908 if (SWIG_arg_fail(1)) SWIG_fail;
18909 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18910 if (SWIG_arg_fail(2)) SWIG_fail;
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 result = (bool)(arg1)->DoEraseBackground(arg2);
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 {
18919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18920 }
18921 return resultobj;
18922 fail:
18923 return NULL;
18924}
18925
18926
c32bde28 18927static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18928 PyObject *resultobj;
18929 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18930 int arg2 ;
18931 int arg3 ;
18932 int arg4 ;
18933 int arg5 ;
18934 PyObject * obj0 = 0 ;
18935 PyObject * obj1 = 0 ;
18936 PyObject * obj2 = 0 ;
18937 PyObject * obj3 = 0 ;
18938 PyObject * obj4 = 0 ;
18939 char *kwnames[] = {
18940 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18941 };
18942
18943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
18944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail;
18946 {
18947 arg2 = (int)(SWIG_As_int(obj1));
18948 if (SWIG_arg_fail(2)) SWIG_fail;
18949 }
18950 {
18951 arg3 = (int)(SWIG_As_int(obj2));
18952 if (SWIG_arg_fail(3)) SWIG_fail;
18953 }
18954 {
18955 arg4 = (int)(SWIG_As_int(obj3));
18956 if (SWIG_arg_fail(4)) SWIG_fail;
18957 }
18958 {
18959 arg5 = (int)(SWIG_As_int(obj4));
18960 if (SWIG_arg_fail(5)) SWIG_fail;
18961 }
d55e5bfc
RD
18962 {
18963 PyThreadState* __tstate = wxPyBeginAllowThreads();
18964 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18965
18966 wxPyEndAllowThreads(__tstate);
18967 if (PyErr_Occurred()) SWIG_fail;
18968 }
18969 Py_INCREF(Py_None); resultobj = Py_None;
18970 return resultobj;
18971 fail:
18972 return NULL;
18973}
18974
18975
c32bde28 18976static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18977 PyObject *resultobj;
18978 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18979 int arg2 ;
18980 int arg3 ;
18981 int arg4 ;
18982 int arg5 ;
18983 int arg6 = (int) wxSIZE_AUTO ;
18984 PyObject * obj0 = 0 ;
18985 PyObject * obj1 = 0 ;
18986 PyObject * obj2 = 0 ;
18987 PyObject * obj3 = 0 ;
18988 PyObject * obj4 = 0 ;
18989 PyObject * obj5 = 0 ;
18990 char *kwnames[] = {
18991 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18992 };
18993
18994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18996 if (SWIG_arg_fail(1)) SWIG_fail;
18997 {
18998 arg2 = (int)(SWIG_As_int(obj1));
18999 if (SWIG_arg_fail(2)) SWIG_fail;
19000 }
19001 {
19002 arg3 = (int)(SWIG_As_int(obj2));
19003 if (SWIG_arg_fail(3)) SWIG_fail;
19004 }
19005 {
19006 arg4 = (int)(SWIG_As_int(obj3));
19007 if (SWIG_arg_fail(4)) SWIG_fail;
19008 }
19009 {
19010 arg5 = (int)(SWIG_As_int(obj4));
19011 if (SWIG_arg_fail(5)) SWIG_fail;
19012 }
d55e5bfc 19013 if (obj5) {
093d3ff1
RD
19014 {
19015 arg6 = (int)(SWIG_As_int(obj5));
19016 if (SWIG_arg_fail(6)) SWIG_fail;
19017 }
d55e5bfc
RD
19018 }
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19022
19023 wxPyEndAllowThreads(__tstate);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 }
19026 Py_INCREF(Py_None); resultobj = Py_None;
19027 return resultobj;
19028 fail:
19029 return NULL;
19030}
19031
19032
c32bde28 19033static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19034 PyObject *resultobj;
19035 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19036 int arg2 ;
19037 int arg3 ;
19038 PyObject * obj0 = 0 ;
19039 PyObject * obj1 = 0 ;
19040 PyObject * obj2 = 0 ;
19041 char *kwnames[] = {
19042 (char *) "self",(char *) "width",(char *) "height", NULL
19043 };
19044
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19047 if (SWIG_arg_fail(1)) SWIG_fail;
19048 {
19049 arg2 = (int)(SWIG_As_int(obj1));
19050 if (SWIG_arg_fail(2)) SWIG_fail;
19051 }
19052 {
19053 arg3 = (int)(SWIG_As_int(obj2));
19054 if (SWIG_arg_fail(3)) SWIG_fail;
19055 }
d55e5bfc
RD
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 (arg1)->base_DoSetClientSize(arg2,arg3);
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 Py_INCREF(Py_None); resultobj = Py_None;
19064 return resultobj;
19065 fail:
19066 return NULL;
19067}
19068
19069
c32bde28 19070static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19071 PyObject *resultobj;
19072 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19073 int arg2 ;
19074 int arg3 ;
19075 PyObject * obj0 = 0 ;
19076 PyObject * obj1 = 0 ;
19077 PyObject * obj2 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self",(char *) "x",(char *) "y", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail;
19085 {
19086 arg2 = (int)(SWIG_As_int(obj1));
19087 if (SWIG_arg_fail(2)) SWIG_fail;
19088 }
19089 {
19090 arg3 = (int)(SWIG_As_int(obj2));
19091 if (SWIG_arg_fail(3)) SWIG_fail;
19092 }
d55e5bfc
RD
19093 {
19094 PyThreadState* __tstate = wxPyBeginAllowThreads();
19095 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19096
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 Py_INCREF(Py_None); resultobj = Py_None;
19101 return resultobj;
19102 fail:
19103 return NULL;
19104}
19105
19106
c32bde28 19107static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19108 PyObject *resultobj;
19109 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19110 int *arg2 = (int *) 0 ;
19111 int *arg3 = (int *) 0 ;
19112 int temp2 ;
c32bde28 19113 int res2 = 0 ;
d55e5bfc 19114 int temp3 ;
c32bde28 19115 int res3 = 0 ;
d55e5bfc
RD
19116 PyObject * obj0 = 0 ;
19117 char *kwnames[] = {
19118 (char *) "self", NULL
19119 };
19120
c32bde28
RD
19121 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19122 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19125 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19126 {
19127 PyThreadState* __tstate = wxPyBeginAllowThreads();
19128 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
19129
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19134 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19135 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19136 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19137 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19138 return resultobj;
19139 fail:
19140 return NULL;
19141}
19142
19143
c32bde28 19144static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19145 PyObject *resultobj;
19146 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19147 int *arg2 = (int *) 0 ;
19148 int *arg3 = (int *) 0 ;
19149 int temp2 ;
c32bde28 19150 int res2 = 0 ;
d55e5bfc 19151 int temp3 ;
c32bde28 19152 int res3 = 0 ;
d55e5bfc
RD
19153 PyObject * obj0 = 0 ;
19154 char *kwnames[] = {
19155 (char *) "self", NULL
19156 };
19157
c32bde28
RD
19158 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19159 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19166
19167 wxPyEndAllowThreads(__tstate);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
19170 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19171 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19172 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19173 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19174 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19175 return resultobj;
19176 fail:
19177 return NULL;
19178}
19179
19180
c32bde28 19181static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19182 PyObject *resultobj;
19183 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19184 int *arg2 = (int *) 0 ;
19185 int *arg3 = (int *) 0 ;
19186 int temp2 ;
c32bde28 19187 int res2 = 0 ;
d55e5bfc 19188 int temp3 ;
c32bde28 19189 int res3 = 0 ;
d55e5bfc
RD
19190 PyObject * obj0 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self", NULL
19193 };
19194
c32bde28
RD
19195 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19196 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
19198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19203
19204 wxPyEndAllowThreads(__tstate);
19205 if (PyErr_Occurred()) SWIG_fail;
19206 }
19207 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19208 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19209 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19210 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19211 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19212 return resultobj;
19213 fail:
19214 return NULL;
19215}
19216
19217
c32bde28 19218static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19219 PyObject *resultobj;
19220 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19221 wxSize result;
19222 PyObject * obj0 = 0 ;
19223 char *kwnames[] = {
19224 (char *) "self", NULL
19225 };
19226
19227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19229 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19230 {
19231 PyThreadState* __tstate = wxPyBeginAllowThreads();
19232 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19233
19234 wxPyEndAllowThreads(__tstate);
19235 if (PyErr_Occurred()) SWIG_fail;
19236 }
19237 {
19238 wxSize * resultptr;
093d3ff1 19239 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19241 }
19242 return resultobj;
19243 fail:
19244 return NULL;
19245}
19246
19247
c32bde28 19248static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19249 PyObject *resultobj;
19250 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19251 wxSize result;
19252 PyObject * obj0 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "self", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19259 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19260 {
19261 PyThreadState* __tstate = wxPyBeginAllowThreads();
19262 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19263
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
19267 {
19268 wxSize * resultptr;
093d3ff1 19269 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19270 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19271 }
19272 return resultobj;
19273 fail:
19274 return NULL;
19275}
19276
19277
c32bde28 19278static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19279 PyObject *resultobj;
19280 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19281 PyObject * obj0 = 0 ;
19282 char *kwnames[] = {
19283 (char *) "self", NULL
19284 };
19285
19286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
19287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19289 {
19290 PyThreadState* __tstate = wxPyBeginAllowThreads();
19291 (arg1)->base_InitDialog();
19292
19293 wxPyEndAllowThreads(__tstate);
19294 if (PyErr_Occurred()) SWIG_fail;
19295 }
19296 Py_INCREF(Py_None); resultobj = Py_None;
19297 return resultobj;
19298 fail:
19299 return NULL;
19300}
19301
19302
c32bde28 19303static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19304 PyObject *resultobj;
19305 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19306 bool result;
19307 PyObject * obj0 = 0 ;
19308 char *kwnames[] = {
19309 (char *) "self", NULL
19310 };
19311
19312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19314 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19315 {
19316 PyThreadState* __tstate = wxPyBeginAllowThreads();
19317 result = (bool)(arg1)->base_TransferDataToWindow();
19318
19319 wxPyEndAllowThreads(__tstate);
19320 if (PyErr_Occurred()) SWIG_fail;
19321 }
19322 {
19323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19324 }
19325 return resultobj;
19326 fail:
19327 return NULL;
19328}
19329
19330
c32bde28 19331static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19332 PyObject *resultobj;
19333 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19334 bool result;
19335 PyObject * obj0 = 0 ;
19336 char *kwnames[] = {
19337 (char *) "self", NULL
19338 };
19339
19340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19342 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
19345 result = (bool)(arg1)->base_TransferDataFromWindow();
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 {
19351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19352 }
19353 return resultobj;
19354 fail:
19355 return NULL;
19356}
19357
19358
c32bde28 19359static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19360 PyObject *resultobj;
19361 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19362 bool result;
19363 PyObject * obj0 = 0 ;
19364 char *kwnames[] = {
19365 (char *) "self", NULL
19366 };
19367
19368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
19369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19370 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19371 {
19372 PyThreadState* __tstate = wxPyBeginAllowThreads();
19373 result = (bool)(arg1)->base_Validate();
19374
19375 wxPyEndAllowThreads(__tstate);
19376 if (PyErr_Occurred()) SWIG_fail;
19377 }
19378 {
19379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19380 }
19381 return resultobj;
19382 fail:
19383 return NULL;
19384}
19385
19386
c32bde28 19387static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19388 PyObject *resultobj;
19389 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19390 bool result;
19391 PyObject * obj0 = 0 ;
19392 char *kwnames[] = {
19393 (char *) "self", NULL
19394 };
19395
19396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
19397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19398 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19399 {
19400 PyThreadState* __tstate = wxPyBeginAllowThreads();
19401 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19402
19403 wxPyEndAllowThreads(__tstate);
19404 if (PyErr_Occurred()) SWIG_fail;
19405 }
19406 {
19407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19408 }
19409 return resultobj;
19410 fail:
19411 return NULL;
19412}
19413
19414
c32bde28 19415static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19416 PyObject *resultobj;
19417 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19418 bool result;
19419 PyObject * obj0 = 0 ;
19420 char *kwnames[] = {
19421 (char *) "self", NULL
19422 };
19423
19424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
19425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19426 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19427 {
19428 PyThreadState* __tstate = wxPyBeginAllowThreads();
19429 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19430
19431 wxPyEndAllowThreads(__tstate);
19432 if (PyErr_Occurred()) SWIG_fail;
19433 }
19434 {
19435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19436 }
19437 return resultobj;
19438 fail:
19439 return NULL;
19440}
19441
19442
c32bde28 19443static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19444 PyObject *resultobj;
19445 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19446 wxSize result;
19447 PyObject * obj0 = 0 ;
19448 char *kwnames[] = {
19449 (char *) "self", NULL
19450 };
19451
19452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19454 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19455 {
19456 PyThreadState* __tstate = wxPyBeginAllowThreads();
19457 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19458
19459 wxPyEndAllowThreads(__tstate);
19460 if (PyErr_Occurred()) SWIG_fail;
19461 }
19462 {
19463 wxSize * resultptr;
093d3ff1 19464 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19466 }
19467 return resultobj;
19468 fail:
19469 return NULL;
19470}
19471
19472
c32bde28 19473static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19474 PyObject *resultobj;
19475 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19476 wxWindow *arg2 = (wxWindow *) 0 ;
19477 PyObject * obj0 = 0 ;
19478 PyObject * obj1 = 0 ;
19479 char *kwnames[] = {
19480 (char *) "self",(char *) "child", NULL
19481 };
19482
19483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19485 if (SWIG_arg_fail(1)) SWIG_fail;
19486 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19487 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19488 {
19489 PyThreadState* __tstate = wxPyBeginAllowThreads();
19490 (arg1)->base_AddChild(arg2);
19491
19492 wxPyEndAllowThreads(__tstate);
19493 if (PyErr_Occurred()) SWIG_fail;
19494 }
19495 Py_INCREF(Py_None); resultobj = Py_None;
19496 return resultobj;
19497 fail:
19498 return NULL;
19499}
19500
19501
c32bde28 19502static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19503 PyObject *resultobj;
19504 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19505 wxWindow *arg2 = (wxWindow *) 0 ;
19506 PyObject * obj0 = 0 ;
19507 PyObject * obj1 = 0 ;
19508 char *kwnames[] = {
19509 (char *) "self",(char *) "child", NULL
19510 };
19511
19512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19514 if (SWIG_arg_fail(1)) SWIG_fail;
19515 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19516 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19517 {
19518 PyThreadState* __tstate = wxPyBeginAllowThreads();
19519 (arg1)->base_RemoveChild(arg2);
19520
19521 wxPyEndAllowThreads(__tstate);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 }
19524 Py_INCREF(Py_None); resultobj = Py_None;
19525 return resultobj;
19526 fail:
19527 return NULL;
19528}
19529
19530
c32bde28 19531static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19532 PyObject *resultobj;
19533 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19534 bool result;
19535 PyObject * obj0 = 0 ;
19536 char *kwnames[] = {
19537 (char *) "self", NULL
19538 };
19539
19540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
19541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19542 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19543 {
19544 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 19545 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
19546
19547 wxPyEndAllowThreads(__tstate);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 }
19550 {
19551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19552 }
19553 return resultobj;
19554 fail:
19555 return NULL;
19556}
19557
19558
c32bde28 19559static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
19560 PyObject *resultobj;
19561 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19562 wxVisualAttributes result;
19563 PyObject * obj0 = 0 ;
19564 char *kwnames[] = {
19565 (char *) "self", NULL
19566 };
19567
19568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
19569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19570 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
19571 {
19572 PyThreadState* __tstate = wxPyBeginAllowThreads();
19573 result = (arg1)->base_GetDefaultAttributes();
19574
19575 wxPyEndAllowThreads(__tstate);
19576 if (PyErr_Occurred()) SWIG_fail;
19577 }
19578 {
19579 wxVisualAttributes * resultptr;
093d3ff1 19580 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
caef1a4d
RD
19581 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19582 }
19583 return resultobj;
19584 fail:
19585 return NULL;
19586}
19587
19588
c32bde28 19589static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19590 PyObject *obj;
19591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19592 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19593 Py_INCREF(obj);
19594 return Py_BuildValue((char *)"");
19595}
c32bde28 19596static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19597 PyObject *resultobj;
19598 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 19599 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
19600 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19601 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19602 wxSize const &arg4_defvalue = wxDefaultSize ;
19603 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19604 long arg5 = (long) 0 ;
19605 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19606 wxString *arg6 = (wxString *) &arg6_defvalue ;
19607 wxPyScrolledWindow *result;
19608 wxPoint temp3 ;
19609 wxSize temp4 ;
ae8162c8 19610 bool temp6 = false ;
d55e5bfc
RD
19611 PyObject * obj0 = 0 ;
19612 PyObject * obj1 = 0 ;
19613 PyObject * obj2 = 0 ;
19614 PyObject * obj3 = 0 ;
19615 PyObject * obj4 = 0 ;
19616 PyObject * obj5 = 0 ;
19617 char *kwnames[] = {
19618 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19619 };
19620
248ed943 19621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19623 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 19624 if (obj1) {
093d3ff1
RD
19625 {
19626 arg2 = (int const)(SWIG_As_int(obj1));
19627 if (SWIG_arg_fail(2)) SWIG_fail;
19628 }
248ed943 19629 }
d55e5bfc
RD
19630 if (obj2) {
19631 {
19632 arg3 = &temp3;
19633 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19634 }
19635 }
19636 if (obj3) {
19637 {
19638 arg4 = &temp4;
19639 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19640 }
19641 }
19642 if (obj4) {
093d3ff1
RD
19643 {
19644 arg5 = (long)(SWIG_As_long(obj4));
19645 if (SWIG_arg_fail(5)) SWIG_fail;
19646 }
d55e5bfc
RD
19647 }
19648 if (obj5) {
19649 {
19650 arg6 = wxString_in_helper(obj5);
19651 if (arg6 == NULL) SWIG_fail;
ae8162c8 19652 temp6 = true;
d55e5bfc
RD
19653 }
19654 }
19655 {
0439c23b 19656 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19657 PyThreadState* __tstate = wxPyBeginAllowThreads();
19658 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19659
19660 wxPyEndAllowThreads(__tstate);
110da5b0 19661 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19662 }
19663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19664 {
19665 if (temp6)
19666 delete arg6;
19667 }
19668 return resultobj;
19669 fail:
19670 {
19671 if (temp6)
19672 delete arg6;
19673 }
19674 return NULL;
19675}
19676
19677
c32bde28 19678static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19679 PyObject *resultobj;
19680 wxPyScrolledWindow *result;
19681 char *kwnames[] = {
19682 NULL
19683 };
19684
19685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19686 {
0439c23b 19687 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19688 PyThreadState* __tstate = wxPyBeginAllowThreads();
19689 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19690
19691 wxPyEndAllowThreads(__tstate);
110da5b0 19692 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19693 }
19694 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19695 return resultobj;
19696 fail:
19697 return NULL;
19698}
19699
19700
c32bde28 19701static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19702 PyObject *resultobj;
19703 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19704 PyObject *arg2 = (PyObject *) 0 ;
19705 PyObject *arg3 = (PyObject *) 0 ;
19706 PyObject * obj0 = 0 ;
19707 PyObject * obj1 = 0 ;
19708 PyObject * obj2 = 0 ;
19709 char *kwnames[] = {
19710 (char *) "self",(char *) "self",(char *) "_class", NULL
19711 };
19712
19713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19716 arg2 = obj1;
19717 arg3 = obj2;
19718 {
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 (arg1)->_setCallbackInfo(arg2,arg3);
19721
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
19725 Py_INCREF(Py_None); resultobj = Py_None;
19726 return resultobj;
19727 fail:
19728 return NULL;
19729}
19730
19731
c32bde28 19732static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
19733 PyObject *resultobj;
19734 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19735 wxSize *arg2 = 0 ;
19736 wxSize temp2 ;
19737 PyObject * obj0 = 0 ;
19738 PyObject * obj1 = 0 ;
19739 char *kwnames[] = {
19740 (char *) "self",(char *) "size", NULL
19741 };
19742
19743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19745 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
19746 {
19747 arg2 = &temp2;
19748 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19749 }
19750 {
19751 PyThreadState* __tstate = wxPyBeginAllowThreads();
19752 (arg1)->SetBestSize((wxSize const &)*arg2);
19753
19754 wxPyEndAllowThreads(__tstate);
19755 if (PyErr_Occurred()) SWIG_fail;
19756 }
19757 Py_INCREF(Py_None); resultobj = Py_None;
19758 return resultobj;
19759 fail:
19760 return NULL;
19761}
19762
19763
60d5fcc1
RD
19764static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19765 PyObject *resultobj;
19766 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19767 wxDC *arg2 = (wxDC *) 0 ;
19768 bool result;
19769 PyObject * obj0 = 0 ;
19770 PyObject * obj1 = 0 ;
19771 char *kwnames[] = {
19772 (char *) "self",(char *) "dc", NULL
19773 };
19774
19775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19777 if (SWIG_arg_fail(1)) SWIG_fail;
19778 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19779 if (SWIG_arg_fail(2)) SWIG_fail;
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 result = (bool)(arg1)->DoEraseBackground(arg2);
19783
19784 wxPyEndAllowThreads(__tstate);
19785 if (PyErr_Occurred()) SWIG_fail;
19786 }
19787 {
19788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19789 }
19790 return resultobj;
19791 fail:
19792 return NULL;
19793}
19794
19795
c32bde28 19796static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19797 PyObject *resultobj;
19798 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19799 int arg2 ;
19800 int arg3 ;
19801 int arg4 ;
19802 int arg5 ;
19803 PyObject * obj0 = 0 ;
19804 PyObject * obj1 = 0 ;
19805 PyObject * obj2 = 0 ;
19806 PyObject * obj3 = 0 ;
19807 PyObject * obj4 = 0 ;
19808 char *kwnames[] = {
19809 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19810 };
19811
19812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
19813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19814 if (SWIG_arg_fail(1)) SWIG_fail;
19815 {
19816 arg2 = (int)(SWIG_As_int(obj1));
19817 if (SWIG_arg_fail(2)) SWIG_fail;
19818 }
19819 {
19820 arg3 = (int)(SWIG_As_int(obj2));
19821 if (SWIG_arg_fail(3)) SWIG_fail;
19822 }
19823 {
19824 arg4 = (int)(SWIG_As_int(obj3));
19825 if (SWIG_arg_fail(4)) SWIG_fail;
19826 }
19827 {
19828 arg5 = (int)(SWIG_As_int(obj4));
19829 if (SWIG_arg_fail(5)) SWIG_fail;
19830 }
d55e5bfc
RD
19831 {
19832 PyThreadState* __tstate = wxPyBeginAllowThreads();
19833 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19834
19835 wxPyEndAllowThreads(__tstate);
19836 if (PyErr_Occurred()) SWIG_fail;
19837 }
19838 Py_INCREF(Py_None); resultobj = Py_None;
19839 return resultobj;
19840 fail:
19841 return NULL;
19842}
19843
19844
c32bde28 19845static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19846 PyObject *resultobj;
19847 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19848 int arg2 ;
19849 int arg3 ;
19850 int arg4 ;
19851 int arg5 ;
19852 int arg6 = (int) wxSIZE_AUTO ;
19853 PyObject * obj0 = 0 ;
19854 PyObject * obj1 = 0 ;
19855 PyObject * obj2 = 0 ;
19856 PyObject * obj3 = 0 ;
19857 PyObject * obj4 = 0 ;
19858 PyObject * obj5 = 0 ;
19859 char *kwnames[] = {
19860 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19861 };
19862
19863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19865 if (SWIG_arg_fail(1)) SWIG_fail;
19866 {
19867 arg2 = (int)(SWIG_As_int(obj1));
19868 if (SWIG_arg_fail(2)) SWIG_fail;
19869 }
19870 {
19871 arg3 = (int)(SWIG_As_int(obj2));
19872 if (SWIG_arg_fail(3)) SWIG_fail;
19873 }
19874 {
19875 arg4 = (int)(SWIG_As_int(obj3));
19876 if (SWIG_arg_fail(4)) SWIG_fail;
19877 }
19878 {
19879 arg5 = (int)(SWIG_As_int(obj4));
19880 if (SWIG_arg_fail(5)) SWIG_fail;
19881 }
d55e5bfc 19882 if (obj5) {
093d3ff1
RD
19883 {
19884 arg6 = (int)(SWIG_As_int(obj5));
19885 if (SWIG_arg_fail(6)) SWIG_fail;
19886 }
d55e5bfc
RD
19887 }
19888 {
19889 PyThreadState* __tstate = wxPyBeginAllowThreads();
19890 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19891
19892 wxPyEndAllowThreads(__tstate);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 Py_INCREF(Py_None); resultobj = Py_None;
19896 return resultobj;
19897 fail:
19898 return NULL;
19899}
19900
19901
c32bde28 19902static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19903 PyObject *resultobj;
19904 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19905 int arg2 ;
19906 int arg3 ;
19907 PyObject * obj0 = 0 ;
19908 PyObject * obj1 = 0 ;
19909 PyObject * obj2 = 0 ;
19910 char *kwnames[] = {
19911 (char *) "self",(char *) "width",(char *) "height", NULL
19912 };
19913
19914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19916 if (SWIG_arg_fail(1)) SWIG_fail;
19917 {
19918 arg2 = (int)(SWIG_As_int(obj1));
19919 if (SWIG_arg_fail(2)) SWIG_fail;
19920 }
19921 {
19922 arg3 = (int)(SWIG_As_int(obj2));
19923 if (SWIG_arg_fail(3)) SWIG_fail;
19924 }
d55e5bfc
RD
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 (arg1)->base_DoSetClientSize(arg2,arg3);
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
19932 Py_INCREF(Py_None); resultobj = Py_None;
19933 return resultobj;
19934 fail:
19935 return NULL;
19936}
19937
19938
c32bde28 19939static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19940 PyObject *resultobj;
19941 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19942 int arg2 ;
19943 int arg3 ;
19944 PyObject * obj0 = 0 ;
19945 PyObject * obj1 = 0 ;
19946 PyObject * obj2 = 0 ;
19947 char *kwnames[] = {
19948 (char *) "self",(char *) "x",(char *) "y", NULL
19949 };
19950
19951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19953 if (SWIG_arg_fail(1)) SWIG_fail;
19954 {
19955 arg2 = (int)(SWIG_As_int(obj1));
19956 if (SWIG_arg_fail(2)) SWIG_fail;
19957 }
19958 {
19959 arg3 = (int)(SWIG_As_int(obj2));
19960 if (SWIG_arg_fail(3)) SWIG_fail;
19961 }
d55e5bfc
RD
19962 {
19963 PyThreadState* __tstate = wxPyBeginAllowThreads();
19964 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19965
19966 wxPyEndAllowThreads(__tstate);
19967 if (PyErr_Occurred()) SWIG_fail;
19968 }
19969 Py_INCREF(Py_None); resultobj = Py_None;
19970 return resultobj;
19971 fail:
19972 return NULL;
19973}
19974
19975
c32bde28 19976static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19977 PyObject *resultobj;
19978 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19979 int *arg2 = (int *) 0 ;
19980 int *arg3 = (int *) 0 ;
19981 int temp2 ;
c32bde28 19982 int res2 = 0 ;
d55e5bfc 19983 int temp3 ;
c32bde28 19984 int res3 = 0 ;
d55e5bfc
RD
19985 PyObject * obj0 = 0 ;
19986 char *kwnames[] = {
19987 (char *) "self", NULL
19988 };
19989
c32bde28
RD
19990 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19991 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19994 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19995 {
19996 PyThreadState* __tstate = wxPyBeginAllowThreads();
19997 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19998
19999 wxPyEndAllowThreads(__tstate);
20000 if (PyErr_Occurred()) SWIG_fail;
20001 }
20002 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
20003 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20004 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20005 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20006 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20007 return resultobj;
20008 fail:
20009 return NULL;
20010}
20011
20012
c32bde28 20013static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20014 PyObject *resultobj;
20015 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20016 int *arg2 = (int *) 0 ;
20017 int *arg3 = (int *) 0 ;
20018 int temp2 ;
c32bde28 20019 int res2 = 0 ;
d55e5bfc 20020 int temp3 ;
c32bde28 20021 int res3 = 0 ;
d55e5bfc
RD
20022 PyObject * obj0 = 0 ;
20023 char *kwnames[] = {
20024 (char *) "self", NULL
20025 };
20026
c32bde28
RD
20027 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20028 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 20029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20031 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20032 {
20033 PyThreadState* __tstate = wxPyBeginAllowThreads();
20034 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
20035
20036 wxPyEndAllowThreads(__tstate);
20037 if (PyErr_Occurred()) SWIG_fail;
20038 }
20039 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
20040 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20041 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20042 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20043 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20044 return resultobj;
20045 fail:
20046 return NULL;
20047}
20048
20049
c32bde28 20050static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20051 PyObject *resultobj;
20052 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20053 int *arg2 = (int *) 0 ;
20054 int *arg3 = (int *) 0 ;
20055 int temp2 ;
c32bde28 20056 int res2 = 0 ;
d55e5bfc 20057 int temp3 ;
c32bde28 20058 int res3 = 0 ;
d55e5bfc
RD
20059 PyObject * obj0 = 0 ;
20060 char *kwnames[] = {
20061 (char *) "self", NULL
20062 };
20063
c32bde28
RD
20064 arg2 = &temp2; res2 = SWIG_NEWOBJ;
20065 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
20067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20068 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20069 {
20070 PyThreadState* __tstate = wxPyBeginAllowThreads();
20071 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
20072
20073 wxPyEndAllowThreads(__tstate);
20074 if (PyErr_Occurred()) SWIG_fail;
20075 }
20076 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
20077 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
20078 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
20079 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
20080 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
20081 return resultobj;
20082 fail:
20083 return NULL;
20084}
20085
20086
c32bde28 20087static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20088 PyObject *resultobj;
20089 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20090 wxSize result;
20091 PyObject * obj0 = 0 ;
20092 char *kwnames[] = {
20093 (char *) "self", NULL
20094 };
20095
20096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20099 {
20100 PyThreadState* __tstate = wxPyBeginAllowThreads();
20101 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
20102
20103 wxPyEndAllowThreads(__tstate);
20104 if (PyErr_Occurred()) SWIG_fail;
20105 }
20106 {
20107 wxSize * resultptr;
093d3ff1 20108 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20109 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20110 }
20111 return resultobj;
20112 fail:
20113 return NULL;
20114}
20115
20116
c32bde28 20117static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20118 PyObject *resultobj;
20119 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20120 wxSize result;
20121 PyObject * obj0 = 0 ;
20122 char *kwnames[] = {
20123 (char *) "self", NULL
20124 };
20125
20126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20128 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20129 {
20130 PyThreadState* __tstate = wxPyBeginAllowThreads();
20131 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
20132
20133 wxPyEndAllowThreads(__tstate);
20134 if (PyErr_Occurred()) SWIG_fail;
20135 }
20136 {
20137 wxSize * resultptr;
093d3ff1 20138 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20139 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20140 }
20141 return resultobj;
20142 fail:
20143 return NULL;
20144}
20145
20146
c32bde28 20147static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20148 PyObject *resultobj;
20149 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20150 PyObject * obj0 = 0 ;
20151 char *kwnames[] = {
20152 (char *) "self", NULL
20153 };
20154
20155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
20156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 (arg1)->base_InitDialog();
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 Py_INCREF(Py_None); resultobj = Py_None;
20166 return resultobj;
20167 fail:
20168 return NULL;
20169}
20170
20171
c32bde28 20172static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20173 PyObject *resultobj;
20174 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20175 bool result;
20176 PyObject * obj0 = 0 ;
20177 char *kwnames[] = {
20178 (char *) "self", NULL
20179 };
20180
20181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20184 {
20185 PyThreadState* __tstate = wxPyBeginAllowThreads();
20186 result = (bool)(arg1)->base_TransferDataToWindow();
20187
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 {
20192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20193 }
20194 return resultobj;
20195 fail:
20196 return NULL;
20197}
20198
20199
c32bde28 20200static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20201 PyObject *resultobj;
20202 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20203 bool result;
20204 PyObject * obj0 = 0 ;
20205 char *kwnames[] = {
20206 (char *) "self", NULL
20207 };
20208
20209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20211 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20212 {
20213 PyThreadState* __tstate = wxPyBeginAllowThreads();
20214 result = (bool)(arg1)->base_TransferDataFromWindow();
20215
20216 wxPyEndAllowThreads(__tstate);
20217 if (PyErr_Occurred()) SWIG_fail;
20218 }
20219 {
20220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20221 }
20222 return resultobj;
20223 fail:
20224 return NULL;
20225}
20226
20227
c32bde28 20228static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20229 PyObject *resultobj;
20230 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20231 bool result;
20232 PyObject * obj0 = 0 ;
20233 char *kwnames[] = {
20234 (char *) "self", NULL
20235 };
20236
20237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
20238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20239 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20240 {
20241 PyThreadState* __tstate = wxPyBeginAllowThreads();
20242 result = (bool)(arg1)->base_Validate();
20243
20244 wxPyEndAllowThreads(__tstate);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 }
20247 {
20248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20249 }
20250 return resultobj;
20251 fail:
20252 return NULL;
20253}
20254
20255
c32bde28 20256static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20257 PyObject *resultobj;
20258 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20259 bool result;
20260 PyObject * obj0 = 0 ;
20261 char *kwnames[] = {
20262 (char *) "self", NULL
20263 };
20264
20265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
20266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20267 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20268 {
20269 PyThreadState* __tstate = wxPyBeginAllowThreads();
20270 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20271
20272 wxPyEndAllowThreads(__tstate);
20273 if (PyErr_Occurred()) SWIG_fail;
20274 }
20275 {
20276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20277 }
20278 return resultobj;
20279 fail:
20280 return NULL;
20281}
20282
20283
c32bde28 20284static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20285 PyObject *resultobj;
20286 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20287 bool result;
20288 PyObject * obj0 = 0 ;
20289 char *kwnames[] = {
20290 (char *) "self", NULL
20291 };
20292
20293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
20294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20295 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 {
20304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20305 }
20306 return resultobj;
20307 fail:
20308 return NULL;
20309}
20310
20311
c32bde28 20312static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20313 PyObject *resultobj;
20314 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20315 wxSize result;
20316 PyObject * obj0 = 0 ;
20317 char *kwnames[] = {
20318 (char *) "self", NULL
20319 };
20320
20321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20323 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20324 {
20325 PyThreadState* __tstate = wxPyBeginAllowThreads();
20326 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20327
20328 wxPyEndAllowThreads(__tstate);
20329 if (PyErr_Occurred()) SWIG_fail;
20330 }
20331 {
20332 wxSize * resultptr;
093d3ff1 20333 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20334 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20335 }
20336 return resultobj;
20337 fail:
20338 return NULL;
20339}
20340
20341
c32bde28 20342static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20343 PyObject *resultobj;
20344 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20345 wxWindow *arg2 = (wxWindow *) 0 ;
20346 PyObject * obj0 = 0 ;
20347 PyObject * obj1 = 0 ;
20348 char *kwnames[] = {
20349 (char *) "self",(char *) "child", NULL
20350 };
20351
20352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20354 if (SWIG_arg_fail(1)) SWIG_fail;
20355 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20356 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20357 {
20358 PyThreadState* __tstate = wxPyBeginAllowThreads();
20359 (arg1)->base_AddChild(arg2);
20360
20361 wxPyEndAllowThreads(__tstate);
20362 if (PyErr_Occurred()) SWIG_fail;
20363 }
20364 Py_INCREF(Py_None); resultobj = Py_None;
20365 return resultobj;
20366 fail:
20367 return NULL;
20368}
20369
20370
c32bde28 20371static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20372 PyObject *resultobj;
20373 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20374 wxWindow *arg2 = (wxWindow *) 0 ;
20375 PyObject * obj0 = 0 ;
20376 PyObject * obj1 = 0 ;
20377 char *kwnames[] = {
20378 (char *) "self",(char *) "child", NULL
20379 };
20380
20381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20383 if (SWIG_arg_fail(1)) SWIG_fail;
20384 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20385 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20386 {
20387 PyThreadState* __tstate = wxPyBeginAllowThreads();
20388 (arg1)->base_RemoveChild(arg2);
20389
20390 wxPyEndAllowThreads(__tstate);
20391 if (PyErr_Occurred()) SWIG_fail;
20392 }
20393 Py_INCREF(Py_None); resultobj = Py_None;
20394 return resultobj;
20395 fail:
20396 return NULL;
20397}
20398
20399
c32bde28 20400static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20401 PyObject *resultobj;
20402 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20403 bool result;
20404 PyObject * obj0 = 0 ;
20405 char *kwnames[] = {
20406 (char *) "self", NULL
20407 };
20408
20409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
20410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20411 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20412 {
20413 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 20414 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
20415
20416 wxPyEndAllowThreads(__tstate);
20417 if (PyErr_Occurred()) SWIG_fail;
20418 }
20419 {
20420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20421 }
20422 return resultobj;
20423 fail:
20424 return NULL;
20425}
20426
20427
c32bde28 20428static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
20429 PyObject *resultobj;
20430 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20431 wxVisualAttributes result;
20432 PyObject * obj0 = 0 ;
20433 char *kwnames[] = {
20434 (char *) "self", NULL
20435 };
20436
20437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
20438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20439 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
20440 {
20441 PyThreadState* __tstate = wxPyBeginAllowThreads();
20442 result = (arg1)->base_GetDefaultAttributes();
20443
20444 wxPyEndAllowThreads(__tstate);
20445 if (PyErr_Occurred()) SWIG_fail;
20446 }
20447 {
20448 wxVisualAttributes * resultptr;
093d3ff1 20449 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
caef1a4d
RD
20450 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20451 }
20452 return resultobj;
20453 fail:
20454 return NULL;
20455}
20456
20457
c32bde28 20458static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20459 PyObject *obj;
20460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20461 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20462 Py_INCREF(obj);
20463 return Py_BuildValue((char *)"");
20464}
c32bde28 20465static int _wrap_PrintoutTitleStr_set(PyObject *) {
d55e5bfc
RD
20466 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20467 return 1;
20468}
20469
20470
093d3ff1 20471static PyObject *_wrap_PrintoutTitleStr_get(void) {
d55e5bfc
RD
20472 PyObject *pyobj;
20473
20474 {
20475#if wxUSE_UNICODE
20476 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20477#else
20478 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20479#endif
20480 }
20481 return pyobj;
20482}
20483
20484
c32bde28 20485static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
d55e5bfc
RD
20486 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20487 return 1;
20488}
20489
20490
093d3ff1 20491static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
d55e5bfc
RD
20492 PyObject *pyobj;
20493
20494 {
20495#if wxUSE_UNICODE
20496 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20497#else
20498 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20499#endif
20500 }
20501 return pyobj;
20502}
20503
20504
c32bde28 20505static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
20506 PyObject *resultobj;
20507 wxPrintData *result;
d55e5bfc 20508
09c21d3b 20509 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
d55e5bfc
RD
20510 {
20511 PyThreadState* __tstate = wxPyBeginAllowThreads();
20512 result = (wxPrintData *)new wxPrintData();
20513
20514 wxPyEndAllowThreads(__tstate);
20515 if (PyErr_Occurred()) SWIG_fail;
20516 }
20517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20518 return resultobj;
20519 fail:
20520 return NULL;
20521}
20522
20523
c32bde28 20524static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
20525 PyObject *resultobj;
20526 wxPrintData *arg1 = 0 ;
20527 wxPrintData *result;
20528 PyObject * obj0 = 0 ;
20529
20530 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
093d3ff1
RD
20531 {
20532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20533 if (SWIG_arg_fail(1)) SWIG_fail;
20534 if (arg1 == NULL) {
20535 SWIG_null_ref("wxPrintData");
20536 }
20537 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
20538 }
20539 {
20540 PyThreadState* __tstate = wxPyBeginAllowThreads();
20541 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20542
20543 wxPyEndAllowThreads(__tstate);
20544 if (PyErr_Occurred()) SWIG_fail;
20545 }
20546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20547 return resultobj;
20548 fail:
20549 return NULL;
20550}
20551
20552
20553static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20554 int argc;
20555 PyObject *argv[2];
20556 int ii;
20557
20558 argc = PyObject_Length(args);
20559 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20560 argv[ii] = PyTuple_GetItem(args,ii);
20561 }
20562 if (argc == 0) {
20563 return _wrap_new_PrintData__SWIG_0(self,args);
20564 }
20565 if (argc == 1) {
20566 int _v;
20567 {
093d3ff1 20568 void *ptr = 0;
09c21d3b
RD
20569 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20570 _v = 0;
20571 PyErr_Clear();
20572 } else {
093d3ff1 20573 _v = (ptr != 0);
09c21d3b
RD
20574 }
20575 }
20576 if (_v) {
20577 return _wrap_new_PrintData__SWIG_1(self,args);
20578 }
20579 }
20580
093d3ff1 20581 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
09c21d3b
RD
20582 return NULL;
20583}
20584
20585
c32bde28 20586static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20587 PyObject *resultobj;
20588 wxPrintData *arg1 = (wxPrintData *) 0 ;
20589 PyObject * obj0 = 0 ;
20590 char *kwnames[] = {
20591 (char *) "self", NULL
20592 };
20593
20594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
20595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20597 {
20598 PyThreadState* __tstate = wxPyBeginAllowThreads();
20599 delete arg1;
20600
20601 wxPyEndAllowThreads(__tstate);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 Py_INCREF(Py_None); resultobj = Py_None;
20605 return resultobj;
20606 fail:
20607 return NULL;
20608}
20609
20610
c32bde28 20611static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20612 PyObject *resultobj;
20613 wxPrintData *arg1 = (wxPrintData *) 0 ;
20614 int result;
20615 PyObject * obj0 = 0 ;
20616 char *kwnames[] = {
20617 (char *) "self", NULL
20618 };
20619
20620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
20621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20623 {
20624 PyThreadState* __tstate = wxPyBeginAllowThreads();
20625 result = (int)(arg1)->GetNoCopies();
20626
20627 wxPyEndAllowThreads(__tstate);
20628 if (PyErr_Occurred()) SWIG_fail;
20629 }
093d3ff1
RD
20630 {
20631 resultobj = SWIG_From_int((int)(result));
20632 }
d55e5bfc
RD
20633 return resultobj;
20634 fail:
20635 return NULL;
20636}
20637
20638
c32bde28 20639static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20640 PyObject *resultobj;
20641 wxPrintData *arg1 = (wxPrintData *) 0 ;
20642 bool result;
20643 PyObject * obj0 = 0 ;
20644 char *kwnames[] = {
20645 (char *) "self", NULL
20646 };
20647
20648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
20649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20650 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20651 {
20652 PyThreadState* __tstate = wxPyBeginAllowThreads();
20653 result = (bool)(arg1)->GetCollate();
20654
20655 wxPyEndAllowThreads(__tstate);
20656 if (PyErr_Occurred()) SWIG_fail;
20657 }
20658 {
20659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20660 }
20661 return resultobj;
20662 fail:
20663 return NULL;
20664}
20665
20666
c32bde28 20667static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20668 PyObject *resultobj;
20669 wxPrintData *arg1 = (wxPrintData *) 0 ;
20670 int result;
20671 PyObject * obj0 = 0 ;
20672 char *kwnames[] = {
20673 (char *) "self", NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
20677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20678 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
20681 result = (int)(arg1)->GetOrientation();
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
093d3ff1
RD
20686 {
20687 resultobj = SWIG_From_int((int)(result));
20688 }
d55e5bfc
RD
20689 return resultobj;
20690 fail:
20691 return NULL;
20692}
20693
20694
c32bde28 20695static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20696 PyObject *resultobj;
20697 wxPrintData *arg1 = (wxPrintData *) 0 ;
20698 bool result;
20699 PyObject * obj0 = 0 ;
20700 char *kwnames[] = {
20701 (char *) "self", NULL
20702 };
20703
20704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
20705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20706 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20707 {
20708 PyThreadState* __tstate = wxPyBeginAllowThreads();
20709 result = (bool)(arg1)->Ok();
20710
20711 wxPyEndAllowThreads(__tstate);
20712 if (PyErr_Occurred()) SWIG_fail;
20713 }
20714 {
20715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20716 }
20717 return resultobj;
20718 fail:
20719 return NULL;
20720}
20721
20722
c32bde28 20723static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20724 PyObject *resultobj;
20725 wxPrintData *arg1 = (wxPrintData *) 0 ;
20726 wxString *result;
20727 PyObject * obj0 = 0 ;
20728 char *kwnames[] = {
20729 (char *) "self", NULL
20730 };
20731
20732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
093d3ff1
RD
20733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20734 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20735 {
20736 PyThreadState* __tstate = wxPyBeginAllowThreads();
20737 {
20738 wxString const &_result_ref = (arg1)->GetPrinterName();
20739 result = (wxString *) &_result_ref;
20740 }
20741
20742 wxPyEndAllowThreads(__tstate);
20743 if (PyErr_Occurred()) SWIG_fail;
20744 }
20745 {
20746#if wxUSE_UNICODE
20747 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20748#else
20749 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20750#endif
20751 }
20752 return resultobj;
20753 fail:
20754 return NULL;
20755}
20756
20757
c32bde28 20758static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20759 PyObject *resultobj;
20760 wxPrintData *arg1 = (wxPrintData *) 0 ;
20761 bool result;
20762 PyObject * obj0 = 0 ;
20763 char *kwnames[] = {
20764 (char *) "self", NULL
20765 };
20766
20767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
20768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20769 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20770 {
20771 PyThreadState* __tstate = wxPyBeginAllowThreads();
20772 result = (bool)(arg1)->GetColour();
20773
20774 wxPyEndAllowThreads(__tstate);
20775 if (PyErr_Occurred()) SWIG_fail;
20776 }
20777 {
20778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20779 }
20780 return resultobj;
20781 fail:
20782 return NULL;
20783}
20784
20785
c32bde28 20786static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20787 PyObject *resultobj;
20788 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20789 wxDuplexMode result;
d55e5bfc
RD
20790 PyObject * obj0 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "self", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
093d3ff1
RD
20796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20797 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20798 {
20799 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20800 result = (wxDuplexMode)(arg1)->GetDuplex();
d55e5bfc
RD
20801
20802 wxPyEndAllowThreads(__tstate);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 }
093d3ff1 20805 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20806 return resultobj;
20807 fail:
20808 return NULL;
20809}
20810
20811
c32bde28 20812static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20813 PyObject *resultobj;
20814 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20815 wxPaperSize result;
d55e5bfc
RD
20816 PyObject * obj0 = 0 ;
20817 char *kwnames[] = {
20818 (char *) "self", NULL
20819 };
20820
20821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
20822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20823 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20826 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
20827
20828 wxPyEndAllowThreads(__tstate);
20829 if (PyErr_Occurred()) SWIG_fail;
20830 }
093d3ff1 20831 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20832 return resultobj;
20833 fail:
20834 return NULL;
20835}
20836
20837
c32bde28 20838static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20839 PyObject *resultobj;
20840 wxPrintData *arg1 = (wxPrintData *) 0 ;
20841 wxSize *result;
20842 PyObject * obj0 = 0 ;
20843 char *kwnames[] = {
20844 (char *) "self", NULL
20845 };
20846
20847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20849 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 {
20853 wxSize const &_result_ref = (arg1)->GetPaperSize();
20854 result = (wxSize *) &_result_ref;
20855 }
20856
20857 wxPyEndAllowThreads(__tstate);
20858 if (PyErr_Occurred()) SWIG_fail;
20859 }
20860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20861 return resultobj;
20862 fail:
20863 return NULL;
20864}
20865
20866
c32bde28 20867static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20868 PyObject *resultobj;
20869 wxPrintData *arg1 = (wxPrintData *) 0 ;
20870 int result;
20871 PyObject * obj0 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
093d3ff1
RD
20877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20878 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20879 {
20880 PyThreadState* __tstate = wxPyBeginAllowThreads();
20881 result = (int)(arg1)->GetQuality();
20882
20883 wxPyEndAllowThreads(__tstate);
20884 if (PyErr_Occurred()) SWIG_fail;
20885 }
093d3ff1
RD
20886 {
20887 resultobj = SWIG_From_int((int)(result));
20888 }
d55e5bfc
RD
20889 return resultobj;
20890 fail:
20891 return NULL;
20892}
20893
20894
ae8162c8
RD
20895static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20896 PyObject *resultobj;
20897 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20898 wxPrintBin result;
ae8162c8
RD
20899 PyObject * obj0 = 0 ;
20900 char *kwnames[] = {
20901 (char *) "self", NULL
20902 };
20903
20904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
093d3ff1
RD
20905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20906 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
20907 {
20908 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20909 result = (wxPrintBin)(arg1)->GetBin();
ae8162c8
RD
20910
20911 wxPyEndAllowThreads(__tstate);
20912 if (PyErr_Occurred()) SWIG_fail;
20913 }
093d3ff1 20914 resultobj = SWIG_From_int((result));
ae8162c8
RD
20915 return resultobj;
20916 fail:
20917 return NULL;
20918}
20919
20920
c1cb24a4
RD
20921static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20922 PyObject *resultobj;
20923 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20924 wxPrintMode result;
c1cb24a4
RD
20925 PyObject * obj0 = 0 ;
20926 char *kwnames[] = {
20927 (char *) "self", NULL
20928 };
20929
20930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
20931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20932 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
20933 {
20934 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20935 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
c1cb24a4
RD
20936
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
093d3ff1 20940 resultobj = SWIG_From_int((result));
c1cb24a4
RD
20941 return resultobj;
20942 fail:
20943 return NULL;
20944}
20945
20946
c32bde28 20947static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20948 PyObject *resultobj;
20949 wxPrintData *arg1 = (wxPrintData *) 0 ;
20950 int arg2 ;
20951 PyObject * obj0 = 0 ;
20952 PyObject * obj1 = 0 ;
20953 char *kwnames[] = {
20954 (char *) "self",(char *) "v", NULL
20955 };
20956
20957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20959 if (SWIG_arg_fail(1)) SWIG_fail;
20960 {
20961 arg2 = (int)(SWIG_As_int(obj1));
20962 if (SWIG_arg_fail(2)) SWIG_fail;
20963 }
d55e5bfc
RD
20964 {
20965 PyThreadState* __tstate = wxPyBeginAllowThreads();
20966 (arg1)->SetNoCopies(arg2);
20967
20968 wxPyEndAllowThreads(__tstate);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 }
20971 Py_INCREF(Py_None); resultobj = Py_None;
20972 return resultobj;
20973 fail:
20974 return NULL;
20975}
20976
20977
c32bde28 20978static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20979 PyObject *resultobj;
20980 wxPrintData *arg1 = (wxPrintData *) 0 ;
20981 bool arg2 ;
20982 PyObject * obj0 = 0 ;
20983 PyObject * obj1 = 0 ;
20984 char *kwnames[] = {
20985 (char *) "self",(char *) "flag", NULL
20986 };
20987
20988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20990 if (SWIG_arg_fail(1)) SWIG_fail;
20991 {
20992 arg2 = (bool)(SWIG_As_bool(obj1));
20993 if (SWIG_arg_fail(2)) SWIG_fail;
20994 }
d55e5bfc
RD
20995 {
20996 PyThreadState* __tstate = wxPyBeginAllowThreads();
20997 (arg1)->SetCollate(arg2);
20998
20999 wxPyEndAllowThreads(__tstate);
21000 if (PyErr_Occurred()) SWIG_fail;
21001 }
21002 Py_INCREF(Py_None); resultobj = Py_None;
21003 return resultobj;
21004 fail:
21005 return NULL;
21006}
21007
21008
c32bde28 21009static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21010 PyObject *resultobj;
21011 wxPrintData *arg1 = (wxPrintData *) 0 ;
21012 int arg2 ;
21013 PyObject * obj0 = 0 ;
21014 PyObject * obj1 = 0 ;
21015 char *kwnames[] = {
21016 (char *) "self",(char *) "orient", NULL
21017 };
21018
21019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21021 if (SWIG_arg_fail(1)) SWIG_fail;
21022 {
21023 arg2 = (int)(SWIG_As_int(obj1));
21024 if (SWIG_arg_fail(2)) SWIG_fail;
21025 }
d55e5bfc
RD
21026 {
21027 PyThreadState* __tstate = wxPyBeginAllowThreads();
21028 (arg1)->SetOrientation(arg2);
21029
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 Py_INCREF(Py_None); resultobj = Py_None;
21034 return resultobj;
21035 fail:
21036 return NULL;
21037}
21038
21039
c32bde28 21040static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21041 PyObject *resultobj;
21042 wxPrintData *arg1 = (wxPrintData *) 0 ;
21043 wxString *arg2 = 0 ;
ae8162c8 21044 bool temp2 = false ;
d55e5bfc
RD
21045 PyObject * obj0 = 0 ;
21046 PyObject * obj1 = 0 ;
21047 char *kwnames[] = {
21048 (char *) "self",(char *) "name", NULL
21049 };
21050
21051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21053 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21054 {
21055 arg2 = wxString_in_helper(obj1);
21056 if (arg2 == NULL) SWIG_fail;
ae8162c8 21057 temp2 = true;
d55e5bfc
RD
21058 }
21059 {
21060 PyThreadState* __tstate = wxPyBeginAllowThreads();
21061 (arg1)->SetPrinterName((wxString const &)*arg2);
21062
21063 wxPyEndAllowThreads(__tstate);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
21066 Py_INCREF(Py_None); resultobj = Py_None;
21067 {
21068 if (temp2)
21069 delete arg2;
21070 }
21071 return resultobj;
21072 fail:
21073 {
21074 if (temp2)
21075 delete arg2;
21076 }
21077 return NULL;
21078}
21079
21080
c32bde28 21081static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21082 PyObject *resultobj;
21083 wxPrintData *arg1 = (wxPrintData *) 0 ;
21084 bool arg2 ;
21085 PyObject * obj0 = 0 ;
21086 PyObject * obj1 = 0 ;
21087 char *kwnames[] = {
21088 (char *) "self",(char *) "colour", NULL
21089 };
21090
21091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21093 if (SWIG_arg_fail(1)) SWIG_fail;
21094 {
21095 arg2 = (bool)(SWIG_As_bool(obj1));
21096 if (SWIG_arg_fail(2)) SWIG_fail;
21097 }
d55e5bfc
RD
21098 {
21099 PyThreadState* __tstate = wxPyBeginAllowThreads();
21100 (arg1)->SetColour(arg2);
21101
21102 wxPyEndAllowThreads(__tstate);
21103 if (PyErr_Occurred()) SWIG_fail;
21104 }
21105 Py_INCREF(Py_None); resultobj = Py_None;
21106 return resultobj;
21107 fail:
21108 return NULL;
21109}
21110
21111
c32bde28 21112static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21113 PyObject *resultobj;
21114 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21115 wxDuplexMode arg2 ;
d55e5bfc
RD
21116 PyObject * obj0 = 0 ;
21117 PyObject * obj1 = 0 ;
21118 char *kwnames[] = {
21119 (char *) "self",(char *) "duplex", NULL
21120 };
21121
21122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21124 if (SWIG_arg_fail(1)) SWIG_fail;
21125 {
21126 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
21127 if (SWIG_arg_fail(2)) SWIG_fail;
21128 }
d55e5bfc
RD
21129 {
21130 PyThreadState* __tstate = wxPyBeginAllowThreads();
21131 (arg1)->SetDuplex((wxDuplexMode )arg2);
21132
21133 wxPyEndAllowThreads(__tstate);
21134 if (PyErr_Occurred()) SWIG_fail;
21135 }
21136 Py_INCREF(Py_None); resultobj = Py_None;
21137 return resultobj;
21138 fail:
21139 return NULL;
21140}
21141
21142
c32bde28 21143static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21144 PyObject *resultobj;
21145 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21146 wxPaperSize arg2 ;
d55e5bfc
RD
21147 PyObject * obj0 = 0 ;
21148 PyObject * obj1 = 0 ;
21149 char *kwnames[] = {
21150 (char *) "self",(char *) "sizeId", NULL
21151 };
21152
21153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21155 if (SWIG_arg_fail(1)) SWIG_fail;
21156 {
21157 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
21158 if (SWIG_arg_fail(2)) SWIG_fail;
21159 }
d55e5bfc
RD
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 (arg1)->SetPaperId((wxPaperSize )arg2);
21163
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
21167 Py_INCREF(Py_None); resultobj = Py_None;
21168 return resultobj;
21169 fail:
21170 return NULL;
21171}
21172
21173
c32bde28 21174static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21175 PyObject *resultobj;
21176 wxPrintData *arg1 = (wxPrintData *) 0 ;
21177 wxSize *arg2 = 0 ;
21178 wxSize temp2 ;
21179 PyObject * obj0 = 0 ;
21180 PyObject * obj1 = 0 ;
21181 char *kwnames[] = {
21182 (char *) "self",(char *) "sz", NULL
21183 };
21184
21185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21188 {
21189 arg2 = &temp2;
21190 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21191 }
21192 {
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 (arg1)->SetPaperSize((wxSize const &)*arg2);
21195
21196 wxPyEndAllowThreads(__tstate);
21197 if (PyErr_Occurred()) SWIG_fail;
21198 }
21199 Py_INCREF(Py_None); resultobj = Py_None;
21200 return resultobj;
21201 fail:
21202 return NULL;
21203}
21204
21205
c32bde28 21206static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21207 PyObject *resultobj;
21208 wxPrintData *arg1 = (wxPrintData *) 0 ;
21209 int arg2 ;
21210 PyObject * obj0 = 0 ;
21211 PyObject * obj1 = 0 ;
21212 char *kwnames[] = {
21213 (char *) "self",(char *) "quality", NULL
21214 };
21215
21216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21218 if (SWIG_arg_fail(1)) SWIG_fail;
21219 {
21220 arg2 = (int)(SWIG_As_int(obj1));
21221 if (SWIG_arg_fail(2)) SWIG_fail;
21222 }
d55e5bfc
RD
21223 {
21224 PyThreadState* __tstate = wxPyBeginAllowThreads();
21225 (arg1)->SetQuality(arg2);
21226
21227 wxPyEndAllowThreads(__tstate);
21228 if (PyErr_Occurred()) SWIG_fail;
21229 }
21230 Py_INCREF(Py_None); resultobj = Py_None;
21231 return resultobj;
21232 fail:
21233 return NULL;
21234}
21235
21236
ae8162c8
RD
21237static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21238 PyObject *resultobj;
21239 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21240 wxPrintBin arg2 ;
ae8162c8
RD
21241 PyObject * obj0 = 0 ;
21242 PyObject * obj1 = 0 ;
21243 char *kwnames[] = {
21244 (char *) "self",(char *) "bin", NULL
21245 };
21246
21247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21249 if (SWIG_arg_fail(1)) SWIG_fail;
21250 {
21251 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
21252 if (SWIG_arg_fail(2)) SWIG_fail;
21253 }
ae8162c8
RD
21254 {
21255 PyThreadState* __tstate = wxPyBeginAllowThreads();
21256 (arg1)->SetBin((wxPrintBin )arg2);
21257
21258 wxPyEndAllowThreads(__tstate);
21259 if (PyErr_Occurred()) SWIG_fail;
21260 }
21261 Py_INCREF(Py_None); resultobj = Py_None;
21262 return resultobj;
21263 fail:
21264 return NULL;
21265}
21266
21267
c1cb24a4 21268static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21269 PyObject *resultobj;
21270 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21271 wxPrintMode arg2 ;
c1cb24a4
RD
21272 PyObject * obj0 = 0 ;
21273 PyObject * obj1 = 0 ;
21274 char *kwnames[] = {
21275 (char *) "self",(char *) "printMode", NULL
21276 };
21277
21278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21280 if (SWIG_arg_fail(1)) SWIG_fail;
21281 {
21282 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
21283 if (SWIG_arg_fail(2)) SWIG_fail;
21284 }
c1cb24a4
RD
21285 {
21286 PyThreadState* __tstate = wxPyBeginAllowThreads();
21287 (arg1)->SetPrintMode((wxPrintMode )arg2);
21288
21289 wxPyEndAllowThreads(__tstate);
21290 if (PyErr_Occurred()) SWIG_fail;
21291 }
21292 Py_INCREF(Py_None); resultobj = Py_None;
21293 return resultobj;
21294 fail:
21295 return NULL;
21296}
21297
21298
21299static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21300 PyObject *resultobj;
21301 wxPrintData *arg1 = (wxPrintData *) 0 ;
21302 wxString result;
d55e5bfc
RD
21303 PyObject * obj0 = 0 ;
21304 char *kwnames[] = {
21305 (char *) "self", NULL
21306 };
21307
c1cb24a4 21308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
21309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21310 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21311 {
21312 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 21313 result = ((wxPrintData const *)arg1)->GetFilename();
d55e5bfc
RD
21314
21315 wxPyEndAllowThreads(__tstate);
21316 if (PyErr_Occurred()) SWIG_fail;
21317 }
21318 {
21319#if wxUSE_UNICODE
c1cb24a4 21320 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 21321#else
c1cb24a4 21322 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc
RD
21323#endif
21324 }
21325 return resultobj;
21326 fail:
21327 return NULL;
21328}
21329
21330
c1cb24a4
RD
21331static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21332 PyObject *resultobj;
21333 wxPrintData *arg1 = (wxPrintData *) 0 ;
21334 wxString *arg2 = 0 ;
21335 bool temp2 = false ;
21336 PyObject * obj0 = 0 ;
21337 PyObject * obj1 = 0 ;
21338 char *kwnames[] = {
21339 (char *) "self",(char *) "filename", NULL
21340 };
21341
21342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21344 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
21345 {
21346 arg2 = wxString_in_helper(obj1);
21347 if (arg2 == NULL) SWIG_fail;
21348 temp2 = true;
21349 }
21350 {
21351 PyThreadState* __tstate = wxPyBeginAllowThreads();
21352 (arg1)->SetFilename((wxString const &)*arg2);
21353
21354 wxPyEndAllowThreads(__tstate);
21355 if (PyErr_Occurred()) SWIG_fail;
21356 }
21357 Py_INCREF(Py_None); resultobj = Py_None;
21358 {
21359 if (temp2)
21360 delete arg2;
21361 }
21362 return resultobj;
21363 fail:
21364 {
21365 if (temp2)
21366 delete arg2;
21367 }
21368 return NULL;
21369}
21370
21371
b9d6a5f3
RD
21372static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21373 PyObject *resultobj;
21374 wxPrintData *arg1 = (wxPrintData *) 0 ;
21375 PyObject *result;
21376 PyObject * obj0 = 0 ;
21377 char *kwnames[] = {
21378 (char *) "self", NULL
21379 };
21380
21381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21383 if (SWIG_arg_fail(1)) SWIG_fail;
21384 {
21385 PyThreadState* __tstate = wxPyBeginAllowThreads();
21386 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21387
21388 wxPyEndAllowThreads(__tstate);
21389 if (PyErr_Occurred()) SWIG_fail;
21390 }
21391 resultobj = result;
21392 return resultobj;
21393 fail:
21394 return NULL;
21395}
21396
21397
21398static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21399 PyObject *resultobj;
21400 wxPrintData *arg1 = (wxPrintData *) 0 ;
21401 PyObject *arg2 = (PyObject *) 0 ;
21402 PyObject * obj0 = 0 ;
21403 PyObject * obj1 = 0 ;
21404 char *kwnames[] = {
21405 (char *) "self",(char *) "data", NULL
21406 };
21407
21408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21410 if (SWIG_arg_fail(1)) SWIG_fail;
21411 arg2 = obj1;
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 wxPrintData_SetPrivData(arg1,arg2);
21415
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 Py_INCREF(Py_None); resultobj = Py_None;
21420 return resultobj;
21421 fail:
21422 return NULL;
21423}
21424
21425
c1cb24a4 21426static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21427 PyObject *resultobj;
21428 wxPrintData *arg1 = (wxPrintData *) 0 ;
21429 wxString *result;
21430 PyObject * obj0 = 0 ;
21431 char *kwnames[] = {
21432 (char *) "self", NULL
21433 };
21434
c1cb24a4 21435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
21436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21437 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21438 {
21439 PyThreadState* __tstate = wxPyBeginAllowThreads();
21440 {
c1cb24a4 21441 wxString const &_result_ref = (arg1)->GetPrinterCommand();
d55e5bfc
RD
21442 result = (wxString *) &_result_ref;
21443 }
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 {
21449#if wxUSE_UNICODE
21450 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21451#else
21452 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21453#endif
21454 }
21455 return resultobj;
21456 fail:
21457 return NULL;
21458}
21459
21460
c1cb24a4 21461static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21462 PyObject *resultobj;
21463 wxPrintData *arg1 = (wxPrintData *) 0 ;
21464 wxString *result;
21465 PyObject * obj0 = 0 ;
21466 char *kwnames[] = {
21467 (char *) "self", NULL
21468 };
21469
c1cb24a4 21470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
093d3ff1
RD
21471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21472 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21473 {
21474 PyThreadState* __tstate = wxPyBeginAllowThreads();
21475 {
c1cb24a4 21476 wxString const &_result_ref = (arg1)->GetPrinterOptions();
d55e5bfc
RD
21477 result = (wxString *) &_result_ref;
21478 }
21479
21480 wxPyEndAllowThreads(__tstate);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 {
21484#if wxUSE_UNICODE
21485 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21486#else
21487 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21488#endif
21489 }
21490 return resultobj;
21491 fail:
21492 return NULL;
21493}
21494
21495
c1cb24a4 21496static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21497 PyObject *resultobj;
21498 wxPrintData *arg1 = (wxPrintData *) 0 ;
21499 wxString *result;
21500 PyObject * obj0 = 0 ;
21501 char *kwnames[] = {
21502 (char *) "self", NULL
21503 };
21504
c1cb24a4 21505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
21506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21508 {
21509 PyThreadState* __tstate = wxPyBeginAllowThreads();
21510 {
c1cb24a4 21511 wxString const &_result_ref = (arg1)->GetPreviewCommand();
d55e5bfc
RD
21512 result = (wxString *) &_result_ref;
21513 }
21514
21515 wxPyEndAllowThreads(__tstate);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 {
21519#if wxUSE_UNICODE
21520 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21521#else
21522 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21523#endif
21524 }
21525 return resultobj;
21526 fail:
21527 return NULL;
21528}
21529
21530
c32bde28 21531static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21532 PyObject *resultobj;
21533 wxPrintData *arg1 = (wxPrintData *) 0 ;
21534 wxString *result;
21535 PyObject * obj0 = 0 ;
21536 char *kwnames[] = {
21537 (char *) "self", NULL
21538 };
21539
21540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
21541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21542 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 {
21546 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21547 result = (wxString *) &_result_ref;
21548 }
21549
21550 wxPyEndAllowThreads(__tstate);
21551 if (PyErr_Occurred()) SWIG_fail;
21552 }
21553 {
21554#if wxUSE_UNICODE
21555 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21556#else
21557 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21558#endif
21559 }
21560 return resultobj;
21561 fail:
21562 return NULL;
21563}
21564
21565
c32bde28 21566static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21567 PyObject *resultobj;
21568 wxPrintData *arg1 = (wxPrintData *) 0 ;
21569 double result;
21570 PyObject * obj0 = 0 ;
21571 char *kwnames[] = {
21572 (char *) "self", NULL
21573 };
21574
21575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
093d3ff1
RD
21576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21577 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21578 {
21579 PyThreadState* __tstate = wxPyBeginAllowThreads();
21580 result = (double)(arg1)->GetPrinterScaleX();
21581
21582 wxPyEndAllowThreads(__tstate);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 }
093d3ff1
RD
21585 {
21586 resultobj = SWIG_From_double((double)(result));
21587 }
d55e5bfc
RD
21588 return resultobj;
21589 fail:
21590 return NULL;
21591}
21592
21593
c32bde28 21594static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21595 PyObject *resultobj;
21596 wxPrintData *arg1 = (wxPrintData *) 0 ;
21597 double result;
21598 PyObject * obj0 = 0 ;
21599 char *kwnames[] = {
21600 (char *) "self", NULL
21601 };
21602
21603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
093d3ff1
RD
21604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21605 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21606 {
21607 PyThreadState* __tstate = wxPyBeginAllowThreads();
21608 result = (double)(arg1)->GetPrinterScaleY();
21609
21610 wxPyEndAllowThreads(__tstate);
21611 if (PyErr_Occurred()) SWIG_fail;
21612 }
093d3ff1
RD
21613 {
21614 resultobj = SWIG_From_double((double)(result));
21615 }
d55e5bfc
RD
21616 return resultobj;
21617 fail:
21618 return NULL;
21619}
21620
21621
c32bde28 21622static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21623 PyObject *resultobj;
21624 wxPrintData *arg1 = (wxPrintData *) 0 ;
21625 long result;
21626 PyObject * obj0 = 0 ;
21627 char *kwnames[] = {
21628 (char *) "self", NULL
21629 };
21630
21631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
093d3ff1
RD
21632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21633 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21634 {
21635 PyThreadState* __tstate = wxPyBeginAllowThreads();
21636 result = (long)(arg1)->GetPrinterTranslateX();
21637
21638 wxPyEndAllowThreads(__tstate);
21639 if (PyErr_Occurred()) SWIG_fail;
21640 }
093d3ff1
RD
21641 {
21642 resultobj = SWIG_From_long((long)(result));
21643 }
d55e5bfc
RD
21644 return resultobj;
21645 fail:
21646 return NULL;
21647}
21648
21649
c32bde28 21650static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21651 PyObject *resultobj;
21652 wxPrintData *arg1 = (wxPrintData *) 0 ;
21653 long result;
21654 PyObject * obj0 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
093d3ff1
RD
21660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21661 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21662 {
21663 PyThreadState* __tstate = wxPyBeginAllowThreads();
21664 result = (long)(arg1)->GetPrinterTranslateY();
21665
21666 wxPyEndAllowThreads(__tstate);
21667 if (PyErr_Occurred()) SWIG_fail;
21668 }
093d3ff1
RD
21669 {
21670 resultobj = SWIG_From_long((long)(result));
21671 }
d55e5bfc
RD
21672 return resultobj;
21673 fail:
21674 return NULL;
21675}
21676
21677
c1cb24a4 21678static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21679 PyObject *resultobj;
21680 wxPrintData *arg1 = (wxPrintData *) 0 ;
c1cb24a4
RD
21681 wxString *arg2 = 0 ;
21682 bool temp2 = false ;
d55e5bfc 21683 PyObject * obj0 = 0 ;
c1cb24a4 21684 PyObject * obj1 = 0 ;
d55e5bfc 21685 char *kwnames[] = {
c1cb24a4 21686 (char *) "self",(char *) "command", NULL
d55e5bfc
RD
21687 };
21688
c1cb24a4 21689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21691 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
21692 {
21693 arg2 = wxString_in_helper(obj1);
21694 if (arg2 == NULL) SWIG_fail;
21695 temp2 = true;
21696 }
d55e5bfc
RD
21697 {
21698 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 21699 (arg1)->SetPrinterCommand((wxString const &)*arg2);
d55e5bfc
RD
21700
21701 wxPyEndAllowThreads(__tstate);
21702 if (PyErr_Occurred()) SWIG_fail;
21703 }
c1cb24a4
RD
21704 Py_INCREF(Py_None); resultobj = Py_None;
21705 {
21706 if (temp2)
21707 delete arg2;
21708 }
d55e5bfc
RD
21709 return resultobj;
21710 fail:
21711 {
21712 if (temp2)
21713 delete arg2;
21714 }
21715 return NULL;
21716}
21717
21718
c32bde28 21719static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21720 PyObject *resultobj;
21721 wxPrintData *arg1 = (wxPrintData *) 0 ;
21722 wxString *arg2 = 0 ;
ae8162c8 21723 bool temp2 = false ;
d55e5bfc
RD
21724 PyObject * obj0 = 0 ;
21725 PyObject * obj1 = 0 ;
21726 char *kwnames[] = {
21727 (char *) "self",(char *) "options", NULL
21728 };
21729
21730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21732 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21733 {
21734 arg2 = wxString_in_helper(obj1);
21735 if (arg2 == NULL) SWIG_fail;
ae8162c8 21736 temp2 = true;
d55e5bfc
RD
21737 }
21738 {
21739 PyThreadState* __tstate = wxPyBeginAllowThreads();
21740 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21741
21742 wxPyEndAllowThreads(__tstate);
21743 if (PyErr_Occurred()) SWIG_fail;
21744 }
21745 Py_INCREF(Py_None); resultobj = Py_None;
21746 {
21747 if (temp2)
21748 delete arg2;
21749 }
21750 return resultobj;
21751 fail:
21752 {
21753 if (temp2)
21754 delete arg2;
21755 }
21756 return NULL;
21757}
21758
21759
c32bde28 21760static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21761 PyObject *resultobj;
21762 wxPrintData *arg1 = (wxPrintData *) 0 ;
21763 wxString *arg2 = 0 ;
ae8162c8 21764 bool temp2 = false ;
d55e5bfc
RD
21765 PyObject * obj0 = 0 ;
21766 PyObject * obj1 = 0 ;
21767 char *kwnames[] = {
21768 (char *) "self",(char *) "command", NULL
21769 };
21770
21771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21773 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21774 {
21775 arg2 = wxString_in_helper(obj1);
21776 if (arg2 == NULL) SWIG_fail;
ae8162c8 21777 temp2 = true;
d55e5bfc
RD
21778 }
21779 {
21780 PyThreadState* __tstate = wxPyBeginAllowThreads();
21781 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21782
21783 wxPyEndAllowThreads(__tstate);
21784 if (PyErr_Occurred()) SWIG_fail;
21785 }
21786 Py_INCREF(Py_None); resultobj = Py_None;
21787 {
21788 if (temp2)
21789 delete arg2;
21790 }
21791 return resultobj;
21792 fail:
21793 {
21794 if (temp2)
21795 delete arg2;
21796 }
21797 return NULL;
21798}
21799
21800
c32bde28 21801static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21802 PyObject *resultobj;
21803 wxPrintData *arg1 = (wxPrintData *) 0 ;
21804 wxString *arg2 = 0 ;
ae8162c8 21805 bool temp2 = false ;
d55e5bfc
RD
21806 PyObject * obj0 = 0 ;
21807 PyObject * obj1 = 0 ;
21808 char *kwnames[] = {
21809 (char *) "self",(char *) "path", NULL
21810 };
21811
21812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21814 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21815 {
21816 arg2 = wxString_in_helper(obj1);
21817 if (arg2 == NULL) SWIG_fail;
ae8162c8 21818 temp2 = true;
d55e5bfc
RD
21819 }
21820 {
21821 PyThreadState* __tstate = wxPyBeginAllowThreads();
21822 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21823
21824 wxPyEndAllowThreads(__tstate);
21825 if (PyErr_Occurred()) SWIG_fail;
21826 }
21827 Py_INCREF(Py_None); resultobj = Py_None;
21828 {
21829 if (temp2)
21830 delete arg2;
21831 }
21832 return resultobj;
21833 fail:
21834 {
21835 if (temp2)
21836 delete arg2;
21837 }
21838 return NULL;
21839}
21840
21841
c32bde28 21842static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21843 PyObject *resultobj;
21844 wxPrintData *arg1 = (wxPrintData *) 0 ;
21845 double arg2 ;
21846 PyObject * obj0 = 0 ;
21847 PyObject * obj1 = 0 ;
21848 char *kwnames[] = {
21849 (char *) "self",(char *) "x", NULL
21850 };
21851
21852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21854 if (SWIG_arg_fail(1)) SWIG_fail;
21855 {
21856 arg2 = (double)(SWIG_As_double(obj1));
21857 if (SWIG_arg_fail(2)) SWIG_fail;
21858 }
d55e5bfc
RD
21859 {
21860 PyThreadState* __tstate = wxPyBeginAllowThreads();
21861 (arg1)->SetPrinterScaleX(arg2);
21862
21863 wxPyEndAllowThreads(__tstate);
21864 if (PyErr_Occurred()) SWIG_fail;
21865 }
21866 Py_INCREF(Py_None); resultobj = Py_None;
21867 return resultobj;
21868 fail:
21869 return NULL;
21870}
21871
21872
c32bde28 21873static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21874 PyObject *resultobj;
21875 wxPrintData *arg1 = (wxPrintData *) 0 ;
21876 double arg2 ;
21877 PyObject * obj0 = 0 ;
21878 PyObject * obj1 = 0 ;
21879 char *kwnames[] = {
21880 (char *) "self",(char *) "y", NULL
21881 };
21882
21883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21885 if (SWIG_arg_fail(1)) SWIG_fail;
21886 {
21887 arg2 = (double)(SWIG_As_double(obj1));
21888 if (SWIG_arg_fail(2)) SWIG_fail;
21889 }
d55e5bfc
RD
21890 {
21891 PyThreadState* __tstate = wxPyBeginAllowThreads();
21892 (arg1)->SetPrinterScaleY(arg2);
21893
21894 wxPyEndAllowThreads(__tstate);
21895 if (PyErr_Occurred()) SWIG_fail;
21896 }
21897 Py_INCREF(Py_None); resultobj = Py_None;
21898 return resultobj;
21899 fail:
21900 return NULL;
21901}
21902
21903
c32bde28 21904static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21905 PyObject *resultobj;
21906 wxPrintData *arg1 = (wxPrintData *) 0 ;
21907 double arg2 ;
21908 double arg3 ;
21909 PyObject * obj0 = 0 ;
21910 PyObject * obj1 = 0 ;
21911 PyObject * obj2 = 0 ;
21912 char *kwnames[] = {
21913 (char *) "self",(char *) "x",(char *) "y", NULL
21914 };
21915
21916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21918 if (SWIG_arg_fail(1)) SWIG_fail;
21919 {
21920 arg2 = (double)(SWIG_As_double(obj1));
21921 if (SWIG_arg_fail(2)) SWIG_fail;
21922 }
21923 {
21924 arg3 = (double)(SWIG_As_double(obj2));
21925 if (SWIG_arg_fail(3)) SWIG_fail;
21926 }
d55e5bfc
RD
21927 {
21928 PyThreadState* __tstate = wxPyBeginAllowThreads();
21929 (arg1)->SetPrinterScaling(arg2,arg3);
21930
21931 wxPyEndAllowThreads(__tstate);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
21934 Py_INCREF(Py_None); resultobj = Py_None;
21935 return resultobj;
21936 fail:
21937 return NULL;
21938}
21939
21940
c32bde28 21941static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21942 PyObject *resultobj;
21943 wxPrintData *arg1 = (wxPrintData *) 0 ;
21944 long arg2 ;
21945 PyObject * obj0 = 0 ;
21946 PyObject * obj1 = 0 ;
21947 char *kwnames[] = {
21948 (char *) "self",(char *) "x", NULL
21949 };
21950
21951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21953 if (SWIG_arg_fail(1)) SWIG_fail;
21954 {
21955 arg2 = (long)(SWIG_As_long(obj1));
21956 if (SWIG_arg_fail(2)) SWIG_fail;
21957 }
d55e5bfc
RD
21958 {
21959 PyThreadState* __tstate = wxPyBeginAllowThreads();
21960 (arg1)->SetPrinterTranslateX(arg2);
21961
21962 wxPyEndAllowThreads(__tstate);
21963 if (PyErr_Occurred()) SWIG_fail;
21964 }
21965 Py_INCREF(Py_None); resultobj = Py_None;
21966 return resultobj;
21967 fail:
21968 return NULL;
21969}
21970
21971
c32bde28 21972static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21973 PyObject *resultobj;
21974 wxPrintData *arg1 = (wxPrintData *) 0 ;
21975 long arg2 ;
21976 PyObject * obj0 = 0 ;
21977 PyObject * obj1 = 0 ;
21978 char *kwnames[] = {
21979 (char *) "self",(char *) "y", NULL
21980 };
21981
21982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21984 if (SWIG_arg_fail(1)) SWIG_fail;
21985 {
21986 arg2 = (long)(SWIG_As_long(obj1));
21987 if (SWIG_arg_fail(2)) SWIG_fail;
21988 }
d55e5bfc
RD
21989 {
21990 PyThreadState* __tstate = wxPyBeginAllowThreads();
21991 (arg1)->SetPrinterTranslateY(arg2);
21992
21993 wxPyEndAllowThreads(__tstate);
21994 if (PyErr_Occurred()) SWIG_fail;
21995 }
21996 Py_INCREF(Py_None); resultobj = Py_None;
21997 return resultobj;
21998 fail:
21999 return NULL;
22000}
22001
22002
c32bde28 22003static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22004 PyObject *resultobj;
22005 wxPrintData *arg1 = (wxPrintData *) 0 ;
22006 long arg2 ;
22007 long arg3 ;
22008 PyObject * obj0 = 0 ;
22009 PyObject * obj1 = 0 ;
22010 PyObject * obj2 = 0 ;
22011 char *kwnames[] = {
22012 (char *) "self",(char *) "x",(char *) "y", NULL
22013 };
22014
22015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22017 if (SWIG_arg_fail(1)) SWIG_fail;
22018 {
22019 arg2 = (long)(SWIG_As_long(obj1));
22020 if (SWIG_arg_fail(2)) SWIG_fail;
22021 }
22022 {
22023 arg3 = (long)(SWIG_As_long(obj2));
22024 if (SWIG_arg_fail(3)) SWIG_fail;
22025 }
d55e5bfc
RD
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 (arg1)->SetPrinterTranslation(arg2,arg3);
22029
22030 wxPyEndAllowThreads(__tstate);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 Py_INCREF(Py_None); resultobj = Py_None;
22034 return resultobj;
22035 fail:
22036 return NULL;
22037}
22038
22039
c32bde28 22040static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22041 PyObject *obj;
22042 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22043 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
22044 Py_INCREF(obj);
22045 return Py_BuildValue((char *)"");
22046}
c32bde28 22047static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
22048 PyObject *resultobj;
22049 wxPageSetupDialogData *result;
d55e5bfc 22050
09c21d3b 22051 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d55e5bfc
RD
22052 {
22053 PyThreadState* __tstate = wxPyBeginAllowThreads();
22054 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
22055
22056 wxPyEndAllowThreads(__tstate);
22057 if (PyErr_Occurred()) SWIG_fail;
22058 }
22059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
22060 return resultobj;
22061 fail:
22062 return NULL;
22063}
22064
22065
c32bde28 22066static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
22067 PyObject *resultobj;
22068 wxPageSetupDialogData *arg1 = 0 ;
22069 wxPageSetupDialogData *result;
22070 PyObject * obj0 = 0 ;
22071
22072 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
093d3ff1
RD
22073 {
22074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22075 if (SWIG_arg_fail(1)) SWIG_fail;
22076 if (arg1 == NULL) {
22077 SWIG_null_ref("wxPageSetupDialogData");
22078 }
22079 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
22080 }
22081 {
22082 PyThreadState* __tstate = wxPyBeginAllowThreads();
22083 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
22084
22085 wxPyEndAllowThreads(__tstate);
22086 if (PyErr_Occurred()) SWIG_fail;
22087 }
22088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
22089 return resultobj;
22090 fail:
22091 return NULL;
22092}
22093
22094
fef4c27a
RD
22095static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
22096 PyObject *resultobj;
22097 wxPrintData *arg1 = 0 ;
22098 wxPageSetupDialogData *result;
22099 PyObject * obj0 = 0 ;
22100
22101 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
22102 {
22103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22104 if (SWIG_arg_fail(1)) SWIG_fail;
22105 if (arg1 == NULL) {
22106 SWIG_null_ref("wxPrintData");
22107 }
22108 if (SWIG_arg_fail(1)) SWIG_fail;
22109 }
22110 {
22111 PyThreadState* __tstate = wxPyBeginAllowThreads();
22112 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
22113
22114 wxPyEndAllowThreads(__tstate);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 }
22117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
22118 return resultobj;
22119 fail:
22120 return NULL;
22121}
22122
22123
09c21d3b
RD
22124static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
22125 int argc;
22126 PyObject *argv[2];
22127 int ii;
22128
22129 argc = PyObject_Length(args);
22130 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22131 argv[ii] = PyTuple_GetItem(args,ii);
22132 }
22133 if (argc == 0) {
22134 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
22135 }
22136 if (argc == 1) {
22137 int _v;
22138 {
093d3ff1 22139 void *ptr = 0;
09c21d3b
RD
22140 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
22141 _v = 0;
22142 PyErr_Clear();
22143 } else {
093d3ff1 22144 _v = (ptr != 0);
09c21d3b
RD
22145 }
22146 }
22147 if (_v) {
22148 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
22149 }
22150 }
fef4c27a
RD
22151 if (argc == 1) {
22152 int _v;
22153 {
22154 void *ptr = 0;
22155 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22156 _v = 0;
22157 PyErr_Clear();
22158 } else {
22159 _v = (ptr != 0);
22160 }
22161 }
22162 if (_v) {
22163 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
22164 }
22165 }
09c21d3b 22166
093d3ff1 22167 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
09c21d3b
RD
22168 return NULL;
22169}
22170
22171
c32bde28 22172static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22173 PyObject *resultobj;
22174 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22175 PyObject * obj0 = 0 ;
22176 char *kwnames[] = {
22177 (char *) "self", NULL
22178 };
22179
22180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22182 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22183 {
22184 PyThreadState* __tstate = wxPyBeginAllowThreads();
22185 delete arg1;
22186
22187 wxPyEndAllowThreads(__tstate);
22188 if (PyErr_Occurred()) SWIG_fail;
22189 }
22190 Py_INCREF(Py_None); resultobj = Py_None;
22191 return resultobj;
22192 fail:
22193 return NULL;
22194}
22195
22196
c32bde28 22197static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22198 PyObject *resultobj;
22199 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22200 bool arg2 ;
22201 PyObject * obj0 = 0 ;
22202 PyObject * obj1 = 0 ;
22203 char *kwnames[] = {
22204 (char *) "self",(char *) "flag", NULL
22205 };
22206
22207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22209 if (SWIG_arg_fail(1)) SWIG_fail;
22210 {
22211 arg2 = (bool)(SWIG_As_bool(obj1));
22212 if (SWIG_arg_fail(2)) SWIG_fail;
22213 }
d55e5bfc
RD
22214 {
22215 PyThreadState* __tstate = wxPyBeginAllowThreads();
22216 (arg1)->EnableHelp(arg2);
22217
22218 wxPyEndAllowThreads(__tstate);
22219 if (PyErr_Occurred()) SWIG_fail;
22220 }
22221 Py_INCREF(Py_None); resultobj = Py_None;
22222 return resultobj;
22223 fail:
22224 return NULL;
22225}
22226
22227
c32bde28 22228static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22229 PyObject *resultobj;
22230 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22231 bool arg2 ;
22232 PyObject * obj0 = 0 ;
22233 PyObject * obj1 = 0 ;
22234 char *kwnames[] = {
22235 (char *) "self",(char *) "flag", NULL
22236 };
22237
22238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22240 if (SWIG_arg_fail(1)) SWIG_fail;
22241 {
22242 arg2 = (bool)(SWIG_As_bool(obj1));
22243 if (SWIG_arg_fail(2)) SWIG_fail;
22244 }
d55e5bfc
RD
22245 {
22246 PyThreadState* __tstate = wxPyBeginAllowThreads();
22247 (arg1)->EnableMargins(arg2);
22248
22249 wxPyEndAllowThreads(__tstate);
22250 if (PyErr_Occurred()) SWIG_fail;
22251 }
22252 Py_INCREF(Py_None); resultobj = Py_None;
22253 return resultobj;
22254 fail:
22255 return NULL;
22256}
22257
22258
c32bde28 22259static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22260 PyObject *resultobj;
22261 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22262 bool arg2 ;
22263 PyObject * obj0 = 0 ;
22264 PyObject * obj1 = 0 ;
22265 char *kwnames[] = {
22266 (char *) "self",(char *) "flag", NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22271 if (SWIG_arg_fail(1)) SWIG_fail;
22272 {
22273 arg2 = (bool)(SWIG_As_bool(obj1));
22274 if (SWIG_arg_fail(2)) SWIG_fail;
22275 }
d55e5bfc
RD
22276 {
22277 PyThreadState* __tstate = wxPyBeginAllowThreads();
22278 (arg1)->EnableOrientation(arg2);
22279
22280 wxPyEndAllowThreads(__tstate);
22281 if (PyErr_Occurred()) SWIG_fail;
22282 }
22283 Py_INCREF(Py_None); resultobj = Py_None;
22284 return resultobj;
22285 fail:
22286 return NULL;
22287}
22288
22289
c32bde28 22290static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22291 PyObject *resultobj;
22292 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22293 bool arg2 ;
22294 PyObject * obj0 = 0 ;
22295 PyObject * obj1 = 0 ;
22296 char *kwnames[] = {
22297 (char *) "self",(char *) "flag", NULL
22298 };
22299
22300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22302 if (SWIG_arg_fail(1)) SWIG_fail;
22303 {
22304 arg2 = (bool)(SWIG_As_bool(obj1));
22305 if (SWIG_arg_fail(2)) SWIG_fail;
22306 }
d55e5bfc
RD
22307 {
22308 PyThreadState* __tstate = wxPyBeginAllowThreads();
22309 (arg1)->EnablePaper(arg2);
22310
22311 wxPyEndAllowThreads(__tstate);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 }
22314 Py_INCREF(Py_None); resultobj = Py_None;
22315 return resultobj;
22316 fail:
22317 return NULL;
22318}
22319
22320
c32bde28 22321static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22322 PyObject *resultobj;
22323 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22324 bool arg2 ;
22325 PyObject * obj0 = 0 ;
22326 PyObject * obj1 = 0 ;
22327 char *kwnames[] = {
22328 (char *) "self",(char *) "flag", NULL
22329 };
22330
22331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22333 if (SWIG_arg_fail(1)) SWIG_fail;
22334 {
22335 arg2 = (bool)(SWIG_As_bool(obj1));
22336 if (SWIG_arg_fail(2)) SWIG_fail;
22337 }
d55e5bfc
RD
22338 {
22339 PyThreadState* __tstate = wxPyBeginAllowThreads();
22340 (arg1)->EnablePrinter(arg2);
22341
22342 wxPyEndAllowThreads(__tstate);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 }
22345 Py_INCREF(Py_None); resultobj = Py_None;
22346 return resultobj;
22347 fail:
22348 return NULL;
22349}
22350
22351
c32bde28 22352static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22353 PyObject *resultobj;
22354 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22355 bool result;
22356 PyObject * obj0 = 0 ;
22357 char *kwnames[] = {
22358 (char *) "self", NULL
22359 };
22360
22361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
22362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22363 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22364 {
22365 PyThreadState* __tstate = wxPyBeginAllowThreads();
22366 result = (bool)(arg1)->GetDefaultMinMargins();
22367
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
22371 {
22372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22373 }
22374 return resultobj;
22375 fail:
22376 return NULL;
22377}
22378
22379
c32bde28 22380static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22381 PyObject *resultobj;
22382 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22383 bool result;
22384 PyObject * obj0 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
22390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22392 {
22393 PyThreadState* __tstate = wxPyBeginAllowThreads();
22394 result = (bool)(arg1)->GetEnableMargins();
22395
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
22399 {
22400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22401 }
22402 return resultobj;
22403 fail:
22404 return NULL;
22405}
22406
22407
c32bde28 22408static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22409 PyObject *resultobj;
22410 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22411 bool result;
22412 PyObject * obj0 = 0 ;
22413 char *kwnames[] = {
22414 (char *) "self", NULL
22415 };
22416
22417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
22418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22420 {
22421 PyThreadState* __tstate = wxPyBeginAllowThreads();
22422 result = (bool)(arg1)->GetEnableOrientation();
22423
22424 wxPyEndAllowThreads(__tstate);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
22427 {
22428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22429 }
22430 return resultobj;
22431 fail:
22432 return NULL;
22433}
22434
22435
c32bde28 22436static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22437 PyObject *resultobj;
22438 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22439 bool result;
22440 PyObject * obj0 = 0 ;
22441 char *kwnames[] = {
22442 (char *) "self", NULL
22443 };
22444
22445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
093d3ff1
RD
22446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22447 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
22450 result = (bool)(arg1)->GetEnablePaper();
22451
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 {
22456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22457 }
22458 return resultobj;
22459 fail:
22460 return NULL;
22461}
22462
22463
c32bde28 22464static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22465 PyObject *resultobj;
22466 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22467 bool result;
22468 PyObject * obj0 = 0 ;
22469 char *kwnames[] = {
22470 (char *) "self", NULL
22471 };
22472
22473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
22474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22475 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22476 {
22477 PyThreadState* __tstate = wxPyBeginAllowThreads();
22478 result = (bool)(arg1)->GetEnablePrinter();
22479
22480 wxPyEndAllowThreads(__tstate);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 }
22483 {
22484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22485 }
22486 return resultobj;
22487 fail:
22488 return NULL;
22489}
22490
22491
c32bde28 22492static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22493 PyObject *resultobj;
22494 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22495 bool result;
22496 PyObject * obj0 = 0 ;
22497 char *kwnames[] = {
22498 (char *) "self", NULL
22499 };
22500
22501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
22502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22504 {
22505 PyThreadState* __tstate = wxPyBeginAllowThreads();
22506 result = (bool)(arg1)->GetEnableHelp();
22507
22508 wxPyEndAllowThreads(__tstate);
22509 if (PyErr_Occurred()) SWIG_fail;
22510 }
22511 {
22512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22513 }
22514 return resultobj;
22515 fail:
22516 return NULL;
22517}
22518
22519
c32bde28 22520static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22521 PyObject *resultobj;
22522 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22523 bool result;
22524 PyObject * obj0 = 0 ;
22525 char *kwnames[] = {
22526 (char *) "self", NULL
22527 };
22528
22529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
22530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22531 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
22534 result = (bool)(arg1)->GetDefaultInfo();
22535
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
22539 {
22540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22541 }
22542 return resultobj;
22543 fail:
22544 return NULL;
22545}
22546
22547
c32bde28 22548static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22549 PyObject *resultobj;
22550 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22551 wxPoint result;
22552 PyObject * obj0 = 0 ;
22553 char *kwnames[] = {
22554 (char *) "self", NULL
22555 };
22556
22557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22559 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22560 {
22561 PyThreadState* __tstate = wxPyBeginAllowThreads();
22562 result = (arg1)->GetMarginTopLeft();
22563
22564 wxPyEndAllowThreads(__tstate);
22565 if (PyErr_Occurred()) SWIG_fail;
22566 }
22567 {
22568 wxPoint * resultptr;
093d3ff1 22569 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22570 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22571 }
22572 return resultobj;
22573 fail:
22574 return NULL;
22575}
22576
22577
c32bde28 22578static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22579 PyObject *resultobj;
22580 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22581 wxPoint result;
22582 PyObject * obj0 = 0 ;
22583 char *kwnames[] = {
22584 (char *) "self", NULL
22585 };
22586
22587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22589 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22590 {
22591 PyThreadState* __tstate = wxPyBeginAllowThreads();
22592 result = (arg1)->GetMarginBottomRight();
22593
22594 wxPyEndAllowThreads(__tstate);
22595 if (PyErr_Occurred()) SWIG_fail;
22596 }
22597 {
22598 wxPoint * resultptr;
093d3ff1 22599 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22600 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22601 }
22602 return resultobj;
22603 fail:
22604 return NULL;
22605}
22606
22607
c32bde28 22608static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22609 PyObject *resultobj;
22610 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22611 wxPoint result;
22612 PyObject * obj0 = 0 ;
22613 char *kwnames[] = {
22614 (char *) "self", NULL
22615 };
22616
22617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22619 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22620 {
22621 PyThreadState* __tstate = wxPyBeginAllowThreads();
22622 result = (arg1)->GetMinMarginTopLeft();
22623
22624 wxPyEndAllowThreads(__tstate);
22625 if (PyErr_Occurred()) SWIG_fail;
22626 }
22627 {
22628 wxPoint * resultptr;
093d3ff1 22629 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22630 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22631 }
22632 return resultobj;
22633 fail:
22634 return NULL;
22635}
22636
22637
c32bde28 22638static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22639 PyObject *resultobj;
22640 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22641 wxPoint result;
22642 PyObject * obj0 = 0 ;
22643 char *kwnames[] = {
22644 (char *) "self", NULL
22645 };
22646
22647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22649 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22650 {
22651 PyThreadState* __tstate = wxPyBeginAllowThreads();
22652 result = (arg1)->GetMinMarginBottomRight();
22653
22654 wxPyEndAllowThreads(__tstate);
22655 if (PyErr_Occurred()) SWIG_fail;
22656 }
22657 {
22658 wxPoint * resultptr;
093d3ff1 22659 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22661 }
22662 return resultobj;
22663 fail:
22664 return NULL;
22665}
22666
22667
c32bde28 22668static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22669 PyObject *resultobj;
22670 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22671 wxPaperSize result;
d55e5bfc
RD
22672 PyObject * obj0 = 0 ;
22673 char *kwnames[] = {
22674 (char *) "self", NULL
22675 };
22676
22677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
22678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22679 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22680 {
22681 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22682 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
22683
22684 wxPyEndAllowThreads(__tstate);
22685 if (PyErr_Occurred()) SWIG_fail;
22686 }
093d3ff1 22687 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22688 return resultobj;
22689 fail:
22690 return NULL;
22691}
22692
22693
c32bde28 22694static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22695 PyObject *resultobj;
22696 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22697 wxSize result;
22698 PyObject * obj0 = 0 ;
22699 char *kwnames[] = {
22700 (char *) "self", NULL
22701 };
22702
22703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22705 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22706 {
22707 PyThreadState* __tstate = wxPyBeginAllowThreads();
22708 result = (arg1)->GetPaperSize();
22709
22710 wxPyEndAllowThreads(__tstate);
22711 if (PyErr_Occurred()) SWIG_fail;
22712 }
22713 {
22714 wxSize * resultptr;
093d3ff1 22715 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
22716 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22717 }
22718 return resultobj;
22719 fail:
22720 return NULL;
22721}
22722
22723
c32bde28 22724static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22725 PyObject *resultobj;
22726 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22727 wxPrintData *result;
22728 PyObject * obj0 = 0 ;
22729 char *kwnames[] = {
22730 (char *) "self", NULL
22731 };
22732
22733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22735 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22736 {
22737 PyThreadState* __tstate = wxPyBeginAllowThreads();
22738 {
22739 wxPrintData &_result_ref = (arg1)->GetPrintData();
22740 result = (wxPrintData *) &_result_ref;
22741 }
22742
22743 wxPyEndAllowThreads(__tstate);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 }
22746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22747 return resultobj;
22748 fail:
22749 return NULL;
22750}
22751
22752
c32bde28 22753static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22754 PyObject *resultobj;
22755 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22756 bool result;
22757 PyObject * obj0 = 0 ;
22758 char *kwnames[] = {
22759 (char *) "self", NULL
22760 };
22761
22762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
22763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22764 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22765 {
22766 PyThreadState* __tstate = wxPyBeginAllowThreads();
22767 result = (bool)(arg1)->Ok();
22768
22769 wxPyEndAllowThreads(__tstate);
22770 if (PyErr_Occurred()) SWIG_fail;
22771 }
22772 {
22773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22774 }
22775 return resultobj;
22776 fail:
22777 return NULL;
22778}
22779
22780
c32bde28 22781static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22782 PyObject *resultobj;
22783 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22784 bool arg2 ;
22785 PyObject * obj0 = 0 ;
22786 PyObject * obj1 = 0 ;
22787 char *kwnames[] = {
22788 (char *) "self",(char *) "flag", NULL
22789 };
22790
22791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22793 if (SWIG_arg_fail(1)) SWIG_fail;
22794 {
22795 arg2 = (bool)(SWIG_As_bool(obj1));
22796 if (SWIG_arg_fail(2)) SWIG_fail;
22797 }
d55e5bfc
RD
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 (arg1)->SetDefaultInfo(arg2);
22801
22802 wxPyEndAllowThreads(__tstate);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 Py_INCREF(Py_None); resultobj = Py_None;
22806 return resultobj;
22807 fail:
22808 return NULL;
22809}
22810
22811
c32bde28 22812static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22813 PyObject *resultobj;
22814 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22815 bool arg2 ;
22816 PyObject * obj0 = 0 ;
22817 PyObject * obj1 = 0 ;
22818 char *kwnames[] = {
22819 (char *) "self",(char *) "flag", NULL
22820 };
22821
22822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22824 if (SWIG_arg_fail(1)) SWIG_fail;
22825 {
22826 arg2 = (bool)(SWIG_As_bool(obj1));
22827 if (SWIG_arg_fail(2)) SWIG_fail;
22828 }
d55e5bfc
RD
22829 {
22830 PyThreadState* __tstate = wxPyBeginAllowThreads();
22831 (arg1)->SetDefaultMinMargins(arg2);
22832
22833 wxPyEndAllowThreads(__tstate);
22834 if (PyErr_Occurred()) SWIG_fail;
22835 }
22836 Py_INCREF(Py_None); resultobj = Py_None;
22837 return resultobj;
22838 fail:
22839 return NULL;
22840}
22841
22842
c32bde28 22843static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22844 PyObject *resultobj;
22845 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22846 wxPoint *arg2 = 0 ;
22847 wxPoint temp2 ;
22848 PyObject * obj0 = 0 ;
22849 PyObject * obj1 = 0 ;
22850 char *kwnames[] = {
22851 (char *) "self",(char *) "pt", NULL
22852 };
22853
22854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22857 {
22858 arg2 = &temp2;
22859 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22860 }
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
22868 Py_INCREF(Py_None); resultobj = Py_None;
22869 return resultobj;
22870 fail:
22871 return NULL;
22872}
22873
22874
c32bde28 22875static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22876 PyObject *resultobj;
22877 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22878 wxPoint *arg2 = 0 ;
22879 wxPoint temp2 ;
22880 PyObject * obj0 = 0 ;
22881 PyObject * obj1 = 0 ;
22882 char *kwnames[] = {
22883 (char *) "self",(char *) "pt", NULL
22884 };
22885
22886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22889 {
22890 arg2 = &temp2;
22891 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22892 }
22893 {
22894 PyThreadState* __tstate = wxPyBeginAllowThreads();
22895 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22896
22897 wxPyEndAllowThreads(__tstate);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 Py_INCREF(Py_None); resultobj = Py_None;
22901 return resultobj;
22902 fail:
22903 return NULL;
22904}
22905
22906
c32bde28 22907static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22908 PyObject *resultobj;
22909 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22910 wxPoint *arg2 = 0 ;
22911 wxPoint temp2 ;
22912 PyObject * obj0 = 0 ;
22913 PyObject * obj1 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self",(char *) "pt", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22920 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22921 {
22922 arg2 = &temp2;
22923 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22924 }
22925 {
22926 PyThreadState* __tstate = wxPyBeginAllowThreads();
22927 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22928
22929 wxPyEndAllowThreads(__tstate);
22930 if (PyErr_Occurred()) SWIG_fail;
22931 }
22932 Py_INCREF(Py_None); resultobj = Py_None;
22933 return resultobj;
22934 fail:
22935 return NULL;
22936}
22937
22938
c32bde28 22939static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22940 PyObject *resultobj;
22941 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22942 wxPoint *arg2 = 0 ;
22943 wxPoint temp2 ;
22944 PyObject * obj0 = 0 ;
22945 PyObject * obj1 = 0 ;
22946 char *kwnames[] = {
22947 (char *) "self",(char *) "pt", NULL
22948 };
22949
22950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22952 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22953 {
22954 arg2 = &temp2;
22955 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22956 }
22957 {
22958 PyThreadState* __tstate = wxPyBeginAllowThreads();
22959 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22960
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 Py_INCREF(Py_None); resultobj = Py_None;
22965 return resultobj;
22966 fail:
22967 return NULL;
22968}
22969
22970
c32bde28 22971static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22972 PyObject *resultobj;
22973 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22974 wxPaperSize arg2 ;
d55e5bfc
RD
22975 PyObject * obj0 = 0 ;
22976 PyObject * obj1 = 0 ;
22977 char *kwnames[] = {
22978 (char *) "self",(char *) "id", NULL
22979 };
22980
22981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22983 if (SWIG_arg_fail(1)) SWIG_fail;
22984 {
22985 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22986 if (SWIG_arg_fail(2)) SWIG_fail;
22987 }
d55e5bfc
RD
22988 {
22989 PyThreadState* __tstate = wxPyBeginAllowThreads();
22990 (arg1)->SetPaperId((wxPaperSize )arg2);
22991
22992 wxPyEndAllowThreads(__tstate);
22993 if (PyErr_Occurred()) SWIG_fail;
22994 }
22995 Py_INCREF(Py_None); resultobj = Py_None;
22996 return resultobj;
22997 fail:
22998 return NULL;
22999}
23000
23001
c32bde28 23002static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23003 PyObject *resultobj;
23004 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23005 wxSize *arg2 = 0 ;
23006 wxSize temp2 ;
23007 PyObject * obj0 = 0 ;
23008 PyObject * obj1 = 0 ;
23009 char *kwnames[] = {
23010 (char *) "self",(char *) "size", NULL
23011 };
23012
23013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23015 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23016 {
23017 arg2 = &temp2;
23018 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23019 }
23020 {
23021 PyThreadState* __tstate = wxPyBeginAllowThreads();
23022 (arg1)->SetPaperSize((wxSize const &)*arg2);
23023
23024 wxPyEndAllowThreads(__tstate);
23025 if (PyErr_Occurred()) SWIG_fail;
23026 }
23027 Py_INCREF(Py_None); resultobj = Py_None;
23028 return resultobj;
23029 fail:
23030 return NULL;
23031}
23032
23033
c32bde28 23034static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23035 PyObject *resultobj;
23036 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23037 wxPrintData *arg2 = 0 ;
23038 PyObject * obj0 = 0 ;
23039 PyObject * obj1 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self",(char *) "printData", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23046 if (SWIG_arg_fail(1)) SWIG_fail;
23047 {
23048 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23049 if (SWIG_arg_fail(2)) SWIG_fail;
23050 if (arg2 == NULL) {
23051 SWIG_null_ref("wxPrintData");
23052 }
23053 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23054 }
23055 {
23056 PyThreadState* __tstate = wxPyBeginAllowThreads();
23057 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23058
23059 wxPyEndAllowThreads(__tstate);
23060 if (PyErr_Occurred()) SWIG_fail;
23061 }
23062 Py_INCREF(Py_None); resultobj = Py_None;
23063 return resultobj;
23064 fail:
23065 return NULL;
23066}
23067
23068
fef4c27a
RD
23069static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
23070 PyObject *resultobj;
23071 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23072 PyObject * obj0 = 0 ;
23073 char *kwnames[] = {
23074 (char *) "self", NULL
23075 };
23076
23077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
23078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23079 if (SWIG_arg_fail(1)) SWIG_fail;
23080 {
23081 PyThreadState* __tstate = wxPyBeginAllowThreads();
23082 (arg1)->CalculateIdFromPaperSize();
23083
23084 wxPyEndAllowThreads(__tstate);
23085 if (PyErr_Occurred()) SWIG_fail;
23086 }
23087 Py_INCREF(Py_None); resultobj = Py_None;
23088 return resultobj;
23089 fail:
23090 return NULL;
23091}
23092
23093
23094static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
23095 PyObject *resultobj;
23096 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
23097 PyObject * obj0 = 0 ;
23098 char *kwnames[] = {
23099 (char *) "self", NULL
23100 };
23101
23102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
23103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23104 if (SWIG_arg_fail(1)) SWIG_fail;
23105 {
23106 PyThreadState* __tstate = wxPyBeginAllowThreads();
23107 (arg1)->CalculatePaperSizeFromId();
23108
23109 wxPyEndAllowThreads(__tstate);
23110 if (PyErr_Occurred()) SWIG_fail;
23111 }
23112 Py_INCREF(Py_None); resultobj = Py_None;
23113 return resultobj;
23114 fail:
23115 return NULL;
23116}
23117
23118
c32bde28 23119static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23120 PyObject *obj;
23121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23122 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
23123 Py_INCREF(obj);
23124 return Py_BuildValue((char *)"");
23125}
c32bde28 23126static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23127 PyObject *resultobj;
23128 wxWindow *arg1 = (wxWindow *) 0 ;
23129 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
23130 wxPageSetupDialog *result;
23131 PyObject * obj0 = 0 ;
23132 PyObject * obj1 = 0 ;
23133 char *kwnames[] = {
23134 (char *) "parent",(char *) "data", NULL
23135 };
23136
23137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23139 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23140 if (obj1) {
093d3ff1
RD
23141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
23142 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23143 }
23144 {
0439c23b 23145 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23146 PyThreadState* __tstate = wxPyBeginAllowThreads();
23147 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
23148
23149 wxPyEndAllowThreads(__tstate);
110da5b0 23150 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23151 }
23152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
23153 return resultobj;
23154 fail:
23155 return NULL;
23156}
23157
23158
c32bde28 23159static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23160 PyObject *resultobj;
23161 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23162 wxPageSetupDialogData *result;
23163 PyObject * obj0 = 0 ;
23164 char *kwnames[] = {
23165 (char *) "self", NULL
23166 };
23167
23168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23170 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23171 {
23172 PyThreadState* __tstate = wxPyBeginAllowThreads();
23173 {
23174 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
23175 result = (wxPageSetupDialogData *) &_result_ref;
23176 }
23177
23178 wxPyEndAllowThreads(__tstate);
23179 if (PyErr_Occurred()) SWIG_fail;
23180 }
23181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23182 return resultobj;
23183 fail:
23184 return NULL;
23185}
23186
23187
8ac8dba0
RD
23188static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23189 PyObject *resultobj;
23190 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23191 wxPageSetupDialogData *result;
23192 PyObject * obj0 = 0 ;
23193 char *kwnames[] = {
23194 (char *) "self", NULL
23195 };
23196
23197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23199 if (SWIG_arg_fail(1)) SWIG_fail;
8ac8dba0
RD
23200 {
23201 PyThreadState* __tstate = wxPyBeginAllowThreads();
23202 {
23203 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
23204 result = (wxPageSetupDialogData *) &_result_ref;
23205 }
23206
23207 wxPyEndAllowThreads(__tstate);
23208 if (PyErr_Occurred()) SWIG_fail;
23209 }
23210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23211 return resultobj;
23212 fail:
23213 return NULL;
23214}
23215
23216
c32bde28 23217static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23218 PyObject *resultobj;
23219 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23220 int result;
23221 PyObject * obj0 = 0 ;
23222 char *kwnames[] = {
23223 (char *) "self", NULL
23224 };
23225
23226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
23227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23228 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23229 {
23230 PyThreadState* __tstate = wxPyBeginAllowThreads();
23231 result = (int)(arg1)->ShowModal();
23232
23233 wxPyEndAllowThreads(__tstate);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 }
093d3ff1
RD
23236 {
23237 resultobj = SWIG_From_int((int)(result));
23238 }
d55e5bfc
RD
23239 return resultobj;
23240 fail:
23241 return NULL;
23242}
23243
23244
c32bde28 23245static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23246 PyObject *obj;
23247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23248 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
23249 Py_INCREF(obj);
23250 return Py_BuildValue((char *)"");
23251}
c32bde28 23252static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
23253 PyObject *resultobj;
23254 wxPrintDialogData *result;
23255
23256 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
23257 {
23258 PyThreadState* __tstate = wxPyBeginAllowThreads();
23259 result = (wxPrintDialogData *)new wxPrintDialogData();
23260
23261 wxPyEndAllowThreads(__tstate);
23262 if (PyErr_Occurred()) SWIG_fail;
23263 }
23264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23265 return resultobj;
23266 fail:
23267 return NULL;
23268}
23269
23270
c32bde28 23271static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
23272 PyObject *resultobj;
23273 wxPrintData *arg1 = 0 ;
23274 wxPrintDialogData *result;
23275 PyObject * obj0 = 0 ;
23276
23277 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
093d3ff1
RD
23278 {
23279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail;
23281 if (arg1 == NULL) {
23282 SWIG_null_ref("wxPrintData");
23283 }
23284 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23285 }
23286 {
23287 PyThreadState* __tstate = wxPyBeginAllowThreads();
23288 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
23289
23290 wxPyEndAllowThreads(__tstate);
23291 if (PyErr_Occurred()) SWIG_fail;
23292 }
23293 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23294 return resultobj;
23295 fail:
23296 return NULL;
23297}
23298
23299
fef4c27a
RD
23300static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
23301 PyObject *resultobj;
23302 wxPrintDialogData *arg1 = 0 ;
23303 wxPrintDialogData *result;
23304 PyObject * obj0 = 0 ;
23305
23306 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23307 {
23308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23309 if (SWIG_arg_fail(1)) SWIG_fail;
23310 if (arg1 == NULL) {
23311 SWIG_null_ref("wxPrintDialogData");
23312 }
23313 if (SWIG_arg_fail(1)) SWIG_fail;
23314 }
23315 {
23316 PyThreadState* __tstate = wxPyBeginAllowThreads();
23317 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
23318
23319 wxPyEndAllowThreads(__tstate);
23320 if (PyErr_Occurred()) SWIG_fail;
23321 }
23322 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23323 return resultobj;
23324 fail:
23325 return NULL;
23326}
23327
23328
d55e5bfc
RD
23329static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
23330 int argc;
23331 PyObject *argv[2];
23332 int ii;
23333
23334 argc = PyObject_Length(args);
23335 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
23336 argv[ii] = PyTuple_GetItem(args,ii);
23337 }
23338 if (argc == 0) {
23339 return _wrap_new_PrintDialogData__SWIG_0(self,args);
23340 }
23341 if (argc == 1) {
23342 int _v;
23343 {
093d3ff1 23344 void *ptr = 0;
d55e5bfc
RD
23345 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23346 _v = 0;
23347 PyErr_Clear();
23348 } else {
093d3ff1 23349 _v = (ptr != 0);
d55e5bfc
RD
23350 }
23351 }
23352 if (_v) {
23353 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23354 }
23355 }
fef4c27a
RD
23356 if (argc == 1) {
23357 int _v;
23358 {
23359 void *ptr = 0;
23360 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23361 _v = 0;
23362 PyErr_Clear();
23363 } else {
23364 _v = (ptr != 0);
23365 }
23366 }
23367 if (_v) {
23368 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23369 }
23370 }
d55e5bfc 23371
093d3ff1 23372 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
d55e5bfc
RD
23373 return NULL;
23374}
23375
23376
c32bde28 23377static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23378 PyObject *resultobj;
23379 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23380 PyObject * obj0 = 0 ;
23381 char *kwnames[] = {
23382 (char *) "self", NULL
23383 };
23384
23385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23388 {
23389 PyThreadState* __tstate = wxPyBeginAllowThreads();
23390 delete arg1;
23391
23392 wxPyEndAllowThreads(__tstate);
23393 if (PyErr_Occurred()) SWIG_fail;
23394 }
23395 Py_INCREF(Py_None); resultobj = Py_None;
23396 return resultobj;
23397 fail:
23398 return NULL;
23399}
23400
23401
c32bde28 23402static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23403 PyObject *resultobj;
23404 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23405 int result;
23406 PyObject * obj0 = 0 ;
23407 char *kwnames[] = {
23408 (char *) "self", NULL
23409 };
23410
23411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23414 {
23415 PyThreadState* __tstate = wxPyBeginAllowThreads();
23416 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23417
23418 wxPyEndAllowThreads(__tstate);
23419 if (PyErr_Occurred()) SWIG_fail;
23420 }
093d3ff1
RD
23421 {
23422 resultobj = SWIG_From_int((int)(result));
23423 }
d55e5bfc
RD
23424 return resultobj;
23425 fail:
23426 return NULL;
23427}
23428
23429
c32bde28 23430static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23431 PyObject *resultobj;
23432 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23433 int result;
23434 PyObject * obj0 = 0 ;
23435 char *kwnames[] = {
23436 (char *) "self", NULL
23437 };
23438
23439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23441 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23442 {
23443 PyThreadState* __tstate = wxPyBeginAllowThreads();
23444 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23445
23446 wxPyEndAllowThreads(__tstate);
23447 if (PyErr_Occurred()) SWIG_fail;
23448 }
093d3ff1
RD
23449 {
23450 resultobj = SWIG_From_int((int)(result));
23451 }
d55e5bfc
RD
23452 return resultobj;
23453 fail:
23454 return NULL;
23455}
23456
23457
c32bde28 23458static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23459 PyObject *resultobj;
23460 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23461 int result;
23462 PyObject * obj0 = 0 ;
23463 char *kwnames[] = {
23464 (char *) "self", NULL
23465 };
23466
23467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23469 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23473
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
093d3ff1
RD
23477 {
23478 resultobj = SWIG_From_int((int)(result));
23479 }
d55e5bfc
RD
23480 return resultobj;
23481 fail:
23482 return NULL;
23483}
23484
23485
c32bde28 23486static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23487 PyObject *resultobj;
23488 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23489 int result;
23490 PyObject * obj0 = 0 ;
23491 char *kwnames[] = {
23492 (char *) "self", NULL
23493 };
23494
23495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23497 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23498 {
23499 PyThreadState* __tstate = wxPyBeginAllowThreads();
23500 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23501
23502 wxPyEndAllowThreads(__tstate);
23503 if (PyErr_Occurred()) SWIG_fail;
23504 }
093d3ff1
RD
23505 {
23506 resultobj = SWIG_From_int((int)(result));
23507 }
d55e5bfc
RD
23508 return resultobj;
23509 fail:
23510 return NULL;
23511}
23512
23513
c32bde28 23514static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23515 PyObject *resultobj;
23516 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23517 int result;
23518 PyObject * obj0 = 0 ;
23519 char *kwnames[] = {
23520 (char *) "self", NULL
23521 };
23522
23523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
23524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23525 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23529
23530 wxPyEndAllowThreads(__tstate);
23531 if (PyErr_Occurred()) SWIG_fail;
23532 }
093d3ff1
RD
23533 {
23534 resultobj = SWIG_From_int((int)(result));
23535 }
d55e5bfc
RD
23536 return resultobj;
23537 fail:
23538 return NULL;
23539}
23540
23541
c32bde28 23542static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23543 PyObject *resultobj;
23544 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23545 bool result;
23546 PyObject * obj0 = 0 ;
23547 char *kwnames[] = {
23548 (char *) "self", NULL
23549 };
23550
23551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
23552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23553 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23557
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 {
23562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23563 }
23564 return resultobj;
23565 fail:
23566 return NULL;
23567}
23568
23569
c32bde28 23570static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23571 PyObject *resultobj;
23572 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23573 bool result;
23574 PyObject * obj0 = 0 ;
23575 char *kwnames[] = {
23576 (char *) "self", NULL
23577 };
23578
23579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
23580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23581 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23582 {
23583 PyThreadState* __tstate = wxPyBeginAllowThreads();
23584 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23585
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 {
23590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23591 }
23592 return resultobj;
23593 fail:
23594 return NULL;
23595}
23596
23597
c32bde28 23598static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23599 PyObject *resultobj;
23600 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23601 bool result;
23602 PyObject * obj0 = 0 ;
23603 char *kwnames[] = {
23604 (char *) "self", NULL
23605 };
23606
23607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23609 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23610 {
23611 PyThreadState* __tstate = wxPyBeginAllowThreads();
23612 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23613
23614 wxPyEndAllowThreads(__tstate);
23615 if (PyErr_Occurred()) SWIG_fail;
23616 }
23617 {
23618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23619 }
23620 return resultobj;
23621 fail:
23622 return NULL;
23623}
23624
23625
c32bde28 23626static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23627 PyObject *resultobj;
23628 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23629 bool result;
23630 PyObject * obj0 = 0 ;
23631 char *kwnames[] = {
23632 (char *) "self", NULL
23633 };
23634
23635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23637 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23638 {
23639 PyThreadState* __tstate = wxPyBeginAllowThreads();
23640 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23641
23642 wxPyEndAllowThreads(__tstate);
23643 if (PyErr_Occurred()) SWIG_fail;
23644 }
23645 {
23646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23647 }
23648 return resultobj;
23649 fail:
23650 return NULL;
23651}
23652
23653
c32bde28 23654static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23655 PyObject *resultobj;
23656 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23657 bool result;
23658 PyObject * obj0 = 0 ;
23659 char *kwnames[] = {
23660 (char *) "self", NULL
23661 };
23662
23663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
23664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23665 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23666 {
23667 PyThreadState* __tstate = wxPyBeginAllowThreads();
23668 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23669
23670 wxPyEndAllowThreads(__tstate);
23671 if (PyErr_Occurred()) SWIG_fail;
23672 }
23673 {
23674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23675 }
23676 return resultobj;
23677 fail:
23678 return NULL;
23679}
23680
23681
c1cb24a4
RD
23682static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23683 PyObject *resultobj;
23684 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23685 bool arg2 ;
23686 PyObject * obj0 = 0 ;
23687 PyObject * obj1 = 0 ;
23688 char *kwnames[] = {
23689 (char *) "self",(char *) "flag", NULL
23690 };
23691
23692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23694 if (SWIG_arg_fail(1)) SWIG_fail;
23695 {
23696 arg2 = (bool)(SWIG_As_bool(obj1));
23697 if (SWIG_arg_fail(2)) SWIG_fail;
23698 }
c1cb24a4
RD
23699 {
23700 PyThreadState* __tstate = wxPyBeginAllowThreads();
23701 (arg1)->SetSetupDialog(arg2);
23702
23703 wxPyEndAllowThreads(__tstate);
23704 if (PyErr_Occurred()) SWIG_fail;
23705 }
23706 Py_INCREF(Py_None); resultobj = Py_None;
23707 return resultobj;
23708 fail:
23709 return NULL;
23710}
23711
23712
c32bde28 23713static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23714 PyObject *resultobj;
23715 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23716 int arg2 ;
23717 PyObject * obj0 = 0 ;
23718 PyObject * obj1 = 0 ;
23719 char *kwnames[] = {
23720 (char *) "self",(char *) "v", NULL
23721 };
23722
23723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23725 if (SWIG_arg_fail(1)) SWIG_fail;
23726 {
23727 arg2 = (int)(SWIG_As_int(obj1));
23728 if (SWIG_arg_fail(2)) SWIG_fail;
23729 }
d55e5bfc
RD
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 (arg1)->SetFromPage(arg2);
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 Py_INCREF(Py_None); resultobj = Py_None;
23738 return resultobj;
23739 fail:
23740 return NULL;
23741}
23742
23743
c32bde28 23744static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23745 PyObject *resultobj;
23746 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23747 int arg2 ;
23748 PyObject * obj0 = 0 ;
23749 PyObject * obj1 = 0 ;
23750 char *kwnames[] = {
23751 (char *) "self",(char *) "v", NULL
23752 };
23753
23754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23756 if (SWIG_arg_fail(1)) SWIG_fail;
23757 {
23758 arg2 = (int)(SWIG_As_int(obj1));
23759 if (SWIG_arg_fail(2)) SWIG_fail;
23760 }
d55e5bfc
RD
23761 {
23762 PyThreadState* __tstate = wxPyBeginAllowThreads();
23763 (arg1)->SetToPage(arg2);
23764
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 Py_INCREF(Py_None); resultobj = Py_None;
23769 return resultobj;
23770 fail:
23771 return NULL;
23772}
23773
23774
c32bde28 23775static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23776 PyObject *resultobj;
23777 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23778 int arg2 ;
23779 PyObject * obj0 = 0 ;
23780 PyObject * obj1 = 0 ;
23781 char *kwnames[] = {
23782 (char *) "self",(char *) "v", NULL
23783 };
23784
23785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23787 if (SWIG_arg_fail(1)) SWIG_fail;
23788 {
23789 arg2 = (int)(SWIG_As_int(obj1));
23790 if (SWIG_arg_fail(2)) SWIG_fail;
23791 }
d55e5bfc
RD
23792 {
23793 PyThreadState* __tstate = wxPyBeginAllowThreads();
23794 (arg1)->SetMinPage(arg2);
23795
23796 wxPyEndAllowThreads(__tstate);
23797 if (PyErr_Occurred()) SWIG_fail;
23798 }
23799 Py_INCREF(Py_None); resultobj = Py_None;
23800 return resultobj;
23801 fail:
23802 return NULL;
23803}
23804
23805
c32bde28 23806static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23807 PyObject *resultobj;
23808 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23809 int arg2 ;
23810 PyObject * obj0 = 0 ;
23811 PyObject * obj1 = 0 ;
23812 char *kwnames[] = {
23813 (char *) "self",(char *) "v", NULL
23814 };
23815
23816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23818 if (SWIG_arg_fail(1)) SWIG_fail;
23819 {
23820 arg2 = (int)(SWIG_As_int(obj1));
23821 if (SWIG_arg_fail(2)) SWIG_fail;
23822 }
d55e5bfc
RD
23823 {
23824 PyThreadState* __tstate = wxPyBeginAllowThreads();
23825 (arg1)->SetMaxPage(arg2);
23826
23827 wxPyEndAllowThreads(__tstate);
23828 if (PyErr_Occurred()) SWIG_fail;
23829 }
23830 Py_INCREF(Py_None); resultobj = Py_None;
23831 return resultobj;
23832 fail:
23833 return NULL;
23834}
23835
23836
c32bde28 23837static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23838 PyObject *resultobj;
23839 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23840 int arg2 ;
23841 PyObject * obj0 = 0 ;
23842 PyObject * obj1 = 0 ;
23843 char *kwnames[] = {
23844 (char *) "self",(char *) "v", NULL
23845 };
23846
23847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23849 if (SWIG_arg_fail(1)) SWIG_fail;
23850 {
23851 arg2 = (int)(SWIG_As_int(obj1));
23852 if (SWIG_arg_fail(2)) SWIG_fail;
23853 }
d55e5bfc
RD
23854 {
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 (arg1)->SetNoCopies(arg2);
23857
23858 wxPyEndAllowThreads(__tstate);
23859 if (PyErr_Occurred()) SWIG_fail;
23860 }
23861 Py_INCREF(Py_None); resultobj = Py_None;
23862 return resultobj;
23863 fail:
23864 return NULL;
23865}
23866
23867
c32bde28 23868static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23869 PyObject *resultobj;
23870 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23871 bool arg2 ;
23872 PyObject * obj0 = 0 ;
23873 PyObject * obj1 = 0 ;
23874 char *kwnames[] = {
23875 (char *) "self",(char *) "flag", NULL
23876 };
23877
23878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23880 if (SWIG_arg_fail(1)) SWIG_fail;
23881 {
23882 arg2 = (bool)(SWIG_As_bool(obj1));
23883 if (SWIG_arg_fail(2)) SWIG_fail;
23884 }
d55e5bfc
RD
23885 {
23886 PyThreadState* __tstate = wxPyBeginAllowThreads();
23887 (arg1)->SetAllPages(arg2);
23888
23889 wxPyEndAllowThreads(__tstate);
23890 if (PyErr_Occurred()) SWIG_fail;
23891 }
23892 Py_INCREF(Py_None); resultobj = Py_None;
23893 return resultobj;
23894 fail:
23895 return NULL;
23896}
23897
23898
c32bde28 23899static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23900 PyObject *resultobj;
23901 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23902 bool arg2 ;
23903 PyObject * obj0 = 0 ;
23904 PyObject * obj1 = 0 ;
23905 char *kwnames[] = {
23906 (char *) "self",(char *) "flag", NULL
23907 };
23908
23909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23911 if (SWIG_arg_fail(1)) SWIG_fail;
23912 {
23913 arg2 = (bool)(SWIG_As_bool(obj1));
23914 if (SWIG_arg_fail(2)) SWIG_fail;
23915 }
d55e5bfc
RD
23916 {
23917 PyThreadState* __tstate = wxPyBeginAllowThreads();
23918 (arg1)->SetSelection(arg2);
23919
23920 wxPyEndAllowThreads(__tstate);
23921 if (PyErr_Occurred()) SWIG_fail;
23922 }
23923 Py_INCREF(Py_None); resultobj = Py_None;
23924 return resultobj;
23925 fail:
23926 return NULL;
23927}
23928
23929
c32bde28 23930static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23931 PyObject *resultobj;
23932 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23933 bool arg2 ;
23934 PyObject * obj0 = 0 ;
23935 PyObject * obj1 = 0 ;
23936 char *kwnames[] = {
23937 (char *) "self",(char *) "flag", NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23942 if (SWIG_arg_fail(1)) SWIG_fail;
23943 {
23944 arg2 = (bool)(SWIG_As_bool(obj1));
23945 if (SWIG_arg_fail(2)) SWIG_fail;
23946 }
d55e5bfc
RD
23947 {
23948 PyThreadState* __tstate = wxPyBeginAllowThreads();
23949 (arg1)->SetCollate(arg2);
23950
23951 wxPyEndAllowThreads(__tstate);
23952 if (PyErr_Occurred()) SWIG_fail;
23953 }
23954 Py_INCREF(Py_None); resultobj = Py_None;
23955 return resultobj;
23956 fail:
23957 return NULL;
23958}
23959
23960
c32bde28 23961static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23962 PyObject *resultobj;
23963 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23964 bool arg2 ;
23965 PyObject * obj0 = 0 ;
23966 PyObject * obj1 = 0 ;
23967 char *kwnames[] = {
23968 (char *) "self",(char *) "flag", NULL
23969 };
23970
23971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23973 if (SWIG_arg_fail(1)) SWIG_fail;
23974 {
23975 arg2 = (bool)(SWIG_As_bool(obj1));
23976 if (SWIG_arg_fail(2)) SWIG_fail;
23977 }
d55e5bfc
RD
23978 {
23979 PyThreadState* __tstate = wxPyBeginAllowThreads();
23980 (arg1)->SetPrintToFile(arg2);
23981
23982 wxPyEndAllowThreads(__tstate);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 }
23985 Py_INCREF(Py_None); resultobj = Py_None;
23986 return resultobj;
23987 fail:
23988 return NULL;
23989}
23990
23991
c32bde28 23992static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23993 PyObject *resultobj;
23994 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23995 bool arg2 ;
23996 PyObject * obj0 = 0 ;
23997 PyObject * obj1 = 0 ;
23998 char *kwnames[] = {
23999 (char *) "self",(char *) "flag", NULL
24000 };
24001
24002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24004 if (SWIG_arg_fail(1)) SWIG_fail;
24005 {
24006 arg2 = (bool)(SWIG_As_bool(obj1));
24007 if (SWIG_arg_fail(2)) SWIG_fail;
24008 }
d55e5bfc
RD
24009 {
24010 PyThreadState* __tstate = wxPyBeginAllowThreads();
24011 (arg1)->EnablePrintToFile(arg2);
24012
24013 wxPyEndAllowThreads(__tstate);
24014 if (PyErr_Occurred()) SWIG_fail;
24015 }
24016 Py_INCREF(Py_None); resultobj = Py_None;
24017 return resultobj;
24018 fail:
24019 return NULL;
24020}
24021
24022
c32bde28 24023static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24024 PyObject *resultobj;
24025 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24026 bool arg2 ;
24027 PyObject * obj0 = 0 ;
24028 PyObject * obj1 = 0 ;
24029 char *kwnames[] = {
24030 (char *) "self",(char *) "flag", NULL
24031 };
24032
24033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24035 if (SWIG_arg_fail(1)) SWIG_fail;
24036 {
24037 arg2 = (bool)(SWIG_As_bool(obj1));
24038 if (SWIG_arg_fail(2)) SWIG_fail;
24039 }
d55e5bfc
RD
24040 {
24041 PyThreadState* __tstate = wxPyBeginAllowThreads();
24042 (arg1)->EnableSelection(arg2);
24043
24044 wxPyEndAllowThreads(__tstate);
24045 if (PyErr_Occurred()) SWIG_fail;
24046 }
24047 Py_INCREF(Py_None); resultobj = Py_None;
24048 return resultobj;
24049 fail:
24050 return NULL;
24051}
24052
24053
c32bde28 24054static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24055 PyObject *resultobj;
24056 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24057 bool arg2 ;
24058 PyObject * obj0 = 0 ;
24059 PyObject * obj1 = 0 ;
24060 char *kwnames[] = {
24061 (char *) "self",(char *) "flag", NULL
24062 };
24063
24064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24066 if (SWIG_arg_fail(1)) SWIG_fail;
24067 {
24068 arg2 = (bool)(SWIG_As_bool(obj1));
24069 if (SWIG_arg_fail(2)) SWIG_fail;
24070 }
d55e5bfc
RD
24071 {
24072 PyThreadState* __tstate = wxPyBeginAllowThreads();
24073 (arg1)->EnablePageNumbers(arg2);
24074
24075 wxPyEndAllowThreads(__tstate);
24076 if (PyErr_Occurred()) SWIG_fail;
24077 }
24078 Py_INCREF(Py_None); resultobj = Py_None;
24079 return resultobj;
24080 fail:
24081 return NULL;
24082}
24083
24084
c32bde28 24085static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24086 PyObject *resultobj;
24087 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24088 bool arg2 ;
24089 PyObject * obj0 = 0 ;
24090 PyObject * obj1 = 0 ;
24091 char *kwnames[] = {
24092 (char *) "self",(char *) "flag", NULL
24093 };
24094
24095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24097 if (SWIG_arg_fail(1)) SWIG_fail;
24098 {
24099 arg2 = (bool)(SWIG_As_bool(obj1));
24100 if (SWIG_arg_fail(2)) SWIG_fail;
24101 }
d55e5bfc
RD
24102 {
24103 PyThreadState* __tstate = wxPyBeginAllowThreads();
24104 (arg1)->EnableHelp(arg2);
24105
24106 wxPyEndAllowThreads(__tstate);
24107 if (PyErr_Occurred()) SWIG_fail;
24108 }
24109 Py_INCREF(Py_None); resultobj = Py_None;
24110 return resultobj;
24111 fail:
24112 return NULL;
24113}
24114
24115
c32bde28 24116static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24117 PyObject *resultobj;
24118 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24119 bool result;
24120 PyObject * obj0 = 0 ;
24121 char *kwnames[] = {
24122 (char *) "self", NULL
24123 };
24124
24125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
24126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24127 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24128 {
24129 PyThreadState* __tstate = wxPyBeginAllowThreads();
24130 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
24131
24132 wxPyEndAllowThreads(__tstate);
24133 if (PyErr_Occurred()) SWIG_fail;
24134 }
24135 {
24136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24137 }
24138 return resultobj;
24139 fail:
24140 return NULL;
24141}
24142
24143
c32bde28 24144static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24145 PyObject *resultobj;
24146 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24147 bool result;
24148 PyObject * obj0 = 0 ;
24149 char *kwnames[] = {
24150 (char *) "self", NULL
24151 };
24152
24153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
24154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24156 {
24157 PyThreadState* __tstate = wxPyBeginAllowThreads();
24158 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
24159
24160 wxPyEndAllowThreads(__tstate);
24161 if (PyErr_Occurred()) SWIG_fail;
24162 }
24163 {
24164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24165 }
24166 return resultobj;
24167 fail:
24168 return NULL;
24169}
24170
24171
c32bde28 24172static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24173 PyObject *resultobj;
24174 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24175 bool result;
24176 PyObject * obj0 = 0 ;
24177 char *kwnames[] = {
24178 (char *) "self", NULL
24179 };
24180
24181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
093d3ff1
RD
24182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24184 {
24185 PyThreadState* __tstate = wxPyBeginAllowThreads();
24186 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
24187
24188 wxPyEndAllowThreads(__tstate);
24189 if (PyErr_Occurred()) SWIG_fail;
24190 }
24191 {
24192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24193 }
24194 return resultobj;
24195 fail:
24196 return NULL;
24197}
24198
24199
c32bde28 24200static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24201 PyObject *resultobj;
24202 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24203 bool result;
24204 PyObject * obj0 = 0 ;
24205 char *kwnames[] = {
24206 (char *) "self", NULL
24207 };
24208
24209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
24210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24211 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24212 {
24213 PyThreadState* __tstate = wxPyBeginAllowThreads();
24214 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
24215
24216 wxPyEndAllowThreads(__tstate);
24217 if (PyErr_Occurred()) SWIG_fail;
24218 }
24219 {
24220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24221 }
24222 return resultobj;
24223 fail:
24224 return NULL;
24225}
24226
24227
c32bde28 24228static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24229 PyObject *resultobj;
24230 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24231 bool result;
24232 PyObject * obj0 = 0 ;
24233 char *kwnames[] = {
24234 (char *) "self", NULL
24235 };
24236
24237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
24238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24239 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
24243
24244 wxPyEndAllowThreads(__tstate);
24245 if (PyErr_Occurred()) SWIG_fail;
24246 }
24247 {
24248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24249 }
24250 return resultobj;
24251 fail:
24252 return NULL;
24253}
24254
24255
c32bde28 24256static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24257 PyObject *resultobj;
24258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24259 wxPrintData *result;
24260 PyObject * obj0 = 0 ;
24261 char *kwnames[] = {
24262 (char *) "self", NULL
24263 };
24264
24265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24267 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24268 {
24269 PyThreadState* __tstate = wxPyBeginAllowThreads();
24270 {
24271 wxPrintData &_result_ref = (arg1)->GetPrintData();
24272 result = (wxPrintData *) &_result_ref;
24273 }
24274
24275 wxPyEndAllowThreads(__tstate);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
24278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
24279 return resultobj;
24280 fail:
24281 return NULL;
24282}
24283
24284
c32bde28 24285static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24286 PyObject *resultobj;
24287 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24288 wxPrintData *arg2 = 0 ;
24289 PyObject * obj0 = 0 ;
24290 PyObject * obj1 = 0 ;
24291 char *kwnames[] = {
24292 (char *) "self",(char *) "printData", NULL
24293 };
24294
24295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24297 if (SWIG_arg_fail(1)) SWIG_fail;
24298 {
24299 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
24300 if (SWIG_arg_fail(2)) SWIG_fail;
24301 if (arg2 == NULL) {
24302 SWIG_null_ref("wxPrintData");
24303 }
24304 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24305 }
24306 {
24307 PyThreadState* __tstate = wxPyBeginAllowThreads();
24308 (arg1)->SetPrintData((wxPrintData const &)*arg2);
24309
24310 wxPyEndAllowThreads(__tstate);
24311 if (PyErr_Occurred()) SWIG_fail;
24312 }
24313 Py_INCREF(Py_None); resultobj = Py_None;
24314 return resultobj;
24315 fail:
24316 return NULL;
24317}
24318
24319
c32bde28 24320static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24321 PyObject *obj;
24322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24323 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
24324 Py_INCREF(obj);
24325 return Py_BuildValue((char *)"");
24326}
c32bde28 24327static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24328 PyObject *resultobj;
24329 wxWindow *arg1 = (wxWindow *) 0 ;
24330 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
24331 wxPrintDialog *result;
24332 PyObject * obj0 = 0 ;
24333 PyObject * obj1 = 0 ;
24334 char *kwnames[] = {
24335 (char *) "parent",(char *) "data", NULL
24336 };
24337
24338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24340 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 24341 if (obj1) {
093d3ff1
RD
24342 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24343 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24344 }
24345 {
0439c23b 24346 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24347 PyThreadState* __tstate = wxPyBeginAllowThreads();
24348 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
24349
24350 wxPyEndAllowThreads(__tstate);
110da5b0 24351 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24352 }
24353 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
24354 return resultobj;
24355 fail:
24356 return NULL;
24357}
24358
24359
c1cb24a4
RD
24360static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
24361 PyObject *resultobj;
24362 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24363 int result;
24364 PyObject * obj0 = 0 ;
24365 char *kwnames[] = {
24366 (char *) "self", NULL
24367 };
24368
24369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
24370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24371 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
24372 {
24373 PyThreadState* __tstate = wxPyBeginAllowThreads();
24374 result = (int)(arg1)->ShowModal();
24375
24376 wxPyEndAllowThreads(__tstate);
24377 if (PyErr_Occurred()) SWIG_fail;
24378 }
093d3ff1
RD
24379 {
24380 resultobj = SWIG_From_int((int)(result));
24381 }
c1cb24a4
RD
24382 return resultobj;
24383 fail:
24384 return NULL;
24385}
24386
24387
c32bde28 24388static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24389 PyObject *resultobj;
24390 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24391 wxPrintDialogData *result;
24392 PyObject * obj0 = 0 ;
24393 char *kwnames[] = {
24394 (char *) "self", NULL
24395 };
24396
24397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24399 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24400 {
24401 PyThreadState* __tstate = wxPyBeginAllowThreads();
24402 {
24403 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24404 result = (wxPrintDialogData *) &_result_ref;
24405 }
24406
24407 wxPyEndAllowThreads(__tstate);
24408 if (PyErr_Occurred()) SWIG_fail;
24409 }
24410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24411 return resultobj;
24412 fail:
24413 return NULL;
24414}
24415
24416
c1cb24a4 24417static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24418 PyObject *resultobj;
24419 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
c1cb24a4 24420 wxPrintData *result;
d55e5bfc
RD
24421 PyObject * obj0 = 0 ;
24422 char *kwnames[] = {
24423 (char *) "self", NULL
24424 };
24425
c1cb24a4 24426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24428 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24429 {
24430 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4
RD
24431 {
24432 wxPrintData &_result_ref = (arg1)->GetPrintData();
24433 result = (wxPrintData *) &_result_ref;
24434 }
d55e5bfc
RD
24435
24436 wxPyEndAllowThreads(__tstate);
24437 if (PyErr_Occurred()) SWIG_fail;
24438 }
c1cb24a4 24439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d55e5bfc
RD
24440 return resultobj;
24441 fail:
24442 return NULL;
24443}
24444
24445
c1cb24a4 24446static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24447 PyObject *resultobj;
24448 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
c1cb24a4 24449 wxDC *result;
d55e5bfc
RD
24450 PyObject * obj0 = 0 ;
24451 char *kwnames[] = {
24452 (char *) "self", NULL
24453 };
24454
c1cb24a4 24455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24457 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24458 {
24459 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24460 result = (wxDC *)(arg1)->GetPrintDC();
d55e5bfc
RD
24461
24462 wxPyEndAllowThreads(__tstate);
24463 if (PyErr_Occurred()) SWIG_fail;
24464 }
c1cb24a4
RD
24465 {
24466 resultobj = wxPyMake_wxObject(result, 1);
24467 }
d55e5bfc
RD
24468 return resultobj;
24469 fail:
24470 return NULL;
24471}
24472
24473
c32bde28 24474static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24475 PyObject *obj;
24476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24477 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24478 Py_INCREF(obj);
24479 return Py_BuildValue((char *)"");
24480}
c32bde28 24481static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24482 PyObject *resultobj;
24483 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24484 wxPrinter *result;
24485 PyObject * obj0 = 0 ;
24486 char *kwnames[] = {
24487 (char *) "data", NULL
24488 };
24489
24490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24491 if (obj0) {
093d3ff1
RD
24492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24493 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24494 }
24495 {
0439c23b 24496 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 result = (wxPrinter *)new wxPrinter(arg1);
24499
24500 wxPyEndAllowThreads(__tstate);
110da5b0 24501 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24502 }
24503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24504 return resultobj;
24505 fail:
24506 return NULL;
24507}
24508
24509
c32bde28 24510static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24511 PyObject *resultobj;
24512 wxPrinter *arg1 = (wxPrinter *) 0 ;
24513 PyObject * obj0 = 0 ;
24514 char *kwnames[] = {
24515 (char *) "self", NULL
24516 };
24517
24518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
093d3ff1
RD
24519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24520 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24521 {
24522 PyThreadState* __tstate = wxPyBeginAllowThreads();
24523 delete arg1;
24524
24525 wxPyEndAllowThreads(__tstate);
24526 if (PyErr_Occurred()) SWIG_fail;
24527 }
24528 Py_INCREF(Py_None); resultobj = Py_None;
24529 return resultobj;
24530 fail:
24531 return NULL;
24532}
24533
24534
c32bde28 24535static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24536 PyObject *resultobj;
24537 wxPrinter *arg1 = (wxPrinter *) 0 ;
24538 wxWindow *arg2 = (wxWindow *) 0 ;
24539 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
c1cb24a4 24540 wxWindow *result;
d55e5bfc
RD
24541 PyObject * obj0 = 0 ;
24542 PyObject * obj1 = 0 ;
24543 PyObject * obj2 = 0 ;
24544 char *kwnames[] = {
24545 (char *) "self",(char *) "parent",(char *) "printout", NULL
24546 };
24547
24548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24550 if (SWIG_arg_fail(1)) SWIG_fail;
24551 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24552 if (SWIG_arg_fail(2)) SWIG_fail;
24553 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24554 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24557 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
d55e5bfc
RD
24558
24559 wxPyEndAllowThreads(__tstate);
24560 if (PyErr_Occurred()) SWIG_fail;
24561 }
d55e5bfc 24562 {
c1cb24a4 24563 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc 24564 }
d55e5bfc
RD
24565 return resultobj;
24566 fail:
24567 return NULL;
24568}
24569
24570
c1cb24a4 24571static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24572 PyObject *resultobj;
24573 wxPrinter *arg1 = (wxPrinter *) 0 ;
24574 wxWindow *arg2 = (wxWindow *) 0 ;
24575 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
c1cb24a4
RD
24576 wxString *arg4 = 0 ;
24577 bool temp4 = false ;
d55e5bfc
RD
24578 PyObject * obj0 = 0 ;
24579 PyObject * obj1 = 0 ;
24580 PyObject * obj2 = 0 ;
24581 PyObject * obj3 = 0 ;
24582 char *kwnames[] = {
c1cb24a4 24583 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
d55e5bfc
RD
24584 };
24585
c1cb24a4 24586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24588 if (SWIG_arg_fail(1)) SWIG_fail;
24589 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24590 if (SWIG_arg_fail(2)) SWIG_fail;
24591 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24592 if (SWIG_arg_fail(3)) SWIG_fail;
c1cb24a4
RD
24593 {
24594 arg4 = wxString_in_helper(obj3);
24595 if (arg4 == NULL) SWIG_fail;
24596 temp4 = true;
d55e5bfc
RD
24597 }
24598 {
24599 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24600 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
d55e5bfc
RD
24601
24602 wxPyEndAllowThreads(__tstate);
24603 if (PyErr_Occurred()) SWIG_fail;
24604 }
c1cb24a4 24605 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 24606 {
c1cb24a4
RD
24607 if (temp4)
24608 delete arg4;
d55e5bfc
RD
24609 }
24610 return resultobj;
24611 fail:
c1cb24a4
RD
24612 {
24613 if (temp4)
24614 delete arg4;
24615 }
d55e5bfc
RD
24616 return NULL;
24617}
24618
24619
c1cb24a4 24620static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24621 PyObject *resultobj;
24622 wxPrinter *arg1 = (wxPrinter *) 0 ;
24623 wxWindow *arg2 = (wxWindow *) 0 ;
c1cb24a4 24624 bool result;
d55e5bfc
RD
24625 PyObject * obj0 = 0 ;
24626 PyObject * obj1 = 0 ;
24627 char *kwnames[] = {
24628 (char *) "self",(char *) "parent", NULL
24629 };
24630
c1cb24a4 24631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24633 if (SWIG_arg_fail(1)) SWIG_fail;
24634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24635 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24636 {
24637 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24638 result = (bool)(arg1)->Setup(arg2);
d55e5bfc
RD
24639
24640 wxPyEndAllowThreads(__tstate);
24641 if (PyErr_Occurred()) SWIG_fail;
24642 }
24643 {
c1cb24a4 24644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24645 }
24646 return resultobj;
24647 fail:
24648 return NULL;
24649}
24650
24651
c1cb24a4 24652static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24653 PyObject *resultobj;
24654 wxPrinter *arg1 = (wxPrinter *) 0 ;
24655 wxWindow *arg2 = (wxWindow *) 0 ;
24656 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
c1cb24a4
RD
24657 bool arg4 = (bool) true ;
24658 bool result;
d55e5bfc
RD
24659 PyObject * obj0 = 0 ;
24660 PyObject * obj1 = 0 ;
24661 PyObject * obj2 = 0 ;
24662 PyObject * obj3 = 0 ;
24663 char *kwnames[] = {
c1cb24a4 24664 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
d55e5bfc
RD
24665 };
24666
c1cb24a4 24667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24669 if (SWIG_arg_fail(1)) SWIG_fail;
24670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24671 if (SWIG_arg_fail(2)) SWIG_fail;
24672 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24673 if (SWIG_arg_fail(3)) SWIG_fail;
c1cb24a4 24674 if (obj3) {
093d3ff1
RD
24675 {
24676 arg4 = (bool)(SWIG_As_bool(obj3));
24677 if (SWIG_arg_fail(4)) SWIG_fail;
24678 }
d55e5bfc
RD
24679 }
24680 {
24681 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24682 result = (bool)(arg1)->Print(arg2,arg3,arg4);
d55e5bfc
RD
24683
24684 wxPyEndAllowThreads(__tstate);
24685 if (PyErr_Occurred()) SWIG_fail;
24686 }
d55e5bfc 24687 {
c1cb24a4 24688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24689 }
24690 return resultobj;
24691 fail:
d55e5bfc
RD
24692 return NULL;
24693}
24694
24695
c1cb24a4 24696static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24697 PyObject *resultobj;
24698 wxPrinter *arg1 = (wxPrinter *) 0 ;
24699 wxWindow *arg2 = (wxWindow *) 0 ;
c1cb24a4 24700 wxDC *result;
d55e5bfc
RD
24701 PyObject * obj0 = 0 ;
24702 PyObject * obj1 = 0 ;
24703 char *kwnames[] = {
24704 (char *) "self",(char *) "parent", NULL
24705 };
24706
c1cb24a4 24707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24709 if (SWIG_arg_fail(1)) SWIG_fail;
24710 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24711 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24712 {
24713 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24714 result = (wxDC *)(arg1)->PrintDialog(arg2);
d55e5bfc
RD
24715
24716 wxPyEndAllowThreads(__tstate);
24717 if (PyErr_Occurred()) SWIG_fail;
24718 }
24719 {
c1cb24a4 24720 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24721 }
24722 return resultobj;
24723 fail:
24724 return NULL;
24725}
24726
24727
c1cb24a4
RD
24728static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24729 PyObject *resultobj;
24730 wxPrinter *arg1 = (wxPrinter *) 0 ;
24731 wxPrintDialogData *result;
24732 PyObject * obj0 = 0 ;
24733 char *kwnames[] = {
24734 (char *) "self", NULL
24735 };
24736
24737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24739 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
24740 {
24741 PyThreadState* __tstate = wxPyBeginAllowThreads();
24742 {
24743 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24744 result = (wxPrintDialogData *) &_result_ref;
24745 }
24746
24747 wxPyEndAllowThreads(__tstate);
24748 if (PyErr_Occurred()) SWIG_fail;
24749 }
24750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24751 return resultobj;
24752 fail:
24753 return NULL;
24754}
24755
24756
c32bde28 24757static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24758 PyObject *resultobj;
24759 wxPrinter *arg1 = (wxPrinter *) 0 ;
24760 bool result;
24761 PyObject * obj0 = 0 ;
24762 char *kwnames[] = {
24763 (char *) "self", NULL
24764 };
24765
24766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
093d3ff1
RD
24767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24768 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24769 {
24770 PyThreadState* __tstate = wxPyBeginAllowThreads();
24771 result = (bool)(arg1)->GetAbort();
24772
24773 wxPyEndAllowThreads(__tstate);
24774 if (PyErr_Occurred()) SWIG_fail;
24775 }
24776 {
24777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24778 }
24779 return resultobj;
24780 fail:
24781 return NULL;
24782}
24783
24784
c32bde28 24785static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 24786 PyObject *resultobj;
093d3ff1 24787 wxPrinterError result;
d55e5bfc
RD
24788 char *kwnames[] = {
24789 NULL
24790 };
24791
24792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24793 {
24794 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 24795 result = (wxPrinterError)wxPrinter::GetLastError();
d55e5bfc
RD
24796
24797 wxPyEndAllowThreads(__tstate);
24798 if (PyErr_Occurred()) SWIG_fail;
24799 }
093d3ff1 24800 resultobj = SWIG_From_int((result));
d55e5bfc
RD
24801 return resultobj;
24802 fail:
24803 return NULL;
24804}
24805
24806
c32bde28 24807static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24808 PyObject *obj;
24809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24810 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24811 Py_INCREF(obj);
24812 return Py_BuildValue((char *)"");
24813}
c32bde28 24814static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24815 PyObject *resultobj;
24816 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24817 wxString *arg1 = (wxString *) &arg1_defvalue ;
24818 wxPyPrintout *result;
ae8162c8 24819 bool temp1 = false ;
d55e5bfc
RD
24820 PyObject * obj0 = 0 ;
24821 char *kwnames[] = {
24822 (char *) "title", NULL
24823 };
24824
24825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24826 if (obj0) {
24827 {
24828 arg1 = wxString_in_helper(obj0);
24829 if (arg1 == NULL) SWIG_fail;
ae8162c8 24830 temp1 = true;
d55e5bfc
RD
24831 }
24832 }
24833 {
0439c23b 24834 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24835 PyThreadState* __tstate = wxPyBeginAllowThreads();
24836 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24837
24838 wxPyEndAllowThreads(__tstate);
110da5b0 24839 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24840 }
24841 {
412d302d 24842 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
24843 }
24844 {
24845 if (temp1)
24846 delete arg1;
24847 }
24848 return resultobj;
24849 fail:
24850 {
24851 if (temp1)
24852 delete arg1;
24853 }
24854 return NULL;
24855}
24856
24857
c32bde28 24858static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24859 PyObject *resultobj;
24860 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24861 PyObject *arg2 = (PyObject *) 0 ;
24862 PyObject *arg3 = (PyObject *) 0 ;
24863 PyObject * obj0 = 0 ;
24864 PyObject * obj1 = 0 ;
24865 PyObject * obj2 = 0 ;
24866 char *kwnames[] = {
24867 (char *) "self",(char *) "self",(char *) "_class", NULL
24868 };
24869
24870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24873 arg2 = obj1;
24874 arg3 = obj2;
24875 {
24876 PyThreadState* __tstate = wxPyBeginAllowThreads();
24877 (arg1)->_setCallbackInfo(arg2,arg3);
24878
24879 wxPyEndAllowThreads(__tstate);
24880 if (PyErr_Occurred()) SWIG_fail;
24881 }
24882 Py_INCREF(Py_None); resultobj = Py_None;
24883 return resultobj;
24884 fail:
24885 return NULL;
24886}
24887
24888
c32bde28 24889static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24890 PyObject *resultobj;
24891 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24892 wxString result;
24893 PyObject * obj0 = 0 ;
24894 char *kwnames[] = {
24895 (char *) "self", NULL
24896 };
24897
24898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
24899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24901 {
24902 PyThreadState* __tstate = wxPyBeginAllowThreads();
24903 result = ((wxPyPrintout const *)arg1)->GetTitle();
24904
24905 wxPyEndAllowThreads(__tstate);
24906 if (PyErr_Occurred()) SWIG_fail;
24907 }
24908 {
24909#if wxUSE_UNICODE
24910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24911#else
24912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24913#endif
24914 }
24915 return resultobj;
24916 fail:
24917 return NULL;
24918}
24919
24920
c32bde28 24921static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24922 PyObject *resultobj;
24923 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24924 wxDC *result;
24925 PyObject * obj0 = 0 ;
24926 char *kwnames[] = {
24927 (char *) "self", NULL
24928 };
24929
24930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24932 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24933 {
24934 PyThreadState* __tstate = wxPyBeginAllowThreads();
24935 result = (wxDC *)(arg1)->GetDC();
24936
24937 wxPyEndAllowThreads(__tstate);
24938 if (PyErr_Occurred()) SWIG_fail;
24939 }
24940 {
412d302d 24941 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24942 }
24943 return resultobj;
24944 fail:
24945 return NULL;
24946}
24947
24948
c32bde28 24949static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24950 PyObject *resultobj;
24951 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24952 wxDC *arg2 = (wxDC *) 0 ;
24953 PyObject * obj0 = 0 ;
24954 PyObject * obj1 = 0 ;
24955 char *kwnames[] = {
24956 (char *) "self",(char *) "dc", NULL
24957 };
24958
24959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24961 if (SWIG_arg_fail(1)) SWIG_fail;
24962 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24963 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24964 {
24965 PyThreadState* __tstate = wxPyBeginAllowThreads();
24966 (arg1)->SetDC(arg2);
24967
24968 wxPyEndAllowThreads(__tstate);
24969 if (PyErr_Occurred()) SWIG_fail;
24970 }
24971 Py_INCREF(Py_None); resultobj = Py_None;
24972 return resultobj;
24973 fail:
24974 return NULL;
24975}
24976
24977
c32bde28 24978static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24979 PyObject *resultobj;
24980 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24981 int arg2 ;
24982 int arg3 ;
24983 PyObject * obj0 = 0 ;
24984 PyObject * obj1 = 0 ;
24985 PyObject * obj2 = 0 ;
24986 char *kwnames[] = {
24987 (char *) "self",(char *) "w",(char *) "h", NULL
24988 };
24989
24990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24992 if (SWIG_arg_fail(1)) SWIG_fail;
24993 {
24994 arg2 = (int)(SWIG_As_int(obj1));
24995 if (SWIG_arg_fail(2)) SWIG_fail;
24996 }
24997 {
24998 arg3 = (int)(SWIG_As_int(obj2));
24999 if (SWIG_arg_fail(3)) SWIG_fail;
25000 }
d55e5bfc
RD
25001 {
25002 PyThreadState* __tstate = wxPyBeginAllowThreads();
25003 (arg1)->SetPageSizePixels(arg2,arg3);
25004
25005 wxPyEndAllowThreads(__tstate);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 }
25008 Py_INCREF(Py_None); resultobj = Py_None;
25009 return resultobj;
25010 fail:
25011 return NULL;
25012}
25013
25014
c32bde28 25015static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25016 PyObject *resultobj;
25017 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25018 int *arg2 = (int *) 0 ;
25019 int *arg3 = (int *) 0 ;
25020 int temp2 ;
c32bde28 25021 int res2 = 0 ;
d55e5bfc 25022 int temp3 ;
c32bde28 25023 int res3 = 0 ;
d55e5bfc
RD
25024 PyObject * obj0 = 0 ;
25025 char *kwnames[] = {
25026 (char *) "self", NULL
25027 };
25028
c32bde28
RD
25029 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25030 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
093d3ff1
RD
25032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25033 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25034 {
25035 PyThreadState* __tstate = wxPyBeginAllowThreads();
25036 (arg1)->GetPageSizePixels(arg2,arg3);
25037
25038 wxPyEndAllowThreads(__tstate);
25039 if (PyErr_Occurred()) SWIG_fail;
25040 }
25041 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25042 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25043 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25044 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25045 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25046 return resultobj;
25047 fail:
25048 return NULL;
25049}
25050
25051
c32bde28 25052static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25053 PyObject *resultobj;
25054 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25055 int arg2 ;
25056 int arg3 ;
25057 PyObject * obj0 = 0 ;
25058 PyObject * obj1 = 0 ;
25059 PyObject * obj2 = 0 ;
25060 char *kwnames[] = {
25061 (char *) "self",(char *) "w",(char *) "h", NULL
25062 };
25063
25064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25066 if (SWIG_arg_fail(1)) SWIG_fail;
25067 {
25068 arg2 = (int)(SWIG_As_int(obj1));
25069 if (SWIG_arg_fail(2)) SWIG_fail;
25070 }
25071 {
25072 arg3 = (int)(SWIG_As_int(obj2));
25073 if (SWIG_arg_fail(3)) SWIG_fail;
25074 }
d55e5bfc
RD
25075 {
25076 PyThreadState* __tstate = wxPyBeginAllowThreads();
25077 (arg1)->SetPageSizeMM(arg2,arg3);
25078
25079 wxPyEndAllowThreads(__tstate);
25080 if (PyErr_Occurred()) SWIG_fail;
25081 }
25082 Py_INCREF(Py_None); resultobj = Py_None;
25083 return resultobj;
25084 fail:
25085 return NULL;
25086}
25087
25088
c32bde28 25089static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25090 PyObject *resultobj;
25091 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25092 int *arg2 = (int *) 0 ;
25093 int *arg3 = (int *) 0 ;
25094 int temp2 ;
c32bde28 25095 int res2 = 0 ;
d55e5bfc 25096 int temp3 ;
c32bde28 25097 int res3 = 0 ;
d55e5bfc
RD
25098 PyObject * obj0 = 0 ;
25099 char *kwnames[] = {
25100 (char *) "self", NULL
25101 };
25102
c32bde28
RD
25103 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25104 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
093d3ff1
RD
25106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25107 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25108 {
25109 PyThreadState* __tstate = wxPyBeginAllowThreads();
25110 (arg1)->GetPageSizeMM(arg2,arg3);
25111
25112 wxPyEndAllowThreads(__tstate);
25113 if (PyErr_Occurred()) SWIG_fail;
25114 }
25115 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25116 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25117 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25118 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25119 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25120 return resultobj;
25121 fail:
25122 return NULL;
25123}
25124
25125
c32bde28 25126static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25127 PyObject *resultobj;
25128 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25129 int arg2 ;
25130 int arg3 ;
25131 PyObject * obj0 = 0 ;
25132 PyObject * obj1 = 0 ;
25133 PyObject * obj2 = 0 ;
25134 char *kwnames[] = {
25135 (char *) "self",(char *) "x",(char *) "y", NULL
25136 };
25137
25138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25140 if (SWIG_arg_fail(1)) SWIG_fail;
25141 {
25142 arg2 = (int)(SWIG_As_int(obj1));
25143 if (SWIG_arg_fail(2)) SWIG_fail;
25144 }
25145 {
25146 arg3 = (int)(SWIG_As_int(obj2));
25147 if (SWIG_arg_fail(3)) SWIG_fail;
25148 }
d55e5bfc
RD
25149 {
25150 PyThreadState* __tstate = wxPyBeginAllowThreads();
25151 (arg1)->SetPPIScreen(arg2,arg3);
25152
25153 wxPyEndAllowThreads(__tstate);
25154 if (PyErr_Occurred()) SWIG_fail;
25155 }
25156 Py_INCREF(Py_None); resultobj = Py_None;
25157 return resultobj;
25158 fail:
25159 return NULL;
25160}
25161
25162
c32bde28 25163static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25164 PyObject *resultobj;
25165 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25166 int *arg2 = (int *) 0 ;
25167 int *arg3 = (int *) 0 ;
25168 int temp2 ;
c32bde28 25169 int res2 = 0 ;
d55e5bfc 25170 int temp3 ;
c32bde28 25171 int res3 = 0 ;
d55e5bfc
RD
25172 PyObject * obj0 = 0 ;
25173 char *kwnames[] = {
25174 (char *) "self", NULL
25175 };
25176
c32bde28
RD
25177 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25178 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
25180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25181 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25182 {
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 (arg1)->GetPPIScreen(arg2,arg3);
25185
25186 wxPyEndAllowThreads(__tstate);
25187 if (PyErr_Occurred()) SWIG_fail;
25188 }
25189 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25190 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25191 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25192 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25193 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25194 return resultobj;
25195 fail:
25196 return NULL;
25197}
25198
25199
c32bde28 25200static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25201 PyObject *resultobj;
25202 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25203 int arg2 ;
25204 int arg3 ;
25205 PyObject * obj0 = 0 ;
25206 PyObject * obj1 = 0 ;
25207 PyObject * obj2 = 0 ;
25208 char *kwnames[] = {
25209 (char *) "self",(char *) "x",(char *) "y", NULL
25210 };
25211
25212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25214 if (SWIG_arg_fail(1)) SWIG_fail;
25215 {
25216 arg2 = (int)(SWIG_As_int(obj1));
25217 if (SWIG_arg_fail(2)) SWIG_fail;
25218 }
25219 {
25220 arg3 = (int)(SWIG_As_int(obj2));
25221 if (SWIG_arg_fail(3)) SWIG_fail;
25222 }
d55e5bfc
RD
25223 {
25224 PyThreadState* __tstate = wxPyBeginAllowThreads();
25225 (arg1)->SetPPIPrinter(arg2,arg3);
25226
25227 wxPyEndAllowThreads(__tstate);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 Py_INCREF(Py_None); resultobj = Py_None;
25231 return resultobj;
25232 fail:
25233 return NULL;
25234}
25235
25236
c32bde28 25237static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25238 PyObject *resultobj;
25239 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25240 int *arg2 = (int *) 0 ;
25241 int *arg3 = (int *) 0 ;
25242 int temp2 ;
c32bde28 25243 int res2 = 0 ;
d55e5bfc 25244 int temp3 ;
c32bde28 25245 int res3 = 0 ;
d55e5bfc
RD
25246 PyObject * obj0 = 0 ;
25247 char *kwnames[] = {
25248 (char *) "self", NULL
25249 };
25250
c32bde28
RD
25251 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25252 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
25254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25255 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25256 {
25257 PyThreadState* __tstate = wxPyBeginAllowThreads();
25258 (arg1)->GetPPIPrinter(arg2,arg3);
25259
25260 wxPyEndAllowThreads(__tstate);
25261 if (PyErr_Occurred()) SWIG_fail;
25262 }
25263 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25264 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25265 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25266 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25267 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25268 return resultobj;
25269 fail:
25270 return NULL;
25271}
25272
25273
c32bde28 25274static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25275 PyObject *resultobj;
25276 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25277 bool result;
25278 PyObject * obj0 = 0 ;
25279 char *kwnames[] = {
25280 (char *) "self", NULL
25281 };
25282
25283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
25284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25286 {
25287 PyThreadState* __tstate = wxPyBeginAllowThreads();
25288 result = (bool)(arg1)->IsPreview();
25289
25290 wxPyEndAllowThreads(__tstate);
25291 if (PyErr_Occurred()) SWIG_fail;
25292 }
25293 {
25294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25295 }
25296 return resultobj;
25297 fail:
25298 return NULL;
25299}
25300
25301
c32bde28 25302static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25303 PyObject *resultobj;
25304 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25305 bool arg2 ;
25306 PyObject * obj0 = 0 ;
25307 PyObject * obj1 = 0 ;
25308 char *kwnames[] = {
25309 (char *) "self",(char *) "p", NULL
25310 };
25311
25312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25314 if (SWIG_arg_fail(1)) SWIG_fail;
25315 {
25316 arg2 = (bool)(SWIG_As_bool(obj1));
25317 if (SWIG_arg_fail(2)) SWIG_fail;
25318 }
d55e5bfc
RD
25319 {
25320 PyThreadState* __tstate = wxPyBeginAllowThreads();
25321 (arg1)->SetIsPreview(arg2);
25322
25323 wxPyEndAllowThreads(__tstate);
25324 if (PyErr_Occurred()) SWIG_fail;
25325 }
25326 Py_INCREF(Py_None); resultobj = Py_None;
25327 return resultobj;
25328 fail:
25329 return NULL;
25330}
25331
25332
c32bde28 25333static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25334 PyObject *resultobj;
25335 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25336 int arg2 ;
25337 int arg3 ;
25338 bool result;
25339 PyObject * obj0 = 0 ;
25340 PyObject * obj1 = 0 ;
25341 PyObject * obj2 = 0 ;
25342 char *kwnames[] = {
25343 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25344 };
25345
25346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25348 if (SWIG_arg_fail(1)) SWIG_fail;
25349 {
25350 arg2 = (int)(SWIG_As_int(obj1));
25351 if (SWIG_arg_fail(2)) SWIG_fail;
25352 }
25353 {
25354 arg3 = (int)(SWIG_As_int(obj2));
25355 if (SWIG_arg_fail(3)) SWIG_fail;
25356 }
d55e5bfc
RD
25357 {
25358 PyThreadState* __tstate = wxPyBeginAllowThreads();
25359 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
25360
25361 wxPyEndAllowThreads(__tstate);
25362 if (PyErr_Occurred()) SWIG_fail;
25363 }
25364 {
25365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25366 }
25367 return resultobj;
25368 fail:
25369 return NULL;
25370}
25371
25372
c32bde28 25373static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25374 PyObject *resultobj;
25375 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25376 PyObject * obj0 = 0 ;
25377 char *kwnames[] = {
25378 (char *) "self", NULL
25379 };
25380
25381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
093d3ff1
RD
25382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25383 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25384 {
25385 PyThreadState* __tstate = wxPyBeginAllowThreads();
25386 (arg1)->base_OnEndDocument();
25387
25388 wxPyEndAllowThreads(__tstate);
25389 if (PyErr_Occurred()) SWIG_fail;
25390 }
25391 Py_INCREF(Py_None); resultobj = Py_None;
25392 return resultobj;
25393 fail:
25394 return NULL;
25395}
25396
25397
c32bde28 25398static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25399 PyObject *resultobj;
25400 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25401 PyObject * obj0 = 0 ;
25402 char *kwnames[] = {
25403 (char *) "self", NULL
25404 };
25405
25406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25408 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25409 {
25410 PyThreadState* __tstate = wxPyBeginAllowThreads();
25411 (arg1)->base_OnBeginPrinting();
25412
25413 wxPyEndAllowThreads(__tstate);
25414 if (PyErr_Occurred()) SWIG_fail;
25415 }
25416 Py_INCREF(Py_None); resultobj = Py_None;
25417 return resultobj;
25418 fail:
25419 return NULL;
25420}
25421
25422
c32bde28 25423static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25424 PyObject *resultobj;
25425 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25426 PyObject * obj0 = 0 ;
25427 char *kwnames[] = {
25428 (char *) "self", NULL
25429 };
25430
25431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25433 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25434 {
25435 PyThreadState* __tstate = wxPyBeginAllowThreads();
25436 (arg1)->base_OnEndPrinting();
25437
25438 wxPyEndAllowThreads(__tstate);
25439 if (PyErr_Occurred()) SWIG_fail;
25440 }
25441 Py_INCREF(Py_None); resultobj = Py_None;
25442 return resultobj;
25443 fail:
25444 return NULL;
25445}
25446
25447
c32bde28 25448static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25449 PyObject *resultobj;
25450 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25451 PyObject * obj0 = 0 ;
25452 char *kwnames[] = {
25453 (char *) "self", NULL
25454 };
25455
25456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25458 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25459 {
25460 PyThreadState* __tstate = wxPyBeginAllowThreads();
25461 (arg1)->base_OnPreparePrinting();
25462
25463 wxPyEndAllowThreads(__tstate);
25464 if (PyErr_Occurred()) SWIG_fail;
25465 }
25466 Py_INCREF(Py_None); resultobj = Py_None;
25467 return resultobj;
25468 fail:
25469 return NULL;
25470}
25471
25472
c32bde28 25473static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25474 PyObject *resultobj;
25475 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25476 int arg2 ;
25477 bool result;
25478 PyObject * obj0 = 0 ;
25479 PyObject * obj1 = 0 ;
25480 char *kwnames[] = {
25481 (char *) "self",(char *) "page", NULL
25482 };
25483
25484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25486 if (SWIG_arg_fail(1)) SWIG_fail;
25487 {
25488 arg2 = (int)(SWIG_As_int(obj1));
25489 if (SWIG_arg_fail(2)) SWIG_fail;
25490 }
d55e5bfc
RD
25491 {
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 result = (bool)(arg1)->base_HasPage(arg2);
25494
25495 wxPyEndAllowThreads(__tstate);
25496 if (PyErr_Occurred()) SWIG_fail;
25497 }
25498 {
25499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25500 }
25501 return resultobj;
25502 fail:
25503 return NULL;
25504}
25505
25506
c32bde28 25507static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25508 PyObject *resultobj;
25509 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25510 int *arg2 = (int *) 0 ;
25511 int *arg3 = (int *) 0 ;
25512 int *arg4 = (int *) 0 ;
25513 int *arg5 = (int *) 0 ;
25514 int temp2 ;
c32bde28 25515 int res2 = 0 ;
d55e5bfc 25516 int temp3 ;
c32bde28 25517 int res3 = 0 ;
d55e5bfc 25518 int temp4 ;
c32bde28 25519 int res4 = 0 ;
d55e5bfc 25520 int temp5 ;
c32bde28 25521 int res5 = 0 ;
d55e5bfc
RD
25522 PyObject * obj0 = 0 ;
25523 char *kwnames[] = {
25524 (char *) "self", NULL
25525 };
25526
c32bde28
RD
25527 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25528 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25529 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25530 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 25531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
25532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25533 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25534 {
25535 PyThreadState* __tstate = wxPyBeginAllowThreads();
25536 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25537
25538 wxPyEndAllowThreads(__tstate);
25539 if (PyErr_Occurred()) SWIG_fail;
25540 }
25541 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25542 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25543 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25544 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25545 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25546 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25547 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25548 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25549 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25550 return resultobj;
25551 fail:
25552 return NULL;
25553}
25554
25555
c32bde28 25556static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25557 PyObject *obj;
25558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25559 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25560 Py_INCREF(obj);
25561 return Py_BuildValue((char *)"");
25562}
c32bde28 25563static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25564 PyObject *resultobj;
25565 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25566 wxWindow *arg2 = (wxWindow *) 0 ;
25567 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25568 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25569 wxSize const &arg4_defvalue = wxDefaultSize ;
25570 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25571 long arg5 = (long) 0 ;
25572 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25573 wxString *arg6 = (wxString *) &arg6_defvalue ;
25574 wxPreviewCanvas *result;
25575 wxPoint temp3 ;
25576 wxSize temp4 ;
ae8162c8 25577 bool temp6 = false ;
d55e5bfc
RD
25578 PyObject * obj0 = 0 ;
25579 PyObject * obj1 = 0 ;
25580 PyObject * obj2 = 0 ;
25581 PyObject * obj3 = 0 ;
25582 PyObject * obj4 = 0 ;
25583 PyObject * obj5 = 0 ;
25584 char *kwnames[] = {
25585 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25586 };
25587
25588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
25589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25590 if (SWIG_arg_fail(1)) SWIG_fail;
25591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25592 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25593 if (obj2) {
25594 {
25595 arg3 = &temp3;
25596 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25597 }
25598 }
25599 if (obj3) {
25600 {
25601 arg4 = &temp4;
25602 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25603 }
25604 }
25605 if (obj4) {
093d3ff1
RD
25606 {
25607 arg5 = (long)(SWIG_As_long(obj4));
25608 if (SWIG_arg_fail(5)) SWIG_fail;
25609 }
d55e5bfc
RD
25610 }
25611 if (obj5) {
25612 {
25613 arg6 = wxString_in_helper(obj5);
25614 if (arg6 == NULL) SWIG_fail;
ae8162c8 25615 temp6 = true;
d55e5bfc
RD
25616 }
25617 }
25618 {
0439c23b 25619 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25620 PyThreadState* __tstate = wxPyBeginAllowThreads();
25621 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25622
25623 wxPyEndAllowThreads(__tstate);
110da5b0 25624 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25625 }
25626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25627 {
25628 if (temp6)
25629 delete arg6;
25630 }
25631 return resultobj;
25632 fail:
25633 {
25634 if (temp6)
25635 delete arg6;
25636 }
25637 return NULL;
25638}
25639
25640
c32bde28 25641static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25642 PyObject *obj;
25643 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25644 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25645 Py_INCREF(obj);
25646 return Py_BuildValue((char *)"");
25647}
c32bde28 25648static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25649 PyObject *resultobj;
25650 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25651 wxFrame *arg2 = (wxFrame *) 0 ;
25652 wxString *arg3 = 0 ;
25653 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25654 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25655 wxSize const &arg5_defvalue = wxDefaultSize ;
25656 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25657 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25658 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25659 wxString *arg7 = (wxString *) &arg7_defvalue ;
25660 wxPreviewFrame *result;
ae8162c8 25661 bool temp3 = false ;
d55e5bfc
RD
25662 wxPoint temp4 ;
25663 wxSize temp5 ;
ae8162c8 25664 bool temp7 = false ;
d55e5bfc
RD
25665 PyObject * obj0 = 0 ;
25666 PyObject * obj1 = 0 ;
25667 PyObject * obj2 = 0 ;
25668 PyObject * obj3 = 0 ;
25669 PyObject * obj4 = 0 ;
25670 PyObject * obj5 = 0 ;
25671 PyObject * obj6 = 0 ;
25672 char *kwnames[] = {
25673 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25674 };
25675
25676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25678 if (SWIG_arg_fail(1)) SWIG_fail;
25679 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25680 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25681 {
25682 arg3 = wxString_in_helper(obj2);
25683 if (arg3 == NULL) SWIG_fail;
ae8162c8 25684 temp3 = true;
d55e5bfc
RD
25685 }
25686 if (obj3) {
25687 {
25688 arg4 = &temp4;
25689 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25690 }
25691 }
25692 if (obj4) {
25693 {
25694 arg5 = &temp5;
25695 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25696 }
25697 }
25698 if (obj5) {
093d3ff1
RD
25699 {
25700 arg6 = (long)(SWIG_As_long(obj5));
25701 if (SWIG_arg_fail(6)) SWIG_fail;
25702 }
d55e5bfc
RD
25703 }
25704 if (obj6) {
25705 {
25706 arg7 = wxString_in_helper(obj6);
25707 if (arg7 == NULL) SWIG_fail;
ae8162c8 25708 temp7 = true;
d55e5bfc
RD
25709 }
25710 }
25711 {
0439c23b 25712 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25713 PyThreadState* __tstate = wxPyBeginAllowThreads();
25714 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25715
25716 wxPyEndAllowThreads(__tstate);
110da5b0 25717 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25718 }
25719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25720 {
25721 if (temp3)
25722 delete arg3;
25723 }
25724 {
25725 if (temp7)
25726 delete arg7;
25727 }
25728 return resultobj;
25729 fail:
25730 {
25731 if (temp3)
25732 delete arg3;
25733 }
25734 {
25735 if (temp7)
25736 delete arg7;
25737 }
25738 return NULL;
25739}
25740
25741
c32bde28 25742static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25743 PyObject *resultobj;
25744 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25745 PyObject * obj0 = 0 ;
25746 char *kwnames[] = {
25747 (char *) "self", NULL
25748 };
25749
25750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
25751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25752 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25753 {
25754 PyThreadState* __tstate = wxPyBeginAllowThreads();
25755 (arg1)->Initialize();
25756
25757 wxPyEndAllowThreads(__tstate);
25758 if (PyErr_Occurred()) SWIG_fail;
25759 }
25760 Py_INCREF(Py_None); resultobj = Py_None;
25761 return resultobj;
25762 fail:
25763 return NULL;
25764}
25765
25766
c32bde28 25767static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25768 PyObject *resultobj;
25769 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25770 PyObject * obj0 = 0 ;
25771 char *kwnames[] = {
25772 (char *) "self", NULL
25773 };
25774
25775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25777 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25778 {
25779 PyThreadState* __tstate = wxPyBeginAllowThreads();
25780 (arg1)->CreateControlBar();
25781
25782 wxPyEndAllowThreads(__tstate);
25783 if (PyErr_Occurred()) SWIG_fail;
25784 }
25785 Py_INCREF(Py_None); resultobj = Py_None;
25786 return resultobj;
25787 fail:
25788 return NULL;
25789}
25790
25791
c32bde28 25792static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25793 PyObject *resultobj;
25794 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25795 PyObject * obj0 = 0 ;
25796 char *kwnames[] = {
25797 (char *) "self", NULL
25798 };
25799
25800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
25801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25803 {
25804 PyThreadState* __tstate = wxPyBeginAllowThreads();
25805 (arg1)->CreateCanvas();
25806
25807 wxPyEndAllowThreads(__tstate);
25808 if (PyErr_Occurred()) SWIG_fail;
25809 }
25810 Py_INCREF(Py_None); resultobj = Py_None;
25811 return resultobj;
25812 fail:
25813 return NULL;
25814}
25815
25816
c32bde28 25817static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25818 PyObject *resultobj;
25819 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25820 wxPreviewControlBar *result;
25821 PyObject * obj0 = 0 ;
25822 char *kwnames[] = {
25823 (char *) "self", NULL
25824 };
25825
25826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25828 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25829 {
25830 PyThreadState* __tstate = wxPyBeginAllowThreads();
25831 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25832
25833 wxPyEndAllowThreads(__tstate);
25834 if (PyErr_Occurred()) SWIG_fail;
25835 }
25836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25837 return resultobj;
25838 fail:
25839 return NULL;
25840}
25841
25842
c32bde28 25843static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25844 PyObject *obj;
25845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25846 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25847 Py_INCREF(obj);
25848 return Py_BuildValue((char *)"");
25849}
c32bde28 25850static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25851 PyObject *resultobj;
25852 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25853 long arg2 ;
25854 wxWindow *arg3 = (wxWindow *) 0 ;
25855 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25856 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25857 wxSize const &arg5_defvalue = wxDefaultSize ;
25858 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25859 long arg6 = (long) wxTAB_TRAVERSAL ;
25860 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25861 wxString *arg7 = (wxString *) &arg7_defvalue ;
25862 wxPreviewControlBar *result;
25863 wxPoint temp4 ;
25864 wxSize temp5 ;
ae8162c8 25865 bool temp7 = false ;
d55e5bfc
RD
25866 PyObject * obj0 = 0 ;
25867 PyObject * obj1 = 0 ;
25868 PyObject * obj2 = 0 ;
25869 PyObject * obj3 = 0 ;
25870 PyObject * obj4 = 0 ;
25871 PyObject * obj5 = 0 ;
25872 PyObject * obj6 = 0 ;
25873 char *kwnames[] = {
25874 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25875 };
25876
25877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25879 if (SWIG_arg_fail(1)) SWIG_fail;
25880 {
25881 arg2 = (long)(SWIG_As_long(obj1));
25882 if (SWIG_arg_fail(2)) SWIG_fail;
25883 }
25884 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25885 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
25886 if (obj3) {
25887 {
25888 arg4 = &temp4;
25889 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25890 }
25891 }
25892 if (obj4) {
25893 {
25894 arg5 = &temp5;
25895 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25896 }
25897 }
25898 if (obj5) {
093d3ff1
RD
25899 {
25900 arg6 = (long)(SWIG_As_long(obj5));
25901 if (SWIG_arg_fail(6)) SWIG_fail;
25902 }
d55e5bfc
RD
25903 }
25904 if (obj6) {
25905 {
25906 arg7 = wxString_in_helper(obj6);
25907 if (arg7 == NULL) SWIG_fail;
ae8162c8 25908 temp7 = true;
d55e5bfc
RD
25909 }
25910 }
25911 {
0439c23b 25912 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25913 PyThreadState* __tstate = wxPyBeginAllowThreads();
25914 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25915
25916 wxPyEndAllowThreads(__tstate);
110da5b0 25917 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25918 }
25919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25920 {
25921 if (temp7)
25922 delete arg7;
25923 }
25924 return resultobj;
25925 fail:
25926 {
25927 if (temp7)
25928 delete arg7;
25929 }
25930 return NULL;
25931}
25932
25933
c32bde28 25934static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25935 PyObject *resultobj;
25936 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25937 int result;
25938 PyObject * obj0 = 0 ;
25939 char *kwnames[] = {
25940 (char *) "self", NULL
25941 };
25942
25943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
25944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25945 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25946 {
25947 PyThreadState* __tstate = wxPyBeginAllowThreads();
25948 result = (int)(arg1)->GetZoomControl();
25949
25950 wxPyEndAllowThreads(__tstate);
25951 if (PyErr_Occurred()) SWIG_fail;
25952 }
093d3ff1
RD
25953 {
25954 resultobj = SWIG_From_int((int)(result));
25955 }
d55e5bfc
RD
25956 return resultobj;
25957 fail:
25958 return NULL;
25959}
25960
25961
c32bde28 25962static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25963 PyObject *resultobj;
25964 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25965 int arg2 ;
25966 PyObject * obj0 = 0 ;
25967 PyObject * obj1 = 0 ;
25968 char *kwnames[] = {
25969 (char *) "self",(char *) "zoom", NULL
25970 };
25971
25972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25974 if (SWIG_arg_fail(1)) SWIG_fail;
25975 {
25976 arg2 = (int)(SWIG_As_int(obj1));
25977 if (SWIG_arg_fail(2)) SWIG_fail;
25978 }
d55e5bfc
RD
25979 {
25980 PyThreadState* __tstate = wxPyBeginAllowThreads();
25981 (arg1)->SetZoomControl(arg2);
25982
25983 wxPyEndAllowThreads(__tstate);
25984 if (PyErr_Occurred()) SWIG_fail;
25985 }
25986 Py_INCREF(Py_None); resultobj = Py_None;
25987 return resultobj;
25988 fail:
25989 return NULL;
25990}
25991
25992
c32bde28 25993static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25994 PyObject *resultobj;
25995 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25996 wxPrintPreview *result;
25997 PyObject * obj0 = 0 ;
25998 char *kwnames[] = {
25999 (char *) "self", NULL
26000 };
26001
26002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
26003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26004 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26005 {
26006 PyThreadState* __tstate = wxPyBeginAllowThreads();
26007 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
26008
26009 wxPyEndAllowThreads(__tstate);
26010 if (PyErr_Occurred()) SWIG_fail;
26011 }
26012 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
26013 return resultobj;
26014 fail:
26015 return NULL;
26016}
26017
26018
c32bde28 26019static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26020 PyObject *resultobj;
26021 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26022 PyObject * obj0 = 0 ;
26023 char *kwnames[] = {
26024 (char *) "self", NULL
26025 };
26026
26027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
26028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26029 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26030 {
26031 PyThreadState* __tstate = wxPyBeginAllowThreads();
26032 (arg1)->OnNext();
26033
26034 wxPyEndAllowThreads(__tstate);
26035 if (PyErr_Occurred()) SWIG_fail;
26036 }
26037 Py_INCREF(Py_None); resultobj = Py_None;
26038 return resultobj;
26039 fail:
26040 return NULL;
26041}
26042
26043
c32bde28 26044static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26045 PyObject *resultobj;
26046 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26047 PyObject * obj0 = 0 ;
26048 char *kwnames[] = {
26049 (char *) "self", NULL
26050 };
26051
26052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
26053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26054 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26055 {
26056 PyThreadState* __tstate = wxPyBeginAllowThreads();
26057 (arg1)->OnPrevious();
26058
26059 wxPyEndAllowThreads(__tstate);
26060 if (PyErr_Occurred()) SWIG_fail;
26061 }
26062 Py_INCREF(Py_None); resultobj = Py_None;
26063 return resultobj;
26064 fail:
26065 return NULL;
26066}
26067
26068
c32bde28 26069static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26070 PyObject *resultobj;
26071 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26072 PyObject * obj0 = 0 ;
26073 char *kwnames[] = {
26074 (char *) "self", NULL
26075 };
26076
26077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
093d3ff1
RD
26078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26079 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26080 {
26081 PyThreadState* __tstate = wxPyBeginAllowThreads();
26082 (arg1)->OnFirst();
26083
26084 wxPyEndAllowThreads(__tstate);
26085 if (PyErr_Occurred()) SWIG_fail;
26086 }
26087 Py_INCREF(Py_None); resultobj = Py_None;
26088 return resultobj;
26089 fail:
26090 return NULL;
26091}
26092
26093
c32bde28 26094static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26095 PyObject *resultobj;
26096 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26097 PyObject * obj0 = 0 ;
26098 char *kwnames[] = {
26099 (char *) "self", NULL
26100 };
26101
26102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
093d3ff1
RD
26103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26104 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26105 {
26106 PyThreadState* __tstate = wxPyBeginAllowThreads();
26107 (arg1)->OnLast();
26108
26109 wxPyEndAllowThreads(__tstate);
26110 if (PyErr_Occurred()) SWIG_fail;
26111 }
26112 Py_INCREF(Py_None); resultobj = Py_None;
26113 return resultobj;
26114 fail:
26115 return NULL;
26116}
26117
26118
c32bde28 26119static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26120 PyObject *resultobj;
26121 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
26122 PyObject * obj0 = 0 ;
26123 char *kwnames[] = {
26124 (char *) "self", NULL
26125 };
26126
26127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
093d3ff1
RD
26128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
26129 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26130 {
26131 PyThreadState* __tstate = wxPyBeginAllowThreads();
26132 (arg1)->OnGoto();
26133
26134 wxPyEndAllowThreads(__tstate);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
26137 Py_INCREF(Py_None); resultobj = Py_None;
26138 return resultobj;
26139 fail:
26140 return NULL;
26141}
26142
26143
c32bde28 26144static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26145 PyObject *obj;
26146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26147 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
26148 Py_INCREF(obj);
26149 return Py_BuildValue((char *)"");
26150}
c32bde28 26151static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
26152 PyObject *resultobj;
26153 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26154 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26155 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26156 wxPrintPreview *result;
26157 PyObject * obj0 = 0 ;
26158 PyObject * obj1 = 0 ;
26159 PyObject * obj2 = 0 ;
26160
26161 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26163 if (SWIG_arg_fail(1)) SWIG_fail;
26164 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26165 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26166 if (obj2) {
093d3ff1
RD
26167 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26168 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26169 }
26170 {
0439c23b 26171 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26172 PyThreadState* __tstate = wxPyBeginAllowThreads();
26173 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26174
26175 wxPyEndAllowThreads(__tstate);
110da5b0 26176 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26177 }
26178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
26179 return resultobj;
26180 fail:
26181 return NULL;
26182}
26183
26184
c32bde28 26185static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
26186 PyObject *resultobj;
26187 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26188 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26189 wxPrintData *arg3 = (wxPrintData *) 0 ;
26190 wxPrintPreview *result;
26191 PyObject * obj0 = 0 ;
26192 PyObject * obj1 = 0 ;
26193 PyObject * obj2 = 0 ;
26194
26195 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26197 if (SWIG_arg_fail(1)) SWIG_fail;
26198 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26199 if (SWIG_arg_fail(2)) SWIG_fail;
26200 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26201 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 26202 {
0439c23b 26203 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26204 PyThreadState* __tstate = wxPyBeginAllowThreads();
26205 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26206
26207 wxPyEndAllowThreads(__tstate);
110da5b0 26208 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26209 }
26210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
26211 return resultobj;
26212 fail:
26213 return NULL;
26214}
26215
26216
26217static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
26218 int argc;
26219 PyObject *argv[4];
26220 int ii;
26221
26222 argc = PyObject_Length(args);
26223 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26224 argv[ii] = PyTuple_GetItem(args,ii);
26225 }
26226 if ((argc >= 2) && (argc <= 3)) {
26227 int _v;
26228 {
26229 void *ptr;
26230 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26231 _v = 0;
26232 PyErr_Clear();
26233 } else {
26234 _v = 1;
26235 }
26236 }
26237 if (_v) {
26238 {
26239 void *ptr;
26240 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26241 _v = 0;
26242 PyErr_Clear();
26243 } else {
26244 _v = 1;
26245 }
26246 }
26247 if (_v) {
26248 if (argc <= 2) {
26249 return _wrap_new_PrintPreview__SWIG_0(self,args);
26250 }
26251 {
26252 void *ptr;
26253 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26254 _v = 0;
26255 PyErr_Clear();
26256 } else {
26257 _v = 1;
26258 }
26259 }
26260 if (_v) {
26261 return _wrap_new_PrintPreview__SWIG_0(self,args);
26262 }
26263 }
26264 }
26265 }
26266 if (argc == 3) {
26267 int _v;
26268 {
26269 void *ptr;
26270 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26271 _v = 0;
26272 PyErr_Clear();
26273 } else {
26274 _v = 1;
26275 }
26276 }
26277 if (_v) {
26278 {
26279 void *ptr;
26280 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26281 _v = 0;
26282 PyErr_Clear();
26283 } else {
26284 _v = 1;
26285 }
26286 }
26287 if (_v) {
26288 {
26289 void *ptr;
26290 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26291 _v = 0;
26292 PyErr_Clear();
26293 } else {
26294 _v = 1;
26295 }
26296 }
26297 if (_v) {
26298 return _wrap_new_PrintPreview__SWIG_1(self,args);
26299 }
26300 }
26301 }
26302 }
26303
093d3ff1 26304 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
d55e5bfc
RD
26305 return NULL;
26306}
26307
26308
c32bde28 26309static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26310 PyObject *resultobj;
26311 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26312 int arg2 ;
26313 bool result;
26314 PyObject * obj0 = 0 ;
26315 PyObject * obj1 = 0 ;
26316 char *kwnames[] = {
26317 (char *) "self",(char *) "pageNum", NULL
26318 };
26319
26320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26322 if (SWIG_arg_fail(1)) SWIG_fail;
26323 {
26324 arg2 = (int)(SWIG_As_int(obj1));
26325 if (SWIG_arg_fail(2)) SWIG_fail;
26326 }
d55e5bfc
RD
26327 {
26328 PyThreadState* __tstate = wxPyBeginAllowThreads();
26329 result = (bool)(arg1)->SetCurrentPage(arg2);
26330
26331 wxPyEndAllowThreads(__tstate);
26332 if (PyErr_Occurred()) SWIG_fail;
26333 }
26334 {
26335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26336 }
26337 return resultobj;
26338 fail:
26339 return NULL;
26340}
26341
26342
c32bde28 26343static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26344 PyObject *resultobj;
26345 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26346 int result;
26347 PyObject * obj0 = 0 ;
26348 char *kwnames[] = {
26349 (char *) "self", NULL
26350 };
26351
26352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26354 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26355 {
26356 PyThreadState* __tstate = wxPyBeginAllowThreads();
26357 result = (int)(arg1)->GetCurrentPage();
26358
26359 wxPyEndAllowThreads(__tstate);
26360 if (PyErr_Occurred()) SWIG_fail;
26361 }
093d3ff1
RD
26362 {
26363 resultobj = SWIG_From_int((int)(result));
26364 }
d55e5bfc
RD
26365 return resultobj;
26366 fail:
26367 return NULL;
26368}
26369
26370
c32bde28 26371static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26372 PyObject *resultobj;
26373 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26374 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26375 PyObject * obj0 = 0 ;
26376 PyObject * obj1 = 0 ;
26377 char *kwnames[] = {
26378 (char *) "self",(char *) "printout", NULL
26379 };
26380
26381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26383 if (SWIG_arg_fail(1)) SWIG_fail;
26384 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26385 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26386 {
26387 PyThreadState* __tstate = wxPyBeginAllowThreads();
26388 (arg1)->SetPrintout(arg2);
26389
26390 wxPyEndAllowThreads(__tstate);
26391 if (PyErr_Occurred()) SWIG_fail;
26392 }
26393 Py_INCREF(Py_None); resultobj = Py_None;
26394 return resultobj;
26395 fail:
26396 return NULL;
26397}
26398
26399
c32bde28 26400static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26401 PyObject *resultobj;
26402 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26403 wxPyPrintout *result;
26404 PyObject * obj0 = 0 ;
26405 char *kwnames[] = {
26406 (char *) "self", NULL
26407 };
26408
26409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
093d3ff1
RD
26410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26411 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26412 {
26413 PyThreadState* __tstate = wxPyBeginAllowThreads();
26414 result = (wxPyPrintout *)(arg1)->GetPrintout();
26415
26416 wxPyEndAllowThreads(__tstate);
26417 if (PyErr_Occurred()) SWIG_fail;
26418 }
26419 {
412d302d 26420 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26421 }
26422 return resultobj;
26423 fail:
26424 return NULL;
26425}
26426
26427
c32bde28 26428static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26429 PyObject *resultobj;
26430 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26431 wxPyPrintout *result;
26432 PyObject * obj0 = 0 ;
26433 char *kwnames[] = {
26434 (char *) "self", NULL
26435 };
26436
26437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
26438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26439 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26440 {
26441 PyThreadState* __tstate = wxPyBeginAllowThreads();
26442 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26443
26444 wxPyEndAllowThreads(__tstate);
26445 if (PyErr_Occurred()) SWIG_fail;
26446 }
26447 {
412d302d 26448 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26449 }
26450 return resultobj;
26451 fail:
26452 return NULL;
26453}
26454
26455
c32bde28 26456static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26457 PyObject *resultobj;
26458 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26459 wxFrame *arg2 = (wxFrame *) 0 ;
26460 PyObject * obj0 = 0 ;
26461 PyObject * obj1 = 0 ;
26462 char *kwnames[] = {
26463 (char *) "self",(char *) "frame", NULL
26464 };
26465
26466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26468 if (SWIG_arg_fail(1)) SWIG_fail;
26469 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26470 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26471 {
26472 PyThreadState* __tstate = wxPyBeginAllowThreads();
26473 (arg1)->SetFrame(arg2);
26474
26475 wxPyEndAllowThreads(__tstate);
26476 if (PyErr_Occurred()) SWIG_fail;
26477 }
26478 Py_INCREF(Py_None); resultobj = Py_None;
26479 return resultobj;
26480 fail:
26481 return NULL;
26482}
26483
26484
c32bde28 26485static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26486 PyObject *resultobj;
26487 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26488 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26489 PyObject * obj0 = 0 ;
26490 PyObject * obj1 = 0 ;
26491 char *kwnames[] = {
26492 (char *) "self",(char *) "canvas", NULL
26493 };
26494
26495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26497 if (SWIG_arg_fail(1)) SWIG_fail;
26498 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26499 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26500 {
26501 PyThreadState* __tstate = wxPyBeginAllowThreads();
26502 (arg1)->SetCanvas(arg2);
26503
26504 wxPyEndAllowThreads(__tstate);
26505 if (PyErr_Occurred()) SWIG_fail;
26506 }
26507 Py_INCREF(Py_None); resultobj = Py_None;
26508 return resultobj;
26509 fail:
26510 return NULL;
26511}
26512
26513
c32bde28 26514static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26515 PyObject *resultobj;
26516 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26517 wxFrame *result;
26518 PyObject * obj0 = 0 ;
26519 char *kwnames[] = {
26520 (char *) "self", NULL
26521 };
26522
26523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
26524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26525 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26526 {
26527 PyThreadState* __tstate = wxPyBeginAllowThreads();
26528 result = (wxFrame *)(arg1)->GetFrame();
26529
26530 wxPyEndAllowThreads(__tstate);
26531 if (PyErr_Occurred()) SWIG_fail;
26532 }
26533 {
412d302d 26534 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26535 }
26536 return resultobj;
26537 fail:
26538 return NULL;
26539}
26540
26541
c32bde28 26542static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26543 PyObject *resultobj;
26544 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26545 wxPreviewCanvas *result;
26546 PyObject * obj0 = 0 ;
26547 char *kwnames[] = {
26548 (char *) "self", NULL
26549 };
26550
26551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
26552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26553 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26554 {
26555 PyThreadState* __tstate = wxPyBeginAllowThreads();
26556 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26557
26558 wxPyEndAllowThreads(__tstate);
26559 if (PyErr_Occurred()) SWIG_fail;
26560 }
26561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26562 return resultobj;
26563 fail:
26564 return NULL;
26565}
26566
26567
c32bde28 26568static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26569 PyObject *resultobj;
26570 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26571 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26572 wxDC *arg3 = 0 ;
26573 bool result;
26574 PyObject * obj0 = 0 ;
26575 PyObject * obj1 = 0 ;
26576 PyObject * obj2 = 0 ;
26577 char *kwnames[] = {
26578 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26579 };
26580
26581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26583 if (SWIG_arg_fail(1)) SWIG_fail;
26584 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26585 if (SWIG_arg_fail(2)) SWIG_fail;
26586 {
26587 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26588 if (SWIG_arg_fail(3)) SWIG_fail;
26589 if (arg3 == NULL) {
26590 SWIG_null_ref("wxDC");
26591 }
26592 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26593 }
26594 {
26595 PyThreadState* __tstate = wxPyBeginAllowThreads();
26596 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26597
26598 wxPyEndAllowThreads(__tstate);
26599 if (PyErr_Occurred()) SWIG_fail;
26600 }
26601 {
26602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26603 }
26604 return resultobj;
26605 fail:
26606 return NULL;
26607}
26608
26609
c32bde28 26610static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26611 PyObject *resultobj;
26612 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26613 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26614 wxDC *arg3 = 0 ;
26615 bool result;
26616 PyObject * obj0 = 0 ;
26617 PyObject * obj1 = 0 ;
26618 PyObject * obj2 = 0 ;
26619 char *kwnames[] = {
26620 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26621 };
26622
26623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26625 if (SWIG_arg_fail(1)) SWIG_fail;
26626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26627 if (SWIG_arg_fail(2)) SWIG_fail;
26628 {
26629 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26630 if (SWIG_arg_fail(3)) SWIG_fail;
26631 if (arg3 == NULL) {
26632 SWIG_null_ref("wxDC");
26633 }
26634 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26635 }
26636 {
26637 PyThreadState* __tstate = wxPyBeginAllowThreads();
26638 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26639
26640 wxPyEndAllowThreads(__tstate);
26641 if (PyErr_Occurred()) SWIG_fail;
26642 }
26643 {
26644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26645 }
26646 return resultobj;
26647 fail:
26648 return NULL;
26649}
26650
26651
c32bde28 26652static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26653 PyObject *resultobj;
26654 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26655 int arg2 ;
26656 bool result;
26657 PyObject * obj0 = 0 ;
26658 PyObject * obj1 = 0 ;
26659 char *kwnames[] = {
26660 (char *) "self",(char *) "pageNum", NULL
26661 };
26662
26663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26665 if (SWIG_arg_fail(1)) SWIG_fail;
26666 {
26667 arg2 = (int)(SWIG_As_int(obj1));
26668 if (SWIG_arg_fail(2)) SWIG_fail;
26669 }
d55e5bfc
RD
26670 {
26671 PyThreadState* __tstate = wxPyBeginAllowThreads();
26672 result = (bool)(arg1)->RenderPage(arg2);
26673
26674 wxPyEndAllowThreads(__tstate);
26675 if (PyErr_Occurred()) SWIG_fail;
26676 }
26677 {
26678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26679 }
26680 return resultobj;
26681 fail:
26682 return NULL;
26683}
26684
26685
c32bde28 26686static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26687 PyObject *resultobj;
26688 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26689 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26690 PyObject * obj0 = 0 ;
26691 PyObject * obj1 = 0 ;
26692 char *kwnames[] = {
26693 (char *) "self",(char *) "canvas", NULL
26694 };
26695
26696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26698 if (SWIG_arg_fail(1)) SWIG_fail;
26699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26700 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26701 {
26702 PyThreadState* __tstate = wxPyBeginAllowThreads();
26703 (arg1)->AdjustScrollbars(arg2);
26704
26705 wxPyEndAllowThreads(__tstate);
26706 if (PyErr_Occurred()) SWIG_fail;
26707 }
26708 Py_INCREF(Py_None); resultobj = Py_None;
26709 return resultobj;
26710 fail:
26711 return NULL;
26712}
26713
26714
c32bde28 26715static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26716 PyObject *resultobj;
26717 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26718 wxPrintDialogData *result;
26719 PyObject * obj0 = 0 ;
26720 char *kwnames[] = {
26721 (char *) "self", NULL
26722 };
26723
26724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
26725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26726 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26727 {
26728 PyThreadState* __tstate = wxPyBeginAllowThreads();
26729 {
26730 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26731 result = (wxPrintDialogData *) &_result_ref;
26732 }
26733
26734 wxPyEndAllowThreads(__tstate);
26735 if (PyErr_Occurred()) SWIG_fail;
26736 }
26737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26738 return resultobj;
26739 fail:
26740 return NULL;
26741}
26742
26743
c32bde28 26744static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26745 PyObject *resultobj;
26746 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26747 int arg2 ;
26748 PyObject * obj0 = 0 ;
26749 PyObject * obj1 = 0 ;
26750 char *kwnames[] = {
26751 (char *) "self",(char *) "percent", NULL
26752 };
26753
26754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26756 if (SWIG_arg_fail(1)) SWIG_fail;
26757 {
26758 arg2 = (int)(SWIG_As_int(obj1));
26759 if (SWIG_arg_fail(2)) SWIG_fail;
26760 }
d55e5bfc
RD
26761 {
26762 PyThreadState* __tstate = wxPyBeginAllowThreads();
26763 (arg1)->SetZoom(arg2);
26764
26765 wxPyEndAllowThreads(__tstate);
26766 if (PyErr_Occurred()) SWIG_fail;
26767 }
26768 Py_INCREF(Py_None); resultobj = Py_None;
26769 return resultobj;
26770 fail:
26771 return NULL;
26772}
26773
26774
c32bde28 26775static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26776 PyObject *resultobj;
26777 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26778 int result;
26779 PyObject * obj0 = 0 ;
26780 char *kwnames[] = {
26781 (char *) "self", NULL
26782 };
26783
26784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
093d3ff1
RD
26785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26786 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26787 {
26788 PyThreadState* __tstate = wxPyBeginAllowThreads();
26789 result = (int)(arg1)->GetZoom();
26790
26791 wxPyEndAllowThreads(__tstate);
26792 if (PyErr_Occurred()) SWIG_fail;
26793 }
093d3ff1
RD
26794 {
26795 resultobj = SWIG_From_int((int)(result));
26796 }
d55e5bfc
RD
26797 return resultobj;
26798 fail:
26799 return NULL;
26800}
26801
26802
c32bde28 26803static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26804 PyObject *resultobj;
26805 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26806 int result;
26807 PyObject * obj0 = 0 ;
26808 char *kwnames[] = {
26809 (char *) "self", NULL
26810 };
26811
26812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26814 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26815 {
26816 PyThreadState* __tstate = wxPyBeginAllowThreads();
26817 result = (int)(arg1)->GetMaxPage();
26818
26819 wxPyEndAllowThreads(__tstate);
26820 if (PyErr_Occurred()) SWIG_fail;
26821 }
093d3ff1
RD
26822 {
26823 resultobj = SWIG_From_int((int)(result));
26824 }
d55e5bfc
RD
26825 return resultobj;
26826 fail:
26827 return NULL;
26828}
26829
26830
c32bde28 26831static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26832 PyObject *resultobj;
26833 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26834 int result;
26835 PyObject * obj0 = 0 ;
26836 char *kwnames[] = {
26837 (char *) "self", NULL
26838 };
26839
26840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26842 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26843 {
26844 PyThreadState* __tstate = wxPyBeginAllowThreads();
26845 result = (int)(arg1)->GetMinPage();
26846
26847 wxPyEndAllowThreads(__tstate);
26848 if (PyErr_Occurred()) SWIG_fail;
26849 }
093d3ff1
RD
26850 {
26851 resultobj = SWIG_From_int((int)(result));
26852 }
d55e5bfc
RD
26853 return resultobj;
26854 fail:
26855 return NULL;
26856}
26857
26858
c32bde28 26859static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26860 PyObject *resultobj;
26861 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26862 bool result;
26863 PyObject * obj0 = 0 ;
26864 char *kwnames[] = {
26865 (char *) "self", NULL
26866 };
26867
26868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
26869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26870 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26871 {
26872 PyThreadState* __tstate = wxPyBeginAllowThreads();
26873 result = (bool)(arg1)->Ok();
26874
26875 wxPyEndAllowThreads(__tstate);
26876 if (PyErr_Occurred()) SWIG_fail;
26877 }
26878 {
26879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26880 }
26881 return resultobj;
26882 fail:
26883 return NULL;
26884}
26885
26886
c32bde28 26887static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26888 PyObject *resultobj;
26889 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26890 bool arg2 ;
26891 PyObject * obj0 = 0 ;
26892 PyObject * obj1 = 0 ;
26893 char *kwnames[] = {
26894 (char *) "self",(char *) "ok", NULL
26895 };
26896
26897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26899 if (SWIG_arg_fail(1)) SWIG_fail;
26900 {
26901 arg2 = (bool)(SWIG_As_bool(obj1));
26902 if (SWIG_arg_fail(2)) SWIG_fail;
26903 }
d55e5bfc
RD
26904 {
26905 PyThreadState* __tstate = wxPyBeginAllowThreads();
26906 (arg1)->SetOk(arg2);
26907
26908 wxPyEndAllowThreads(__tstate);
26909 if (PyErr_Occurred()) SWIG_fail;
26910 }
26911 Py_INCREF(Py_None); resultobj = Py_None;
26912 return resultobj;
26913 fail:
26914 return NULL;
26915}
26916
26917
c32bde28 26918static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26919 PyObject *resultobj;
26920 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26921 bool arg2 ;
26922 bool result;
26923 PyObject * obj0 = 0 ;
26924 PyObject * obj1 = 0 ;
26925 char *kwnames[] = {
26926 (char *) "self",(char *) "interactive", NULL
26927 };
26928
26929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26931 if (SWIG_arg_fail(1)) SWIG_fail;
26932 {
26933 arg2 = (bool)(SWIG_As_bool(obj1));
26934 if (SWIG_arg_fail(2)) SWIG_fail;
26935 }
d55e5bfc
RD
26936 {
26937 PyThreadState* __tstate = wxPyBeginAllowThreads();
26938 result = (bool)(arg1)->Print(arg2);
26939
26940 wxPyEndAllowThreads(__tstate);
26941 if (PyErr_Occurred()) SWIG_fail;
26942 }
26943 {
26944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26945 }
26946 return resultobj;
26947 fail:
26948 return NULL;
26949}
26950
26951
c32bde28 26952static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26953 PyObject *resultobj;
26954 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26955 PyObject * obj0 = 0 ;
26956 char *kwnames[] = {
26957 (char *) "self", NULL
26958 };
26959
26960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
26961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26962 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26963 {
26964 PyThreadState* __tstate = wxPyBeginAllowThreads();
26965 (arg1)->DetermineScaling();
26966
26967 wxPyEndAllowThreads(__tstate);
26968 if (PyErr_Occurred()) SWIG_fail;
26969 }
26970 Py_INCREF(Py_None); resultobj = Py_None;
26971 return resultobj;
26972 fail:
26973 return NULL;
26974}
26975
26976
c32bde28 26977static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26978 PyObject *obj;
26979 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26980 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26981 Py_INCREF(obj);
26982 return Py_BuildValue((char *)"");
26983}
c32bde28 26984static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
26985 PyObject *resultobj;
26986 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26987 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26988 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26989 wxPyPrintPreview *result;
26990 PyObject * obj0 = 0 ;
26991 PyObject * obj1 = 0 ;
26992 PyObject * obj2 = 0 ;
26993
26994 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26996 if (SWIG_arg_fail(1)) SWIG_fail;
26997 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26998 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26999 if (obj2) {
093d3ff1
RD
27000 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
27001 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27002 }
27003 {
0439c23b 27004 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27005 PyThreadState* __tstate = wxPyBeginAllowThreads();
27006 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
27007
27008 wxPyEndAllowThreads(__tstate);
110da5b0 27009 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27010 }
27011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
27012 return resultobj;
27013 fail:
27014 return NULL;
27015}
27016
27017
c32bde28 27018static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
27019 PyObject *resultobj;
27020 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27021 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
27022 wxPrintData *arg3 = (wxPrintData *) 0 ;
27023 wxPyPrintPreview *result;
27024 PyObject * obj0 = 0 ;
27025 PyObject * obj1 = 0 ;
27026 PyObject * obj2 = 0 ;
27027
27028 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
27030 if (SWIG_arg_fail(1)) SWIG_fail;
27031 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
27032 if (SWIG_arg_fail(2)) SWIG_fail;
27033 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
27034 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 27035 {
0439c23b 27036 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27037 PyThreadState* __tstate = wxPyBeginAllowThreads();
27038 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
27039
27040 wxPyEndAllowThreads(__tstate);
110da5b0 27041 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27042 }
27043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
27044 return resultobj;
27045 fail:
27046 return NULL;
27047}
27048
27049
27050static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
27051 int argc;
27052 PyObject *argv[4];
27053 int ii;
27054
27055 argc = PyObject_Length(args);
27056 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
27057 argv[ii] = PyTuple_GetItem(args,ii);
27058 }
27059 if ((argc >= 2) && (argc <= 3)) {
27060 int _v;
27061 {
27062 void *ptr;
27063 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
27064 _v = 0;
27065 PyErr_Clear();
27066 } else {
27067 _v = 1;
27068 }
27069 }
27070 if (_v) {
27071 {
27072 void *ptr;
27073 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
27074 _v = 0;
27075 PyErr_Clear();
27076 } else {
27077 _v = 1;
27078 }
27079 }
27080 if (_v) {
27081 if (argc <= 2) {
27082 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
27083 }
27084 {
27085 void *ptr;
27086 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
27087 _v = 0;
27088 PyErr_Clear();
27089 } else {
27090 _v = 1;
27091 }
27092 }
27093 if (_v) {
27094 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
27095 }
27096 }
27097 }
27098 }
27099 if (argc == 3) {
27100 int _v;
27101 {
27102 void *ptr;
27103 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
27104 _v = 0;
27105 PyErr_Clear();
27106 } else {
27107 _v = 1;
27108 }
27109 }
27110 if (_v) {
27111 {
27112 void *ptr;
27113 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
27114 _v = 0;
27115 PyErr_Clear();
27116 } else {
27117 _v = 1;
27118 }
27119 }
27120 if (_v) {
27121 {
27122 void *ptr;
27123 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
27124 _v = 0;
27125 PyErr_Clear();
27126 } else {
27127 _v = 1;
27128 }
27129 }
27130 if (_v) {
27131 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
27132 }
27133 }
27134 }
27135 }
27136
093d3ff1 27137 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
d55e5bfc
RD
27138 return NULL;
27139}
27140
27141
c32bde28 27142static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27143 PyObject *resultobj;
27144 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27145 PyObject *arg2 = (PyObject *) 0 ;
27146 PyObject *arg3 = (PyObject *) 0 ;
27147 PyObject * obj0 = 0 ;
27148 PyObject * obj1 = 0 ;
27149 PyObject * obj2 = 0 ;
27150 char *kwnames[] = {
27151 (char *) "self",(char *) "self",(char *) "_class", NULL
27152 };
27153
27154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27156 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27157 arg2 = obj1;
27158 arg3 = obj2;
27159 {
27160 PyThreadState* __tstate = wxPyBeginAllowThreads();
27161 (arg1)->_setCallbackInfo(arg2,arg3);
27162
27163 wxPyEndAllowThreads(__tstate);
27164 if (PyErr_Occurred()) SWIG_fail;
27165 }
27166 Py_INCREF(Py_None); resultobj = Py_None;
27167 return resultobj;
27168 fail:
27169 return NULL;
27170}
27171
27172
c32bde28 27173static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27174 PyObject *resultobj;
27175 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27176 int arg2 ;
27177 bool result;
27178 PyObject * obj0 = 0 ;
27179 PyObject * obj1 = 0 ;
27180 char *kwnames[] = {
27181 (char *) "self",(char *) "pageNum", NULL
27182 };
27183
27184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27186 if (SWIG_arg_fail(1)) SWIG_fail;
27187 {
27188 arg2 = (int)(SWIG_As_int(obj1));
27189 if (SWIG_arg_fail(2)) SWIG_fail;
27190 }
d55e5bfc
RD
27191 {
27192 PyThreadState* __tstate = wxPyBeginAllowThreads();
27193 result = (bool)(arg1)->base_SetCurrentPage(arg2);
27194
27195 wxPyEndAllowThreads(__tstate);
27196 if (PyErr_Occurred()) SWIG_fail;
27197 }
27198 {
27199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27200 }
27201 return resultobj;
27202 fail:
27203 return NULL;
27204}
27205
27206
c32bde28 27207static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27208 PyObject *resultobj;
27209 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27210 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27211 wxDC *arg3 = 0 ;
27212 bool result;
27213 PyObject * obj0 = 0 ;
27214 PyObject * obj1 = 0 ;
27215 PyObject * obj2 = 0 ;
27216 char *kwnames[] = {
27217 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27218 };
27219
27220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27222 if (SWIG_arg_fail(1)) SWIG_fail;
27223 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27224 if (SWIG_arg_fail(2)) SWIG_fail;
27225 {
27226 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27227 if (SWIG_arg_fail(3)) SWIG_fail;
27228 if (arg3 == NULL) {
27229 SWIG_null_ref("wxDC");
27230 }
27231 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27232 }
27233 {
27234 PyThreadState* __tstate = wxPyBeginAllowThreads();
27235 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
27236
27237 wxPyEndAllowThreads(__tstate);
27238 if (PyErr_Occurred()) SWIG_fail;
27239 }
27240 {
27241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27242 }
27243 return resultobj;
27244 fail:
27245 return NULL;
27246}
27247
27248
c32bde28 27249static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27250 PyObject *resultobj;
27251 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27252 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27253 wxDC *arg3 = 0 ;
27254 bool result;
27255 PyObject * obj0 = 0 ;
27256 PyObject * obj1 = 0 ;
27257 PyObject * obj2 = 0 ;
27258 char *kwnames[] = {
27259 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27260 };
27261
27262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail;
27265 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27266 if (SWIG_arg_fail(2)) SWIG_fail;
27267 {
27268 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27269 if (SWIG_arg_fail(3)) SWIG_fail;
27270 if (arg3 == NULL) {
27271 SWIG_null_ref("wxDC");
27272 }
27273 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27274 }
27275 {
27276 PyThreadState* __tstate = wxPyBeginAllowThreads();
27277 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
27278
27279 wxPyEndAllowThreads(__tstate);
27280 if (PyErr_Occurred()) SWIG_fail;
27281 }
27282 {
27283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27284 }
27285 return resultobj;
27286 fail:
27287 return NULL;
27288}
27289
27290
c32bde28 27291static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27292 PyObject *resultobj;
27293 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27294 int arg2 ;
27295 bool result;
27296 PyObject * obj0 = 0 ;
27297 PyObject * obj1 = 0 ;
27298 char *kwnames[] = {
27299 (char *) "self",(char *) "pageNum", NULL
27300 };
27301
27302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27304 if (SWIG_arg_fail(1)) SWIG_fail;
27305 {
27306 arg2 = (int)(SWIG_As_int(obj1));
27307 if (SWIG_arg_fail(2)) SWIG_fail;
27308 }
d55e5bfc
RD
27309 {
27310 PyThreadState* __tstate = wxPyBeginAllowThreads();
27311 result = (bool)(arg1)->base_RenderPage(arg2);
27312
27313 wxPyEndAllowThreads(__tstate);
27314 if (PyErr_Occurred()) SWIG_fail;
27315 }
27316 {
27317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27318 }
27319 return resultobj;
27320 fail:
27321 return NULL;
27322}
27323
27324
c32bde28 27325static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27326 PyObject *resultobj;
27327 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27328 int arg2 ;
27329 PyObject * obj0 = 0 ;
27330 PyObject * obj1 = 0 ;
27331 char *kwnames[] = {
27332 (char *) "self",(char *) "percent", NULL
27333 };
27334
27335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27337 if (SWIG_arg_fail(1)) SWIG_fail;
27338 {
27339 arg2 = (int)(SWIG_As_int(obj1));
27340 if (SWIG_arg_fail(2)) SWIG_fail;
27341 }
d55e5bfc
RD
27342 {
27343 PyThreadState* __tstate = wxPyBeginAllowThreads();
27344 (arg1)->base_SetZoom(arg2);
27345
27346 wxPyEndAllowThreads(__tstate);
27347 if (PyErr_Occurred()) SWIG_fail;
27348 }
27349 Py_INCREF(Py_None); resultobj = Py_None;
27350 return resultobj;
27351 fail:
27352 return NULL;
27353}
27354
27355
c32bde28 27356static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27357 PyObject *resultobj;
27358 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27359 bool arg2 ;
27360 bool result;
27361 PyObject * obj0 = 0 ;
27362 PyObject * obj1 = 0 ;
27363 char *kwnames[] = {
27364 (char *) "self",(char *) "interactive", NULL
27365 };
27366
27367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27369 if (SWIG_arg_fail(1)) SWIG_fail;
27370 {
27371 arg2 = (bool)(SWIG_As_bool(obj1));
27372 if (SWIG_arg_fail(2)) SWIG_fail;
27373 }
d55e5bfc
RD
27374 {
27375 PyThreadState* __tstate = wxPyBeginAllowThreads();
27376 result = (bool)(arg1)->base_Print(arg2);
27377
27378 wxPyEndAllowThreads(__tstate);
27379 if (PyErr_Occurred()) SWIG_fail;
27380 }
27381 {
27382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27383 }
27384 return resultobj;
27385 fail:
27386 return NULL;
27387}
27388
27389
c32bde28 27390static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27391 PyObject *resultobj;
27392 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27393 PyObject * obj0 = 0 ;
27394 char *kwnames[] = {
27395 (char *) "self", NULL
27396 };
27397
27398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
27399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27400 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27401 {
27402 PyThreadState* __tstate = wxPyBeginAllowThreads();
27403 (arg1)->base_DetermineScaling();
27404
27405 wxPyEndAllowThreads(__tstate);
27406 if (PyErr_Occurred()) SWIG_fail;
27407 }
27408 Py_INCREF(Py_None); resultobj = Py_None;
27409 return resultobj;
27410 fail:
27411 return NULL;
27412}
27413
27414
c32bde28 27415static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27416 PyObject *obj;
27417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27418 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27419 Py_INCREF(obj);
27420 return Py_BuildValue((char *)"");
27421}
c32bde28 27422static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27423 PyObject *resultobj;
27424 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27425 wxFrame *arg2 = (wxFrame *) 0 ;
27426 wxString *arg3 = 0 ;
27427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27429 wxSize const &arg5_defvalue = wxDefaultSize ;
27430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27431 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27432 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27433 wxString *arg7 = (wxString *) &arg7_defvalue ;
27434 wxPyPreviewFrame *result;
ae8162c8 27435 bool temp3 = false ;
d55e5bfc
RD
27436 wxPoint temp4 ;
27437 wxSize temp5 ;
ae8162c8 27438 bool temp7 = false ;
d55e5bfc
RD
27439 PyObject * obj0 = 0 ;
27440 PyObject * obj1 = 0 ;
27441 PyObject * obj2 = 0 ;
27442 PyObject * obj3 = 0 ;
27443 PyObject * obj4 = 0 ;
27444 PyObject * obj5 = 0 ;
27445 PyObject * obj6 = 0 ;
27446 char *kwnames[] = {
27447 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27448 };
27449
27450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27452 if (SWIG_arg_fail(1)) SWIG_fail;
27453 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27454 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27455 {
27456 arg3 = wxString_in_helper(obj2);
27457 if (arg3 == NULL) SWIG_fail;
ae8162c8 27458 temp3 = true;
d55e5bfc
RD
27459 }
27460 if (obj3) {
27461 {
27462 arg4 = &temp4;
27463 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27464 }
27465 }
27466 if (obj4) {
27467 {
27468 arg5 = &temp5;
27469 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27470 }
27471 }
27472 if (obj5) {
093d3ff1
RD
27473 {
27474 arg6 = (long)(SWIG_As_long(obj5));
27475 if (SWIG_arg_fail(6)) SWIG_fail;
27476 }
d55e5bfc
RD
27477 }
27478 if (obj6) {
27479 {
27480 arg7 = wxString_in_helper(obj6);
27481 if (arg7 == NULL) SWIG_fail;
ae8162c8 27482 temp7 = true;
d55e5bfc
RD
27483 }
27484 }
27485 {
0439c23b 27486 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27487 PyThreadState* __tstate = wxPyBeginAllowThreads();
27488 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27489
27490 wxPyEndAllowThreads(__tstate);
110da5b0 27491 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27492 }
27493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27494 {
27495 if (temp3)
27496 delete arg3;
27497 }
27498 {
27499 if (temp7)
27500 delete arg7;
27501 }
27502 return resultobj;
27503 fail:
27504 {
27505 if (temp3)
27506 delete arg3;
27507 }
27508 {
27509 if (temp7)
27510 delete arg7;
27511 }
27512 return NULL;
27513}
27514
27515
c32bde28 27516static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27517 PyObject *resultobj;
27518 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27519 PyObject *arg2 = (PyObject *) 0 ;
27520 PyObject *arg3 = (PyObject *) 0 ;
27521 PyObject * obj0 = 0 ;
27522 PyObject * obj1 = 0 ;
27523 PyObject * obj2 = 0 ;
27524 char *kwnames[] = {
27525 (char *) "self",(char *) "self",(char *) "_class", NULL
27526 };
27527
27528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27530 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27531 arg2 = obj1;
27532 arg3 = obj2;
27533 {
27534 PyThreadState* __tstate = wxPyBeginAllowThreads();
27535 (arg1)->_setCallbackInfo(arg2,arg3);
27536
27537 wxPyEndAllowThreads(__tstate);
27538 if (PyErr_Occurred()) SWIG_fail;
27539 }
27540 Py_INCREF(Py_None); resultobj = Py_None;
27541 return resultobj;
27542 fail:
27543 return NULL;
27544}
27545
27546
c32bde28 27547static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27548 PyObject *resultobj;
27549 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27550 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27551 PyObject * obj0 = 0 ;
27552 PyObject * obj1 = 0 ;
27553 char *kwnames[] = {
27554 (char *) "self",(char *) "canvas", NULL
27555 };
27556
27557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27559 if (SWIG_arg_fail(1)) SWIG_fail;
27560 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27561 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27562 {
27563 PyThreadState* __tstate = wxPyBeginAllowThreads();
27564 (arg1)->SetPreviewCanvas(arg2);
27565
27566 wxPyEndAllowThreads(__tstate);
27567 if (PyErr_Occurred()) SWIG_fail;
27568 }
27569 Py_INCREF(Py_None); resultobj = Py_None;
27570 return resultobj;
27571 fail:
27572 return NULL;
27573}
27574
27575
c32bde28 27576static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27577 PyObject *resultobj;
27578 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27579 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27580 PyObject * obj0 = 0 ;
27581 PyObject * obj1 = 0 ;
27582 char *kwnames[] = {
27583 (char *) "self",(char *) "bar", NULL
27584 };
27585
27586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27588 if (SWIG_arg_fail(1)) SWIG_fail;
27589 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27590 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27591 {
27592 PyThreadState* __tstate = wxPyBeginAllowThreads();
27593 (arg1)->SetControlBar(arg2);
27594
27595 wxPyEndAllowThreads(__tstate);
27596 if (PyErr_Occurred()) SWIG_fail;
27597 }
27598 Py_INCREF(Py_None); resultobj = Py_None;
27599 return resultobj;
27600 fail:
27601 return NULL;
27602}
27603
27604
c32bde28 27605static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27606 PyObject *resultobj;
27607 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27608 PyObject * obj0 = 0 ;
27609 char *kwnames[] = {
27610 (char *) "self", NULL
27611 };
27612
27613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27615 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27616 {
27617 PyThreadState* __tstate = wxPyBeginAllowThreads();
27618 (arg1)->base_Initialize();
27619
27620 wxPyEndAllowThreads(__tstate);
27621 if (PyErr_Occurred()) SWIG_fail;
27622 }
27623 Py_INCREF(Py_None); resultobj = Py_None;
27624 return resultobj;
27625 fail:
27626 return NULL;
27627}
27628
27629
c32bde28 27630static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27631 PyObject *resultobj;
27632 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27633 PyObject * obj0 = 0 ;
27634 char *kwnames[] = {
27635 (char *) "self", NULL
27636 };
27637
27638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
27639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27640 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27641 {
27642 PyThreadState* __tstate = wxPyBeginAllowThreads();
27643 (arg1)->base_CreateCanvas();
27644
27645 wxPyEndAllowThreads(__tstate);
27646 if (PyErr_Occurred()) SWIG_fail;
27647 }
27648 Py_INCREF(Py_None); resultobj = Py_None;
27649 return resultobj;
27650 fail:
27651 return NULL;
27652}
27653
27654
c32bde28 27655static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27656 PyObject *resultobj;
27657 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27658 PyObject * obj0 = 0 ;
27659 char *kwnames[] = {
27660 (char *) "self", NULL
27661 };
27662
27663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
27664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27665 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27666 {
27667 PyThreadState* __tstate = wxPyBeginAllowThreads();
27668 (arg1)->base_CreateControlBar();
27669
27670 wxPyEndAllowThreads(__tstate);
27671 if (PyErr_Occurred()) SWIG_fail;
27672 }
27673 Py_INCREF(Py_None); resultobj = Py_None;
27674 return resultobj;
27675 fail:
27676 return NULL;
27677}
27678
27679
c32bde28 27680static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27681 PyObject *obj;
27682 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27683 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27684 Py_INCREF(obj);
27685 return Py_BuildValue((char *)"");
27686}
c32bde28 27687static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27688 PyObject *resultobj;
27689 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27690 long arg2 ;
27691 wxWindow *arg3 = (wxWindow *) 0 ;
27692 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27693 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27694 wxSize const &arg5_defvalue = wxDefaultSize ;
27695 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27696 long arg6 = (long) 0 ;
27697 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27698 wxString *arg7 = (wxString *) &arg7_defvalue ;
27699 wxPyPreviewControlBar *result;
27700 wxPoint temp4 ;
27701 wxSize temp5 ;
ae8162c8 27702 bool temp7 = false ;
d55e5bfc
RD
27703 PyObject * obj0 = 0 ;
27704 PyObject * obj1 = 0 ;
27705 PyObject * obj2 = 0 ;
27706 PyObject * obj3 = 0 ;
27707 PyObject * obj4 = 0 ;
27708 PyObject * obj5 = 0 ;
27709 PyObject * obj6 = 0 ;
27710 char *kwnames[] = {
27711 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27712 };
27713
27714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27716 if (SWIG_arg_fail(1)) SWIG_fail;
27717 {
27718 arg2 = (long)(SWIG_As_long(obj1));
27719 if (SWIG_arg_fail(2)) SWIG_fail;
27720 }
27721 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27722 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27723 if (obj3) {
27724 {
27725 arg4 = &temp4;
27726 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27727 }
27728 }
27729 if (obj4) {
27730 {
27731 arg5 = &temp5;
27732 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27733 }
27734 }
27735 if (obj5) {
093d3ff1
RD
27736 {
27737 arg6 = (long)(SWIG_As_long(obj5));
27738 if (SWIG_arg_fail(6)) SWIG_fail;
27739 }
d55e5bfc
RD
27740 }
27741 if (obj6) {
27742 {
27743 arg7 = wxString_in_helper(obj6);
27744 if (arg7 == NULL) SWIG_fail;
ae8162c8 27745 temp7 = true;
d55e5bfc
RD
27746 }
27747 }
27748 {
0439c23b 27749 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27750 PyThreadState* __tstate = wxPyBeginAllowThreads();
27751 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27752
27753 wxPyEndAllowThreads(__tstate);
110da5b0 27754 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27755 }
27756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27757 {
27758 if (temp7)
27759 delete arg7;
27760 }
27761 return resultobj;
27762 fail:
27763 {
27764 if (temp7)
27765 delete arg7;
27766 }
27767 return NULL;
27768}
27769
27770
c32bde28 27771static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27772 PyObject *resultobj;
27773 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27774 PyObject *arg2 = (PyObject *) 0 ;
27775 PyObject *arg3 = (PyObject *) 0 ;
27776 PyObject * obj0 = 0 ;
27777 PyObject * obj1 = 0 ;
27778 PyObject * obj2 = 0 ;
27779 char *kwnames[] = {
27780 (char *) "self",(char *) "self",(char *) "_class", NULL
27781 };
27782
27783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27785 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27786 arg2 = obj1;
27787 arg3 = obj2;
27788 {
27789 PyThreadState* __tstate = wxPyBeginAllowThreads();
27790 (arg1)->_setCallbackInfo(arg2,arg3);
27791
27792 wxPyEndAllowThreads(__tstate);
27793 if (PyErr_Occurred()) SWIG_fail;
27794 }
27795 Py_INCREF(Py_None); resultobj = Py_None;
27796 return resultobj;
27797 fail:
27798 return NULL;
27799}
27800
27801
c32bde28 27802static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27803 PyObject *resultobj;
27804 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27805 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27806 PyObject * obj0 = 0 ;
27807 PyObject * obj1 = 0 ;
27808 char *kwnames[] = {
27809 (char *) "self",(char *) "preview", NULL
27810 };
27811
27812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27814 if (SWIG_arg_fail(1)) SWIG_fail;
27815 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27816 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27817 {
27818 PyThreadState* __tstate = wxPyBeginAllowThreads();
27819 (arg1)->SetPrintPreview(arg2);
27820
27821 wxPyEndAllowThreads(__tstate);
27822 if (PyErr_Occurred()) SWIG_fail;
27823 }
27824 Py_INCREF(Py_None); resultobj = Py_None;
27825 return resultobj;
27826 fail:
27827 return NULL;
27828}
27829
27830
c32bde28 27831static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27832 PyObject *resultobj;
27833 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27834 PyObject * obj0 = 0 ;
27835 char *kwnames[] = {
27836 (char *) "self", NULL
27837 };
27838
27839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
27840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27842 {
27843 PyThreadState* __tstate = wxPyBeginAllowThreads();
27844 (arg1)->base_CreateButtons();
27845
27846 wxPyEndAllowThreads(__tstate);
27847 if (PyErr_Occurred()) SWIG_fail;
27848 }
27849 Py_INCREF(Py_None); resultobj = Py_None;
27850 return resultobj;
27851 fail:
27852 return NULL;
27853}
27854
27855
c32bde28 27856static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27857 PyObject *resultobj;
27858 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27859 int arg2 ;
27860 PyObject * obj0 = 0 ;
27861 PyObject * obj1 = 0 ;
27862 char *kwnames[] = {
27863 (char *) "self",(char *) "zoom", NULL
27864 };
27865
27866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27868 if (SWIG_arg_fail(1)) SWIG_fail;
27869 {
27870 arg2 = (int)(SWIG_As_int(obj1));
27871 if (SWIG_arg_fail(2)) SWIG_fail;
27872 }
d55e5bfc
RD
27873 {
27874 PyThreadState* __tstate = wxPyBeginAllowThreads();
27875 (arg1)->base_SetZoomControl(arg2);
27876
27877 wxPyEndAllowThreads(__tstate);
27878 if (PyErr_Occurred()) SWIG_fail;
27879 }
27880 Py_INCREF(Py_None); resultobj = Py_None;
27881 return resultobj;
27882 fail:
27883 return NULL;
27884}
27885
27886
c32bde28 27887static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27888 PyObject *obj;
27889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27890 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27891 Py_INCREF(obj);
27892 return Py_BuildValue((char *)"");
27893}
27894static PyMethodDef SwigMethods[] = {
093d3ff1
RD
27895 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27903 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27918 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27919 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27928 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27946 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27970 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 27977 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27978 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27983 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27987 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27991 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27996 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
28013 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
28043 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
28050 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
28073 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
28081 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
28093 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
28099 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
28108 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
28114 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
28119 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
28125 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
28129 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
70b7a5fe
RD
28143 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28146 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28148 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
28149 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
28168 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28172 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
28175 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28177 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
28183 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
28192 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
28194 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
28203 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
28206 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28208 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
28213 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28216 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28224 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
28231 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
28235 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
28240 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
28244 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28245 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
28246 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28247 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28251 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28258 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
28262 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
28265 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28266 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
28267 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
28271 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28272 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28273 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28274 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28275 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28276 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28277 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28278 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28279 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
28280 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28281 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28282 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28283 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28284 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28285 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28286 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28287 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28288 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
28289 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28290 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28291 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28292 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
28293 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
28294 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
28295 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28296 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28297 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28298 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
28299 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28300 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
28301 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
28302 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28303 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28304 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28305 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28306 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28307 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28308 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
28309 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
28310 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28311 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28312 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28313 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
28314 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
28315 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
28316 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
28317 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28318 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28319 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28320 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
28321 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28322 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28323 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28324 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 28325 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28326 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28327 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28328 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28329 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28330 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28331 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28332 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28333 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28334 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28335 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28336 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28337 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28338 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28339 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28340 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28341 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28342 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28343 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28344 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28345 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28346 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28347 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28348 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28349 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28350 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 28351 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28352 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28353 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28354 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28355 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28356 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28357 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28358 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28359 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28360 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28361 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28362 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28363 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28364 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28365 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28366 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28367 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28368 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28369 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28370 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28371 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28372 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28373 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28374 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28375 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28376 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 28377 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28378 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28379 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28380 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28381 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28382 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28383 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28384 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28385 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28386 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28387 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28388 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28389 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28390 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28391 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28392 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28393 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28394 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28395 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28396 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28397 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28398 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28399 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28400 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28401 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28402 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28403 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28404 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28405 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28406 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28407 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28408 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28409 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28410 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28411 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28412 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28413 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28414 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28415 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28416 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28417 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28418 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28419 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28420 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28421 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28422 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28423 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28424 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28425 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
b9d6a5f3
RD
28426 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28427 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28428 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28429 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28430 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28431 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28432 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28433 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28434 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28435 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28436 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28437 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28438 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28439 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28440 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28441 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28442 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28443 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28444 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28445 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
28446 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28447 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28448 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28449 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28450 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28451 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28452 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28453 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28454 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28455 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28456 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28457 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28458 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28459 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28460 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28461 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28462 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28463 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28464 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28465 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28466 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28467 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28468 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28469 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28470 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28471 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28472 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28473 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28474 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28475 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28476 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28477 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
fef4c27a
RD
28478 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28479 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28480 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28481 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28482 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28483 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28484 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28485 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28486 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28487 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28488 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28489 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28490 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28491 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28492 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28493 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28494 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28495 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28496 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28497 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28498 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28499 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28500 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28501 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28502 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28503 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28504 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28505 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28506 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28507 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28508 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28509 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28510 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28511 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28512 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28513 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28514 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28515 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28516 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28517 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28518 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28519 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28520 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28521 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28522 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28523 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28524 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28525 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28526 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28527 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28528 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28529 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28530 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28531 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28532 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28533 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28534 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28535 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28536 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28537 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28538 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28539 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28540 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28541 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28542 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28543 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28544 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28545 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28546 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28547 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28548 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28549 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28550 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28551 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28552 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28553 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28554 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28555 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28556 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28557 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28558 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28559 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28560 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28561 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28562 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28563 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28564 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28565 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28566 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28567 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28568 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28569 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28570 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28571 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28572 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28573 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28574 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28575 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28576 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28577 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28578 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28579 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28580 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28581 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28582 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28583 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28584 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28585 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28586 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28587 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28588 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28589 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28590 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28591 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28592 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28593 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28594 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28595 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28596 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28597 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28598 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28599 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28600 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28601 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28602 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28603 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28604 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28605 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28606 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28607 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28608 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28609 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28610 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28611 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28612 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28613 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28614 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28615 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28616 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28617 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28618 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28619 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28620 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28621 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28622 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28623 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28624 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28625 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
c32bde28 28626 { NULL, NULL, 0, NULL }
d55e5bfc
RD
28627};
28628
28629
28630/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28631
28632static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28633 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28634}
28635static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28636 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28637}
28638static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28639 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28640}
28641static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28642 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28643}
28644static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28645 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28646}
28647static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28648 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28649}
28650static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28651 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28652}
28653static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28654 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28655}
28656static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28657 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28658}
28659static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28660 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28661}
28662static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28663 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28664}
28665static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28666 return (void *)((wxEvent *) ((wxPyEvent *) x));
28667}
28668static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28669 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28670}
28671static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28672 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28673}
28674static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28675 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28676}
28677static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28678 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28679}
28680static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28681 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28682}
28683static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28684 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28685}
28686static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28687 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28688}
28689static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28690 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28691}
28692static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28693 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28694}
28695static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28696 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28697}
53aa7709
RD
28698static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28699 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28700}
d55e5bfc
RD
28701static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28702 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28703}
28704static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28705 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28706}
28707static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28708 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28709}
28710static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28711 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28712}
28713static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28714 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28715}
28716static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28717 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28718}
28719static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28720 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28721}
28722static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28723 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28724}
28725static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28726 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28727}
28728static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28729 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28730}
28731static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28732 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28733}
28734static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28735 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28736}
28737static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28738 return (void *)((wxEvent *) ((wxShowEvent *) x));
28739}
28740static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28741 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28742}
28743static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28744 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28745}
28746static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28747 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28748}
28749static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28750 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28751}
28752static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28753 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28754}
28755static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28756 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28757}
28758static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28759 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28760}
28761static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28762 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28763}
c1cb24a4
RD
28764static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28765 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28766}
d55e5bfc
RD
28767static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28768 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28769}
28770static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28771 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28772}
28773static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28774 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28775}
28776static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28777 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28778}
28779static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28780 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28781}
28782static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28783 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28784}
28785static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28786 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28787}
c1cb24a4
RD
28788static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28789 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28790}
d55e5bfc
RD
28791static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28792 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28793}
28794static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28795 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28796}
28797static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28798 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28799}
28800static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28801 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28802}
28803static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28804 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28805}
28806static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28807 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28808}
28809static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28810 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28811}
28812static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28813 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28814}
28815static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28816 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28817}
28818static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28819 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28820}
28821static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28822 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28823}
28824static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28825 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28826}
28827static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28828 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28829}
28830static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28831 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28832}
28833static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28834 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28835}
28836static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28837 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28838}
28839static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28840 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28841}
28842static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28843 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28844}
28845static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28846 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28847}
28848static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28849 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28850}
28851static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28852 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28853}
28854static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28855 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28856}
28857static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28858 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28859}
28860static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28861 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28862}
28863static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28864 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28865}
28866static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28867 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28868}
28869static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28870 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28871}
28872static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28873 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28874}
28875static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28876 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28877}
28878static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28879 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28880}
28881static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28882 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28883}
28884static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28885 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28886}
28887static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28888 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28889}
28890static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28891 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28892}
5e483524
RD
28893static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28894 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28895}
28896static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28897 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28898}
d55e5bfc
RD
28899static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28900 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28901}
28902static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28903 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28904}
28905static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28906 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28907}
c1cb24a4
RD
28908static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28909 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28910}
d55e5bfc
RD
28911static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28912 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28913}
28914static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28915 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28916}
28917static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28918 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28919}
28920static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28921 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28922}
28923static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28924 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28925}
28926static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28927 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28928}
28929static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28930 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28931}
28932static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28933 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28934}
28935static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28936 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28937}
28938static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28939 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28940}
28941static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28942 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28943}
28944static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28946}
28947static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28949}
28950static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28951 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28952}
28953static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28954 return (void *)((wxObject *) ((wxSizerItem *) x));
28955}
28956static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28957 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28958}
28959static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28960 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28961}
28962static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28963 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28964}
28965static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28966 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28967}
28968static void *_p_wxSizerTo_p_wxObject(void *x) {
28969 return (void *)((wxObject *) ((wxSizer *) x));
28970}
28971static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28972 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28973}
28974static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28975 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28976}
28977static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28979}
28980static void *_p_wxEventTo_p_wxObject(void *x) {
28981 return (void *)((wxObject *) ((wxEvent *) x));
28982}
28983static void *_p_wxFontDataTo_p_wxObject(void *x) {
28984 return (void *)((wxObject *) ((wxFontData *) x));
28985}
28986static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28987 return (void *)((wxObject *) ((wxPrintData *) x));
28988}
28989static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28990 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28991}
28992static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28993 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28994}
28995static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28996 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28997}
28998static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28999 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
29000}
5e483524
RD
29001static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
29002 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
29003}
29004static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
29005 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
29006}
29007static void *_p_wxPaintEventTo_p_wxObject(void *x) {
29008 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
29009}
29010static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
29011 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
29012}
29013static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
29014 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
29015}
29016static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
29017 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
29018}
29019static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
29020 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29021}
29022static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
29023 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
29024}
29025static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
29026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29027}
29028static void *_p_wxControlTo_p_wxObject(void *x) {
29029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
29030}
29031static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
29032 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
29033}
29034static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
29035 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
29036}
29037static void *_p_wxFSFileTo_p_wxObject(void *x) {
29038 return (void *)((wxObject *) ((wxFSFile *) x));
29039}
29040static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
29041 return (void *)((wxObject *) ((wxFindReplaceData *) x));
29042}
29043static void *_p_wxPySizerTo_p_wxObject(void *x) {
29044 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
29045}
29046static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
29047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29048}
29049static void *_p_wxColourDataTo_p_wxObject(void *x) {
29050 return (void *)((wxObject *) ((wxColourData *) x));
29051}
29052static void *_p_wxPyEventTo_p_wxObject(void *x) {
29053 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
29054}
29055static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
29056 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
29057}
29058static void *_p_wxPyWindowTo_p_wxObject(void *x) {
29059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
29060}
29061static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
29062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29063}
29064static void *_p_wxFileDialogTo_p_wxObject(void *x) {
29065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29066}
29067static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
29068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29069}
29070static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
29071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29072}
29073static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
29074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29075}
c1cb24a4
RD
29076static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
29077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29078}
d55e5bfc
RD
29079static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
29080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29081}
29082static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
29083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29084}
29085static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
29086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29087}
29088static void *_p_wxShowEventTo_p_wxObject(void *x) {
29089 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
29090}
29091static void *_p_wxPrinterTo_p_wxObject(void *x) {
29092 return (void *)((wxObject *) ((wxPrinter *) x));
29093}
29094static void *_p_wxMenuItemTo_p_wxObject(void *x) {
29095 return (void *)((wxObject *) ((wxMenuItem *) x));
29096}
53aa7709
RD
29097static void *_p_wxDateEventTo_p_wxObject(void *x) {
29098 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
29099}
d55e5bfc
RD
29100static void *_p_wxIdleEventTo_p_wxObject(void *x) {
29101 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
29102}
29103static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
29104 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
29105}
29106static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
29107 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
29108}
29109static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
29110 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
29111}
29112static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
29113 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
29114}
29115static void *_p_wxSizeEventTo_p_wxObject(void *x) {
29116 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
29117}
29118static void *_p_wxMoveEventTo_p_wxObject(void *x) {
29119 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
29120}
29121static void *_p_wxActivateEventTo_p_wxObject(void *x) {
29122 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
29123}
29124static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
29125 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
29126}
29127static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
29128 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
29129}
29130static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
29131 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
29132}
29133static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
29134 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
29135}
29136static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
29137 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
29138}
29139static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
29140 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
29141}
29142static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
29143 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
29144}
29145static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
29146 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
29147}
29148static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
29149 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
29150}
29151static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
29152 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29153}
29154static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29155 return (void *)((wxObject *) ((wxImageHandler *) x));
29156}
29157static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29158 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29159}
29160static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29161 return (void *)((wxObject *) ((wxEvtHandler *) x));
29162}
29163static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
29164 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
29165}
29166static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
29167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29168}
29169static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
29170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29171}
62d32a5f
RD
29172static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
29173 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
29174}
d55e5bfc
RD
29175static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29176 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29177}
29178static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
29179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29180}
29181static void *_p_wxImageTo_p_wxObject(void *x) {
29182 return (void *)((wxObject *) ((wxImage *) x));
29183}
29184static void *_p_wxFrameTo_p_wxObject(void *x) {
29185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
29186}
29187static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
29188 return (void *)((wxObject *) ((wxPyPrintout *) x));
29189}
29190static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29191 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29192}
29193static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
29194 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
29195}
29196static void *_p_wxStatusBarTo_p_wxObject(void *x) {
29197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
29198}
29199static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
29200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29201}
29202static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29203 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29204}
29205static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29206 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29207}
29208static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29209 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29210}
29211static void *_p_wxWindowTo_p_wxObject(void *x) {
29212 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29213}
29214static void *_p_wxMenuTo_p_wxObject(void *x) {
29215 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29216}
29217static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29219}
29220static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
29221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
29222}
29223static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
29224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
29225}
29226static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
29227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
29228}
29229static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
29230 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
29231}
29232static void *_p_wxSashWindowTo_p_wxObject(void *x) {
29233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
29234}
29235static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
29236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
29237}
29238static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
29239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
29240}
29241static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
29242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29243}
29244static void *_p_wxTipWindowTo_p_wxObject(void *x) {
29245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29246}
29247static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
29248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
29249}
29250static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
29251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
29252}
29253static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
29254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29255}
29256static void *_p_wxSashEventTo_p_wxObject(void *x) {
29257 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
29258}
29259static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
29260 return (void *)((wxObject *) ((wxPrintPreview *) x));
29261}
29262static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
29263 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
29264}
29265static void *_p_wxPanelTo_p_wxObject(void *x) {
29266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
29267}
29268static void *_p_wxDialogTo_p_wxObject(void *x) {
29269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
29270}
29271static void *_p_wxColourDialogTo_p_wxObject(void *x) {
29272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29273}
29274static void *_p_wxDirDialogTo_p_wxObject(void *x) {
29275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29276}
29277static void *_p_wxFontDialogTo_p_wxObject(void *x) {
29278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29279}
29280static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 29281 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
29282}
29283static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
c1cb24a4 29284 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
29285}
29286static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29287 return (void *)((wxObject *) ((wxFileSystem *) x));
29288}
29289static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29290 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29291}
29292static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29293 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29294}
29295static void *_p_wxPyAppTo_p_wxObject(void *x) {
29296 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29297}
29298static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29299 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29300}
29301static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29302 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29303}
29304static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29305 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29306}
29307static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29308 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29309}
29310static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29311 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29312}
29313static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
29314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
29315}
29316static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
29317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29318}
29319static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29320 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29321}
29322static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29323 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29324}
29325static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29326 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29327}
29328static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29330}
29331static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
29332 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
29333}
29334static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
29335 return (void *)((wxObject *) ((wxPrintDialogData *) x));
29336}
29337static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29338 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29339}
29340static void *_p_wxValidatorTo_p_wxObject(void *x) {
29341 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29342}
29343static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
29344 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29345}
29346static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
29347 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
29348}
29349static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
29350 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29351}
29352static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29353 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29354}
29355static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29356 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29357}
29358static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29359 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29360}
29361static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29362 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29363}
29364static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29365 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29366}
29367static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29368 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29369}
29370static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29371 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29372}
29373static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29374 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29375}
29376static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29377 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29378}
d55e5bfc
RD
29379static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29380 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29381}
29382static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29383 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29384}
29385static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29386 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29387}
d55e5bfc
RD
29388static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29389 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29390}
29391static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29392 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29393}
c1cb24a4
RD
29394static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29395 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29396}
d55e5bfc
RD
29397static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29398 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29399}
29400static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29401 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29402}
29403static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29404 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29405}
29406static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29407 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29408}
c1cb24a4
RD
29409static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29410 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29411}
d55e5bfc
RD
29412static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29413 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29414}
29415static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29416 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29417}
29418static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29419 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29420}
29421static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29422 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29423}
29424static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29425 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29426}
29427static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29428 return (void *)((wxWindow *) ((wxMenuBar *) x));
29429}
29430static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29431 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29432}
29433static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29434 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29435}
29436static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29437 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29438}
c1cb24a4
RD
29439static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29440 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29441}
d55e5bfc
RD
29442static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29443 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29444}
29445static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29446 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29447}
29448static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29449 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29450}
29451static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29452 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29453}
29454static void *_p_wxPanelTo_p_wxWindow(void *x) {
29455 return (void *)((wxWindow *) ((wxPanel *) x));
29456}
29457static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29458 return (void *)((wxWindow *) ((wxStatusBar *) x));
29459}
d55e5bfc
RD
29460static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29461 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29462}
29463static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29464 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29465}
29466static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29467 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29468}
29469static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29470 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29471}
29472static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29473 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29474}
29475static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29476 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29477}
29478static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29479 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29480}
29481static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29482 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29483}
29484static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29485 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29486}
29487static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29488 return (void *)((wxWindow *) ((wxSashWindow *) x));
29489}
c1cb24a4
RD
29490static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29491 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29492}
d55e5bfc
RD
29493static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29494 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29495}
29496static void *_p_wxControlTo_p_wxWindow(void *x) {
29497 return (void *)((wxWindow *) ((wxControl *) x));
29498}
29499static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29500 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29501}
29502static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29503 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29504}
29505static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29506 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29507}
29508static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29509 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29510}
29511static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29512 return (void *)((wxWindow *) ((wxPyWindow *) x));
29513}
29514static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29515 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29516}
29517static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29518 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29519}
29520static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29521 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29522}
29523static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29524 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29525}
29526static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29527 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29528}
29529static void *_p_wxFrameTo_p_wxWindow(void *x) {
29530 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29531}
29532static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29533 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29534}
29535static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29536 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29537}
29538static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29539 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29540}
29541static void *_p_wxDialogTo_p_wxWindow(void *x) {
29542 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29543}
d55e5bfc
RD
29544static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29545 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29546}
29547static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29548 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29549}
29550static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29551 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29552}
29553static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29554 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29555}
29556static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29557 return (void *)((wxDialog *) ((wxColourDialog *) x));
29558}
29559static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29560 return (void *)((wxDialog *) ((wxDirDialog *) x));
29561}
29562static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29563 return (void *)((wxDialog *) ((wxFontDialog *) x));
29564}
d55e5bfc
RD
29565static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29566 return (void *)((wxDialog *) ((wxFileDialog *) x));
29567}
29568static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29569 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29570}
29571static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29572 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29573}
29574static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29575 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29576}
c1cb24a4
RD
29577static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29578 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29579}
d55e5bfc
RD
29580static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29581 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29582}
29583static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29584 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29585}
29586static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29587 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29588}
29589static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29590 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29591}
29592static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29593 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29594}
29595static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29596 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29597}
29598static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29599 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29600}
29601static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29602 return (void *)((wxPanel *) ((wxPyPanel *) x));
29603}
29604static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29605 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29606}
29607static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29608 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29609}
29610static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29611 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29612}
29613static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29614 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29615}
29616static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29617 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29618}
29619static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29620 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29621}
53aa7709
RD
29622static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29623 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29624}
d55e5bfc
RD
29625static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29626 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29627}
29628static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29629 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29630}
29631static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29632 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29633}
29634static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29635 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29636}
29637static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29638 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29639}
29640static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29641 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29642}
29643static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29644 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29645}
29646static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29647 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29648}
29649static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29650 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29651}
29652static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29653static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29654static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29655static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29656static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29657static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 29658static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f5b96ee1 29659static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29660static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
5e483524 29661static swig_type_info _swigt__p_wxPyTaskBarIcon[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29662static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29663static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29664static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29665static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29666static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29667static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29668static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
29669static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29670static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29671static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29672static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29673static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29674static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29675static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f20a2e1f 29676static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29677static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29678static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29679static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29680static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29681static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29682static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c1cb24a4 29683static swig_type_info _swigt__p_wxPasswordEntryDialog[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29684static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29685static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29686static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c1cb24a4 29687static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
29688static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29689static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29690static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29691static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29692static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29693static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0 29694static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29695static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29696static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29697static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29698static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
62d32a5f 29699static swig_type_info _swigt__p_wxStdDialogButtonSizer[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29700static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29701static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29702static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29703static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29704static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29705static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29706static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29707static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29708static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29709static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 29710static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29711static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29712static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29713static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29714static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f20a2e1f 29715static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29716static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29717static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29718static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29719static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0
RD
29720static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29721static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29722static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29723static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29724static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
5e483524 29725static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29726static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29727static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29728static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29729static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29730static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29731static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
8ac8dba0 29732static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29733static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29734static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29735static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29736static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
c24da6d6 29737static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29738static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1
RD
29739static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29740static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29741static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 29742static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29743static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29744static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29745static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29746static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29747static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29748static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29749
29750static swig_type_info *swig_types_initial[] = {
29751_swigt__p_wxQueryLayoutInfoEvent,
29752_swigt__p_wxPreviewFrame,
29753_swigt__p_wxPyPreviewFrame,
29754_swigt__p_wxPyPanel,
29755_swigt__p_wxMenu,
d55e5bfc
RD
29756_swigt__p_wxFontData,
29757_swigt__p_wxEvent,
f5b96ee1 29758_swigt__p_wxPrintData,
d55e5bfc 29759_swigt__p_wxTaskBarIcon,
5e483524 29760_swigt__p_wxPyTaskBarIcon,
d55e5bfc
RD
29761_swigt__p_wxIconBundle,
29762_swigt__p_wxLayoutAlgorithm,
29763_swigt__p_wxFindDialogEvent,
29764_swigt__p_wxPreviewCanvas,
29765_swigt__p_wxFont,
29766_swigt__p_wxSplitterEvent,
29767_swigt__p_wxRegion,
093d3ff1
RD
29768_swigt__ptrdiff_t,
29769_swigt__std__ptrdiff_t,
d55e5bfc
RD
29770_swigt__p_wxFindReplaceData,
29771_swigt__p_int,
29772_swigt__p_wxSize,
29773_swigt__p_wxDC,
29774_swigt__p_wxIcon,
f20a2e1f 29775_swigt__p_wxVisualAttributes,
d55e5bfc
RD
29776_swigt__p_wxMDIChildFrame,
29777_swigt__p_wxColourData,
29778_swigt__p_wxNotifyEvent,
29779_swigt__p_wxPyWindow,
093d3ff1 29780_swigt__p_form_ops_t,
d55e5bfc 29781_swigt__p_wxSplashScreen,
c1cb24a4 29782_swigt__p_wxPasswordEntryDialog,
d55e5bfc
RD
29783_swigt__p_wxSingleChoiceDialog,
29784_swigt__p_wxMultiChoiceDialog,
29785_swigt__p_wxFileDialog,
c1cb24a4 29786_swigt__p_wxTextEntryDialog,
093d3ff1
RD
29787_swigt__p_wxMessageDialog,
29788_swigt__p_wxProgressDialog,
29789_swigt__p_wxFindReplaceDialog,
d55e5bfc
RD
29790_swigt__p_wxPrinter,
29791_swigt__p_wxArrayInt,
093d3ff1 29792_swigt__p_wxDuplexMode,
d55e5bfc
RD
29793_swigt__p_wxEvtHandler,
29794_swigt__p_wxCalculateLayoutEvent,
29795_swigt__p_wxPyHtmlListBox,
29796_swigt__p_wxPyVListBox,
29797_swigt__p_wxRect,
62d32a5f 29798_swigt__p_wxStdDialogButtonSizer,
d55e5bfc
RD
29799_swigt__p_char,
29800_swigt__p_wxMiniFrame,
29801_swigt__p_wxFrame,
29802_swigt__p_wxPyPrintout,
29803_swigt__p_wxTaskBarIconEvent,
29804_swigt__p_wxScrollWinEvent,
093d3ff1 29805_swigt__p_wxPaperSize,
d55e5bfc
RD
29806_swigt__p_wxStatusBar,
29807_swigt__p_wxMDIParentFrame,
29808_swigt__p_wxPoint,
29809_swigt__p_wxObject,
093d3ff1 29810_swigt__p_unsigned_long,
d55e5bfc
RD
29811_swigt__p_wxTipWindow,
29812_swigt__p_wxSashLayoutWindow,
29813_swigt__p_wxSplitterWindow,
f20a2e1f 29814_swigt__p_wxSplashScreenWindow,
d55e5bfc
RD
29815_swigt__p_wxPyVScrolledWindow,
29816_swigt__p_wxPyPopupTransientWindow,
29817_swigt__p_wxPopupWindow,
29818_swigt__p_wxSashWindow,
29819_swigt__p_wxTopLevelWindow,
29820_swigt__p_wxWindow,
29821_swigt__p_wxScrolledWindow,
d55e5bfc 29822_swigt__p_wxMenuBar,
093d3ff1 29823_swigt__p_wxMDIClientWindow,
5e483524 29824_swigt__p_wxPyScrolledWindow,
d55e5bfc
RD
29825_swigt__p_wxPrintPreview,
29826_swigt__p_wxSashEvent,
29827_swigt__p_wxString,
29828_swigt__p_wxPyPrintPreview,
d55e5bfc
RD
29829_swigt__p_wxDirDialog,
29830_swigt__p_wxColourDialog,
29831_swigt__p_wxDialog,
29832_swigt__p_wxPanel,
093d3ff1 29833_swigt__p_wxFontDialog,
d55e5bfc
RD
29834_swigt__p_wxPageSetupDialog,
29835_swigt__p_wxPrintDialog,
c24da6d6 29836_swigt__p_wxFileSystem,
d55e5bfc 29837_swigt__p_wxBitmap,
093d3ff1
RD
29838_swigt__unsigned_int,
29839_swigt__p_unsigned_int,
29840_swigt__p_unsigned_char,
d55e5bfc
RD
29841_swigt__p_wxCommandEvent,
29842_swigt__p_wxPreviewControlBar,
29843_swigt__p_wxPyPreviewControlBar,
29844_swigt__p_wxColour,
29845_swigt__p_wxToolBar,
29846_swigt__p_wxPageSetupDialogData,
29847_swigt__p_wxPrintDialogData,
298480
29849};
29850
29851
29852/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29853
29854static swig_const_info swig_const_table[] = {
c32bde28 29855{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
29856
29857#ifdef __cplusplus
29858}
29859#endif
29860
093d3ff1
RD
29861
29862#ifdef __cplusplus
29863extern "C" {
29864#endif
29865
29866 /* Python-specific SWIG API */
29867#define SWIG_newvarlink() SWIG_Python_newvarlink()
29868#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29869#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29870
29871 /* -----------------------------------------------------------------------------
29872 * global variable support code.
29873 * ----------------------------------------------------------------------------- */
29874
29875 typedef struct swig_globalvar {
29876 char *name; /* Name of global variable */
29877 PyObject *(*get_attr)(); /* Return the current value */
29878 int (*set_attr)(PyObject *); /* Set the value */
29879 struct swig_globalvar *next;
29880 } swig_globalvar;
29881
29882 typedef struct swig_varlinkobject {
29883 PyObject_HEAD
29884 swig_globalvar *vars;
29885 } swig_varlinkobject;
29886
29887 static PyObject *
29888 swig_varlink_repr(swig_varlinkobject *v) {
29889 v = v;
29890 return PyString_FromString("<Swig global variables>");
29891 }
29892
29893 static int
29894 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29895 swig_globalvar *var;
29896 flags = flags;
29897 fprintf(fp,"Swig global variables { ");
29898 for (var = v->vars; var; var=var->next) {
29899 fprintf(fp,"%s", var->name);
29900 if (var->next) fprintf(fp,", ");
29901 }
29902 fprintf(fp," }\n");
29903 return 0;
29904 }
29905
29906 static PyObject *
29907 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29908 swig_globalvar *var = v->vars;
29909 while (var) {
29910 if (strcmp(var->name,n) == 0) {
29911 return (*var->get_attr)();
29912 }
29913 var = var->next;
29914 }
29915 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29916 return NULL;
29917 }
29918
29919 static int
29920 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29921 swig_globalvar *var = v->vars;
29922 while (var) {
29923 if (strcmp(var->name,n) == 0) {
29924 return (*var->set_attr)(p);
29925 }
29926 var = var->next;
29927 }
29928 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29929 return 1;
29930 }
29931
29932 static PyTypeObject varlinktype = {
29933 PyObject_HEAD_INIT(0)
29934 0, /* Number of items in variable part (ob_size) */
29935 (char *)"swigvarlink", /* Type name (tp_name) */
29936 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29937 0, /* Itemsize (tp_itemsize) */
29938 0, /* Deallocator (tp_dealloc) */
29939 (printfunc) swig_varlink_print, /* Print (tp_print) */
29940 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29941 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29942 0, /* tp_compare */
29943 (reprfunc) swig_varlink_repr, /* tp_repr */
29944 0, /* tp_as_number */
29945 0, /* tp_as_sequence */
29946 0, /* tp_as_mapping */
29947 0, /* tp_hash */
29948 0, /* tp_call */
29949 0, /* tp_str */
29950 0, /* tp_getattro */
29951 0, /* tp_setattro */
29952 0, /* tp_as_buffer */
29953 0, /* tp_flags */
29954 0, /* tp_doc */
29955#if PY_VERSION_HEX >= 0x02000000
29956 0, /* tp_traverse */
29957 0, /* tp_clear */
29958#endif
29959#if PY_VERSION_HEX >= 0x02010000
29960 0, /* tp_richcompare */
29961 0, /* tp_weaklistoffset */
29962#endif
29963#if PY_VERSION_HEX >= 0x02020000
29964 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29965#endif
29966#if PY_VERSION_HEX >= 0x02030000
29967 0, /* tp_del */
29968#endif
29969#ifdef COUNT_ALLOCS
29970 0,0,0,0 /* tp_alloc -> tp_next */
29971#endif
29972 };
29973
29974 /* Create a variable linking object for use later */
29975 static PyObject *
29976 SWIG_Python_newvarlink(void) {
29977 swig_varlinkobject *result = 0;
29978 result = PyMem_NEW(swig_varlinkobject,1);
29979 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29980 result->ob_type = &varlinktype;
29981 result->vars = 0;
29982 result->ob_refcnt = 0;
29983 Py_XINCREF((PyObject *) result);
29984 return ((PyObject*) result);
29985 }
29986
29987 static void
29988 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29989 swig_varlinkobject *v;
29990 swig_globalvar *gv;
29991 v= (swig_varlinkobject *) p;
29992 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29993 gv->name = (char *) malloc(strlen(name)+1);
29994 strcpy(gv->name,name);
29995 gv->get_attr = get_attr;
29996 gv->set_attr = set_attr;
29997 gv->next = v->vars;
29998 v->vars = gv;
29999 }
30000
30001 /* -----------------------------------------------------------------------------
30002 * constants/methods manipulation
30003 * ----------------------------------------------------------------------------- */
30004
30005 /* Install Constants */
30006 static void
30007 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
30008 PyObject *obj = 0;
30009 size_t i;
30010 for (i = 0; constants[i].type; i++) {
30011 switch(constants[i].type) {
30012 case SWIG_PY_INT:
30013 obj = PyInt_FromLong(constants[i].lvalue);
30014 break;
30015 case SWIG_PY_FLOAT:
30016 obj = PyFloat_FromDouble(constants[i].dvalue);
30017 break;
30018 case SWIG_PY_STRING:
30019 if (constants[i].pvalue) {
30020 obj = PyString_FromString((char *) constants[i].pvalue);
30021 } else {
30022 Py_INCREF(Py_None);
30023 obj = Py_None;
30024 }
30025 break;
30026 case SWIG_PY_POINTER:
30027 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
30028 break;
30029 case SWIG_PY_BINARY:
30030 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
30031 break;
30032 default:
30033 obj = 0;
30034 break;
30035 }
30036 if (obj) {
30037 PyDict_SetItemString(d,constants[i].name,obj);
30038 Py_DECREF(obj);
30039 }
30040 }
30041 }
30042
30043 /* -----------------------------------------------------------------------------*/
30044 /* Fix SwigMethods to carry the callback ptrs when needed */
30045 /* -----------------------------------------------------------------------------*/
30046
30047 static void
30048 SWIG_Python_FixMethods(PyMethodDef *methods,
30049 swig_const_info *const_table,
30050 swig_type_info **types,
30051 swig_type_info **types_initial) {
30052 size_t i;
30053 for (i = 0; methods[i].ml_name; ++i) {
30054 char *c = methods[i].ml_doc;
30055 if (c && (c = strstr(c, "swig_ptr: "))) {
30056 int j;
30057 swig_const_info *ci = 0;
30058 char *name = c + 10;
30059 for (j = 0; const_table[j].type; j++) {
30060 if (strncmp(const_table[j].name, name,
30061 strlen(const_table[j].name)) == 0) {
30062 ci = &(const_table[j]);
30063 break;
30064 }
30065 }
30066 if (ci) {
30067 size_t shift = (ci->ptype) - types;
30068 swig_type_info *ty = types_initial[shift];
30069 size_t ldoc = (c - methods[i].ml_doc);
30070 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
30071 char *ndoc = (char*)malloc(ldoc + lptr + 10);
30072 char *buff = ndoc;
30073 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
30074 strncpy(buff, methods[i].ml_doc, ldoc);
30075 buff += ldoc;
30076 strncpy(buff, "swig_ptr: ", 10);
30077 buff += 10;
30078 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
30079 methods[i].ml_doc = ndoc;
30080 }
30081 }
30082 }
30083 }
30084
30085 /* -----------------------------------------------------------------------------*
30086 * Initialize type list
30087 * -----------------------------------------------------------------------------*/
30088
30089#if PY_MAJOR_VERSION < 2
30090 /* PyModule_AddObject function was introduced in Python 2.0. The following function
30091 is copied out of Python/modsupport.c in python version 2.3.4 */
30092 static int
30093 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
30094 {
30095 PyObject *dict;
30096 if (!PyModule_Check(m)) {
30097 PyErr_SetString(PyExc_TypeError,
30098 "PyModule_AddObject() needs module as first arg");
30099 return -1;
30100 }
30101 if (!o) {
30102 PyErr_SetString(PyExc_TypeError,
30103 "PyModule_AddObject() needs non-NULL value");
30104 return -1;
30105 }
30106
30107 dict = PyModule_GetDict(m);
30108 if (dict == NULL) {
30109 /* Internal error -- modules must have a dict! */
30110 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
30111 PyModule_GetName(m));
30112 return -1;
30113 }
30114 if (PyDict_SetItemString(dict, name, o))
30115 return -1;
30116 Py_DECREF(o);
30117 return 0;
30118 }
30119#endif
30120
30121 static swig_type_info **
30122 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
30123 static PyMethodDef swig_empty_runtime_method_table[] = {
30124 {
30125 NULL, NULL, 0, NULL
30126 }
30127 };/* Sentinel */
30128
30129 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
30130 swig_empty_runtime_method_table);
30131 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
30132 if (pointer && module) {
30133 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
30134 }
30135 return type_list_handle;
30136 }
30137
30138 static swig_type_info **
30139 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
30140 swig_type_info **type_pointer;
30141
30142 /* first check if module already created */
30143 type_pointer = SWIG_Python_GetTypeListHandle();
30144 if (type_pointer) {
30145 return type_pointer;
30146 } else {
30147 /* create a new module and variable */
30148 return SWIG_Python_SetTypeListHandle(type_list_handle);
30149 }
30150 }
30151
30152#ifdef __cplusplus
30153}
30154#endif
30155
30156/* -----------------------------------------------------------------------------*
30157 * Partial Init method
30158 * -----------------------------------------------------------------------------*/
30159
30160#ifdef SWIG_LINK_RUNTIME
30161#ifdef __cplusplus
30162extern "C"
30163#endif
30164SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
30165#endif
30166
d55e5bfc
RD
30167#ifdef __cplusplus
30168extern "C"
30169#endif
30170SWIGEXPORT(void) SWIG_init(void) {
30171 static PyObject *SWIG_globals = 0;
30172 static int typeinit = 0;
30173 PyObject *m, *d;
30174 int i;
30175 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
30176
30177 /* Fix SwigMethods to carry the callback ptrs when needed */
30178 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
30179
d55e5bfc
RD
30180 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30181 d = PyModule_GetDict(m);
30182
30183 if (!typeinit) {
093d3ff1
RD
30184#ifdef SWIG_LINK_RUNTIME
30185 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
30186#else
30187# ifndef SWIG_STATIC_RUNTIME
30188 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
30189# endif
30190#endif
d55e5bfc
RD
30191 for (i = 0; swig_types_initial[i]; i++) {
30192 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
30193 }
30194 typeinit = 1;
30195 }
093d3ff1
RD
30196 SWIG_InstallConstants(d,swig_const_table);
30197
30198 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30199 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30200 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30201 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30202 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30203 {
30204 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
30205 }
30206 {
30207 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
30208 }
30209 {
30210 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
30211 }
30212 {
30213 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
30214 }
30215 {
30216 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
30217 }
30218 {
30219 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
30220 }
30221 {
30222 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
30223 }
30224 {
30225 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
30226 }
30227 {
30228 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
30229 }
30230 {
30231 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
30232 }
30233 {
30234 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
30235 }
30236 {
30237 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
30238 }
30239 {
30240 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
30241 }
30242 {
30243 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
30244 }
30245 {
30246 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
30247 }
30248 {
30249 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
30250 }
30251 {
30252 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
30253 }
30254 {
30255 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
30256 }
30257 {
30258 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
30259 }
30260 {
30261 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
30262 }
30263 {
30264 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
30265 }
30266 {
30267 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
30268 }
6932ae68
RD
30269 {
30270 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL)));
30271 }
30272 {
30273 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL)));
30274 }
093d3ff1
RD
30275 {
30276 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
30277 }
30278 {
30279 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
30280 }
30281 {
30282 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
30283 }
30284 {
30285 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
30286 }
30287 {
30288 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
30289 }
30290 {
30291 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
30292 }
30293 {
30294 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
30295 }
30296 {
30297 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
30298 }
30299 {
30300 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
30301 }
30302 {
30303 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
30304 }
30305 {
30306 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
30307 }
30308 {
30309 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
30310 }
30311 {
30312 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
30313 }
30314 {
30315 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
30316 }
30317 {
30318 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
30319 }
30320 {
30321 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
30322 }
30323 {
30324 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
30325 }
30326 {
30327 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
30328 }
30329 {
30330 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
30331 }
30332 {
30333 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
30334 }
30335 {
30336 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
30337 }
d55e5bfc 30338 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
093d3ff1
RD
30339 {
30340 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
30341 }
30342 {
30343 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
30344 }
30345 {
30346 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
30347 }
30348 {
30349 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
30350 }
30351 {
30352 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
30353 }
30354 {
30355 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
30356 }
30357 {
30358 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
30359 }
30360 {
30361 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
30362 }
30363 {
30364 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
30365 }
30366 {
30367 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
30368 }
30369 {
30370 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
30371 }
30372 {
30373 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
30374 }
30375 {
30376 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
30377 }
30378 {
30379 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
30380 }
d55e5bfc
RD
30381 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30382 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30383 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30384 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30385 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30386 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
093d3ff1
RD
30387 {
30388 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
30389 }
30390 {
30391 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
30392 }
30393 {
30394 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
30395 }
30396 {
30397 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
30398 }
30399 {
30400 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
30401 }
30402 {
30403 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
30404 }
30405 {
30406 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
30407 }
30408 {
30409 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
30410 }
30411 {
30412 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
30413 }
30414 {
30415 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
30416 }
30417 {
30418 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
30419 }
30420 {
30421 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
30422 }
30423 {
30424 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
30425 }
30426 {
30427 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
30428 }
30429 {
30430 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
30431 }
d55e5bfc 30432 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
093d3ff1
RD
30433 {
30434 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
30435 }
30436 {
30437 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
30438 }
30439 {
30440 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
30441 }
30442 {
30443 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
30444 }
30445 {
30446 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
30447 }
30448 {
30449 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
30450 }
30451 {
30452 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
30453 }
30454 {
30455 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
30456 }
30457 {
30458 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
30459 }
30460 {
30461 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
30462 }
30463 {
30464 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
30465 }
d55e5bfc
RD
30466 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30467 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30468 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30469
30470 // Map renamed classes back to their common name for OOR
30471 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30472 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30473 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30474
30475 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30476 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30477 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30478 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30479 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30480 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30481 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30482 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30483 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30484 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30485 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30486 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30487 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
093d3ff1
RD
30488 {
30489 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30490 }
30491 {
30492 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30493 }
c1cb24a4 30494 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
093d3ff1
RD
30495 {
30496 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30497 }
30498 {
30499 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30500 }
30501 {
30502 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30503 }
30504 {
30505 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30506 }
30507 {
30508 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30509 }
30510 {
30511 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30512 }
30513 {
30514 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30515 }
d55e5bfc
RD
30516 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30517 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30518 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30519 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30520 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
093d3ff1
RD
30521 {
30522 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30523 }
30524 {
30525 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30526 }
30527 {
30528 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30529 }
30530 {
30531 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30532 }
30533 {
30534 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30535 }
30536 {
30537 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30538 }
24d7cbea
RD
30539 {
30540 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30541 }
093d3ff1
RD
30542 {
30543 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30544 }
30545 {
30546 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30547 }
d55e5bfc
RD
30548 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30549 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
093d3ff1
RD
30550 {
30551 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30552 }
30553 {
30554 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30555 }
30556 {
30557 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30558 }
30559 {
30560 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30561 }
30562 {
30563 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30564 }
30565 {
30566 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30567 }
30568 {
30569 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30570 }
30571 {
30572 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30573 }
30574 {
30575 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30576 }
30577 {
30578 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30579 }
30580 {
30581 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30582 }
30583 {
30584 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30585 }
30586 {
30587 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30588 }
30589 {
30590 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30591 }
30592 {
30593 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30594 }
30595 {
30596 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30597 }
30598 {
30599 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30600 }
30601 {
30602 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30603 }
30604 {
30605 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30606 }
30607 {
30608 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30609 }
30610 {
30611 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30612 }
30613 {
30614 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30615 }
30616 {
30617 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30618 }
30619 {
30620 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30621 }
30622 {
30623 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30624 }
30625 {
30626 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30627 }
30628 {
30629 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30630 }
30631 {
30632 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30633 }
30634 {
30635 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30636 }
30637 {
30638 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30639 }
30640 {
30641 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30642 }
30643 {
30644 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30645 }
30646 {
30647 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30648 }
30649 {
30650 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30651 }
30652 {
30653 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30654 }
30655 {
30656 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30657 }
30658 {
30659 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30660 }
30661 {
30662 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30663 }
30664 {
30665 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30666 }
d55e5bfc
RD
30667
30668 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30669
30670}
30671