]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
Tried to restore wxPopupTransientWindow functionality
[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 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048}
d55e5bfc 1049
093d3ff1
RD
1050SWIGRUNTIMEINLINE void
1051SWIG_Python_NullRef(const char *type)
1052{
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058}
d55e5bfc 1059
093d3ff1
RD
1060SWIGRUNTIME int
1061SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062{
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083}
d55e5bfc 1084
093d3ff1
RD
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
d55e5bfc 1087{
093d3ff1
RD
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096}
d55e5bfc 1097
d55e5bfc 1098
093d3ff1
RD
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
d55e5bfc 1102
093d3ff1
RD
1103/* Convert a pointer value */
1104SWIGRUNTIME int
1105SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
d55e5bfc 1118
093d3ff1
RD
1119#ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136#else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154#endif
d55e5bfc 1155
093d3ff1 1156type_check:
d55e5bfc 1157
093d3ff1
RD
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
d55e5bfc 1165
093d3ff1
RD
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
d55e5bfc 1170
093d3ff1
RD
1171type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194}
d55e5bfc 1195
093d3ff1
RD
1196/* Convert a pointer value, signal an exception on a type mismatch */
1197SWIGRUNTIME void *
1198SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208}
d55e5bfc 1209
093d3ff1
RD
1210/* Convert a packed value value */
1211SWIGRUNTIME int
1212SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
d55e5bfc 1215
093d3ff1
RD
1216#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218#else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223#endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
d55e5bfc 1230
093d3ff1
RD
1231type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241}
1242
1243/* Create a new array object */
1244SWIGRUNTIME PyObject *
1245SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251#ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253#else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259#endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275}
1276
1277SWIGRUNTIME PyObject *
1278SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286#else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292#endif
1293 return robj;
1294}
1295
1296/* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300#ifdef SWIG_LINK_RUNTIME
1301void *SWIG_ReturnGlobalTypeList(void *);
1302#endif
1303
1304SWIGRUNTIME swig_type_info **
1305SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309#ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311#else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319#endif
1320 return (swig_type_info **) type_pointer;
1321}
1322
1323/*
1324 Search for a swig_type_info structure
1325 */
1326SWIGRUNTIMEINLINE swig_type_info *
1327SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330}
1331
1332#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334#ifdef __cplusplus
1335}
1336#endif
1337
1338
1339/* -------- TYPES TABLE (BEGIN) -------- */
1340
1341#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1342#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1343#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1344#define SWIGTYPE_p_wxPyPanel swig_types[3]
1345#define SWIGTYPE_p_wxMenu swig_types[4]
1346#define SWIGTYPE_p_wxFontData swig_types[5]
1347#define SWIGTYPE_p_wxEvent swig_types[6]
1348#define SWIGTYPE_p_wxPrintData swig_types[7]
1349#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1350#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1351#define SWIGTYPE_p_wxIconBundle swig_types[10]
1352#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1353#define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1354#define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1355#define SWIGTYPE_p_wxFont swig_types[14]
1356#define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1357#define SWIGTYPE_p_wxRegion swig_types[16]
1358#define SWIGTYPE_ptrdiff_t swig_types[17]
1359#define SWIGTYPE_std__ptrdiff_t swig_types[18]
1360#define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1361#define SWIGTYPE_p_int swig_types[20]
1362#define SWIGTYPE_p_wxSize swig_types[21]
1363#define SWIGTYPE_p_wxDC swig_types[22]
1364#define SWIGTYPE_p_wxIcon swig_types[23]
1365#define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1366#define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1367#define SWIGTYPE_p_wxColourData swig_types[26]
1368#define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1369#define SWIGTYPE_p_wxPyWindow swig_types[28]
1370#define SWIGTYPE_p_form_ops_t swig_types[29]
1371#define SWIGTYPE_p_wxSplashScreen swig_types[30]
1372#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1373#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1374#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1375#define SWIGTYPE_p_wxFileDialog swig_types[34]
1376#define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1377#define SWIGTYPE_p_wxMessageDialog swig_types[36]
1378#define SWIGTYPE_p_wxProgressDialog swig_types[37]
1379#define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1380#define SWIGTYPE_p_wxPrinter swig_types[39]
1381#define SWIGTYPE_p_wxArrayInt swig_types[40]
1382#define SWIGTYPE_p_wxDuplexMode swig_types[41]
1383#define SWIGTYPE_p_wxEvtHandler swig_types[42]
1384#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1385#define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1386#define SWIGTYPE_p_wxPyVListBox swig_types[45]
1387#define SWIGTYPE_p_wxRect swig_types[46]
62d32a5f
RD
1388#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1389#define SWIGTYPE_p_char swig_types[48]
1390#define SWIGTYPE_p_wxMiniFrame swig_types[49]
1391#define SWIGTYPE_p_wxFrame swig_types[50]
1392#define SWIGTYPE_p_wxPyPrintout swig_types[51]
1393#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1394#define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1395#define SWIGTYPE_p_wxPaperSize swig_types[54]
1396#define SWIGTYPE_p_wxStatusBar swig_types[55]
1397#define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1398#define SWIGTYPE_p_wxPoint swig_types[57]
1399#define SWIGTYPE_p_wxObject swig_types[58]
1400#define SWIGTYPE_p_unsigned_long swig_types[59]
1401#define SWIGTYPE_p_wxTipWindow swig_types[60]
1402#define SWIGTYPE_p_wxSashLayoutWindow swig_types[61]
1403#define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1404#define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1405#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1406#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[65]
1407#define SWIGTYPE_p_wxPopupWindow swig_types[66]
1408#define SWIGTYPE_p_wxSashWindow swig_types[67]
1409#define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1410#define SWIGTYPE_p_wxWindow swig_types[69]
1411#define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1412#define SWIGTYPE_p_wxMenuBar swig_types[71]
1413#define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1414#define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1415#define SWIGTYPE_p_wxPrintPreview swig_types[74]
1416#define SWIGTYPE_p_wxSashEvent swig_types[75]
1417#define SWIGTYPE_p_wxString swig_types[76]
1418#define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1419#define SWIGTYPE_p_wxDirDialog swig_types[78]
1420#define SWIGTYPE_p_wxColourDialog swig_types[79]
1421#define SWIGTYPE_p_wxDialog swig_types[80]
1422#define SWIGTYPE_p_wxPanel swig_types[81]
1423#define SWIGTYPE_p_wxFontDialog swig_types[82]
1424#define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1425#define SWIGTYPE_p_wxPrintDialog swig_types[84]
1426#define SWIGTYPE_p_wxFileSystem swig_types[85]
1427#define SWIGTYPE_p_wxBitmap swig_types[86]
1428#define SWIGTYPE_unsigned_int swig_types[87]
1429#define SWIGTYPE_p_unsigned_int swig_types[88]
1430#define SWIGTYPE_p_unsigned_char swig_types[89]
1431#define SWIGTYPE_p_wxCommandEvent swig_types[90]
1432#define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1433#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1434#define SWIGTYPE_p_wxColour swig_types[93]
1435#define SWIGTYPE_p_wxToolBar swig_types[94]
1436#define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1437#define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1438static swig_type_info *swig_types[98];
093d3ff1
RD
1439
1440/* -------- TYPES TABLE (END) -------- */
1441
1442
1443/*-----------------------------------------------
1444 @(target):= _windows_.so
1445 ------------------------------------------------*/
1446#define SWIG_init init_windows_
1447
1448#define SWIG_name "_windows_"
1449
1450#include "wx/wxPython/wxPython.h"
1451#include "wx/wxPython/pyclasses.h"
1452
1453
1454 static const wxString wxPyEmptyString(wxEmptyString);
1455 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1456
1457
1458
1459#include <limits.h>
1460
1461
1462SWIGINTERN int
1463 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1464 const char *errmsg)
1465{
1466 if (value < min_value) {
1467 if (errmsg) {
1468 PyErr_Format(PyExc_OverflowError,
1469 "value %ld is less than '%s' minimum %ld",
1470 value, errmsg, min_value);
1471 }
1472 return 0;
1473 } else if (value > max_value) {
1474 if (errmsg) {
1475 PyErr_Format(PyExc_OverflowError,
1476 "value %ld is greater than '%s' maximum %ld",
1477 value, errmsg, max_value);
1478 }
1479 return 0;
1480 }
1481 return 1;
1482}
1483
1484
1485SWIGINTERN int
1486SWIG_AsVal_long(PyObject* obj, long* val)
1487{
1488 if (PyNumber_Check(obj)) {
1489 if (val) *val = PyInt_AsLong(obj);
1490 return 1;
1491 }
1492 else {
1493 SWIG_type_error("number", obj);
1494 }
1495 return 0;
1496}
1497
1498
1499#if INT_MAX != LONG_MAX
1500SWIGINTERN int
1501 SWIG_AsVal_int(PyObject *obj, int *val)
1502{
1503 const char* errmsg = val ? "int" : (char*)0;
1504 long v;
1505 if (SWIG_AsVal_long(obj, &v)) {
1506 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1507 if (val) *val = (int)(v);
1508 return 1;
1509 } else {
1510 return 0;
1511 }
1512 } else {
1513 PyErr_Clear();
1514 }
1515 if (val) {
1516 SWIG_type_error(errmsg, obj);
1517 }
1518 return 0;
1519}
1520#else
1521SWIGINTERNSHORT int
1522 SWIG_AsVal_int(PyObject *obj, int *val)
1523{
1524 return SWIG_AsVal_long(obj,(long*)val);
1525}
1526#endif
1527
1528
1529SWIGINTERNSHORT int
1530SWIG_As_int(PyObject* obj)
1531{
1532 int v;
1533 if (!SWIG_AsVal_int(obj, &v)) {
1534 /*
1535 this is needed to make valgrind/purify happier.
1536 */
1537 memset((void*)&v, 0, sizeof(int));
1538 }
1539 return v;
1540}
1541
1542
1543SWIGINTERNSHORT long
1544SWIG_As_long(PyObject* obj)
1545{
1546 long v;
1547 if (!SWIG_AsVal_long(obj, &v)) {
1548 /*
1549 this is needed to make valgrind/purify happier.
1550 */
1551 memset((void*)&v, 0, sizeof(long));
1552 }
1553 return v;
1554}
1555
1556
1557SWIGINTERNSHORT int
1558SWIG_Check_int(PyObject* obj)
1559{
1560 return SWIG_AsVal_int(obj, (int*)0);
1561}
1562
1563
1564SWIGINTERNSHORT int
1565SWIG_Check_long(PyObject* obj)
1566{
1567 return SWIG_AsVal_long(obj, (long*)0);
1568}
1569
1570
1571SWIGINTERN int
1572 SWIG_AsVal_bool(PyObject *obj, bool *val)
1573{
1574 if (obj == Py_True) {
1575 if (val) *val = true;
1576 return 1;
1577 }
1578 if (obj == Py_False) {
1579 if (val) *val = false;
1580 return 1;
1581 }
1582 int res = 0;
1583 if (SWIG_AsVal_int(obj, &res)) {
1584 if (val) *val = res ? true : false;
1585 return 1;
1586 } else {
1587 PyErr_Clear();
1588 }
1589 if (val) {
1590 SWIG_type_error("bool", obj);
1591 }
1592 return 0;
1593}
1594
1595
1596SWIGINTERNSHORT bool
1597SWIG_As_bool(PyObject* obj)
1598{
1599 bool v;
1600 if (!SWIG_AsVal_bool(obj, &v)) {
1601 /*
1602 this is needed to make valgrind/purify happier.
1603 */
1604 memset((void*)&v, 0, sizeof(bool));
1605 }
1606 return v;
1607}
1608
1609
1610SWIGINTERNSHORT int
1611SWIG_Check_bool(PyObject* obj)
1612{
1613 return SWIG_AsVal_bool(obj, (bool*)0);
1614}
1615
1616
1617 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1618#define SWIG_From_int PyInt_FromLong
1619/*@@*/
1620
1621
1622 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1623 PyObject* o2;
1624 PyObject* o3;
1625
1626 if (!target) {
1627 target = o;
1628 } else if (target == Py_None) {
1629 Py_DECREF(Py_None);
1630 target = o;
1631 } else {
1632 if (!PyTuple_Check(target)) {
1633 o2 = target;
1634 target = PyTuple_New(1);
1635 PyTuple_SetItem(target, 0, o2);
1636 }
1637 o3 = PyTuple_New(1);
1638 PyTuple_SetItem(o3, 0, o);
1639
1640 o2 = target;
1641 target = PySequence_Concat(o2, o3);
1642 Py_DECREF(o2);
1643 Py_DECREF(o3);
1644 }
1645 return target;
1646 }
1647
1648
1649
1650SWIGINTERN int
1651SWIG_AsVal_double(PyObject *obj, double* val)
1652{
1653 if (PyNumber_Check(obj)) {
1654 if (val) *val = PyFloat_AsDouble(obj);
1655 return 1;
1656 }
1657 else {
1658 SWIG_type_error("number", obj);
1659 }
1660 return 0;
1661}
1662
1663
1664SWIGINTERNSHORT double
1665SWIG_As_double(PyObject* obj)
1666{
1667 double v;
1668 if (!SWIG_AsVal_double(obj, &v)) {
1669 /*
1670 this is needed to make valgrind/purify happier.
1671 */
1672 memset((void*)&v, 0, sizeof(double));
1673 }
1674 return v;
1675}
1676
1677
1678SWIGINTERNSHORT int
1679SWIG_Check_double(PyObject* obj)
1680{
1681 return SWIG_AsVal_double(obj, (double*)0);
1682}
1683
1684
1685 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1686#define SWIG_From_double PyFloat_FromDouble
1687/*@@*/
1688
1689 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1690 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1691 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1692 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1693static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1694static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1695
1696 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1697#define SWIG_From_long PyInt_FromLong
1698/*@@*/
1699
1700
1701
1702static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1703 wxRect r;
1704 self->GetFieldRect(i, r);
1705 return r;
1706 }
1707 static const wxString wxPySplitterNameStr(wxT("splitter"));
1708 static const wxString wxPySashNameStr(wxT("sashWindow"));
1709 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1710
1711#include <wx/popupwin.h>
1712
1713
1714class wxPyPopupTransientWindow : public wxPopupTransientWindow
1715{
1716public:
1717 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1718 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1719 : wxPopupTransientWindow(parent, style) {}
1720
1721 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1722 DEC_PYCALLBACK__(OnDismiss);
1723 DEC_PYCALLBACK_BOOL_(CanDismiss);
1724 PYPRIVATE;
1725};
1726
1727
1728IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1729IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1730IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1731
1732
1733#include <wx/tipwin.h>
1734
1735static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1736 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1737 }
1738
1739#include <wx/tipwin.h>
1740
1741
1742#include <wx/vscroll.h>
1743
1744
1745class wxPyVScrolledWindow : public wxVScrolledWindow
1746{
1747 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
1748public:
1749 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1750
1751 wxPyVScrolledWindow(wxWindow *parent,
1752 wxWindowID id = wxID_ANY,
1753 const wxPoint& pos = wxDefaultPosition,
1754 const wxSize& size = wxDefaultSize,
1755 long style = 0,
1756 const wxString& name = wxPyPanelNameStr)
1757 : wxVScrolledWindow(parent, id, pos, size, style, name)
1758 {}
1759
1760 // Overridable virtuals
1761
1762 // this function must be overridden in the derived class and it should
1763 // return the height of the given line in pixels
1764 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1765
1766
1767 // this function doesn't have to be overridden but it may be useful to do
1768 // it if calculating the lines heights is a relatively expensive operation
1769 // as it gives the user code a possibility to calculate several of them at
1770 // once
1771 //
1772 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1773 // shouldn't rely on the latter being called for all lines in the interval
1774 // specified here. It is also possible that OnGetLineHeight() will be
1775 // called for the lines outside of this interval, so this is really just a
1776 // hint, not a promise.
1777 //
1778 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1779 // usual
1780 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1781
1782
1783 // when the number of lines changes, we try to estimate the total height
1784 // of all lines which is a rather expensive operation in terms of lines
1785 // access, so if the user code may estimate the average height
1786 // better/faster than we do, it should override this function to implement
1787 // its own logic
1788 //
1789 // this function should return the best guess for the total height it may
1790 // make
1791 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1792
1793
1794 // Also expose some other interesting protected methods
1795
1796
1797 // find the index of the line we need to show at the top of the window such
1798 // that the last (fully or partially) visible line is the given one
1799 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1800 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1801
1802 // get the total height of the lines between lineMin (inclusive) and
1803 // lineMax (exclusive)
1804 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1805 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d55e5bfc
RD
1806
1807
1808 PYPRIVATE;
1809};
1810
1811IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1812
1813IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1814IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1815IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1816
1817
093d3ff1 1818SWIGINTERN int
c32bde28 1819SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1820{
c32bde28
RD
1821 long v = 0;
1822 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1823 SWIG_type_error("unsigned number", obj);
d55e5bfc 1824 }
c32bde28
RD
1825 else if (val)
1826 *val = (unsigned long)v;
1827 return 1;
d55e5bfc
RD
1828}
1829
1830
093d3ff1 1831SWIGINTERNSHORT unsigned long
c32bde28 1832SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1833{
c32bde28
RD
1834 unsigned long v;
1835 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1836 /*
093d3ff1 1837 this is needed to make valgrind/purify happier.
c32bde28
RD
1838 */
1839 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1840 }
c32bde28
RD
1841 return v;
1842}
1843
1844
093d3ff1 1845SWIGINTERNSHORT int
c32bde28
RD
1846SWIG_Check_unsigned_SS_long(PyObject* obj)
1847{
1848 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1849}
1850
1851
093d3ff1 1852SWIGINTERNSHORT PyObject*
c32bde28 1853 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1854{
1855 return (value > LONG_MAX) ?
1856 PyLong_FromUnsignedLong(value)
093d3ff1 1857 : PyInt_FromLong((long)(value));
d55e5bfc
RD
1858}
1859
1860
1861#include <wx/vlbox.h>
1862
1863 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
1864
1865class wxPyVListBox : public wxVListBox
1866{
1867 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
1868public:
1869 wxPyVListBox() : wxVListBox() {}
1870
1871 wxPyVListBox(wxWindow *parent,
1872 wxWindowID id = wxID_ANY,
1873 const wxPoint& pos = wxDefaultPosition,
1874 const wxSize& size = wxDefaultSize,
1875 long style = 0,
1876 const wxString& name = wxPyVListBoxNameStr)
1877 : wxVListBox(parent, id, pos, size, style, name)
1878 {}
1879
1880 // Overridable virtuals
1881
1882 // the derived class must implement this function to actually draw the item
1883 // with the given index on the provided DC
1884 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1885 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
1886
1887
1888 // the derived class must implement this method to return the height of the
1889 // specified item
1890 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
1892
1893
1894 // this method may be used to draw separators between the lines; note that
1895 // the rectangle may be modified, typically to deflate it a bit before
1896 // passing to OnDrawItem()
1897 //
1898 // the base class version doesn't do anything
1899 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1900 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
1901
1902
1903 // this method is used to draw the items background and, maybe, a border
1904 // around it
1905 //
1906 // the base class version implements a reasonable default behaviour which
1907 // consists in drawing the selected item with the standard background
1908 // colour and drawing a border around the item if it is either selected or
1909 // current
1910 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1911 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
1912
1913
1914 PYPRIVATE;
1915};
1916
1917IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
1918
1919IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
1920IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1921IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
1922IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
1923
1924
093d3ff1 1925static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
1926 unsigned long cookie = 0;
1927 int selected = self->GetFirstSelected(cookie);
1928 bool blocked = wxPyBeginBlockThreads();
1929 PyObject* tup = PyTuple_New(2);
1930 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1931 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1932 wxPyEndBlockThreads(blocked);
1933 return tup;
1934 }
093d3ff1 1935static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b
RD
1936 int selected = self->GetNextSelected(cookie);
1937 bool blocked = wxPyBeginBlockThreads();
1938 PyObject* tup = PyTuple_New(2);
1939 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1940 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1941 wxPyEndBlockThreads(blocked);
1942 return tup;
1943 }
d55e5bfc
RD
1944
1945#include <wx/htmllbox.h>
1946
1947
1948class wxPyHtmlListBox : public wxHtmlListBox
1949{
1950 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
1951public:
1952 wxPyHtmlListBox() : wxHtmlListBox() {}
1953
1954 wxPyHtmlListBox(wxWindow *parent,
1955 wxWindowID id = wxID_ANY,
1956 const wxPoint& pos = wxDefaultPosition,
1957 const wxSize& size = wxDefaultSize,
1958 long style = 0,
1959 const wxString& name = wxPyVListBoxNameStr)
1960 : wxHtmlListBox(parent, id, pos, size, style, name)
1961 {}
1962
1963 // Overridable virtuals
1964
1965 // this method must be implemented in the derived class and should return
1966 // the body (i.e. without <html>) of the HTML for the given item
1967 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
1968
1969 // this function may be overridden to decorate HTML returned by OnGetItem()
1970 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
1971
1972// TODO:
1973// // this method allows to customize the selection appearance: it may be used
1974// // to specify the colour of the text which normally has the given colour
1975// // colFg when it is inside the selection
1976// //
1977// // by default, the original colour is not used at all and all text has the
1978// // same (default for this system) colour inside selection
1979// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1980
1981// // this is the same as GetSelectedTextColour() but allows to customize the
1982// // background colour -- this is even more rarely used as you can change it
1983// // globally using SetSelectionBackground()
1984// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1985
1986
1987 PYPRIVATE;
1988};
1989
1990
1991IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
1992
1993IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
1994IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1995
1996
1997
1998
1999
ae8162c8
RD
2000#ifndef wxHAS_TASK_BAR_ICON
2001// implement dummy classes for platforms that don't have it
d55e5bfc
RD
2002
2003class wxTaskBarIcon : public wxEvtHandler
2004{
2005public:
2006 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2007};
09c21d3b 2008
d55e5bfc
RD
2009
2010class wxTaskBarIconEvent : public wxEvent
2011{
2012public:
2013 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2014 { wxPyRaiseNotImplemented(); }
2015 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
2016 bool IsOk() const { return false; }
2017 bool IsIconInstalled() const { return false; }
2018 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2019 bool RemoveIcon() { return false; }
2020 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
2021};
2022
2023enum {
2024 wxEVT_TASKBAR_MOVE = 0,
2025 wxEVT_TASKBAR_LEFT_DOWN = 0,
2026 wxEVT_TASKBAR_LEFT_UP = 0,
2027 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2028 wxEVT_TASKBAR_RIGHT_UP = 0,
2029 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2030 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2031};
09c21d3b
RD
2032
2033
2034#else
5e483524
RD
2035// Otherwise make a class that can virtualize CreatePopupMenu
2036class wxPyTaskBarIcon : public wxTaskBarIcon
2037{
2038 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
2039public:
2040 wxPyTaskBarIcon() : wxTaskBarIcon()
2041 {}
2042
2043 wxMenu* CreatePopupMenu() {
2044 wxMenu *rval = NULL;
2045 bool found;
2046 bool blocked = wxPyBeginBlockThreads();
2047 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2048 PyObject* ro;
2049 wxMenu* ptr;
2050 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2051 if (ro) {
2052 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2053 rval = ptr;
2054 Py_DECREF(ro);
2055 }
2056 }
2057 wxPyEndBlockThreads(blocked);
2058 if (! found)
2059 rval = wxTaskBarIcon::CreatePopupMenu();
2060 return rval;
2061 }
2062
2063 PYPRIVATE;
2064};
2065
2066IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 2067
d55e5bfc
RD
2068#endif
2069
093d3ff1 2070static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
d55e5bfc 2071 self->RemoveIcon();
5e483524 2072 delete self;
d55e5bfc
RD
2073 }
2074 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2075 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2076 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2077 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2078 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2079 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
093d3ff1 2080static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
2081 wxArrayString arr;
2082 self->GetFilenames(arr);
2083 return wxArrayString2PyList_helper(arr);
2084 }
093d3ff1 2085static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
2086 wxArrayString arr;
2087 self->GetPaths(arr);
2088 return wxArrayString2PyList_helper(arr);
2089 }
093d3ff1 2090static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
2091 return wxArrayInt2PyList_helper(self->GetSelections());
2092 }
093d3ff1 2093static 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
2094 return new wxSingleChoiceDialog(parent, message, caption,
2095 choices, choices_array, NULL, style, pos);
2096 }
c1cb24a4 2097 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc
RD
2098
2099#include <wx/mdi.h>
2100
2101 // C++ version of Python aware wxWindow
2102class wxPyWindow : public wxWindow
2103{
2104 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2105public:
2106 wxPyWindow() : wxWindow() {}
2107 wxPyWindow(wxWindow* parent, const wxWindowID id,
2108 const wxPoint& pos = wxDefaultPosition,
2109 const wxSize& size = wxDefaultSize,
2110 long style = 0,
2111 const wxString& name = wxPyPanelNameStr)
2112 : wxWindow(parent, id, pos, size, style, name) {}
2113
caef1a4d 2114 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc
RD
2115
2116 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2117 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2118 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2119 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2120
2121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2124
2125 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2126 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2127
2128 DEC_PYCALLBACK__(InitDialog);
2129 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2130 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2131 DEC_PYCALLBACK_BOOL_(Validate);
2132
2133 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2134 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2135 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2136
2137 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2138 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2139
caef1a4d 2140 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 2141 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 2142 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2143
51b83b37
RD
2144 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2145
d55e5bfc
RD
2146 PYPRIVATE;
2147};
2148
2149IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2150
2151IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2152IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2153IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2154IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2155
2156IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2157IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2158IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2159
2160IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2161IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2162
2163IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2164IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2165IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2166IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2167
2168IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2169IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2170IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2171
2172IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2173IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2174
caef1a4d 2175IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
d55e5bfc 2176IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
caef1a4d 2177IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
2178
2179IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc
RD
2180
2181 // C++ version of Python aware wxPanel
2182class wxPyPanel : public wxPanel
2183{
2184 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2185public:
2186 wxPyPanel() : wxPanel() {}
2187 wxPyPanel(wxWindow* parent, const wxWindowID id,
2188 const wxPoint& pos = wxDefaultPosition,
2189 const wxSize& size = wxDefaultSize,
2190 long style = 0,
2191 const wxString& name = wxPyPanelNameStr)
2192 : wxPanel(parent, id, pos, size, style, name) {}
2193
caef1a4d
RD
2194 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2195
d55e5bfc
RD
2196
2197 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2198 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2199 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2200 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2201
2202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2203 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2204 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2205
2206 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2207 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2208
2209 DEC_PYCALLBACK__(InitDialog);
2210 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2211 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2212 DEC_PYCALLBACK_BOOL_(Validate);
2213
2214 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2215 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2216 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2217
2218 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2219 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2220
caef1a4d 2221 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 2222 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 2223 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2224
51b83b37
RD
2225 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2226
d55e5bfc
RD
2227 PYPRIVATE;
2228};
2229
2230IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2231
2232IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2233IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2234IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2235IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2236
2237IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2238IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2239IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2240
2241IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2242IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2243
2244IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2245IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2246IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2247IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2248
2249IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2250IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2251IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2252
2253IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2254IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2255
caef1a4d 2256IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
d55e5bfc 2257IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
caef1a4d 2258IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 2259
51b83b37
RD
2260IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2261
d55e5bfc
RD
2262 // C++ version of Python aware wxScrolledWindow
2263class wxPyScrolledWindow : public wxScrolledWindow
2264{
2265 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2266public:
2267 wxPyScrolledWindow() : wxScrolledWindow() {}
2268 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2269 const wxPoint& pos = wxDefaultPosition,
2270 const wxSize& size = wxDefaultSize,
2271 long style = 0,
2272 const wxString& name = wxPyPanelNameStr)
2273 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2274
caef1a4d 2275 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
d55e5bfc
RD
2276
2277 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2278 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2279 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2280 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2281
2282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2285
2286 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2287 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2288
2289 DEC_PYCALLBACK__(InitDialog);
2290 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2291 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2292 DEC_PYCALLBACK_BOOL_(Validate);
2293
2294 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2295 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2296 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2297
2298 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2299 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2300
caef1a4d 2301 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 2302 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 2303 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2304
51b83b37
RD
2305 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2306
d55e5bfc
RD
2307 PYPRIVATE;
2308};
2309
2310IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2311
2312IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2313IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2314IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2315IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2316
2317IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2318IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2319IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2320
2321IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2322IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2323
2324IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2325IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2326IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2327IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2328
2329IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2330IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2331IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2332
2333IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2334IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2335
caef1a4d 2336IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
d55e5bfc 2337IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
caef1a4d
RD
2338IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2339
51b83b37 2340IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc
RD
2341
2342
2343#include "wx/wxPython/printfw.h"
2344
2345
2346 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2347 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2348
2349
c1cb24a4 2350IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
2351
2352// Since this one would be tough and ugly to do with the Macros...
2353void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 2354 bool hadErr = false;
d55e5bfc
RD
2355 bool found;
2356
2357 bool blocked = wxPyBeginBlockThreads();
2358 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2359 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2360 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2361 PyObject* val;
2362
2363 val = PyTuple_GetItem(result, 0);
2364 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 2365 else hadErr = true;
d55e5bfc
RD
2366
2367 val = PyTuple_GetItem(result, 1);
2368 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 2369 else hadErr = true;
d55e5bfc
RD
2370
2371 val = PyTuple_GetItem(result, 2);
2372 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 2373 else hadErr = true;
d55e5bfc
RD
2374
2375 val = PyTuple_GetItem(result, 3);
2376 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 2377 else hadErr = true;
d55e5bfc
RD
2378 }
2379 else
ae8162c8 2380 hadErr = true;
d55e5bfc
RD
2381
2382 if (hadErr) {
2383 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2384 PyErr_Print();
2385 }
2386 Py_DECREF(result);
2387 }
2388 wxPyEndBlockThreads(blocked);
2389 if (! found)
2390 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2391}
2392
2393void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2394 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2395}
2396
2397
2398IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2399IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2400IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2401IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2402IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2403IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2404IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2405
2406
2407
2408
2409
ae8162c8
RD
2410#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2411 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
d55e5bfc
RD
2412 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2413
2414
ae8162c8
RD
2415#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2416 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2417 bool rval=false; \
2418 bool found; \
2419 bool blocked = wxPyBeginBlockThreads(); \
2420 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2421 PyObject* win = wxPyMake_wxObject(a,false); \
2422 PyObject* dc = wxPyMake_wxObject(&b,false); \
2423 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2424 Py_DECREF(win); \
2425 Py_DECREF(dc); \
2426 } \
2427 wxPyEndBlockThreads(blocked); \
2428 if (! found) \
2429 rval = PCLASS::CBNAME(a, b); \
2430 return rval; \
2431 } \
2432 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2433 return PCLASS::CBNAME(a, b); \
d55e5bfc
RD
2434 }
2435
2436
2437
2438
2439class wxPyPrintPreview : public wxPrintPreview
2440{
2441 DECLARE_CLASS(wxPyPrintPreview)
2442public:
2443 wxPyPrintPreview(wxPyPrintout* printout,
2444 wxPyPrintout* printoutForPrinting,
2445 wxPrintDialogData* data=NULL)
2446 : wxPrintPreview(printout, printoutForPrinting, data)
2447 {}
2448 wxPyPrintPreview(wxPyPrintout* printout,
2449 wxPyPrintout* printoutForPrinting,
2450 wxPrintData* data=NULL)
2451 : wxPrintPreview(printout, printoutForPrinting, data)
2452 {}
2453
2454 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2455 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2456 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2457 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2458 DEC_PYCALLBACK_VOID_INT(SetZoom);
2459 DEC_PYCALLBACK_BOOL_BOOL(Print);
2460 DEC_PYCALLBACK_VOID_(DetermineScaling);
2461
2462 PYPRIVATE;
2463};
2464
2465// Stupid renamed classes... Fix this in 2.5...
2466#if defined(__WXMSW__)
2467IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2468#elif defined(__WXMAC__)
2469IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2470#else
2471IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2472#endif
2473
2474IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2475IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2476IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2477IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2478IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2479IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2480IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2481
2482
2483class wxPyPreviewFrame : public wxPreviewFrame
2484{
2485 DECLARE_CLASS(wxPyPreviewFrame);
2486public:
2487 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2488 const wxString& title,
2489 const wxPoint& pos = wxDefaultPosition,
2490 const wxSize& size = wxDefaultSize,
2491 long style = wxDEFAULT_FRAME_STYLE,
2492 const wxString& name = wxPyFrameNameStr)
2493 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2494 {}
2495
2496 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2497 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2498
2499 DEC_PYCALLBACK_VOID_(Initialize);
2500 DEC_PYCALLBACK_VOID_(CreateCanvas);
2501 DEC_PYCALLBACK_VOID_(CreateControlBar);
2502
2503 PYPRIVATE;
2504};
2505
2506IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2507
2508IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2509IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2510IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2511
2512
2513class wxPyPreviewControlBar : public wxPreviewControlBar
2514{
2515 DECLARE_CLASS(wxPyPreviewControlBar);
2516public:
2517 wxPyPreviewControlBar(wxPrintPreview *preview,
2518 long buttons,
2519 wxWindow *parent,
2520 const wxPoint& pos = wxDefaultPosition,
2521 const wxSize& size = wxDefaultSize,
2522 long style = 0,
2523 const wxString& name = wxPyPanelNameStr)
2524 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2525 {}
2526
2527 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2528
2529 DEC_PYCALLBACK_VOID_(CreateButtons);
2530 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2531
2532 PYPRIVATE;
2533};
2534
2535IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2536IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2537IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2538
2539#ifdef __cplusplus
2540extern "C" {
2541#endif
c32bde28 2542static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2543 PyObject *resultobj;
2544 wxWindow *arg1 = (wxWindow *) 0 ;
2545 int arg2 = (int) (int)-1 ;
2546 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2547 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2548 wxSize const &arg4_defvalue = wxDefaultSize ;
2549 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2550 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2551 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2552 wxString *arg6 = (wxString *) &arg6_defvalue ;
2553 wxPanel *result;
2554 wxPoint temp3 ;
2555 wxSize temp4 ;
ae8162c8 2556 bool temp6 = false ;
d55e5bfc
RD
2557 PyObject * obj0 = 0 ;
2558 PyObject * obj1 = 0 ;
2559 PyObject * obj2 = 0 ;
2560 PyObject * obj3 = 0 ;
2561 PyObject * obj4 = 0 ;
2562 PyObject * obj5 = 0 ;
2563 char *kwnames[] = {
2564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2565 };
2566
2567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
2568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2569 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2570 if (obj1) {
093d3ff1
RD
2571 {
2572 arg2 = (int const)(SWIG_As_int(obj1));
2573 if (SWIG_arg_fail(2)) SWIG_fail;
2574 }
d55e5bfc
RD
2575 }
2576 if (obj2) {
2577 {
2578 arg3 = &temp3;
2579 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2580 }
2581 }
2582 if (obj3) {
2583 {
2584 arg4 = &temp4;
2585 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2586 }
2587 }
2588 if (obj4) {
093d3ff1
RD
2589 {
2590 arg5 = (long)(SWIG_As_long(obj4));
2591 if (SWIG_arg_fail(5)) SWIG_fail;
2592 }
d55e5bfc
RD
2593 }
2594 if (obj5) {
2595 {
2596 arg6 = wxString_in_helper(obj5);
2597 if (arg6 == NULL) SWIG_fail;
ae8162c8 2598 temp6 = true;
d55e5bfc
RD
2599 }
2600 }
2601 {
0439c23b 2602 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
2604 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2605
2606 wxPyEndAllowThreads(__tstate);
110da5b0 2607 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2608 }
b0f7404b 2609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2610 {
2611 if (temp6)
2612 delete arg6;
2613 }
2614 return resultobj;
2615 fail:
2616 {
2617 if (temp6)
2618 delete arg6;
2619 }
2620 return NULL;
2621}
2622
2623
c32bde28 2624static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2625 PyObject *resultobj;
2626 wxPanel *result;
2627 char *kwnames[] = {
2628 NULL
2629 };
2630
2631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2632 {
0439c23b 2633 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 result = (wxPanel *)new wxPanel();
2636
2637 wxPyEndAllowThreads(__tstate);
110da5b0 2638 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2639 }
b0f7404b 2640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2641 return resultobj;
2642 fail:
2643 return NULL;
2644}
2645
2646
c32bde28 2647static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2648 PyObject *resultobj;
2649 wxPanel *arg1 = (wxPanel *) 0 ;
2650 wxWindow *arg2 = (wxWindow *) 0 ;
2651 int arg3 = (int) (int)-1 ;
2652 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2653 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2654 wxSize const &arg5_defvalue = wxDefaultSize ;
2655 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2656 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2657 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2658 wxString *arg7 = (wxString *) &arg7_defvalue ;
2659 bool result;
2660 wxPoint temp4 ;
2661 wxSize temp5 ;
ae8162c8 2662 bool temp7 = false ;
d55e5bfc
RD
2663 PyObject * obj0 = 0 ;
2664 PyObject * obj1 = 0 ;
2665 PyObject * obj2 = 0 ;
2666 PyObject * obj3 = 0 ;
2667 PyObject * obj4 = 0 ;
2668 PyObject * obj5 = 0 ;
2669 PyObject * obj6 = 0 ;
2670 char *kwnames[] = {
2671 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2672 };
2673
2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
2675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2676 if (SWIG_arg_fail(1)) SWIG_fail;
2677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2678 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 2679 if (obj2) {
093d3ff1
RD
2680 {
2681 arg3 = (int const)(SWIG_As_int(obj2));
2682 if (SWIG_arg_fail(3)) SWIG_fail;
2683 }
d55e5bfc
RD
2684 }
2685 if (obj3) {
2686 {
2687 arg4 = &temp4;
2688 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2689 }
2690 }
2691 if (obj4) {
2692 {
2693 arg5 = &temp5;
2694 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2695 }
2696 }
2697 if (obj5) {
093d3ff1
RD
2698 {
2699 arg6 = (long)(SWIG_As_long(obj5));
2700 if (SWIG_arg_fail(6)) SWIG_fail;
2701 }
d55e5bfc
RD
2702 }
2703 if (obj6) {
2704 {
2705 arg7 = wxString_in_helper(obj6);
2706 if (arg7 == NULL) SWIG_fail;
ae8162c8 2707 temp7 = true;
d55e5bfc
RD
2708 }
2709 }
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 {
2718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2719 }
2720 {
2721 if (temp7)
2722 delete arg7;
2723 }
2724 return resultobj;
2725 fail:
2726 {
2727 if (temp7)
2728 delete arg7;
2729 }
2730 return NULL;
2731}
2732
2733
c32bde28 2734static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2735 PyObject *resultobj;
2736 wxPanel *arg1 = (wxPanel *) 0 ;
2737 PyObject * obj0 = 0 ;
2738 char *kwnames[] = {
2739 (char *) "self", NULL
2740 };
2741
2742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
2743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2744 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2745 {
2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
2747 (arg1)->InitDialog();
2748
2749 wxPyEndAllowThreads(__tstate);
2750 if (PyErr_Occurred()) SWIG_fail;
2751 }
2752 Py_INCREF(Py_None); resultobj = Py_None;
2753 return resultobj;
2754 fail:
2755 return NULL;
2756}
2757
2758
b519803b
RD
2759static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2760 PyObject *resultobj;
2761 wxPanel *arg1 = (wxPanel *) 0 ;
2762 PyObject * obj0 = 0 ;
2763 char *kwnames[] = {
2764 (char *) "self", NULL
2765 };
2766
2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
2768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2769 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
2772 (arg1)->SetFocus();
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 Py_INCREF(Py_None); resultobj = Py_None;
2778 return resultobj;
2779 fail:
2780 return NULL;
2781}
2782
2783
2784static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2785 PyObject *resultobj;
2786 wxPanel *arg1 = (wxPanel *) 0 ;
2787 PyObject * obj0 = 0 ;
2788 char *kwnames[] = {
2789 (char *) "self", NULL
2790 };
2791
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
093d3ff1
RD
2793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2794 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
2795 {
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 (arg1)->SetFocusIgnoringChildren();
2798
2799 wxPyEndAllowThreads(__tstate);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 }
2802 Py_INCREF(Py_None); resultobj = Py_None;
2803 return resultobj;
2804 fail:
2805 return NULL;
2806}
2807
2808
c32bde28 2809static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 2810 PyObject *resultobj;
093d3ff1 2811 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
2812 wxVisualAttributes result;
2813 PyObject * obj0 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "variant", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2819 if (obj0) {
093d3ff1
RD
2820 {
2821 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2822 if (SWIG_arg_fail(1)) SWIG_fail;
2823 }
f20a2e1f
RD
2824 }
2825 {
0439c23b 2826 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2829
2830 wxPyEndAllowThreads(__tstate);
110da5b0 2831 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2832 }
2833 {
2834 wxVisualAttributes * resultptr;
093d3ff1 2835 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
2836 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2837 }
2838 return resultobj;
2839 fail:
2840 return NULL;
2841}
2842
2843
c32bde28 2844static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2845 PyObject *obj;
2846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2847 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2848 Py_INCREF(obj);
2849 return Py_BuildValue((char *)"");
2850}
c32bde28 2851static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2852 PyObject *resultobj;
2853 wxWindow *arg1 = (wxWindow *) 0 ;
2854 int arg2 = (int) (int)-1 ;
2855 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2856 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2857 wxSize const &arg4_defvalue = wxDefaultSize ;
2858 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2859 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2860 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2861 wxString *arg6 = (wxString *) &arg6_defvalue ;
2862 wxScrolledWindow *result;
2863 wxPoint temp3 ;
2864 wxSize temp4 ;
ae8162c8 2865 bool temp6 = false ;
d55e5bfc
RD
2866 PyObject * obj0 = 0 ;
2867 PyObject * obj1 = 0 ;
2868 PyObject * obj2 = 0 ;
2869 PyObject * obj3 = 0 ;
2870 PyObject * obj4 = 0 ;
2871 PyObject * obj5 = 0 ;
2872 char *kwnames[] = {
2873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2874 };
2875
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
2877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2878 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2879 if (obj1) {
093d3ff1
RD
2880 {
2881 arg2 = (int const)(SWIG_As_int(obj1));
2882 if (SWIG_arg_fail(2)) SWIG_fail;
2883 }
d55e5bfc
RD
2884 }
2885 if (obj2) {
2886 {
2887 arg3 = &temp3;
2888 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2889 }
2890 }
2891 if (obj3) {
2892 {
2893 arg4 = &temp4;
2894 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2895 }
2896 }
2897 if (obj4) {
093d3ff1
RD
2898 {
2899 arg5 = (long)(SWIG_As_long(obj4));
2900 if (SWIG_arg_fail(5)) SWIG_fail;
2901 }
d55e5bfc
RD
2902 }
2903 if (obj5) {
2904 {
2905 arg6 = wxString_in_helper(obj5);
2906 if (arg6 == NULL) SWIG_fail;
ae8162c8 2907 temp6 = true;
d55e5bfc
RD
2908 }
2909 }
2910 {
0439c23b 2911 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
2913 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2914
2915 wxPyEndAllowThreads(__tstate);
110da5b0 2916 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2917 }
b0f7404b 2918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
2919 {
2920 if (temp6)
2921 delete arg6;
2922 }
2923 return resultobj;
2924 fail:
2925 {
2926 if (temp6)
2927 delete arg6;
2928 }
2929 return NULL;
2930}
2931
2932
c32bde28 2933static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2934 PyObject *resultobj;
2935 wxScrolledWindow *result;
2936 char *kwnames[] = {
2937 NULL
2938 };
2939
2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2941 {
0439c23b 2942 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2943 PyThreadState* __tstate = wxPyBeginAllowThreads();
2944 result = (wxScrolledWindow *)new wxScrolledWindow();
2945
2946 wxPyEndAllowThreads(__tstate);
110da5b0 2947 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2948 }
b0f7404b 2949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
2950 return resultobj;
2951 fail:
2952 return NULL;
2953}
2954
2955
c32bde28 2956static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2957 PyObject *resultobj;
2958 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2959 wxWindow *arg2 = (wxWindow *) 0 ;
2960 int arg3 = (int) (int)-1 ;
2961 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2962 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2963 wxSize const &arg5_defvalue = wxDefaultSize ;
2964 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2965 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
2966 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2967 wxString *arg7 = (wxString *) &arg7_defvalue ;
2968 bool result;
2969 wxPoint temp4 ;
2970 wxSize temp5 ;
ae8162c8 2971 bool temp7 = false ;
d55e5bfc
RD
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 PyObject * obj2 = 0 ;
2975 PyObject * obj3 = 0 ;
2976 PyObject * obj4 = 0 ;
2977 PyObject * obj5 = 0 ;
2978 PyObject * obj6 = 0 ;
2979 char *kwnames[] = {
2980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2981 };
2982
2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
2984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
2985 if (SWIG_arg_fail(1)) SWIG_fail;
2986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2987 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 2988 if (obj2) {
093d3ff1
RD
2989 {
2990 arg3 = (int const)(SWIG_As_int(obj2));
2991 if (SWIG_arg_fail(3)) SWIG_fail;
2992 }
d55e5bfc
RD
2993 }
2994 if (obj3) {
2995 {
2996 arg4 = &temp4;
2997 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2998 }
2999 }
3000 if (obj4) {
3001 {
3002 arg5 = &temp5;
3003 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3004 }
3005 }
3006 if (obj5) {
093d3ff1
RD
3007 {
3008 arg6 = (long)(SWIG_As_long(obj5));
3009 if (SWIG_arg_fail(6)) SWIG_fail;
3010 }
d55e5bfc
RD
3011 }
3012 if (obj6) {
3013 {
3014 arg7 = wxString_in_helper(obj6);
3015 if (arg7 == NULL) SWIG_fail;
ae8162c8 3016 temp7 = true;
d55e5bfc
RD
3017 }
3018 }
3019 {
3020 PyThreadState* __tstate = wxPyBeginAllowThreads();
3021 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3022
3023 wxPyEndAllowThreads(__tstate);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 {
3027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3028 }
3029 {
3030 if (temp7)
3031 delete arg7;
3032 }
3033 return resultobj;
3034 fail:
3035 {
3036 if (temp7)
3037 delete arg7;
3038 }
3039 return NULL;
3040}
3041
3042
c32bde28 3043static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3044 PyObject *resultobj;
3045 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3046 int arg2 ;
3047 int arg3 ;
3048 int arg4 ;
3049 int arg5 ;
3050 int arg6 = (int) 0 ;
3051 int arg7 = (int) 0 ;
ae8162c8 3052 bool arg8 = (bool) false ;
d55e5bfc
RD
3053 PyObject * obj0 = 0 ;
3054 PyObject * obj1 = 0 ;
3055 PyObject * obj2 = 0 ;
3056 PyObject * obj3 = 0 ;
3057 PyObject * obj4 = 0 ;
3058 PyObject * obj5 = 0 ;
3059 PyObject * obj6 = 0 ;
3060 PyObject * obj7 = 0 ;
3061 char *kwnames[] = {
3062 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3063 };
3064
3065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3067 if (SWIG_arg_fail(1)) SWIG_fail;
3068 {
3069 arg2 = (int)(SWIG_As_int(obj1));
3070 if (SWIG_arg_fail(2)) SWIG_fail;
3071 }
3072 {
3073 arg3 = (int)(SWIG_As_int(obj2));
3074 if (SWIG_arg_fail(3)) SWIG_fail;
3075 }
3076 {
3077 arg4 = (int)(SWIG_As_int(obj3));
3078 if (SWIG_arg_fail(4)) SWIG_fail;
3079 }
3080 {
3081 arg5 = (int)(SWIG_As_int(obj4));
3082 if (SWIG_arg_fail(5)) SWIG_fail;
3083 }
d55e5bfc 3084 if (obj5) {
093d3ff1
RD
3085 {
3086 arg6 = (int)(SWIG_As_int(obj5));
3087 if (SWIG_arg_fail(6)) SWIG_fail;
3088 }
d55e5bfc
RD
3089 }
3090 if (obj6) {
093d3ff1
RD
3091 {
3092 arg7 = (int)(SWIG_As_int(obj6));
3093 if (SWIG_arg_fail(7)) SWIG_fail;
3094 }
d55e5bfc
RD
3095 }
3096 if (obj7) {
093d3ff1
RD
3097 {
3098 arg8 = (bool)(SWIG_As_bool(obj7));
3099 if (SWIG_arg_fail(8)) SWIG_fail;
3100 }
d55e5bfc
RD
3101 }
3102 {
3103 PyThreadState* __tstate = wxPyBeginAllowThreads();
3104 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3105
3106 wxPyEndAllowThreads(__tstate);
3107 if (PyErr_Occurred()) SWIG_fail;
3108 }
3109 Py_INCREF(Py_None); resultobj = Py_None;
3110 return resultobj;
3111 fail:
3112 return NULL;
3113}
3114
3115
c32bde28 3116static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3117 PyObject *resultobj;
3118 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3119 int arg2 ;
3120 int arg3 ;
3121 PyObject * obj0 = 0 ;
3122 PyObject * obj1 = 0 ;
3123 PyObject * obj2 = 0 ;
3124 char *kwnames[] = {
3125 (char *) "self",(char *) "x",(char *) "y", NULL
3126 };
3127
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3130 if (SWIG_arg_fail(1)) SWIG_fail;
3131 {
3132 arg2 = (int)(SWIG_As_int(obj1));
3133 if (SWIG_arg_fail(2)) SWIG_fail;
3134 }
3135 {
3136 arg3 = (int)(SWIG_As_int(obj2));
3137 if (SWIG_arg_fail(3)) SWIG_fail;
3138 }
d55e5bfc
RD
3139 {
3140 PyThreadState* __tstate = wxPyBeginAllowThreads();
3141 (arg1)->Scroll(arg2,arg3);
3142
3143 wxPyEndAllowThreads(__tstate);
3144 if (PyErr_Occurred()) SWIG_fail;
3145 }
3146 Py_INCREF(Py_None); resultobj = Py_None;
3147 return resultobj;
3148 fail:
3149 return NULL;
3150}
3151
3152
c32bde28 3153static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3154 PyObject *resultobj;
3155 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3156 int arg2 ;
3157 int result;
3158 PyObject * obj0 = 0 ;
3159 PyObject * obj1 = 0 ;
3160 char *kwnames[] = {
3161 (char *) "self",(char *) "orient", NULL
3162 };
3163
3164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3166 if (SWIG_arg_fail(1)) SWIG_fail;
3167 {
3168 arg2 = (int)(SWIG_As_int(obj1));
3169 if (SWIG_arg_fail(2)) SWIG_fail;
3170 }
d55e5bfc
RD
3171 {
3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
3173 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3174
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
093d3ff1
RD
3178 {
3179 resultobj = SWIG_From_int((int)(result));
3180 }
d55e5bfc
RD
3181 return resultobj;
3182 fail:
3183 return NULL;
3184}
3185
3186
c32bde28 3187static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3188 PyObject *resultobj;
3189 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3190 int arg2 ;
3191 int arg3 ;
3192 PyObject * obj0 = 0 ;
3193 PyObject * obj1 = 0 ;
3194 PyObject * obj2 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail;
3202 {
3203 arg2 = (int)(SWIG_As_int(obj1));
3204 if (SWIG_arg_fail(2)) SWIG_fail;
3205 }
3206 {
3207 arg3 = (int)(SWIG_As_int(obj2));
3208 if (SWIG_arg_fail(3)) SWIG_fail;
3209 }
d55e5bfc
RD
3210 {
3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
3212 (arg1)->SetScrollPageSize(arg2,arg3);
3213
3214 wxPyEndAllowThreads(__tstate);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 }
3217 Py_INCREF(Py_None); resultobj = Py_None;
3218 return resultobj;
3219 fail:
3220 return NULL;
3221}
3222
3223
c32bde28 3224static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3225 PyObject *resultobj;
3226 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3227 int arg2 ;
3228 int arg3 ;
3229 PyObject * obj0 = 0 ;
3230 PyObject * obj1 = 0 ;
3231 PyObject * obj2 = 0 ;
3232 char *kwnames[] = {
3233 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3238 if (SWIG_arg_fail(1)) SWIG_fail;
3239 {
3240 arg2 = (int)(SWIG_As_int(obj1));
3241 if (SWIG_arg_fail(2)) SWIG_fail;
3242 }
3243 {
3244 arg3 = (int)(SWIG_As_int(obj2));
3245 if (SWIG_arg_fail(3)) SWIG_fail;
3246 }
d55e5bfc
RD
3247 {
3248 PyThreadState* __tstate = wxPyBeginAllowThreads();
3249 (arg1)->SetScrollRate(arg2,arg3);
3250
3251 wxPyEndAllowThreads(__tstate);
3252 if (PyErr_Occurred()) SWIG_fail;
3253 }
3254 Py_INCREF(Py_None); resultobj = Py_None;
3255 return resultobj;
3256 fail:
3257 return NULL;
3258}
3259
3260
c32bde28 3261static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3262 PyObject *resultobj;
3263 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3264 int *arg2 = (int *) 0 ;
3265 int *arg3 = (int *) 0 ;
3266 int temp2 ;
c32bde28 3267 int res2 = 0 ;
d55e5bfc 3268 int temp3 ;
c32bde28 3269 int res3 = 0 ;
d55e5bfc
RD
3270 PyObject * obj0 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self", NULL
3273 };
3274
c32bde28
RD
3275 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3276 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
093d3ff1
RD
3278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3279 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3288 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3289 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3290 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3291 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3292 return resultobj;
3293 fail:
3294 return NULL;
3295}
3296
3297
c32bde28 3298static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3299 PyObject *resultobj;
3300 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3301 bool arg2 ;
3302 bool arg3 ;
3303 PyObject * obj0 = 0 ;
3304 PyObject * obj1 = 0 ;
3305 PyObject * obj2 = 0 ;
3306 char *kwnames[] = {
3307 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3308 };
3309
3310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3312 if (SWIG_arg_fail(1)) SWIG_fail;
3313 {
3314 arg2 = (bool)(SWIG_As_bool(obj1));
3315 if (SWIG_arg_fail(2)) SWIG_fail;
3316 }
3317 {
3318 arg3 = (bool)(SWIG_As_bool(obj2));
3319 if (SWIG_arg_fail(3)) SWIG_fail;
3320 }
d55e5bfc
RD
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 (arg1)->EnableScrolling(arg2,arg3);
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 Py_INCREF(Py_None); resultobj = Py_None;
3329 return resultobj;
3330 fail:
3331 return NULL;
3332}
3333
3334
c32bde28 3335static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3336 PyObject *resultobj;
3337 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3338 int *arg2 = (int *) 0 ;
3339 int *arg3 = (int *) 0 ;
3340 int temp2 ;
c32bde28 3341 int res2 = 0 ;
d55e5bfc 3342 int temp3 ;
c32bde28 3343 int res3 = 0 ;
d55e5bfc
RD
3344 PyObject * obj0 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self", NULL
3347 };
3348
c32bde28
RD
3349 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3350 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
3352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3353 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3362 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3363 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3364 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3365 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3366 return resultobj;
3367 fail:
3368 return NULL;
3369}
3370
3371
c32bde28 3372static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3373 PyObject *resultobj;
3374 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3375 double arg2 ;
3376 double arg3 ;
3377 PyObject * obj0 = 0 ;
3378 PyObject * obj1 = 0 ;
3379 PyObject * obj2 = 0 ;
3380 char *kwnames[] = {
3381 (char *) "self",(char *) "xs",(char *) "ys", NULL
3382 };
3383
3384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3386 if (SWIG_arg_fail(1)) SWIG_fail;
3387 {
3388 arg2 = (double)(SWIG_As_double(obj1));
3389 if (SWIG_arg_fail(2)) SWIG_fail;
3390 }
3391 {
3392 arg3 = (double)(SWIG_As_double(obj2));
3393 if (SWIG_arg_fail(3)) SWIG_fail;
3394 }
d55e5bfc
RD
3395 {
3396 PyThreadState* __tstate = wxPyBeginAllowThreads();
3397 (arg1)->SetScale(arg2,arg3);
3398
3399 wxPyEndAllowThreads(__tstate);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
3402 Py_INCREF(Py_None); resultobj = Py_None;
3403 return resultobj;
3404 fail:
3405 return NULL;
3406}
3407
3408
c32bde28 3409static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3410 PyObject *resultobj;
3411 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3412 double result;
3413 PyObject * obj0 = 0 ;
3414 char *kwnames[] = {
3415 (char *) "self", NULL
3416 };
3417
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3420 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3421 {
3422 PyThreadState* __tstate = wxPyBeginAllowThreads();
3423 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3424
3425 wxPyEndAllowThreads(__tstate);
3426 if (PyErr_Occurred()) SWIG_fail;
3427 }
093d3ff1
RD
3428 {
3429 resultobj = SWIG_From_double((double)(result));
3430 }
d55e5bfc
RD
3431 return resultobj;
3432 fail:
3433 return NULL;
3434}
3435
3436
c32bde28 3437static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3438 PyObject *resultobj;
3439 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3440 double result;
3441 PyObject * obj0 = 0 ;
3442 char *kwnames[] = {
3443 (char *) "self", NULL
3444 };
3445
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3448 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3449 {
3450 PyThreadState* __tstate = wxPyBeginAllowThreads();
3451 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3452
3453 wxPyEndAllowThreads(__tstate);
3454 if (PyErr_Occurred()) SWIG_fail;
3455 }
093d3ff1
RD
3456 {
3457 resultobj = SWIG_From_double((double)(result));
3458 }
d55e5bfc
RD
3459 return resultobj;
3460 fail:
3461 return NULL;
3462}
3463
3464
c32bde28 3465static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
3466 PyObject *resultobj;
3467 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3468 wxPoint *arg2 = 0 ;
3469 wxPoint result;
3470 wxPoint temp2 ;
3471 PyObject * obj0 = 0 ;
3472 PyObject * obj1 = 0 ;
3473
3474 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3476 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3477 {
3478 arg2 = &temp2;
3479 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3480 }
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
3483 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 {
3489 wxPoint * resultptr;
093d3ff1 3490 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
3491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3492 }
3493 return resultobj;
3494 fail:
3495 return NULL;
3496}
3497
3498
c32bde28 3499static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
3500 PyObject *resultobj;
3501 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3502 int arg2 ;
3503 int arg3 ;
3504 int *arg4 = (int *) 0 ;
3505 int *arg5 = (int *) 0 ;
3506 int temp4 ;
c32bde28 3507 int res4 = 0 ;
d55e5bfc 3508 int temp5 ;
c32bde28 3509 int res5 = 0 ;
d55e5bfc
RD
3510 PyObject * obj0 = 0 ;
3511 PyObject * obj1 = 0 ;
3512 PyObject * obj2 = 0 ;
3513
c32bde28
RD
3514 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3515 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3516 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) 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;
3519 {
3520 arg2 = (int)(SWIG_As_int(obj1));
3521 if (SWIG_arg_fail(2)) SWIG_fail;
3522 }
3523 {
3524 arg3 = (int)(SWIG_As_int(obj2));
3525 if (SWIG_arg_fail(3)) SWIG_fail;
3526 }
d55e5bfc
RD
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3530
3531 wxPyEndAllowThreads(__tstate);
3532 if (PyErr_Occurred()) SWIG_fail;
3533 }
3534 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3535 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3536 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3537 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3538 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3539 return resultobj;
3540 fail:
3541 return NULL;
3542}
3543
3544
3545static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3546 int argc;
3547 PyObject *argv[4];
3548 int ii;
3549
3550 argc = PyObject_Length(args);
3551 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3552 argv[ii] = PyTuple_GetItem(args,ii);
3553 }
3554 if (argc == 2) {
3555 int _v;
3556 {
3557 void *ptr;
3558 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3559 _v = 0;
3560 PyErr_Clear();
3561 } else {
3562 _v = 1;
3563 }
3564 }
3565 if (_v) {
3566 {
3567 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3568 }
3569 if (_v) {
3570 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3571 }
3572 }
3573 }
3574 if (argc == 3) {
3575 int _v;
3576 {
3577 void *ptr;
3578 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3579 _v = 0;
3580 PyErr_Clear();
3581 } else {
3582 _v = 1;
3583 }
3584 }
3585 if (_v) {
c32bde28 3586 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3587 if (_v) {
c32bde28 3588 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3589 if (_v) {
3590 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3591 }
3592 }
3593 }
3594 }
3595
093d3ff1 3596 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
d55e5bfc
RD
3597 return NULL;
3598}
3599
3600
c32bde28 3601static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
3602 PyObject *resultobj;
3603 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3604 wxPoint *arg2 = 0 ;
3605 wxPoint result;
3606 wxPoint temp2 ;
3607 PyObject * obj0 = 0 ;
3608 PyObject * obj1 = 0 ;
3609
3610 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3612 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3613 {
3614 arg2 = &temp2;
3615 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3616 }
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 {
3625 wxPoint * resultptr;
093d3ff1 3626 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
3627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3628 }
3629 return resultobj;
3630 fail:
3631 return NULL;
3632}
3633
3634
c32bde28 3635static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
3636 PyObject *resultobj;
3637 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3638 int arg2 ;
3639 int arg3 ;
3640 int *arg4 = (int *) 0 ;
3641 int *arg5 = (int *) 0 ;
3642 int temp4 ;
c32bde28 3643 int res4 = 0 ;
d55e5bfc 3644 int temp5 ;
c32bde28 3645 int res5 = 0 ;
d55e5bfc
RD
3646 PyObject * obj0 = 0 ;
3647 PyObject * obj1 = 0 ;
3648 PyObject * obj2 = 0 ;
3649
c32bde28
RD
3650 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3651 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3652 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) 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;
3655 {
3656 arg2 = (int)(SWIG_As_int(obj1));
3657 if (SWIG_arg_fail(2)) SWIG_fail;
3658 }
3659 {
3660 arg3 = (int)(SWIG_As_int(obj2));
3661 if (SWIG_arg_fail(3)) SWIG_fail;
3662 }
d55e5bfc
RD
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3671 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3672 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3673 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3674 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3675 return resultobj;
3676 fail:
3677 return NULL;
3678}
3679
3680
3681static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3682 int argc;
3683 PyObject *argv[4];
3684 int ii;
3685
3686 argc = PyObject_Length(args);
3687 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3688 argv[ii] = PyTuple_GetItem(args,ii);
3689 }
3690 if (argc == 2) {
3691 int _v;
3692 {
3693 void *ptr;
3694 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3695 _v = 0;
3696 PyErr_Clear();
3697 } else {
3698 _v = 1;
3699 }
3700 }
3701 if (_v) {
3702 {
3703 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3704 }
3705 if (_v) {
3706 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3707 }
3708 }
3709 }
3710 if (argc == 3) {
3711 int _v;
3712 {
3713 void *ptr;
3714 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3715 _v = 0;
3716 PyErr_Clear();
3717 } else {
3718 _v = 1;
3719 }
3720 }
3721 if (_v) {
c32bde28 3722 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3723 if (_v) {
c32bde28 3724 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3725 if (_v) {
3726 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3727 }
3728 }
3729 }
3730 }
3731
093d3ff1 3732 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
d55e5bfc
RD
3733 return NULL;
3734}
3735
3736
c32bde28 3737static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3738 PyObject *resultobj;
3739 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3740 PyObject * obj0 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "self", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
093d3ff1
RD
3746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3747 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 (arg1)->AdjustScrollbars();
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 Py_INCREF(Py_None); resultobj = Py_None;
3756 return resultobj;
3757 fail:
3758 return NULL;
3759}
3760
3761
c32bde28 3762static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3763 PyObject *resultobj;
3764 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3765 wxScrollWinEvent *arg2 = 0 ;
3766 int result;
3767 PyObject * obj0 = 0 ;
3768 PyObject * obj1 = 0 ;
3769 char *kwnames[] = {
3770 (char *) "self",(char *) "event", NULL
3771 };
3772
3773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3775 if (SWIG_arg_fail(1)) SWIG_fail;
3776 {
3777 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3778 if (SWIG_arg_fail(2)) SWIG_fail;
3779 if (arg2 == NULL) {
3780 SWIG_null_ref("wxScrollWinEvent");
3781 }
3782 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3783 }
3784 {
3785 PyThreadState* __tstate = wxPyBeginAllowThreads();
3786 result = (int)(arg1)->CalcScrollInc(*arg2);
3787
3788 wxPyEndAllowThreads(__tstate);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
093d3ff1
RD
3791 {
3792 resultobj = SWIG_From_int((int)(result));
3793 }
d55e5bfc
RD
3794 return resultobj;
3795 fail:
3796 return NULL;
3797}
3798
3799
c32bde28 3800static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3801 PyObject *resultobj;
3802 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3803 wxWindow *arg2 = (wxWindow *) 0 ;
3804 PyObject * obj0 = 0 ;
3805 PyObject * obj1 = 0 ;
3806 char *kwnames[] = {
3807 (char *) "self",(char *) "target", NULL
3808 };
3809
3810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3812 if (SWIG_arg_fail(1)) SWIG_fail;
3813 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3814 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3815 {
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 (arg1)->SetTargetWindow(arg2);
3818
3819 wxPyEndAllowThreads(__tstate);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 }
3822 Py_INCREF(Py_None); resultobj = Py_None;
3823 return resultobj;
3824 fail:
3825 return NULL;
3826}
3827
3828
c32bde28 3829static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3830 PyObject *resultobj;
3831 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3832 wxWindow *result;
3833 PyObject * obj0 = 0 ;
3834 char *kwnames[] = {
3835 (char *) "self", NULL
3836 };
3837
3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
3839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3840 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3841 {
3842 PyThreadState* __tstate = wxPyBeginAllowThreads();
3843 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3844
3845 wxPyEndAllowThreads(__tstate);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 {
412d302d 3849 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
3850 }
3851 return resultobj;
3852 fail:
3853 return NULL;
3854}
3855
3856
c32bde28 3857static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3858 PyObject *resultobj;
3859 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3860 wxRect *arg2 = 0 ;
3861 wxRect temp2 ;
3862 PyObject * obj0 = 0 ;
3863 PyObject * obj1 = 0 ;
3864 char *kwnames[] = {
3865 (char *) "self",(char *) "rect", NULL
3866 };
3867
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3870 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3871 {
3872 arg2 = &temp2;
3873 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3874 }
3875 {
3876 PyThreadState* __tstate = wxPyBeginAllowThreads();
3877 (arg1)->SetTargetRect((wxRect const &)*arg2);
3878
3879 wxPyEndAllowThreads(__tstate);
3880 if (PyErr_Occurred()) SWIG_fail;
3881 }
3882 Py_INCREF(Py_None); resultobj = Py_None;
3883 return resultobj;
3884 fail:
3885 return NULL;
3886}
3887
3888
c32bde28 3889static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3890 PyObject *resultobj;
3891 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3892 wxRect result;
3893 PyObject * obj0 = 0 ;
3894 char *kwnames[] = {
3895 (char *) "self", NULL
3896 };
3897
3898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
3899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
3904
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 {
3909 wxRect * resultptr;
093d3ff1 3910 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
3911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3912 }
3913 return resultobj;
3914 fail:
3915 return NULL;
3916}
3917
3918
c32bde28 3919static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
f5b96ee1
RD
3920 PyObject *resultobj;
3921 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3922 wxDC *arg2 = 0 ;
3923 PyObject * obj0 = 0 ;
3924 PyObject * obj1 = 0 ;
3925 char *kwnames[] = {
3926 (char *) "self",(char *) "dc", NULL
3927 };
3928
3929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3931 if (SWIG_arg_fail(1)) SWIG_fail;
3932 {
3933 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3934 if (SWIG_arg_fail(2)) SWIG_fail;
3935 if (arg2 == NULL) {
3936 SWIG_null_ref("wxDC");
3937 }
3938 if (SWIG_arg_fail(2)) SWIG_fail;
f5b96ee1
RD
3939 }
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 (arg1)->DoPrepareDC(*arg2);
3943
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
3947 Py_INCREF(Py_None); resultobj = Py_None;
3948 return resultobj;
3949 fail:
3950 return NULL;
3951}
3952
3953
c32bde28 3954static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 3955 PyObject *resultobj;
093d3ff1 3956 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3957 wxVisualAttributes result;
3958 PyObject * obj0 = 0 ;
3959 char *kwnames[] = {
3960 (char *) "variant", NULL
3961 };
3962
3963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3964 if (obj0) {
093d3ff1
RD
3965 {
3966 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3967 if (SWIG_arg_fail(1)) SWIG_fail;
3968 }
f20a2e1f
RD
3969 }
3970 {
0439c23b 3971 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3974
3975 wxPyEndAllowThreads(__tstate);
110da5b0 3976 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3977 }
3978 {
3979 wxVisualAttributes * resultptr;
093d3ff1 3980 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
3981 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3982 }
3983 return resultobj;
3984 fail:
3985 return NULL;
3986}
3987
3988
c32bde28 3989static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3990 PyObject *obj;
3991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3992 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
3993 Py_INCREF(obj);
3994 return Py_BuildValue((char *)"");
3995}
c32bde28 3996static int _wrap_FrameNameStr_set(PyObject *) {
d55e5bfc
RD
3997 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
3998 return 1;
3999}
4000
4001
093d3ff1 4002static PyObject *_wrap_FrameNameStr_get(void) {
d55e5bfc
RD
4003 PyObject *pyobj;
4004
4005 {
4006#if wxUSE_UNICODE
4007 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4008#else
4009 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
4010#endif
4011 }
4012 return pyobj;
4013}
4014
4015
c32bde28 4016static int _wrap_DialogNameStr_set(PyObject *) {
d55e5bfc
RD
4017 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4018 return 1;
4019}
4020
4021
093d3ff1 4022static PyObject *_wrap_DialogNameStr_get(void) {
d55e5bfc
RD
4023 PyObject *pyobj;
4024
4025 {
4026#if wxUSE_UNICODE
4027 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4028#else
4029 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4030#endif
4031 }
4032 return pyobj;
4033}
4034
4035
c32bde28 4036static int _wrap_StatusLineNameStr_set(PyObject *) {
d55e5bfc
RD
4037 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4038 return 1;
4039}
4040
4041
093d3ff1 4042static PyObject *_wrap_StatusLineNameStr_get(void) {
d55e5bfc
RD
4043 PyObject *pyobj;
4044
4045 {
4046#if wxUSE_UNICODE
4047 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4048#else
4049 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4050#endif
4051 }
4052 return pyobj;
4053}
4054
4055
c32bde28 4056static int _wrap_ToolBarNameStr_set(PyObject *) {
d55e5bfc
RD
4057 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4058 return 1;
4059}
4060
4061
093d3ff1 4062static PyObject *_wrap_ToolBarNameStr_get(void) {
d55e5bfc
RD
4063 PyObject *pyobj;
4064
4065 {
4066#if wxUSE_UNICODE
4067 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4068#else
4069 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4070#endif
4071 }
4072 return pyobj;
4073}
4074
4075
c32bde28 4076static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4077 PyObject *resultobj;
4078 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4079 bool arg2 = (bool) true ;
d55e5bfc
RD
4080 PyObject * obj0 = 0 ;
4081 PyObject * obj1 = 0 ;
4082 char *kwnames[] = {
4083 (char *) "self",(char *) "maximize", NULL
4084 };
4085
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4088 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4089 if (obj1) {
093d3ff1
RD
4090 {
4091 arg2 = (bool)(SWIG_As_bool(obj1));
4092 if (SWIG_arg_fail(2)) SWIG_fail;
4093 }
d55e5bfc
RD
4094 }
4095 {
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 (arg1)->Maximize(arg2);
4098
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 Py_INCREF(Py_None); resultobj = Py_None;
4103 return resultobj;
4104 fail:
4105 return NULL;
4106}
4107
4108
c32bde28 4109static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4110 PyObject *resultobj;
4111 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4112 PyObject * obj0 = 0 ;
4113 char *kwnames[] = {
4114 (char *) "self", NULL
4115 };
4116
4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
4118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4119 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4120 {
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 (arg1)->Restore();
4123
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 Py_INCREF(Py_None); resultobj = Py_None;
4128 return resultobj;
4129 fail:
4130 return NULL;
4131}
4132
4133
c32bde28 4134static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4135 PyObject *resultobj;
4136 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4137 bool arg2 = (bool) true ;
d55e5bfc
RD
4138 PyObject * obj0 = 0 ;
4139 PyObject * obj1 = 0 ;
4140 char *kwnames[] = {
4141 (char *) "self",(char *) "iconize", NULL
4142 };
4143
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4147 if (obj1) {
093d3ff1
RD
4148 {
4149 arg2 = (bool)(SWIG_As_bool(obj1));
4150 if (SWIG_arg_fail(2)) SWIG_fail;
4151 }
d55e5bfc
RD
4152 }
4153 {
4154 PyThreadState* __tstate = wxPyBeginAllowThreads();
4155 (arg1)->Iconize(arg2);
4156
4157 wxPyEndAllowThreads(__tstate);
4158 if (PyErr_Occurred()) SWIG_fail;
4159 }
4160 Py_INCREF(Py_None); resultobj = Py_None;
4161 return resultobj;
4162 fail:
4163 return NULL;
4164}
4165
4166
c32bde28 4167static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4168 PyObject *resultobj;
4169 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4170 bool result;
4171 PyObject * obj0 = 0 ;
4172 char *kwnames[] = {
4173 (char *) "self", NULL
4174 };
4175
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4178 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4179 {
4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
4181 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4182
4183 wxPyEndAllowThreads(__tstate);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
4186 {
4187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4188 }
4189 return resultobj;
4190 fail:
4191 return NULL;
4192}
4193
4194
c32bde28 4195static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4196 PyObject *resultobj;
4197 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4198 bool result;
4199 PyObject * obj0 = 0 ;
4200 char *kwnames[] = {
4201 (char *) "self", NULL
4202 };
4203
4204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4206 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4207 {
4208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4209 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4210
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 {
4215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4216 }
4217 return resultobj;
4218 fail:
4219 return NULL;
4220}
4221
4222
c32bde28 4223static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4224 PyObject *resultobj;
4225 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4226 wxIcon result;
4227 PyObject * obj0 = 0 ;
4228 char *kwnames[] = {
4229 (char *) "self", NULL
4230 };
4231
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
4233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4234 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4235 {
4236 PyThreadState* __tstate = wxPyBeginAllowThreads();
4237 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4238
4239 wxPyEndAllowThreads(__tstate);
4240 if (PyErr_Occurred()) SWIG_fail;
4241 }
4242 {
4243 wxIcon * resultptr;
093d3ff1 4244 resultptr = new wxIcon((wxIcon &)(result));
d55e5bfc
RD
4245 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4246 }
4247 return resultobj;
4248 fail:
4249 return NULL;
4250}
4251
4252
c32bde28 4253static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4254 PyObject *resultobj;
4255 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4256 wxIcon *arg2 = 0 ;
4257 PyObject * obj0 = 0 ;
4258 PyObject * obj1 = 0 ;
4259 char *kwnames[] = {
4260 (char *) "self",(char *) "icon", NULL
4261 };
4262
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4265 if (SWIG_arg_fail(1)) SWIG_fail;
4266 {
4267 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4268 if (SWIG_arg_fail(2)) SWIG_fail;
4269 if (arg2 == NULL) {
4270 SWIG_null_ref("wxIcon");
4271 }
4272 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4273 }
4274 {
4275 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276 (arg1)->SetIcon((wxIcon const &)*arg2);
4277
4278 wxPyEndAllowThreads(__tstate);
4279 if (PyErr_Occurred()) SWIG_fail;
4280 }
4281 Py_INCREF(Py_None); resultobj = Py_None;
4282 return resultobj;
4283 fail:
4284 return NULL;
4285}
4286
4287
c32bde28 4288static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4289 PyObject *resultobj;
4290 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4291 wxIconBundle *arg2 = 0 ;
4292 PyObject * obj0 = 0 ;
4293 PyObject * obj1 = 0 ;
4294 char *kwnames[] = {
4295 (char *) "self",(char *) "icons", NULL
4296 };
4297
4298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4300 if (SWIG_arg_fail(1)) SWIG_fail;
4301 {
4302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4303 if (SWIG_arg_fail(2)) SWIG_fail;
4304 if (arg2 == NULL) {
4305 SWIG_null_ref("wxIconBundle");
4306 }
4307 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4308 }
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 Py_INCREF(Py_None); resultobj = Py_None;
4317 return resultobj;
4318 fail:
4319 return NULL;
4320}
4321
4322
c32bde28 4323static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4324 PyObject *resultobj;
4325 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4326 bool arg2 ;
4327 long arg3 = (long) wxFULLSCREEN_ALL ;
4328 bool result;
4329 PyObject * obj0 = 0 ;
4330 PyObject * obj1 = 0 ;
4331 PyObject * obj2 = 0 ;
4332 char *kwnames[] = {
4333 (char *) "self",(char *) "show",(char *) "style", NULL
4334 };
4335
4336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4338 if (SWIG_arg_fail(1)) SWIG_fail;
4339 {
4340 arg2 = (bool)(SWIG_As_bool(obj1));
4341 if (SWIG_arg_fail(2)) SWIG_fail;
4342 }
d55e5bfc 4343 if (obj2) {
093d3ff1
RD
4344 {
4345 arg3 = (long)(SWIG_As_long(obj2));
4346 if (SWIG_arg_fail(3)) SWIG_fail;
4347 }
d55e5bfc
RD
4348 }
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4352
4353 wxPyEndAllowThreads(__tstate);
4354 if (PyErr_Occurred()) SWIG_fail;
4355 }
4356 {
4357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4358 }
4359 return resultobj;
4360 fail:
4361 return NULL;
4362}
4363
4364
c32bde28 4365static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4366 PyObject *resultobj;
4367 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4368 bool result;
4369 PyObject * obj0 = 0 ;
4370 char *kwnames[] = {
4371 (char *) "self", NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
4375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4376 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4377 {
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4380
4381 wxPyEndAllowThreads(__tstate);
4382 if (PyErr_Occurred()) SWIG_fail;
4383 }
4384 {
4385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4386 }
4387 return resultobj;
4388 fail:
4389 return NULL;
4390}
4391
4392
c32bde28 4393static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4394 PyObject *resultobj;
4395 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4396 wxString *arg2 = 0 ;
ae8162c8 4397 bool temp2 = false ;
d55e5bfc
RD
4398 PyObject * obj0 = 0 ;
4399 PyObject * obj1 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self",(char *) "title", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4406 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4407 {
4408 arg2 = wxString_in_helper(obj1);
4409 if (arg2 == NULL) SWIG_fail;
ae8162c8 4410 temp2 = true;
d55e5bfc
RD
4411 }
4412 {
4413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4414 (arg1)->SetTitle((wxString const &)*arg2);
4415
4416 wxPyEndAllowThreads(__tstate);
4417 if (PyErr_Occurred()) SWIG_fail;
4418 }
4419 Py_INCREF(Py_None); resultobj = Py_None;
4420 {
4421 if (temp2)
4422 delete arg2;
4423 }
4424 return resultobj;
4425 fail:
4426 {
4427 if (temp2)
4428 delete arg2;
4429 }
4430 return NULL;
4431}
4432
4433
c32bde28 4434static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4435 PyObject *resultobj;
4436 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4437 wxString result;
4438 PyObject * obj0 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
4444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 {
4454#if wxUSE_UNICODE
4455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4456#else
4457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4458#endif
4459 }
4460 return resultobj;
4461 fail:
4462 return NULL;
4463}
4464
4465
c32bde28 4466static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4467 PyObject *resultobj;
4468 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4469 wxRegion *arg2 = 0 ;
4470 bool result;
4471 PyObject * obj0 = 0 ;
4472 PyObject * obj1 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "self",(char *) "region", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4479 if (SWIG_arg_fail(1)) SWIG_fail;
4480 {
4481 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4482 if (SWIG_arg_fail(2)) SWIG_fail;
4483 if (arg2 == NULL) {
4484 SWIG_null_ref("wxRegion");
4485 }
4486 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4487 }
4488 {
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4491
4492 wxPyEndAllowThreads(__tstate);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 }
4495 {
4496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4497 }
4498 return resultobj;
4499 fail:
4500 return NULL;
4501}
4502
4503
c32bde28
RD
4504static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4505 PyObject *resultobj;
4506 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4507 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4508 PyObject * obj0 = 0 ;
4509 PyObject * obj1 = 0 ;
4510 char *kwnames[] = {
4511 (char *) "self",(char *) "flags", NULL
4512 };
4513
4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4516 if (SWIG_arg_fail(1)) SWIG_fail;
c32bde28 4517 if (obj1) {
093d3ff1
RD
4518 {
4519 arg2 = (int)(SWIG_As_int(obj1));
4520 if (SWIG_arg_fail(2)) SWIG_fail;
4521 }
c32bde28
RD
4522 }
4523 {
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 (arg1)->RequestUserAttention(arg2);
4526
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 Py_INCREF(Py_None); resultobj = Py_None;
4531 return resultobj;
4532 fail:
4533 return NULL;
4534}
4535
4536
5e483524
RD
4537static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4538 PyObject *resultobj;
4539 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4540 bool result;
4541 PyObject * obj0 = 0 ;
4542 char *kwnames[] = {
4543 (char *) "self", NULL
4544 };
4545
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
4547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4548 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 result = (bool)(arg1)->IsActive();
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 {
4557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4558 }
4559 return resultobj;
4560 fail:
4561 return NULL;
4562}
4563
4564
84f85550
RD
4565static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4566 PyObject *resultobj;
4567 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4568 bool arg2 ;
4569 PyObject * obj0 = 0 ;
4570 PyObject * obj1 = 0 ;
4571 char *kwnames[] = {
4572 (char *) "self",(char *) "on", NULL
4573 };
4574
4575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4577 if (SWIG_arg_fail(1)) SWIG_fail;
4578 {
4579 arg2 = (bool)(SWIG_As_bool(obj1));
4580 if (SWIG_arg_fail(2)) SWIG_fail;
4581 }
84f85550
RD
4582 {
4583 PyThreadState* __tstate = wxPyBeginAllowThreads();
4584 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4585
4586 wxPyEndAllowThreads(__tstate);
4587 if (PyErr_Occurred()) SWIG_fail;
4588 }
4589 Py_INCREF(Py_None); resultobj = Py_None;
4590 return resultobj;
4591 fail:
4592 return NULL;
4593}
4594
4595
4596static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4597 PyObject *resultobj;
4598 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4599 bool result;
4600 PyObject * obj0 = 0 ;
4601 char *kwnames[] = {
4602 (char *) "self", NULL
4603 };
4604
4605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
093d3ff1
RD
4606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4607 if (SWIG_arg_fail(1)) SWIG_fail;
84f85550
RD
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4611
4612 wxPyEndAllowThreads(__tstate);
4613 if (PyErr_Occurred()) SWIG_fail;
4614 }
4615 {
4616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4617 }
4618 return resultobj;
4619 fail:
4620 return NULL;
4621}
4622
4623
c32bde28 4624static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4625 PyObject *obj;
4626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4627 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4628 Py_INCREF(obj);
4629 return Py_BuildValue((char *)"");
4630}
c32bde28 4631static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4632 PyObject *resultobj;
4633 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4634 int arg2 = (int) (int)-1 ;
4635 wxString const &arg3_defvalue = wxPyEmptyString ;
4636 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4637 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4638 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4639 wxSize const &arg5_defvalue = wxDefaultSize ;
4640 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4641 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4642 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4643 wxString *arg7 = (wxString *) &arg7_defvalue ;
4644 wxFrame *result;
ae8162c8 4645 bool temp3 = false ;
d55e5bfc
RD
4646 wxPoint temp4 ;
4647 wxSize temp5 ;
ae8162c8 4648 bool temp7 = false ;
d55e5bfc
RD
4649 PyObject * obj0 = 0 ;
4650 PyObject * obj1 = 0 ;
4651 PyObject * obj2 = 0 ;
4652 PyObject * obj3 = 0 ;
4653 PyObject * obj4 = 0 ;
4654 PyObject * obj5 = 0 ;
4655 PyObject * obj6 = 0 ;
4656 char *kwnames[] = {
4657 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4658 };
4659
248ed943 4660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
4661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4662 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 4663 if (obj1) {
093d3ff1
RD
4664 {
4665 arg2 = (int const)(SWIG_As_int(obj1));
4666 if (SWIG_arg_fail(2)) SWIG_fail;
4667 }
248ed943
RD
4668 }
4669 if (obj2) {
4670 {
4671 arg3 = wxString_in_helper(obj2);
4672 if (arg3 == NULL) SWIG_fail;
ae8162c8 4673 temp3 = true;
248ed943 4674 }
d55e5bfc
RD
4675 }
4676 if (obj3) {
4677 {
4678 arg4 = &temp4;
4679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4680 }
4681 }
4682 if (obj4) {
4683 {
4684 arg5 = &temp5;
4685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4686 }
4687 }
4688 if (obj5) {
093d3ff1
RD
4689 {
4690 arg6 = (long)(SWIG_As_long(obj5));
4691 if (SWIG_arg_fail(6)) SWIG_fail;
4692 }
d55e5bfc
RD
4693 }
4694 if (obj6) {
4695 {
4696 arg7 = wxString_in_helper(obj6);
4697 if (arg7 == NULL) SWIG_fail;
ae8162c8 4698 temp7 = true;
d55e5bfc
RD
4699 }
4700 }
4701 {
0439c23b 4702 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
4704 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4705
4706 wxPyEndAllowThreads(__tstate);
110da5b0 4707 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4708 }
b0f7404b 4709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4710 {
4711 if (temp3)
4712 delete arg3;
4713 }
4714 {
4715 if (temp7)
4716 delete arg7;
4717 }
4718 return resultobj;
4719 fail:
4720 {
4721 if (temp3)
4722 delete arg3;
4723 }
4724 {
4725 if (temp7)
4726 delete arg7;
4727 }
4728 return NULL;
4729}
4730
4731
c32bde28 4732static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4733 PyObject *resultobj;
4734 wxFrame *result;
4735 char *kwnames[] = {
4736 NULL
4737 };
4738
4739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4740 {
0439c23b 4741 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4742 PyThreadState* __tstate = wxPyBeginAllowThreads();
4743 result = (wxFrame *)new wxFrame();
4744
4745 wxPyEndAllowThreads(__tstate);
110da5b0 4746 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4747 }
b0f7404b 4748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4749 return resultobj;
4750 fail:
4751 return NULL;
4752}
4753
4754
c32bde28 4755static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4756 PyObject *resultobj;
4757 wxFrame *arg1 = (wxFrame *) 0 ;
4758 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4759 int arg3 = (int) (int)-1 ;
4760 wxString const &arg4_defvalue = wxPyEmptyString ;
4761 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4762 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4763 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4764 wxSize const &arg6_defvalue = wxDefaultSize ;
4765 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4766 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4767 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4768 wxString *arg8 = (wxString *) &arg8_defvalue ;
4769 bool result;
ae8162c8 4770 bool temp4 = false ;
d55e5bfc
RD
4771 wxPoint temp5 ;
4772 wxSize temp6 ;
ae8162c8 4773 bool temp8 = false ;
d55e5bfc
RD
4774 PyObject * obj0 = 0 ;
4775 PyObject * obj1 = 0 ;
4776 PyObject * obj2 = 0 ;
4777 PyObject * obj3 = 0 ;
4778 PyObject * obj4 = 0 ;
4779 PyObject * obj5 = 0 ;
4780 PyObject * obj6 = 0 ;
4781 PyObject * obj7 = 0 ;
4782 char *kwnames[] = {
4783 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4784 };
4785
248ed943 4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
4787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4788 if (SWIG_arg_fail(1)) SWIG_fail;
4789 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4790 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 4791 if (obj2) {
093d3ff1
RD
4792 {
4793 arg3 = (int const)(SWIG_As_int(obj2));
4794 if (SWIG_arg_fail(3)) SWIG_fail;
4795 }
248ed943
RD
4796 }
4797 if (obj3) {
4798 {
4799 arg4 = wxString_in_helper(obj3);
4800 if (arg4 == NULL) SWIG_fail;
ae8162c8 4801 temp4 = true;
248ed943 4802 }
d55e5bfc
RD
4803 }
4804 if (obj4) {
4805 {
4806 arg5 = &temp5;
4807 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4808 }
4809 }
4810 if (obj5) {
4811 {
4812 arg6 = &temp6;
4813 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4814 }
4815 }
4816 if (obj6) {
093d3ff1
RD
4817 {
4818 arg7 = (long)(SWIG_As_long(obj6));
4819 if (SWIG_arg_fail(7)) SWIG_fail;
4820 }
d55e5bfc
RD
4821 }
4822 if (obj7) {
4823 {
4824 arg8 = wxString_in_helper(obj7);
4825 if (arg8 == NULL) SWIG_fail;
ae8162c8 4826 temp8 = true;
d55e5bfc
RD
4827 }
4828 }
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4832
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
4836 {
4837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4838 }
4839 {
4840 if (temp4)
4841 delete arg4;
4842 }
4843 {
4844 if (temp8)
4845 delete arg8;
4846 }
4847 return resultobj;
4848 fail:
4849 {
4850 if (temp4)
4851 delete arg4;
4852 }
4853 {
4854 if (temp8)
4855 delete arg8;
4856 }
4857 return NULL;
4858}
4859
4860
c32bde28 4861static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4862 PyObject *resultobj;
4863 wxFrame *arg1 = (wxFrame *) 0 ;
4864 wxPoint result;
4865 PyObject * obj0 = 0 ;
4866 char *kwnames[] = {
4867 (char *) "self", NULL
4868 };
4869
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
093d3ff1
RD
4871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 {
4881 wxPoint * resultptr;
093d3ff1 4882 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
4883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4884 }
4885 return resultobj;
4886 fail:
4887 return NULL;
4888}
4889
4890
c32bde28 4891static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4892 PyObject *resultobj;
4893 wxFrame *arg1 = (wxFrame *) 0 ;
4894 PyObject * obj0 = 0 ;
4895 char *kwnames[] = {
4896 (char *) "self", NULL
4897 };
4898
4899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
4900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4901 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 (arg1)->SendSizeEvent();
4905
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 Py_INCREF(Py_None); resultobj = Py_None;
4910 return resultobj;
4911 fail:
4912 return NULL;
4913}
4914
4915
c32bde28 4916static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4917 PyObject *resultobj;
4918 wxFrame *arg1 = (wxFrame *) 0 ;
4919 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4920 PyObject * obj0 = 0 ;
4921 PyObject * obj1 = 0 ;
4922 char *kwnames[] = {
4923 (char *) "self",(char *) "menubar", NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4928 if (SWIG_arg_fail(1)) SWIG_fail;
4929 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4930 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4931 {
4932 PyThreadState* __tstate = wxPyBeginAllowThreads();
4933 (arg1)->SetMenuBar(arg2);
4934
4935 wxPyEndAllowThreads(__tstate);
4936 if (PyErr_Occurred()) SWIG_fail;
4937 }
4938 Py_INCREF(Py_None); resultobj = Py_None;
4939 return resultobj;
4940 fail:
4941 return NULL;
4942}
4943
4944
c32bde28 4945static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4946 PyObject *resultobj;
4947 wxFrame *arg1 = (wxFrame *) 0 ;
4948 wxMenuBar *result;
4949 PyObject * obj0 = 0 ;
4950 char *kwnames[] = {
4951 (char *) "self", NULL
4952 };
4953
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
4955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4956 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4960
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 {
412d302d 4965 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4966 }
4967 return resultobj;
4968 fail:
4969 return NULL;
4970}
4971
4972
c32bde28 4973static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4974 PyObject *resultobj;
4975 wxFrame *arg1 = (wxFrame *) 0 ;
4976 int arg2 ;
4977 bool result;
4978 PyObject * obj0 = 0 ;
4979 PyObject * obj1 = 0 ;
4980 char *kwnames[] = {
4981 (char *) "self",(char *) "winid", NULL
4982 };
4983
4984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4986 if (SWIG_arg_fail(1)) SWIG_fail;
4987 {
4988 arg2 = (int)(SWIG_As_int(obj1));
4989 if (SWIG_arg_fail(2)) SWIG_fail;
4990 }
d55e5bfc
RD
4991 {
4992 PyThreadState* __tstate = wxPyBeginAllowThreads();
4993 result = (bool)(arg1)->ProcessCommand(arg2);
4994
4995 wxPyEndAllowThreads(__tstate);
4996 if (PyErr_Occurred()) SWIG_fail;
4997 }
4998 {
4999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5000 }
5001 return resultobj;
5002 fail:
5003 return NULL;
5004}
5005
5006
c32bde28 5007static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5008 PyObject *resultobj;
5009 wxFrame *arg1 = (wxFrame *) 0 ;
5010 int arg2 = (int) 1 ;
5011 long arg3 = (long) wxST_SIZEGRIP ;
5012 int arg4 = (int) 0 ;
5013 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
5014 wxString *arg5 = (wxString *) &arg5_defvalue ;
5015 wxStatusBar *result;
ae8162c8 5016 bool temp5 = false ;
d55e5bfc
RD
5017 PyObject * obj0 = 0 ;
5018 PyObject * obj1 = 0 ;
5019 PyObject * obj2 = 0 ;
5020 PyObject * obj3 = 0 ;
5021 PyObject * obj4 = 0 ;
5022 char *kwnames[] = {
5023 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5024 };
5025
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) 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;
d55e5bfc 5029 if (obj1) {
093d3ff1
RD
5030 {
5031 arg2 = (int)(SWIG_As_int(obj1));
5032 if (SWIG_arg_fail(2)) SWIG_fail;
5033 }
d55e5bfc
RD
5034 }
5035 if (obj2) {
093d3ff1
RD
5036 {
5037 arg3 = (long)(SWIG_As_long(obj2));
5038 if (SWIG_arg_fail(3)) SWIG_fail;
5039 }
d55e5bfc
RD
5040 }
5041 if (obj3) {
093d3ff1
RD
5042 {
5043 arg4 = (int)(SWIG_As_int(obj3));
5044 if (SWIG_arg_fail(4)) SWIG_fail;
5045 }
d55e5bfc
RD
5046 }
5047 if (obj4) {
5048 {
5049 arg5 = wxString_in_helper(obj4);
5050 if (arg5 == NULL) SWIG_fail;
ae8162c8 5051 temp5 = true;
d55e5bfc
RD
5052 }
5053 }
5054 {
5055 PyThreadState* __tstate = wxPyBeginAllowThreads();
5056 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5057
5058 wxPyEndAllowThreads(__tstate);
5059 if (PyErr_Occurred()) SWIG_fail;
5060 }
5061 {
412d302d 5062 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5063 }
5064 {
5065 if (temp5)
5066 delete arg5;
5067 }
5068 return resultobj;
5069 fail:
5070 {
5071 if (temp5)
5072 delete arg5;
5073 }
5074 return NULL;
5075}
5076
5077
c32bde28 5078static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5079 PyObject *resultobj;
5080 wxFrame *arg1 = (wxFrame *) 0 ;
5081 wxStatusBar *result;
5082 PyObject * obj0 = 0 ;
5083 char *kwnames[] = {
5084 (char *) "self", NULL
5085 };
5086
5087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5089 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 {
412d302d 5098 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5099 }
5100 return resultobj;
5101 fail:
5102 return NULL;
5103}
5104
5105
c32bde28 5106static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5107 PyObject *resultobj;
5108 wxFrame *arg1 = (wxFrame *) 0 ;
5109 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5110 PyObject * obj0 = 0 ;
5111 PyObject * obj1 = 0 ;
5112 char *kwnames[] = {
5113 (char *) "self",(char *) "statBar", NULL
5114 };
5115
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5118 if (SWIG_arg_fail(1)) SWIG_fail;
5119 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5120 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5121 {
5122 PyThreadState* __tstate = wxPyBeginAllowThreads();
5123 (arg1)->SetStatusBar(arg2);
5124
5125 wxPyEndAllowThreads(__tstate);
5126 if (PyErr_Occurred()) SWIG_fail;
5127 }
5128 Py_INCREF(Py_None); resultobj = Py_None;
5129 return resultobj;
5130 fail:
5131 return NULL;
5132}
5133
5134
c32bde28 5135static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5136 PyObject *resultobj;
5137 wxFrame *arg1 = (wxFrame *) 0 ;
5138 wxString *arg2 = 0 ;
5139 int arg3 = (int) 0 ;
ae8162c8 5140 bool temp2 = false ;
d55e5bfc
RD
5141 PyObject * obj0 = 0 ;
5142 PyObject * obj1 = 0 ;
5143 PyObject * obj2 = 0 ;
5144 char *kwnames[] = {
5145 (char *) "self",(char *) "text",(char *) "number", NULL
5146 };
5147
5148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5151 {
5152 arg2 = wxString_in_helper(obj1);
5153 if (arg2 == NULL) SWIG_fail;
ae8162c8 5154 temp2 = true;
d55e5bfc
RD
5155 }
5156 if (obj2) {
093d3ff1
RD
5157 {
5158 arg3 = (int)(SWIG_As_int(obj2));
5159 if (SWIG_arg_fail(3)) SWIG_fail;
5160 }
d55e5bfc
RD
5161 }
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 Py_INCREF(Py_None); resultobj = Py_None;
5170 {
5171 if (temp2)
5172 delete arg2;
5173 }
5174 return resultobj;
5175 fail:
5176 {
5177 if (temp2)
5178 delete arg2;
5179 }
5180 return NULL;
5181}
5182
5183
c32bde28 5184static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5185 PyObject *resultobj;
5186 wxFrame *arg1 = (wxFrame *) 0 ;
5187 int arg2 ;
5188 int *arg3 = (int *) 0 ;
5189 PyObject * obj0 = 0 ;
5190 PyObject * obj1 = 0 ;
5191 char *kwnames[] = {
5192 (char *) "self",(char *) "widths", NULL
5193 };
5194
5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5197 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5198 {
5199 arg2 = PyList_Size(obj1);
5200 arg3 = int_LIST_helper(obj1);
5201 if (arg3 == NULL) SWIG_fail;
5202 }
5203 {
5204 PyThreadState* __tstate = wxPyBeginAllowThreads();
5205 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5206
5207 wxPyEndAllowThreads(__tstate);
5208 if (PyErr_Occurred()) SWIG_fail;
5209 }
5210 Py_INCREF(Py_None); resultobj = Py_None;
5211 {
5212 if (arg3) delete [] arg3;
5213 }
5214 return resultobj;
5215 fail:
5216 {
5217 if (arg3) delete [] arg3;
5218 }
5219 return NULL;
5220}
5221
5222
c32bde28 5223static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5224 PyObject *resultobj;
5225 wxFrame *arg1 = (wxFrame *) 0 ;
5226 wxString *arg2 = 0 ;
5227 int arg3 = (int) 0 ;
ae8162c8 5228 bool temp2 = false ;
d55e5bfc
RD
5229 PyObject * obj0 = 0 ;
5230 PyObject * obj1 = 0 ;
5231 PyObject * obj2 = 0 ;
5232 char *kwnames[] = {
5233 (char *) "self",(char *) "text",(char *) "number", NULL
5234 };
5235
5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5238 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5239 {
5240 arg2 = wxString_in_helper(obj1);
5241 if (arg2 == NULL) SWIG_fail;
ae8162c8 5242 temp2 = true;
d55e5bfc
RD
5243 }
5244 if (obj2) {
093d3ff1
RD
5245 {
5246 arg3 = (int)(SWIG_As_int(obj2));
5247 if (SWIG_arg_fail(3)) SWIG_fail;
5248 }
d55e5bfc
RD
5249 }
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 Py_INCREF(Py_None); resultobj = Py_None;
5258 {
5259 if (temp2)
5260 delete arg2;
5261 }
5262 return resultobj;
5263 fail:
5264 {
5265 if (temp2)
5266 delete arg2;
5267 }
5268 return NULL;
5269}
5270
5271
c32bde28 5272static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5273 PyObject *resultobj;
5274 wxFrame *arg1 = (wxFrame *) 0 ;
5275 int arg2 = (int) 0 ;
5276 PyObject * obj0 = 0 ;
5277 PyObject * obj1 = 0 ;
5278 char *kwnames[] = {
5279 (char *) "self",(char *) "number", NULL
5280 };
5281
5282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5284 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5285 if (obj1) {
093d3ff1
RD
5286 {
5287 arg2 = (int)(SWIG_As_int(obj1));
5288 if (SWIG_arg_fail(2)) SWIG_fail;
5289 }
d55e5bfc
RD
5290 }
5291 {
5292 PyThreadState* __tstate = wxPyBeginAllowThreads();
5293 (arg1)->PopStatusText(arg2);
5294
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 Py_INCREF(Py_None); resultobj = Py_None;
5299 return resultobj;
5300 fail:
5301 return NULL;
5302}
5303
5304
c32bde28 5305static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5306 PyObject *resultobj;
5307 wxFrame *arg1 = (wxFrame *) 0 ;
5308 int arg2 ;
5309 PyObject * obj0 = 0 ;
5310 PyObject * obj1 = 0 ;
5311 char *kwnames[] = {
5312 (char *) "self",(char *) "n", NULL
5313 };
5314
5315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5317 if (SWIG_arg_fail(1)) SWIG_fail;
5318 {
5319 arg2 = (int)(SWIG_As_int(obj1));
5320 if (SWIG_arg_fail(2)) SWIG_fail;
5321 }
d55e5bfc
RD
5322 {
5323 PyThreadState* __tstate = wxPyBeginAllowThreads();
5324 (arg1)->SetStatusBarPane(arg2);
5325
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 Py_INCREF(Py_None); resultobj = Py_None;
5330 return resultobj;
5331 fail:
5332 return NULL;
5333}
5334
5335
c32bde28 5336static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5337 PyObject *resultobj;
5338 wxFrame *arg1 = (wxFrame *) 0 ;
5339 int result;
5340 PyObject * obj0 = 0 ;
5341 char *kwnames[] = {
5342 (char *) "self", NULL
5343 };
5344
5345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
093d3ff1
RD
5346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5348 {
5349 PyThreadState* __tstate = wxPyBeginAllowThreads();
5350 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5351
5352 wxPyEndAllowThreads(__tstate);
5353 if (PyErr_Occurred()) SWIG_fail;
5354 }
093d3ff1
RD
5355 {
5356 resultobj = SWIG_From_int((int)(result));
5357 }
d55e5bfc
RD
5358 return resultobj;
5359 fail:
5360 return NULL;
5361}
5362
5363
c32bde28 5364static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5365 PyObject *resultobj;
5366 wxFrame *arg1 = (wxFrame *) 0 ;
5367 long arg2 = (long) -1 ;
5368 int arg3 = (int) -1 ;
5369 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5370 wxString *arg4 = (wxString *) &arg4_defvalue ;
5371 wxToolBar *result;
ae8162c8 5372 bool temp4 = false ;
d55e5bfc
RD
5373 PyObject * obj0 = 0 ;
5374 PyObject * obj1 = 0 ;
5375 PyObject * obj2 = 0 ;
5376 PyObject * obj3 = 0 ;
5377 char *kwnames[] = {
5378 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5379 };
5380
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
5382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5383 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5384 if (obj1) {
093d3ff1
RD
5385 {
5386 arg2 = (long)(SWIG_As_long(obj1));
5387 if (SWIG_arg_fail(2)) SWIG_fail;
5388 }
d55e5bfc
RD
5389 }
5390 if (obj2) {
093d3ff1
RD
5391 {
5392 arg3 = (int)(SWIG_As_int(obj2));
5393 if (SWIG_arg_fail(3)) SWIG_fail;
5394 }
d55e5bfc
RD
5395 }
5396 if (obj3) {
5397 {
5398 arg4 = wxString_in_helper(obj3);
5399 if (arg4 == NULL) SWIG_fail;
ae8162c8 5400 temp4 = true;
d55e5bfc
RD
5401 }
5402 }
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5406
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 {
412d302d 5411 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5412 }
5413 {
5414 if (temp4)
5415 delete arg4;
5416 }
5417 return resultobj;
5418 fail:
5419 {
5420 if (temp4)
5421 delete arg4;
5422 }
5423 return NULL;
5424}
5425
5426
c32bde28 5427static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5428 PyObject *resultobj;
5429 wxFrame *arg1 = (wxFrame *) 0 ;
5430 wxToolBar *result;
5431 PyObject * obj0 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "self", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5438 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
5446 {
412d302d 5447 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5448 }
5449 return resultobj;
5450 fail:
5451 return NULL;
5452}
5453
5454
c32bde28 5455static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5456 PyObject *resultobj;
5457 wxFrame *arg1 = (wxFrame *) 0 ;
5458 wxToolBar *arg2 = (wxToolBar *) 0 ;
5459 PyObject * obj0 = 0 ;
5460 PyObject * obj1 = 0 ;
5461 char *kwnames[] = {
5462 (char *) "self",(char *) "toolbar", NULL
5463 };
5464
5465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5467 if (SWIG_arg_fail(1)) SWIG_fail;
5468 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5469 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5470 {
5471 PyThreadState* __tstate = wxPyBeginAllowThreads();
5472 (arg1)->SetToolBar(arg2);
5473
5474 wxPyEndAllowThreads(__tstate);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 }
5477 Py_INCREF(Py_None); resultobj = Py_None;
5478 return resultobj;
5479 fail:
5480 return NULL;
5481}
5482
5483
c32bde28 5484static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5485 PyObject *resultobj;
5486 wxFrame *arg1 = (wxFrame *) 0 ;
5487 wxString *arg2 = 0 ;
5488 bool arg3 ;
ae8162c8 5489 bool temp2 = false ;
d55e5bfc
RD
5490 PyObject * obj0 = 0 ;
5491 PyObject * obj1 = 0 ;
5492 PyObject * obj2 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self",(char *) "text",(char *) "show", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5499 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5500 {
5501 arg2 = wxString_in_helper(obj1);
5502 if (arg2 == NULL) SWIG_fail;
ae8162c8 5503 temp2 = true;
d55e5bfc 5504 }
093d3ff1
RD
5505 {
5506 arg3 = (bool)(SWIG_As_bool(obj2));
5507 if (SWIG_arg_fail(3)) SWIG_fail;
5508 }
d55e5bfc
RD
5509 {
5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
5511 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5512
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 Py_INCREF(Py_None); resultobj = Py_None;
5517 {
5518 if (temp2)
5519 delete arg2;
5520 }
5521 return resultobj;
5522 fail:
5523 {
5524 if (temp2)
5525 delete arg2;
5526 }
5527 return NULL;
5528}
5529
5530
c32bde28 5531static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5532 PyObject *resultobj;
5533 wxFrame *arg1 = (wxFrame *) 0 ;
5534 wxMenu *arg2 = (wxMenu *) NULL ;
5535 PyObject * obj0 = 0 ;
5536 PyObject * obj1 = 0 ;
5537 char *kwnames[] = {
5538 (char *) "self",(char *) "menu", NULL
5539 };
5540
5541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5543 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5544 if (obj1) {
093d3ff1
RD
5545 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5546 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5547 }
5548 {
5549 PyThreadState* __tstate = wxPyBeginAllowThreads();
5550 (arg1)->DoMenuUpdates(arg2);
5551
5552 wxPyEndAllowThreads(__tstate);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 }
5555 Py_INCREF(Py_None); resultobj = Py_None;
5556 return resultobj;
5557 fail:
5558 return NULL;
5559}
5560
5561
c32bde28 5562static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5563 PyObject *resultobj;
093d3ff1 5564 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5565 wxVisualAttributes result;
5566 PyObject * obj0 = 0 ;
5567 char *kwnames[] = {
5568 (char *) "variant", NULL
5569 };
5570
5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5572 if (obj0) {
093d3ff1
RD
5573 {
5574 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5575 if (SWIG_arg_fail(1)) SWIG_fail;
5576 }
f20a2e1f
RD
5577 }
5578 {
0439c23b 5579 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5582
5583 wxPyEndAllowThreads(__tstate);
110da5b0 5584 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5585 }
5586 {
5587 wxVisualAttributes * resultptr;
093d3ff1 5588 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5589 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5590 }
5591 return resultobj;
5592 fail:
5593 return NULL;
5594}
5595
5596
c32bde28 5597static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5598 PyObject *obj;
5599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5600 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5601 Py_INCREF(obj);
5602 return Py_BuildValue((char *)"");
5603}
c32bde28 5604static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5605 PyObject *resultobj;
5606 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5607 int arg2 = (int) (int)-1 ;
5608 wxString const &arg3_defvalue = wxPyEmptyString ;
5609 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5610 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5611 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5612 wxSize const &arg5_defvalue = wxDefaultSize ;
5613 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5614 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5615 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5616 wxString *arg7 = (wxString *) &arg7_defvalue ;
5617 wxDialog *result;
ae8162c8 5618 bool temp3 = false ;
d55e5bfc
RD
5619 wxPoint temp4 ;
5620 wxSize temp5 ;
ae8162c8 5621 bool temp7 = false ;
d55e5bfc
RD
5622 PyObject * obj0 = 0 ;
5623 PyObject * obj1 = 0 ;
5624 PyObject * obj2 = 0 ;
5625 PyObject * obj3 = 0 ;
5626 PyObject * obj4 = 0 ;
5627 PyObject * obj5 = 0 ;
5628 PyObject * obj6 = 0 ;
5629 char *kwnames[] = {
5630 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5631 };
5632
248ed943 5633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5635 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5636 if (obj1) {
093d3ff1
RD
5637 {
5638 arg2 = (int const)(SWIG_As_int(obj1));
5639 if (SWIG_arg_fail(2)) SWIG_fail;
5640 }
248ed943
RD
5641 }
5642 if (obj2) {
5643 {
5644 arg3 = wxString_in_helper(obj2);
5645 if (arg3 == NULL) SWIG_fail;
ae8162c8 5646 temp3 = true;
248ed943 5647 }
d55e5bfc
RD
5648 }
5649 if (obj3) {
5650 {
5651 arg4 = &temp4;
5652 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5653 }
5654 }
5655 if (obj4) {
5656 {
5657 arg5 = &temp5;
5658 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5659 }
5660 }
5661 if (obj5) {
093d3ff1
RD
5662 {
5663 arg6 = (long)(SWIG_As_long(obj5));
5664 if (SWIG_arg_fail(6)) SWIG_fail;
5665 }
d55e5bfc
RD
5666 }
5667 if (obj6) {
5668 {
5669 arg7 = wxString_in_helper(obj6);
5670 if (arg7 == NULL) SWIG_fail;
ae8162c8 5671 temp7 = true;
d55e5bfc
RD
5672 }
5673 }
5674 {
0439c23b 5675 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5678
5679 wxPyEndAllowThreads(__tstate);
110da5b0 5680 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5681 }
b0f7404b 5682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5683 {
5684 if (temp3)
5685 delete arg3;
5686 }
5687 {
5688 if (temp7)
5689 delete arg7;
5690 }
5691 return resultobj;
5692 fail:
5693 {
5694 if (temp3)
5695 delete arg3;
5696 }
5697 {
5698 if (temp7)
5699 delete arg7;
5700 }
5701 return NULL;
5702}
5703
5704
c32bde28 5705static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5706 PyObject *resultobj;
5707 wxDialog *result;
5708 char *kwnames[] = {
5709 NULL
5710 };
5711
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5713 {
0439c23b 5714 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 result = (wxDialog *)new wxDialog();
5717
5718 wxPyEndAllowThreads(__tstate);
110da5b0 5719 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5720 }
b0f7404b 5721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5722 return resultobj;
5723 fail:
5724 return NULL;
5725}
5726
5727
c32bde28 5728static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5729 PyObject *resultobj;
5730 wxDialog *arg1 = (wxDialog *) 0 ;
5731 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5732 int arg3 = (int) (int)-1 ;
5733 wxString const &arg4_defvalue = wxPyEmptyString ;
5734 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
5735 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5736 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5737 wxSize const &arg6_defvalue = wxDefaultSize ;
5738 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5739 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5740 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5741 wxString *arg8 = (wxString *) &arg8_defvalue ;
5742 bool result;
ae8162c8 5743 bool temp4 = false ;
d55e5bfc
RD
5744 wxPoint temp5 ;
5745 wxSize temp6 ;
ae8162c8 5746 bool temp8 = false ;
d55e5bfc
RD
5747 PyObject * obj0 = 0 ;
5748 PyObject * obj1 = 0 ;
5749 PyObject * obj2 = 0 ;
5750 PyObject * obj3 = 0 ;
5751 PyObject * obj4 = 0 ;
5752 PyObject * obj5 = 0 ;
5753 PyObject * obj6 = 0 ;
5754 PyObject * obj7 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5757 };
5758
248ed943 5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5761 if (SWIG_arg_fail(1)) SWIG_fail;
5762 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5763 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5764 if (obj2) {
093d3ff1
RD
5765 {
5766 arg3 = (int const)(SWIG_As_int(obj2));
5767 if (SWIG_arg_fail(3)) SWIG_fail;
5768 }
248ed943
RD
5769 }
5770 if (obj3) {
5771 {
5772 arg4 = wxString_in_helper(obj3);
5773 if (arg4 == NULL) SWIG_fail;
ae8162c8 5774 temp4 = true;
248ed943 5775 }
d55e5bfc
RD
5776 }
5777 if (obj4) {
5778 {
5779 arg5 = &temp5;
5780 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5781 }
5782 }
5783 if (obj5) {
5784 {
5785 arg6 = &temp6;
5786 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5787 }
5788 }
5789 if (obj6) {
093d3ff1
RD
5790 {
5791 arg7 = (long)(SWIG_As_long(obj6));
5792 if (SWIG_arg_fail(7)) SWIG_fail;
5793 }
d55e5bfc
RD
5794 }
5795 if (obj7) {
5796 {
5797 arg8 = wxString_in_helper(obj7);
5798 if (arg8 == NULL) SWIG_fail;
ae8162c8 5799 temp8 = true;
d55e5bfc
RD
5800 }
5801 }
5802 {
5803 PyThreadState* __tstate = wxPyBeginAllowThreads();
5804 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5805
5806 wxPyEndAllowThreads(__tstate);
5807 if (PyErr_Occurred()) SWIG_fail;
5808 }
5809 {
5810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5811 }
5812 {
5813 if (temp4)
5814 delete arg4;
5815 }
5816 {
5817 if (temp8)
5818 delete arg8;
5819 }
5820 return resultobj;
5821 fail:
5822 {
5823 if (temp4)
5824 delete arg4;
5825 }
5826 {
5827 if (temp8)
5828 delete arg8;
5829 }
5830 return NULL;
5831}
5832
5833
c32bde28 5834static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5835 PyObject *resultobj;
5836 wxDialog *arg1 = (wxDialog *) 0 ;
5837 int arg2 ;
5838 PyObject * obj0 = 0 ;
5839 PyObject * obj1 = 0 ;
5840 char *kwnames[] = {
5841 (char *) "self",(char *) "returnCode", NULL
5842 };
5843
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5846 if (SWIG_arg_fail(1)) SWIG_fail;
5847 {
5848 arg2 = (int)(SWIG_As_int(obj1));
5849 if (SWIG_arg_fail(2)) SWIG_fail;
5850 }
d55e5bfc
RD
5851 {
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 (arg1)->SetReturnCode(arg2);
5854
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 Py_INCREF(Py_None); resultobj = Py_None;
5859 return resultobj;
5860 fail:
5861 return NULL;
5862}
5863
5864
c32bde28 5865static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5866 PyObject *resultobj;
5867 wxDialog *arg1 = (wxDialog *) 0 ;
5868 int result;
5869 PyObject * obj0 = 0 ;
5870 char *kwnames[] = {
5871 (char *) "self", NULL
5872 };
5873
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
5875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5876 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5877 {
5878 PyThreadState* __tstate = wxPyBeginAllowThreads();
5879 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5880
5881 wxPyEndAllowThreads(__tstate);
5882 if (PyErr_Occurred()) SWIG_fail;
5883 }
093d3ff1
RD
5884 {
5885 resultobj = SWIG_From_int((int)(result));
5886 }
d55e5bfc
RD
5887 return resultobj;
5888 fail:
5889 return NULL;
5890}
5891
5892
c32bde28 5893static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5894 PyObject *resultobj;
5895 wxDialog *arg1 = (wxDialog *) 0 ;
5896 wxString *arg2 = 0 ;
5897 wxSizer *result;
ae8162c8 5898 bool temp2 = false ;
d55e5bfc
RD
5899 PyObject * obj0 = 0 ;
5900 PyObject * obj1 = 0 ;
5901 char *kwnames[] = {
5902 (char *) "self",(char *) "message", NULL
5903 };
5904
5905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5908 {
5909 arg2 = wxString_in_helper(obj1);
5910 if (arg2 == NULL) SWIG_fail;
ae8162c8 5911 temp2 = true;
d55e5bfc
RD
5912 }
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5916
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 {
412d302d 5921 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
5922 }
5923 {
5924 if (temp2)
5925 delete arg2;
5926 }
5927 return resultobj;
5928 fail:
5929 {
5930 if (temp2)
5931 delete arg2;
5932 }
5933 return NULL;
5934}
5935
5936
c32bde28 5937static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5938 PyObject *resultobj;
5939 wxDialog *arg1 = (wxDialog *) 0 ;
5940 long arg2 ;
5941 wxSizer *result;
5942 PyObject * obj0 = 0 ;
5943 PyObject * obj1 = 0 ;
5944 char *kwnames[] = {
5945 (char *) "self",(char *) "flags", NULL
5946 };
5947
5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5950 if (SWIG_arg_fail(1)) SWIG_fail;
5951 {
5952 arg2 = (long)(SWIG_As_long(obj1));
5953 if (SWIG_arg_fail(2)) SWIG_fail;
5954 }
d55e5bfc
RD
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
5962 {
412d302d 5963 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
5964 }
5965 return resultobj;
5966 fail:
5967 return NULL;
5968}
5969
5970
62d32a5f
RD
5971static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5972 PyObject *resultobj;
5973 wxDialog *arg1 = (wxDialog *) 0 ;
5974 long arg2 ;
5975 wxStdDialogButtonSizer *result;
5976 PyObject * obj0 = 0 ;
5977 PyObject * obj1 = 0 ;
5978 char *kwnames[] = {
5979 (char *) "self",(char *) "flags", NULL
5980 };
5981
5982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5984 if (SWIG_arg_fail(1)) SWIG_fail;
5985 {
5986 arg2 = (long)(SWIG_As_long(obj1));
5987 if (SWIG_arg_fail(2)) SWIG_fail;
5988 }
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
5992
5993 wxPyEndAllowThreads(__tstate);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 }
5996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
5997 return resultobj;
5998 fail:
5999 return NULL;
6000}
6001
6002
c32bde28 6003static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6004 PyObject *resultobj;
6005 wxDialog *arg1 = (wxDialog *) 0 ;
6006 bool result;
6007 PyObject * obj0 = 0 ;
6008 char *kwnames[] = {
6009 (char *) "self", NULL
6010 };
6011
6012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6014 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6015 {
6016 PyThreadState* __tstate = wxPyBeginAllowThreads();
6017 result = (bool)((wxDialog const *)arg1)->IsModal();
6018
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 {
6023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6024 }
6025 return resultobj;
6026 fail:
6027 return NULL;
6028}
6029
6030
c32bde28 6031static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6032 PyObject *resultobj;
6033 wxDialog *arg1 = (wxDialog *) 0 ;
6034 int result;
6035 PyObject * obj0 = 0 ;
6036 char *kwnames[] = {
6037 (char *) "self", NULL
6038 };
6039
6040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6042 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 result = (int)(arg1)->ShowModal();
6046
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
093d3ff1
RD
6050 {
6051 resultobj = SWIG_From_int((int)(result));
6052 }
d55e5bfc
RD
6053 return resultobj;
6054 fail:
6055 return NULL;
6056}
6057
6058
c32bde28 6059static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6060 PyObject *resultobj;
6061 wxDialog *arg1 = (wxDialog *) 0 ;
6062 int arg2 ;
6063 PyObject * obj0 = 0 ;
6064 PyObject * obj1 = 0 ;
6065 char *kwnames[] = {
6066 (char *) "self",(char *) "retCode", NULL
6067 };
6068
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6071 if (SWIG_arg_fail(1)) SWIG_fail;
6072 {
6073 arg2 = (int)(SWIG_As_int(obj1));
6074 if (SWIG_arg_fail(2)) SWIG_fail;
6075 }
d55e5bfc
RD
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 (arg1)->EndModal(arg2);
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 Py_INCREF(Py_None); resultobj = Py_None;
6084 return resultobj;
6085 fail:
6086 return NULL;
6087}
6088
6089
c32bde28 6090static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6091 PyObject *resultobj;
093d3ff1 6092 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6093 wxVisualAttributes result;
6094 PyObject * obj0 = 0 ;
6095 char *kwnames[] = {
6096 (char *) "variant", NULL
6097 };
6098
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6100 if (obj0) {
093d3ff1
RD
6101 {
6102 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6103 if (SWIG_arg_fail(1)) SWIG_fail;
6104 }
f20a2e1f
RD
6105 }
6106 {
0439c23b 6107 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
6109 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6110
6111 wxPyEndAllowThreads(__tstate);
110da5b0 6112 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6113 }
6114 {
6115 wxVisualAttributes * resultptr;
093d3ff1 6116 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6117 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6118 }
6119 return resultobj;
6120 fail:
6121 return NULL;
6122}
6123
6124
c32bde28 6125static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6126 PyObject *obj;
6127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6128 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6129 Py_INCREF(obj);
6130 return Py_BuildValue((char *)"");
6131}
c32bde28 6132static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6133 PyObject *resultobj;
6134 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6135 int arg2 = (int) (int)-1 ;
6136 wxString const &arg3_defvalue = wxPyEmptyString ;
6137 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6138 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6139 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6140 wxSize const &arg5_defvalue = wxDefaultSize ;
6141 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6142 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6143 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6144 wxString *arg7 = (wxString *) &arg7_defvalue ;
6145 wxMiniFrame *result;
ae8162c8 6146 bool temp3 = false ;
d55e5bfc
RD
6147 wxPoint temp4 ;
6148 wxSize temp5 ;
ae8162c8 6149 bool temp7 = false ;
d55e5bfc
RD
6150 PyObject * obj0 = 0 ;
6151 PyObject * obj1 = 0 ;
6152 PyObject * obj2 = 0 ;
6153 PyObject * obj3 = 0 ;
6154 PyObject * obj4 = 0 ;
6155 PyObject * obj5 = 0 ;
6156 PyObject * obj6 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6159 };
6160
248ed943 6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6163 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6164 if (obj1) {
093d3ff1
RD
6165 {
6166 arg2 = (int const)(SWIG_As_int(obj1));
6167 if (SWIG_arg_fail(2)) SWIG_fail;
6168 }
248ed943
RD
6169 }
6170 if (obj2) {
6171 {
6172 arg3 = wxString_in_helper(obj2);
6173 if (arg3 == NULL) SWIG_fail;
ae8162c8 6174 temp3 = true;
248ed943 6175 }
d55e5bfc
RD
6176 }
6177 if (obj3) {
6178 {
6179 arg4 = &temp4;
6180 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6181 }
6182 }
6183 if (obj4) {
6184 {
6185 arg5 = &temp5;
6186 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6187 }
6188 }
6189 if (obj5) {
093d3ff1
RD
6190 {
6191 arg6 = (long)(SWIG_As_long(obj5));
6192 if (SWIG_arg_fail(6)) SWIG_fail;
6193 }
d55e5bfc
RD
6194 }
6195 if (obj6) {
6196 {
6197 arg7 = wxString_in_helper(obj6);
6198 if (arg7 == NULL) SWIG_fail;
ae8162c8 6199 temp7 = true;
d55e5bfc
RD
6200 }
6201 }
6202 {
0439c23b 6203 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6206
6207 wxPyEndAllowThreads(__tstate);
110da5b0 6208 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6209 }
6210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6211 {
6212 if (temp3)
6213 delete arg3;
6214 }
6215 {
6216 if (temp7)
6217 delete arg7;
6218 }
6219 return resultobj;
6220 fail:
6221 {
6222 if (temp3)
6223 delete arg3;
6224 }
6225 {
6226 if (temp7)
6227 delete arg7;
6228 }
6229 return NULL;
6230}
6231
6232
c32bde28 6233static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6234 PyObject *resultobj;
6235 wxMiniFrame *result;
6236 char *kwnames[] = {
6237 NULL
6238 };
6239
6240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6241 {
0439c23b 6242 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 result = (wxMiniFrame *)new wxMiniFrame();
6245
6246 wxPyEndAllowThreads(__tstate);
110da5b0 6247 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6248 }
6249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6250 return resultobj;
6251 fail:
6252 return NULL;
6253}
6254
6255
c32bde28 6256static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6257 PyObject *resultobj;
6258 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6259 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6260 int arg3 = (int) (int)-1 ;
6261 wxString const &arg4_defvalue = wxPyEmptyString ;
6262 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6263 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6264 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6265 wxSize const &arg6_defvalue = wxDefaultSize ;
6266 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6267 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6268 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6269 wxString *arg8 = (wxString *) &arg8_defvalue ;
6270 bool result;
ae8162c8 6271 bool temp4 = false ;
d55e5bfc
RD
6272 wxPoint temp5 ;
6273 wxSize temp6 ;
ae8162c8 6274 bool temp8 = false ;
d55e5bfc
RD
6275 PyObject * obj0 = 0 ;
6276 PyObject * obj1 = 0 ;
6277 PyObject * obj2 = 0 ;
6278 PyObject * obj3 = 0 ;
6279 PyObject * obj4 = 0 ;
6280 PyObject * obj5 = 0 ;
6281 PyObject * obj6 = 0 ;
6282 PyObject * obj7 = 0 ;
6283 char *kwnames[] = {
6284 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6285 };
6286
248ed943 6287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6289 if (SWIG_arg_fail(1)) SWIG_fail;
6290 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6291 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6292 if (obj2) {
093d3ff1
RD
6293 {
6294 arg3 = (int const)(SWIG_As_int(obj2));
6295 if (SWIG_arg_fail(3)) SWIG_fail;
6296 }
248ed943
RD
6297 }
6298 if (obj3) {
6299 {
6300 arg4 = wxString_in_helper(obj3);
6301 if (arg4 == NULL) SWIG_fail;
ae8162c8 6302 temp4 = true;
248ed943 6303 }
d55e5bfc
RD
6304 }
6305 if (obj4) {
6306 {
6307 arg5 = &temp5;
6308 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6309 }
6310 }
6311 if (obj5) {
6312 {
6313 arg6 = &temp6;
6314 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6315 }
6316 }
6317 if (obj6) {
093d3ff1
RD
6318 {
6319 arg7 = (long)(SWIG_As_long(obj6));
6320 if (SWIG_arg_fail(7)) SWIG_fail;
6321 }
d55e5bfc
RD
6322 }
6323 if (obj7) {
6324 {
6325 arg8 = wxString_in_helper(obj7);
6326 if (arg8 == NULL) SWIG_fail;
ae8162c8 6327 temp8 = true;
d55e5bfc
RD
6328 }
6329 }
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
6337 {
6338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6339 }
6340 {
6341 if (temp4)
6342 delete arg4;
6343 }
6344 {
6345 if (temp8)
6346 delete arg8;
6347 }
6348 return resultobj;
6349 fail:
6350 {
6351 if (temp4)
6352 delete arg4;
6353 }
6354 {
6355 if (temp8)
6356 delete arg8;
6357 }
6358 return NULL;
6359}
6360
6361
c32bde28 6362static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6363 PyObject *obj;
6364 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6365 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6366 Py_INCREF(obj);
6367 return Py_BuildValue((char *)"");
6368}
c32bde28 6369static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6370 PyObject *resultobj;
6371 wxBitmap *arg1 = 0 ;
6372 wxWindow *arg2 = (wxWindow *) 0 ;
6373 int arg3 ;
6374 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6375 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6376 wxSize const &arg5_defvalue = wxDefaultSize ;
6377 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6378 long arg6 = (long) wxNO_BORDER ;
6379 wxSplashScreenWindow *result;
6380 wxPoint temp4 ;
6381 wxSize temp5 ;
6382 PyObject * obj0 = 0 ;
6383 PyObject * obj1 = 0 ;
6384 PyObject * obj2 = 0 ;
6385 PyObject * obj3 = 0 ;
6386 PyObject * obj4 = 0 ;
6387 PyObject * obj5 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6393 {
6394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6395 if (SWIG_arg_fail(1)) SWIG_fail;
6396 if (arg1 == NULL) {
6397 SWIG_null_ref("wxBitmap");
6398 }
6399 if (SWIG_arg_fail(1)) SWIG_fail;
6400 }
6401 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6402 if (SWIG_arg_fail(2)) SWIG_fail;
6403 {
6404 arg3 = (int)(SWIG_As_int(obj2));
6405 if (SWIG_arg_fail(3)) SWIG_fail;
6406 }
d55e5bfc
RD
6407 if (obj3) {
6408 {
6409 arg4 = &temp4;
6410 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6411 }
6412 }
6413 if (obj4) {
6414 {
6415 arg5 = &temp5;
6416 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6417 }
6418 }
6419 if (obj5) {
093d3ff1
RD
6420 {
6421 arg6 = (long)(SWIG_As_long(obj5));
6422 if (SWIG_arg_fail(6)) SWIG_fail;
6423 }
d55e5bfc
RD
6424 }
6425 {
0439c23b 6426 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6429
6430 wxPyEndAllowThreads(__tstate);
110da5b0 6431 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6432 }
6433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6434 return resultobj;
6435 fail:
6436 return NULL;
6437}
6438
6439
c32bde28 6440static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6441 PyObject *resultobj;
6442 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6443 wxBitmap *arg2 = 0 ;
6444 PyObject * obj0 = 0 ;
6445 PyObject * obj1 = 0 ;
6446 char *kwnames[] = {
6447 (char *) "self",(char *) "bitmap", NULL
6448 };
6449
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6452 if (SWIG_arg_fail(1)) SWIG_fail;
6453 {
6454 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6455 if (SWIG_arg_fail(2)) SWIG_fail;
6456 if (arg2 == NULL) {
6457 SWIG_null_ref("wxBitmap");
6458 }
6459 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6460 }
6461 {
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6464
6465 wxPyEndAllowThreads(__tstate);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 }
6468 Py_INCREF(Py_None); resultobj = Py_None;
6469 return resultobj;
6470 fail:
6471 return NULL;
6472}
6473
6474
c32bde28 6475static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6476 PyObject *resultobj;
6477 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6478 wxBitmap *result;
6479 PyObject * obj0 = 0 ;
6480 char *kwnames[] = {
6481 (char *) "self", NULL
6482 };
6483
6484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
6485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6487 {
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 {
6490 wxBitmap &_result_ref = (arg1)->GetBitmap();
6491 result = (wxBitmap *) &_result_ref;
6492 }
6493
6494 wxPyEndAllowThreads(__tstate);
6495 if (PyErr_Occurred()) SWIG_fail;
6496 }
6497 {
6498 wxBitmap* resultptr = new wxBitmap(*result);
6499 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6500 }
6501 return resultobj;
6502 fail:
6503 return NULL;
6504}
6505
6506
c32bde28 6507static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6508 PyObject *obj;
6509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6510 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6511 Py_INCREF(obj);
6512 return Py_BuildValue((char *)"");
6513}
c32bde28 6514static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6515 PyObject *resultobj;
6516 wxBitmap *arg1 = 0 ;
6517 long arg2 ;
6518 int arg3 ;
6519 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 6520 int arg5 = (int) -1 ;
d55e5bfc
RD
6521 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6522 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6523 wxSize const &arg7_defvalue = wxDefaultSize ;
6524 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6525 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6526 wxSplashScreen *result;
6527 wxPoint temp6 ;
6528 wxSize temp7 ;
6529 PyObject * obj0 = 0 ;
6530 PyObject * obj1 = 0 ;
6531 PyObject * obj2 = 0 ;
6532 PyObject * obj3 = 0 ;
6533 PyObject * obj4 = 0 ;
6534 PyObject * obj5 = 0 ;
6535 PyObject * obj6 = 0 ;
6536 PyObject * obj7 = 0 ;
6537 char *kwnames[] = {
6538 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6539 };
6540
248ed943 6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6542 {
6543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6544 if (SWIG_arg_fail(1)) SWIG_fail;
6545 if (arg1 == NULL) {
6546 SWIG_null_ref("wxBitmap");
6547 }
6548 if (SWIG_arg_fail(1)) SWIG_fail;
6549 }
6550 {
6551 arg2 = (long)(SWIG_As_long(obj1));
6552 if (SWIG_arg_fail(2)) SWIG_fail;
6553 }
6554 {
6555 arg3 = (int)(SWIG_As_int(obj2));
6556 if (SWIG_arg_fail(3)) SWIG_fail;
6557 }
6558 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6559 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 6560 if (obj4) {
093d3ff1
RD
6561 {
6562 arg5 = (int)(SWIG_As_int(obj4));
6563 if (SWIG_arg_fail(5)) SWIG_fail;
6564 }
248ed943 6565 }
d55e5bfc
RD
6566 if (obj5) {
6567 {
6568 arg6 = &temp6;
6569 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6570 }
6571 }
6572 if (obj6) {
6573 {
6574 arg7 = &temp7;
6575 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6576 }
6577 }
6578 if (obj7) {
093d3ff1
RD
6579 {
6580 arg8 = (long)(SWIG_As_long(obj7));
6581 if (SWIG_arg_fail(8)) SWIG_fail;
6582 }
d55e5bfc
RD
6583 }
6584 {
0439c23b 6585 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6588
6589 wxPyEndAllowThreads(__tstate);
110da5b0 6590 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6591 }
6592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6593 return resultobj;
6594 fail:
6595 return NULL;
6596}
6597
6598
c32bde28 6599static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6600 PyObject *resultobj;
6601 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6602 long result;
6603 PyObject * obj0 = 0 ;
6604 char *kwnames[] = {
6605 (char *) "self", NULL
6606 };
6607
6608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
6609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6610 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
093d3ff1
RD
6618 {
6619 resultobj = SWIG_From_long((long)(result));
6620 }
d55e5bfc
RD
6621 return resultobj;
6622 fail:
6623 return NULL;
6624}
6625
6626
c32bde28 6627static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6628 PyObject *resultobj;
6629 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6630 wxSplashScreenWindow *result;
6631 PyObject * obj0 = 0 ;
6632 char *kwnames[] = {
6633 (char *) "self", NULL
6634 };
6635
6636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6638 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6639 {
6640 PyThreadState* __tstate = wxPyBeginAllowThreads();
6641 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6642
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6647 return resultobj;
6648 fail:
6649 return NULL;
6650}
6651
6652
c32bde28 6653static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6654 PyObject *resultobj;
6655 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6656 int result;
6657 PyObject * obj0 = 0 ;
6658 char *kwnames[] = {
6659 (char *) "self", NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
093d3ff1
RD
6663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
093d3ff1
RD
6672 {
6673 resultobj = SWIG_From_int((int)(result));
6674 }
d55e5bfc
RD
6675 return resultobj;
6676 fail:
6677 return NULL;
6678}
6679
6680
c32bde28 6681static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6682 PyObject *obj;
6683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6684 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6685 Py_INCREF(obj);
6686 return Py_BuildValue((char *)"");
6687}
c32bde28 6688static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6689 PyObject *resultobj;
6690 wxWindow *arg1 = (wxWindow *) 0 ;
6691 int arg2 = (int) -1 ;
6692 long arg3 = (long) wxST_SIZEGRIP ;
6693 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6694 wxString *arg4 = (wxString *) &arg4_defvalue ;
6695 wxStatusBar *result;
ae8162c8 6696 bool temp4 = false ;
d55e5bfc
RD
6697 PyObject * obj0 = 0 ;
6698 PyObject * obj1 = 0 ;
6699 PyObject * obj2 = 0 ;
6700 PyObject * obj3 = 0 ;
6701 char *kwnames[] = {
6702 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6703 };
6704
6705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6707 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6708 if (obj1) {
093d3ff1
RD
6709 {
6710 arg2 = (int)(SWIG_As_int(obj1));
6711 if (SWIG_arg_fail(2)) SWIG_fail;
6712 }
d55e5bfc
RD
6713 }
6714 if (obj2) {
093d3ff1
RD
6715 {
6716 arg3 = (long)(SWIG_As_long(obj2));
6717 if (SWIG_arg_fail(3)) SWIG_fail;
6718 }
d55e5bfc
RD
6719 }
6720 if (obj3) {
6721 {
6722 arg4 = wxString_in_helper(obj3);
6723 if (arg4 == NULL) SWIG_fail;
ae8162c8 6724 temp4 = true;
d55e5bfc
RD
6725 }
6726 }
6727 {
0439c23b 6728 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6731
6732 wxPyEndAllowThreads(__tstate);
110da5b0 6733 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6734 }
b0f7404b 6735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
6736 {
6737 if (temp4)
6738 delete arg4;
6739 }
6740 return resultobj;
6741 fail:
6742 {
6743 if (temp4)
6744 delete arg4;
6745 }
6746 return NULL;
6747}
6748
6749
c32bde28 6750static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6751 PyObject *resultobj;
6752 wxStatusBar *result;
6753 char *kwnames[] = {
6754 NULL
6755 };
6756
6757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6758 {
0439c23b 6759 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6760 PyThreadState* __tstate = wxPyBeginAllowThreads();
6761 result = (wxStatusBar *)new wxStatusBar();
6762
6763 wxPyEndAllowThreads(__tstate);
110da5b0 6764 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6765 }
b0f7404b 6766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
6767 return resultobj;
6768 fail:
6769 return NULL;
6770}
6771
6772
c32bde28 6773static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6774 PyObject *resultobj;
6775 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6776 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6777 int arg3 = (int) -1 ;
d55e5bfc
RD
6778 long arg4 = (long) wxST_SIZEGRIP ;
6779 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6780 wxString *arg5 = (wxString *) &arg5_defvalue ;
6781 bool result;
ae8162c8 6782 bool temp5 = false ;
d55e5bfc
RD
6783 PyObject * obj0 = 0 ;
6784 PyObject * obj1 = 0 ;
6785 PyObject * obj2 = 0 ;
6786 PyObject * obj3 = 0 ;
6787 PyObject * obj4 = 0 ;
6788 char *kwnames[] = {
6789 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6790 };
6791
248ed943 6792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6794 if (SWIG_arg_fail(1)) SWIG_fail;
6795 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6796 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6797 if (obj2) {
093d3ff1
RD
6798 {
6799 arg3 = (int)(SWIG_As_int(obj2));
6800 if (SWIG_arg_fail(3)) SWIG_fail;
6801 }
248ed943 6802 }
d55e5bfc 6803 if (obj3) {
093d3ff1
RD
6804 {
6805 arg4 = (long)(SWIG_As_long(obj3));
6806 if (SWIG_arg_fail(4)) SWIG_fail;
6807 }
d55e5bfc
RD
6808 }
6809 if (obj4) {
6810 {
6811 arg5 = wxString_in_helper(obj4);
6812 if (arg5 == NULL) SWIG_fail;
ae8162c8 6813 temp5 = true;
d55e5bfc
RD
6814 }
6815 }
6816 {
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6819
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 {
6824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6825 }
6826 {
6827 if (temp5)
6828 delete arg5;
6829 }
6830 return resultobj;
6831 fail:
6832 {
6833 if (temp5)
6834 delete arg5;
6835 }
6836 return NULL;
6837}
6838
6839
c32bde28 6840static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6841 PyObject *resultobj;
6842 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6843 int arg2 = (int) 1 ;
6844 PyObject * obj0 = 0 ;
6845 PyObject * obj1 = 0 ;
6846 char *kwnames[] = {
6847 (char *) "self",(char *) "number", NULL
6848 };
6849
6850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6852 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6853 if (obj1) {
093d3ff1
RD
6854 {
6855 arg2 = (int)(SWIG_As_int(obj1));
6856 if (SWIG_arg_fail(2)) SWIG_fail;
6857 }
d55e5bfc
RD
6858 }
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 (arg1)->SetFieldsCount(arg2);
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 Py_INCREF(Py_None); resultobj = Py_None;
6867 return resultobj;
6868 fail:
6869 return NULL;
6870}
6871
6872
c32bde28 6873static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6874 PyObject *resultobj;
6875 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6876 int result;
6877 PyObject * obj0 = 0 ;
6878 char *kwnames[] = {
6879 (char *) "self", NULL
6880 };
6881
6882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
6883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6884 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6885 {
6886 PyThreadState* __tstate = wxPyBeginAllowThreads();
6887 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6888
6889 wxPyEndAllowThreads(__tstate);
6890 if (PyErr_Occurred()) SWIG_fail;
6891 }
093d3ff1
RD
6892 {
6893 resultobj = SWIG_From_int((int)(result));
6894 }
d55e5bfc
RD
6895 return resultobj;
6896 fail:
6897 return NULL;
6898}
6899
6900
c32bde28 6901static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6902 PyObject *resultobj;
6903 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6904 wxString *arg2 = 0 ;
6905 int arg3 = (int) 0 ;
ae8162c8 6906 bool temp2 = false ;
d55e5bfc
RD
6907 PyObject * obj0 = 0 ;
6908 PyObject * obj1 = 0 ;
6909 PyObject * obj2 = 0 ;
6910 char *kwnames[] = {
6911 (char *) "self",(char *) "text",(char *) "number", NULL
6912 };
6913
6914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6916 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6917 {
6918 arg2 = wxString_in_helper(obj1);
6919 if (arg2 == NULL) SWIG_fail;
ae8162c8 6920 temp2 = true;
d55e5bfc
RD
6921 }
6922 if (obj2) {
093d3ff1
RD
6923 {
6924 arg3 = (int)(SWIG_As_int(obj2));
6925 if (SWIG_arg_fail(3)) SWIG_fail;
6926 }
d55e5bfc
RD
6927 }
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 Py_INCREF(Py_None); resultobj = Py_None;
6936 {
6937 if (temp2)
6938 delete arg2;
6939 }
6940 return resultobj;
6941 fail:
6942 {
6943 if (temp2)
6944 delete arg2;
6945 }
6946 return NULL;
6947}
6948
6949
c32bde28 6950static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6951 PyObject *resultobj;
6952 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6953 int arg2 = (int) 0 ;
6954 wxString result;
6955 PyObject * obj0 = 0 ;
6956 PyObject * obj1 = 0 ;
6957 char *kwnames[] = {
6958 (char *) "self",(char *) "number", NULL
6959 };
6960
6961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6964 if (obj1) {
093d3ff1
RD
6965 {
6966 arg2 = (int)(SWIG_As_int(obj1));
6967 if (SWIG_arg_fail(2)) SWIG_fail;
6968 }
d55e5bfc
RD
6969 }
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 {
6978#if wxUSE_UNICODE
6979 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6980#else
6981 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6982#endif
6983 }
6984 return resultobj;
6985 fail:
6986 return NULL;
6987}
6988
6989
c32bde28 6990static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6991 PyObject *resultobj;
6992 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6993 wxString *arg2 = 0 ;
6994 int arg3 = (int) 0 ;
ae8162c8 6995 bool temp2 = false ;
d55e5bfc
RD
6996 PyObject * obj0 = 0 ;
6997 PyObject * obj1 = 0 ;
6998 PyObject * obj2 = 0 ;
6999 char *kwnames[] = {
7000 (char *) "self",(char *) "text",(char *) "number", NULL
7001 };
7002
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) 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
RD
7006 {
7007 arg2 = wxString_in_helper(obj1);
7008 if (arg2 == NULL) SWIG_fail;
ae8162c8 7009 temp2 = true;
d55e5bfc
RD
7010 }
7011 if (obj2) {
093d3ff1
RD
7012 {
7013 arg3 = (int)(SWIG_As_int(obj2));
7014 if (SWIG_arg_fail(3)) SWIG_fail;
7015 }
d55e5bfc
RD
7016 }
7017 {
7018 PyThreadState* __tstate = wxPyBeginAllowThreads();
7019 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7020
7021 wxPyEndAllowThreads(__tstate);
7022 if (PyErr_Occurred()) SWIG_fail;
7023 }
7024 Py_INCREF(Py_None); resultobj = Py_None;
7025 {
7026 if (temp2)
7027 delete arg2;
7028 }
7029 return resultobj;
7030 fail:
7031 {
7032 if (temp2)
7033 delete arg2;
7034 }
7035 return NULL;
7036}
7037
7038
c32bde28 7039static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7040 PyObject *resultobj;
7041 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7042 int arg2 = (int) 0 ;
7043 PyObject * obj0 = 0 ;
7044 PyObject * obj1 = 0 ;
7045 char *kwnames[] = {
7046 (char *) "self",(char *) "number", NULL
7047 };
7048
7049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7051 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7052 if (obj1) {
093d3ff1
RD
7053 {
7054 arg2 = (int)(SWIG_As_int(obj1));
7055 if (SWIG_arg_fail(2)) SWIG_fail;
7056 }
d55e5bfc
RD
7057 }
7058 {
7059 PyThreadState* __tstate = wxPyBeginAllowThreads();
7060 (arg1)->PopStatusText(arg2);
7061
7062 wxPyEndAllowThreads(__tstate);
7063 if (PyErr_Occurred()) SWIG_fail;
7064 }
7065 Py_INCREF(Py_None); resultobj = Py_None;
7066 return resultobj;
7067 fail:
7068 return NULL;
7069}
7070
7071
c32bde28 7072static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7073 PyObject *resultobj;
7074 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7075 int arg2 ;
7076 int *arg3 = (int *) 0 ;
7077 PyObject * obj0 = 0 ;
7078 PyObject * obj1 = 0 ;
7079 char *kwnames[] = {
7080 (char *) "self",(char *) "widths", NULL
7081 };
7082
7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7085 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7086 {
7087 arg2 = PyList_Size(obj1);
7088 arg3 = int_LIST_helper(obj1);
7089 if (arg3 == NULL) SWIG_fail;
7090 }
7091 {
7092 PyThreadState* __tstate = wxPyBeginAllowThreads();
7093 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7094
7095 wxPyEndAllowThreads(__tstate);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 }
7098 Py_INCREF(Py_None); resultobj = Py_None;
7099 {
7100 if (arg3) delete [] arg3;
7101 }
7102 return resultobj;
7103 fail:
7104 {
7105 if (arg3) delete [] arg3;
7106 }
7107 return NULL;
7108}
7109
7110
c32bde28 7111static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
03837c5c
RD
7112 PyObject *resultobj;
7113 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7114 int arg2 ;
7115 int *arg3 = (int *) 0 ;
7116 PyObject * obj0 = 0 ;
7117 PyObject * obj1 = 0 ;
7118 char *kwnames[] = {
7119 (char *) "self",(char *) "styles", NULL
7120 };
7121
7122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7124 if (SWIG_arg_fail(1)) SWIG_fail;
03837c5c
RD
7125 {
7126 arg2 = PyList_Size(obj1);
7127 arg3 = int_LIST_helper(obj1);
7128 if (arg3 == NULL) SWIG_fail;
7129 }
7130 {
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
7132 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7133
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
7137 Py_INCREF(Py_None); resultobj = Py_None;
7138 {
7139 if (arg3) delete [] arg3;
7140 }
7141 return resultobj;
7142 fail:
7143 {
7144 if (arg3) delete [] arg3;
7145 }
7146 return NULL;
7147}
7148
7149
c32bde28 7150static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7151 PyObject *resultobj;
7152 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7153 int arg2 ;
7154 wxRect result;
7155 PyObject * obj0 = 0 ;
7156 PyObject * obj1 = 0 ;
7157 char *kwnames[] = {
7158 (char *) "self",(char *) "i", NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7163 if (SWIG_arg_fail(1)) SWIG_fail;
7164 {
7165 arg2 = (int)(SWIG_As_int(obj1));
7166 if (SWIG_arg_fail(2)) SWIG_fail;
7167 }
d55e5bfc
RD
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 result = wxStatusBar_GetFieldRect(arg1,arg2);
7171
7172 wxPyEndAllowThreads(__tstate);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 }
7175 {
7176 wxRect * resultptr;
093d3ff1 7177 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
7178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7179 }
7180 return resultobj;
7181 fail:
7182 return NULL;
7183}
7184
7185
c32bde28 7186static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7187 PyObject *resultobj;
7188 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7189 int arg2 ;
7190 PyObject * obj0 = 0 ;
7191 PyObject * obj1 = 0 ;
7192 char *kwnames[] = {
7193 (char *) "self",(char *) "height", NULL
7194 };
7195
7196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7198 if (SWIG_arg_fail(1)) SWIG_fail;
7199 {
7200 arg2 = (int)(SWIG_As_int(obj1));
7201 if (SWIG_arg_fail(2)) SWIG_fail;
7202 }
d55e5bfc
RD
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 (arg1)->SetMinHeight(arg2);
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 Py_INCREF(Py_None); resultobj = Py_None;
7211 return resultobj;
7212 fail:
7213 return NULL;
7214}
7215
7216
c32bde28 7217static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7218 PyObject *resultobj;
7219 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7220 int result;
7221 PyObject * obj0 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "self", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
093d3ff1
RD
7227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7228 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7232
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
093d3ff1
RD
7236 {
7237 resultobj = SWIG_From_int((int)(result));
7238 }
d55e5bfc
RD
7239 return resultobj;
7240 fail:
7241 return NULL;
7242}
7243
7244
c32bde28 7245static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7246 PyObject *resultobj;
7247 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7248 int result;
7249 PyObject * obj0 = 0 ;
7250 char *kwnames[] = {
7251 (char *) "self", NULL
7252 };
7253
7254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
093d3ff1
RD
7255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7256 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7257 {
7258 PyThreadState* __tstate = wxPyBeginAllowThreads();
7259 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7260
7261 wxPyEndAllowThreads(__tstate);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 }
093d3ff1
RD
7264 {
7265 resultobj = SWIG_From_int((int)(result));
7266 }
d55e5bfc
RD
7267 return resultobj;
7268 fail:
7269 return NULL;
7270}
7271
7272
c32bde28 7273static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 7274 PyObject *resultobj;
093d3ff1 7275 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7276 wxVisualAttributes result;
7277 PyObject * obj0 = 0 ;
7278 char *kwnames[] = {
7279 (char *) "variant", NULL
7280 };
7281
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7283 if (obj0) {
093d3ff1
RD
7284 {
7285 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7286 if (SWIG_arg_fail(1)) SWIG_fail;
7287 }
f20a2e1f
RD
7288 }
7289 {
0439c23b 7290 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
7291 PyThreadState* __tstate = wxPyBeginAllowThreads();
7292 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7293
7294 wxPyEndAllowThreads(__tstate);
110da5b0 7295 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7296 }
7297 {
7298 wxVisualAttributes * resultptr;
093d3ff1 7299 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
7300 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7301 }
7302 return resultobj;
7303 fail:
7304 return NULL;
7305}
7306
7307
c32bde28 7308static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7309 PyObject *obj;
7310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7311 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7312 Py_INCREF(obj);
7313 return Py_BuildValue((char *)"");
7314}
c32bde28 7315static int _wrap_SplitterNameStr_set(PyObject *) {
d55e5bfc
RD
7316 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7317 return 1;
7318}
7319
7320
093d3ff1 7321static PyObject *_wrap_SplitterNameStr_get(void) {
d55e5bfc
RD
7322 PyObject *pyobj;
7323
7324 {
7325#if wxUSE_UNICODE
7326 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7327#else
7328 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7329#endif
7330 }
7331 return pyobj;
7332}
7333
7334
c32bde28 7335static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7336 PyObject *resultobj;
7337 wxWindow *arg1 = (wxWindow *) 0 ;
7338 int arg2 = (int) -1 ;
7339 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7340 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7341 wxSize const &arg4_defvalue = wxDefaultSize ;
7342 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7343 long arg5 = (long) wxSP_3D ;
7344 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7345 wxString *arg6 = (wxString *) &arg6_defvalue ;
7346 wxSplitterWindow *result;
7347 wxPoint temp3 ;
7348 wxSize temp4 ;
ae8162c8 7349 bool temp6 = false ;
d55e5bfc
RD
7350 PyObject * obj0 = 0 ;
7351 PyObject * obj1 = 0 ;
7352 PyObject * obj2 = 0 ;
7353 PyObject * obj3 = 0 ;
7354 PyObject * obj4 = 0 ;
7355 PyObject * obj5 = 0 ;
7356 char *kwnames[] = {
7357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7358 };
7359
7360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7362 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7363 if (obj1) {
093d3ff1
RD
7364 {
7365 arg2 = (int)(SWIG_As_int(obj1));
7366 if (SWIG_arg_fail(2)) SWIG_fail;
7367 }
d55e5bfc
RD
7368 }
7369 if (obj2) {
7370 {
7371 arg3 = &temp3;
7372 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7373 }
7374 }
7375 if (obj3) {
7376 {
7377 arg4 = &temp4;
7378 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7379 }
7380 }
7381 if (obj4) {
093d3ff1
RD
7382 {
7383 arg5 = (long)(SWIG_As_long(obj4));
7384 if (SWIG_arg_fail(5)) SWIG_fail;
7385 }
d55e5bfc
RD
7386 }
7387 if (obj5) {
7388 {
7389 arg6 = wxString_in_helper(obj5);
7390 if (arg6 == NULL) SWIG_fail;
ae8162c8 7391 temp6 = true;
d55e5bfc
RD
7392 }
7393 }
7394 {
0439c23b 7395 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
7397 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7398
7399 wxPyEndAllowThreads(__tstate);
110da5b0 7400 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7401 }
7402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7403 {
7404 if (temp6)
7405 delete arg6;
7406 }
7407 return resultobj;
7408 fail:
7409 {
7410 if (temp6)
7411 delete arg6;
7412 }
7413 return NULL;
7414}
7415
7416
c32bde28 7417static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7418 PyObject *resultobj;
7419 wxSplitterWindow *result;
7420 char *kwnames[] = {
7421 NULL
7422 };
7423
7424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7425 {
0439c23b 7426 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (wxSplitterWindow *)new wxSplitterWindow();
7429
7430 wxPyEndAllowThreads(__tstate);
110da5b0 7431 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7432 }
7433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7434 return resultobj;
7435 fail:
7436 return NULL;
7437}
7438
7439
c32bde28 7440static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7441 PyObject *resultobj;
7442 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7443 wxWindow *arg2 = (wxWindow *) 0 ;
7444 int arg3 = (int) -1 ;
7445 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7446 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7447 wxSize const &arg5_defvalue = wxDefaultSize ;
7448 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7449 long arg6 = (long) wxSP_3D ;
7450 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7451 wxString *arg7 = (wxString *) &arg7_defvalue ;
7452 bool result;
7453 wxPoint temp4 ;
7454 wxSize temp5 ;
ae8162c8 7455 bool temp7 = false ;
d55e5bfc
RD
7456 PyObject * obj0 = 0 ;
7457 PyObject * obj1 = 0 ;
7458 PyObject * obj2 = 0 ;
7459 PyObject * obj3 = 0 ;
7460 PyObject * obj4 = 0 ;
7461 PyObject * obj5 = 0 ;
7462 PyObject * obj6 = 0 ;
7463 char *kwnames[] = {
7464 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7465 };
7466
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7469 if (SWIG_arg_fail(1)) SWIG_fail;
7470 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7471 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 7472 if (obj2) {
093d3ff1
RD
7473 {
7474 arg3 = (int)(SWIG_As_int(obj2));
7475 if (SWIG_arg_fail(3)) SWIG_fail;
7476 }
d55e5bfc
RD
7477 }
7478 if (obj3) {
7479 {
7480 arg4 = &temp4;
7481 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7482 }
7483 }
7484 if (obj4) {
7485 {
7486 arg5 = &temp5;
7487 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7488 }
7489 }
7490 if (obj5) {
093d3ff1
RD
7491 {
7492 arg6 = (long)(SWIG_As_long(obj5));
7493 if (SWIG_arg_fail(6)) SWIG_fail;
7494 }
d55e5bfc
RD
7495 }
7496 if (obj6) {
7497 {
7498 arg7 = wxString_in_helper(obj6);
7499 if (arg7 == NULL) SWIG_fail;
ae8162c8 7500 temp7 = true;
d55e5bfc
RD
7501 }
7502 }
7503 {
7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
7505 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7506
7507 wxPyEndAllowThreads(__tstate);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 }
7510 {
7511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7512 }
7513 {
7514 if (temp7)
7515 delete arg7;
7516 }
7517 return resultobj;
7518 fail:
7519 {
7520 if (temp7)
7521 delete arg7;
7522 }
7523 return NULL;
7524}
7525
7526
c32bde28 7527static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7528 PyObject *resultobj;
7529 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7530 wxWindow *result;
7531 PyObject * obj0 = 0 ;
7532 char *kwnames[] = {
7533 (char *) "self", NULL
7534 };
7535
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
093d3ff1
RD
7537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7538 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7542
7543 wxPyEndAllowThreads(__tstate);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 {
412d302d 7547 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7548 }
7549 return resultobj;
7550 fail:
7551 return NULL;
7552}
7553
7554
c32bde28 7555static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7556 PyObject *resultobj;
7557 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7558 wxWindow *result;
7559 PyObject * obj0 = 0 ;
7560 char *kwnames[] = {
7561 (char *) "self", NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
093d3ff1
RD
7565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7566 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7567 {
7568 PyThreadState* __tstate = wxPyBeginAllowThreads();
7569 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7570
7571 wxPyEndAllowThreads(__tstate);
7572 if (PyErr_Occurred()) SWIG_fail;
7573 }
7574 {
412d302d 7575 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7576 }
7577 return resultobj;
7578 fail:
7579 return NULL;
7580}
7581
7582
c32bde28 7583static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7584 PyObject *resultobj;
7585 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7586 int arg2 ;
7587 PyObject * obj0 = 0 ;
7588 PyObject * obj1 = 0 ;
7589 char *kwnames[] = {
7590 (char *) "self",(char *) "mode", NULL
7591 };
7592
7593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7595 if (SWIG_arg_fail(1)) SWIG_fail;
7596 {
7597 arg2 = (int)(SWIG_As_int(obj1));
7598 if (SWIG_arg_fail(2)) SWIG_fail;
7599 }
d55e5bfc
RD
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 (arg1)->SetSplitMode(arg2);
7603
7604 wxPyEndAllowThreads(__tstate);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 }
7607 Py_INCREF(Py_None); resultobj = Py_None;
7608 return resultobj;
7609 fail:
7610 return NULL;
7611}
7612
7613
c32bde28 7614static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7615 PyObject *resultobj;
7616 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
093d3ff1 7617 wxSplitMode result;
d55e5bfc
RD
7618 PyObject * obj0 = 0 ;
7619 char *kwnames[] = {
7620 (char *) "self", NULL
7621 };
7622
7623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
7624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7628 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
d55e5bfc
RD
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
093d3ff1 7633 resultobj = SWIG_From_int((result));
d55e5bfc
RD
7634 return resultobj;
7635 fail:
7636 return NULL;
7637}
7638
7639
c32bde28 7640static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7641 PyObject *resultobj;
7642 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7643 wxWindow *arg2 = (wxWindow *) 0 ;
7644 PyObject * obj0 = 0 ;
7645 PyObject * obj1 = 0 ;
7646 char *kwnames[] = {
7647 (char *) "self",(char *) "window", NULL
7648 };
7649
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7652 if (SWIG_arg_fail(1)) SWIG_fail;
7653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7654 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 (arg1)->Initialize(arg2);
7658
7659 wxPyEndAllowThreads(__tstate);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 Py_INCREF(Py_None); resultobj = Py_None;
7663 return resultobj;
7664 fail:
7665 return NULL;
7666}
7667
7668
c32bde28 7669static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7670 PyObject *resultobj;
7671 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7672 wxWindow *arg2 = (wxWindow *) 0 ;
7673 wxWindow *arg3 = (wxWindow *) 0 ;
7674 int arg4 = (int) 0 ;
7675 bool result;
7676 PyObject * obj0 = 0 ;
7677 PyObject * obj1 = 0 ;
7678 PyObject * obj2 = 0 ;
7679 PyObject * obj3 = 0 ;
7680 char *kwnames[] = {
7681 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7682 };
7683
7684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7686 if (SWIG_arg_fail(1)) SWIG_fail;
7687 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7688 if (SWIG_arg_fail(2)) SWIG_fail;
7689 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7690 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 7691 if (obj3) {
093d3ff1
RD
7692 {
7693 arg4 = (int)(SWIG_As_int(obj3));
7694 if (SWIG_arg_fail(4)) SWIG_fail;
7695 }
d55e5bfc
RD
7696 }
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 {
7705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7706 }
7707 return resultobj;
7708 fail:
7709 return NULL;
7710}
7711
7712
c32bde28 7713static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7714 PyObject *resultobj;
7715 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7716 wxWindow *arg2 = (wxWindow *) 0 ;
7717 wxWindow *arg3 = (wxWindow *) 0 ;
7718 int arg4 = (int) 0 ;
7719 bool result;
7720 PyObject * obj0 = 0 ;
7721 PyObject * obj1 = 0 ;
7722 PyObject * obj2 = 0 ;
7723 PyObject * obj3 = 0 ;
7724 char *kwnames[] = {
7725 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7726 };
7727
7728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7730 if (SWIG_arg_fail(1)) SWIG_fail;
7731 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7732 if (SWIG_arg_fail(2)) SWIG_fail;
7733 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7734 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 7735 if (obj3) {
093d3ff1
RD
7736 {
7737 arg4 = (int)(SWIG_As_int(obj3));
7738 if (SWIG_arg_fail(4)) SWIG_fail;
7739 }
d55e5bfc
RD
7740 }
7741 {
7742 PyThreadState* __tstate = wxPyBeginAllowThreads();
7743 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7744
7745 wxPyEndAllowThreads(__tstate);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
7748 {
7749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7750 }
7751 return resultobj;
7752 fail:
7753 return NULL;
7754}
7755
7756
c32bde28 7757static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7758 PyObject *resultobj;
7759 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7760 wxWindow *arg2 = (wxWindow *) NULL ;
7761 bool result;
7762 PyObject * obj0 = 0 ;
7763 PyObject * obj1 = 0 ;
7764 char *kwnames[] = {
7765 (char *) "self",(char *) "toRemove", NULL
7766 };
7767
7768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7770 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7771 if (obj1) {
093d3ff1
RD
7772 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7773 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7774 }
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 result = (bool)(arg1)->Unsplit(arg2);
7778
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
7782 {
7783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7784 }
7785 return resultobj;
7786 fail:
7787 return NULL;
7788}
7789
7790
c32bde28 7791static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7792 PyObject *resultobj;
7793 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7794 wxWindow *arg2 = (wxWindow *) 0 ;
7795 wxWindow *arg3 = (wxWindow *) 0 ;
7796 bool result;
7797 PyObject * obj0 = 0 ;
7798 PyObject * obj1 = 0 ;
7799 PyObject * obj2 = 0 ;
7800 char *kwnames[] = {
7801 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7802 };
7803
7804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7806 if (SWIG_arg_fail(1)) SWIG_fail;
7807 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7808 if (SWIG_arg_fail(2)) SWIG_fail;
7809 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7810 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7814
7815 wxPyEndAllowThreads(__tstate);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 {
7819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7820 }
7821 return resultobj;
7822 fail:
7823 return NULL;
7824}
7825
7826
c32bde28 7827static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7828 PyObject *resultobj;
7829 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7830 PyObject * obj0 = 0 ;
7831 char *kwnames[] = {
7832 (char *) "self", NULL
7833 };
7834
7835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7837 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 (arg1)->UpdateSize();
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 Py_INCREF(Py_None); resultobj = Py_None;
7846 return resultobj;
7847 fail:
7848 return NULL;
7849}
7850
7851
c32bde28 7852static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7853 PyObject *resultobj;
7854 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7855 bool result;
7856 PyObject * obj0 = 0 ;
7857 char *kwnames[] = {
7858 (char *) "self", NULL
7859 };
7860
7861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
093d3ff1
RD
7862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7863 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 {
7872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7873 }
7874 return resultobj;
7875 fail:
7876 return NULL;
7877}
7878
7879
c32bde28 7880static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7881 PyObject *resultobj;
7882 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7883 int arg2 ;
7884 PyObject * obj0 = 0 ;
7885 PyObject * obj1 = 0 ;
7886 char *kwnames[] = {
7887 (char *) "self",(char *) "width", NULL
7888 };
7889
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7892 if (SWIG_arg_fail(1)) SWIG_fail;
7893 {
7894 arg2 = (int)(SWIG_As_int(obj1));
7895 if (SWIG_arg_fail(2)) SWIG_fail;
7896 }
d55e5bfc
RD
7897 {
7898 PyThreadState* __tstate = wxPyBeginAllowThreads();
7899 (arg1)->SetSashSize(arg2);
7900
7901 wxPyEndAllowThreads(__tstate);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
7904 Py_INCREF(Py_None); resultobj = Py_None;
7905 return resultobj;
7906 fail:
7907 return NULL;
7908}
7909
7910
c32bde28 7911static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7912 PyObject *resultobj;
7913 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7914 int arg2 ;
7915 PyObject * obj0 = 0 ;
7916 PyObject * obj1 = 0 ;
7917 char *kwnames[] = {
7918 (char *) "self",(char *) "width", NULL
7919 };
7920
7921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7923 if (SWIG_arg_fail(1)) SWIG_fail;
7924 {
7925 arg2 = (int)(SWIG_As_int(obj1));
7926 if (SWIG_arg_fail(2)) SWIG_fail;
7927 }
d55e5bfc
RD
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 (arg1)->SetBorderSize(arg2);
7931
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 Py_INCREF(Py_None); resultobj = Py_None;
7936 return resultobj;
7937 fail:
7938 return NULL;
7939}
7940
7941
c32bde28 7942static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7943 PyObject *resultobj;
7944 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7945 int result;
7946 PyObject * obj0 = 0 ;
7947 char *kwnames[] = {
7948 (char *) "self", NULL
7949 };
7950
7951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7953 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7954 {
7955 PyThreadState* __tstate = wxPyBeginAllowThreads();
7956 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7957
7958 wxPyEndAllowThreads(__tstate);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 }
093d3ff1
RD
7961 {
7962 resultobj = SWIG_From_int((int)(result));
7963 }
d55e5bfc
RD
7964 return resultobj;
7965 fail:
7966 return NULL;
7967}
7968
7969
c32bde28 7970static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7971 PyObject *resultobj;
7972 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7973 int result;
7974 PyObject * obj0 = 0 ;
7975 char *kwnames[] = {
7976 (char *) "self", NULL
7977 };
7978
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7985
7986 wxPyEndAllowThreads(__tstate);
7987 if (PyErr_Occurred()) SWIG_fail;
7988 }
093d3ff1
RD
7989 {
7990 resultobj = SWIG_From_int((int)(result));
7991 }
d55e5bfc
RD
7992 return resultobj;
7993 fail:
7994 return NULL;
7995}
7996
7997
c32bde28 7998static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7999 PyObject *resultobj;
8000 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8001 int arg2 ;
ae8162c8 8002 bool arg3 = (bool) true ;
d55e5bfc
RD
8003 PyObject * obj0 = 0 ;
8004 PyObject * obj1 = 0 ;
8005 PyObject * obj2 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self",(char *) "position",(char *) "redraw", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8012 if (SWIG_arg_fail(1)) SWIG_fail;
8013 {
8014 arg2 = (int)(SWIG_As_int(obj1));
8015 if (SWIG_arg_fail(2)) SWIG_fail;
8016 }
d55e5bfc 8017 if (obj2) {
093d3ff1
RD
8018 {
8019 arg3 = (bool)(SWIG_As_bool(obj2));
8020 if (SWIG_arg_fail(3)) SWIG_fail;
8021 }
d55e5bfc
RD
8022 }
8023 {
8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
8025 (arg1)->SetSashPosition(arg2,arg3);
8026
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
8030 Py_INCREF(Py_None); resultobj = Py_None;
8031 return resultobj;
8032 fail:
8033 return NULL;
8034}
8035
8036
c32bde28 8037static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8038 PyObject *resultobj;
8039 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8040 int result;
8041 PyObject * obj0 = 0 ;
8042 char *kwnames[] = {
8043 (char *) "self", NULL
8044 };
8045
8046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8048 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8052
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
093d3ff1
RD
8056 {
8057 resultobj = SWIG_From_int((int)(result));
8058 }
d55e5bfc
RD
8059 return resultobj;
8060 fail:
8061 return NULL;
8062}
8063
8064
b519803b
RD
8065static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8066 PyObject *resultobj;
8067 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8068 double arg2 ;
8069 PyObject * obj0 = 0 ;
8070 PyObject * obj1 = 0 ;
8071 char *kwnames[] = {
8072 (char *) "self",(char *) "gravity", NULL
8073 };
8074
8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8077 if (SWIG_arg_fail(1)) SWIG_fail;
8078 {
8079 arg2 = (double)(SWIG_As_double(obj1));
8080 if (SWIG_arg_fail(2)) SWIG_fail;
8081 }
b519803b
RD
8082 {
8083 PyThreadState* __tstate = wxPyBeginAllowThreads();
8084 (arg1)->SetSashGravity(arg2);
8085
8086 wxPyEndAllowThreads(__tstate);
8087 if (PyErr_Occurred()) SWIG_fail;
8088 }
8089 Py_INCREF(Py_None); resultobj = Py_None;
8090 return resultobj;
8091 fail:
8092 return NULL;
8093}
8094
8095
8096static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8097 PyObject *resultobj;
8098 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8099 double result;
8100 PyObject * obj0 = 0 ;
8101 char *kwnames[] = {
8102 (char *) "self", NULL
8103 };
8104
8105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
093d3ff1
RD
8106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8107 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b
RD
8108 {
8109 PyThreadState* __tstate = wxPyBeginAllowThreads();
8110 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8111
8112 wxPyEndAllowThreads(__tstate);
8113 if (PyErr_Occurred()) SWIG_fail;
8114 }
093d3ff1
RD
8115 {
8116 resultobj = SWIG_From_double((double)(result));
8117 }
b519803b
RD
8118 return resultobj;
8119 fail:
8120 return NULL;
8121}
8122
8123
c32bde28 8124static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8125 PyObject *resultobj;
8126 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8127 int arg2 ;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self",(char *) "min", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8136 if (SWIG_arg_fail(1)) SWIG_fail;
8137 {
8138 arg2 = (int)(SWIG_As_int(obj1));
8139 if (SWIG_arg_fail(2)) SWIG_fail;
8140 }
d55e5bfc
RD
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 (arg1)->SetMinimumPaneSize(arg2);
8144
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
8148 Py_INCREF(Py_None); resultobj = Py_None;
8149 return resultobj;
8150 fail:
8151 return NULL;
8152}
8153
8154
c32bde28 8155static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8156 PyObject *resultobj;
8157 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8158 int result;
8159 PyObject * obj0 = 0 ;
8160 char *kwnames[] = {
8161 (char *) "self", NULL
8162 };
8163
8164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8166 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8170
8171 wxPyEndAllowThreads(__tstate);
8172 if (PyErr_Occurred()) SWIG_fail;
8173 }
093d3ff1
RD
8174 {
8175 resultobj = SWIG_From_int((int)(result));
8176 }
d55e5bfc
RD
8177 return resultobj;
8178 fail:
8179 return NULL;
8180}
8181
8182
c32bde28 8183static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8184 PyObject *resultobj;
8185 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8186 int arg2 ;
8187 int arg3 ;
8188 int arg4 = (int) 5 ;
8189 bool result;
8190 PyObject * obj0 = 0 ;
8191 PyObject * obj1 = 0 ;
8192 PyObject * obj2 = 0 ;
8193 PyObject * obj3 = 0 ;
8194 char *kwnames[] = {
8195 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8196 };
8197
8198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8200 if (SWIG_arg_fail(1)) SWIG_fail;
8201 {
8202 arg2 = (int)(SWIG_As_int(obj1));
8203 if (SWIG_arg_fail(2)) SWIG_fail;
8204 }
8205 {
8206 arg3 = (int)(SWIG_As_int(obj2));
8207 if (SWIG_arg_fail(3)) SWIG_fail;
8208 }
d55e5bfc 8209 if (obj3) {
093d3ff1
RD
8210 {
8211 arg4 = (int)(SWIG_As_int(obj3));
8212 if (SWIG_arg_fail(4)) SWIG_fail;
8213 }
d55e5bfc
RD
8214 }
8215 {
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 {
8223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8224 }
8225 return resultobj;
8226 fail:
8227 return NULL;
8228}
8229
8230
c32bde28 8231static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8232 PyObject *resultobj;
8233 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8234 PyObject * obj0 = 0 ;
8235 char *kwnames[] = {
8236 (char *) "self", NULL
8237 };
8238
8239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
8240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8241 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8242 {
8243 PyThreadState* __tstate = wxPyBeginAllowThreads();
8244 (arg1)->SizeWindows();
8245
8246 wxPyEndAllowThreads(__tstate);
8247 if (PyErr_Occurred()) SWIG_fail;
8248 }
8249 Py_INCREF(Py_None); resultobj = Py_None;
8250 return resultobj;
8251 fail:
8252 return NULL;
8253}
8254
8255
c32bde28 8256static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8257 PyObject *resultobj;
8258 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8259 bool arg2 ;
8260 PyObject * obj0 = 0 ;
8261 PyObject * obj1 = 0 ;
8262 char *kwnames[] = {
8263 (char *) "self",(char *) "needUpdating", NULL
8264 };
8265
8266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8268 if (SWIG_arg_fail(1)) SWIG_fail;
8269 {
8270 arg2 = (bool)(SWIG_As_bool(obj1));
8271 if (SWIG_arg_fail(2)) SWIG_fail;
8272 }
d55e5bfc
RD
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 (arg1)->SetNeedUpdating(arg2);
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 Py_INCREF(Py_None); resultobj = Py_None;
8281 return resultobj;
8282 fail:
8283 return NULL;
8284}
8285
8286
c32bde28 8287static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8288 PyObject *resultobj;
8289 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8290 bool result;
8291 PyObject * obj0 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "self", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
093d3ff1
RD
8297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8302
8303 wxPyEndAllowThreads(__tstate);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 {
8307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8308 }
8309 return resultobj;
8310 fail:
8311 return NULL;
8312}
8313
8314
c32bde28 8315static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 8316 PyObject *resultobj;
093d3ff1 8317 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
8318 wxVisualAttributes result;
8319 PyObject * obj0 = 0 ;
8320 char *kwnames[] = {
8321 (char *) "variant", NULL
8322 };
8323
8324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8325 if (obj0) {
093d3ff1
RD
8326 {
8327 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8328 if (SWIG_arg_fail(1)) SWIG_fail;
8329 }
f20a2e1f
RD
8330 }
8331 {
0439c23b 8332 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8335
8336 wxPyEndAllowThreads(__tstate);
110da5b0 8337 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
8338 }
8339 {
8340 wxVisualAttributes * resultptr;
093d3ff1 8341 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
8342 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8343 }
8344 return resultobj;
8345 fail:
8346 return NULL;
8347}
8348
8349
c32bde28 8350static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8351 PyObject *obj;
8352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8353 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8354 Py_INCREF(obj);
8355 return Py_BuildValue((char *)"");
8356}
c32bde28 8357static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8358 PyObject *resultobj;
8359 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8360 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8361 wxSplitterEvent *result;
8362 PyObject * obj0 = 0 ;
8363 PyObject * obj1 = 0 ;
8364 char *kwnames[] = {
8365 (char *) "type",(char *) "splitter", NULL
8366 };
8367
8368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8369 if (obj0) {
093d3ff1
RD
8370 {
8371 arg1 = (wxEventType)(SWIG_As_int(obj0));
8372 if (SWIG_arg_fail(1)) SWIG_fail;
8373 }
d55e5bfc
RD
8374 }
8375 if (obj1) {
093d3ff1
RD
8376 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8377 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8378 }
8379 {
8380 PyThreadState* __tstate = wxPyBeginAllowThreads();
8381 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8382
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8387 return resultobj;
8388 fail:
8389 return NULL;
8390}
8391
8392
c32bde28 8393static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8394 PyObject *resultobj;
8395 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8396 int arg2 ;
8397 PyObject * obj0 = 0 ;
8398 PyObject * obj1 = 0 ;
8399 char *kwnames[] = {
8400 (char *) "self",(char *) "pos", NULL
8401 };
8402
8403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8405 if (SWIG_arg_fail(1)) SWIG_fail;
8406 {
8407 arg2 = (int)(SWIG_As_int(obj1));
8408 if (SWIG_arg_fail(2)) SWIG_fail;
8409 }
d55e5bfc
RD
8410 {
8411 PyThreadState* __tstate = wxPyBeginAllowThreads();
8412 (arg1)->SetSashPosition(arg2);
8413
8414 wxPyEndAllowThreads(__tstate);
8415 if (PyErr_Occurred()) SWIG_fail;
8416 }
8417 Py_INCREF(Py_None); resultobj = Py_None;
8418 return resultobj;
8419 fail:
8420 return NULL;
8421}
8422
8423
c32bde28 8424static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8425 PyObject *resultobj;
8426 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8427 int result;
8428 PyObject * obj0 = 0 ;
8429 char *kwnames[] = {
8430 (char *) "self", NULL
8431 };
8432
8433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8436 {
8437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8438 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8439
8440 wxPyEndAllowThreads(__tstate);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
093d3ff1
RD
8443 {
8444 resultobj = SWIG_From_int((int)(result));
8445 }
d55e5bfc
RD
8446 return resultobj;
8447 fail:
8448 return NULL;
8449}
8450
8451
c32bde28 8452static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8453 PyObject *resultobj;
8454 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8455 wxWindow *result;
8456 PyObject * obj0 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
093d3ff1
RD
8462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 {
412d302d 8472 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
8473 }
8474 return resultobj;
8475 fail:
8476 return NULL;
8477}
8478
8479
c32bde28 8480static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8481 PyObject *resultobj;
8482 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8483 int result;
8484 PyObject * obj0 = 0 ;
8485 char *kwnames[] = {
8486 (char *) "self", NULL
8487 };
8488
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
8490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8492 {
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8495
8496 wxPyEndAllowThreads(__tstate);
8497 if (PyErr_Occurred()) SWIG_fail;
8498 }
093d3ff1
RD
8499 {
8500 resultobj = SWIG_From_int((int)(result));
8501 }
d55e5bfc
RD
8502 return resultobj;
8503 fail:
8504 return NULL;
8505}
8506
8507
c32bde28 8508static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8509 PyObject *resultobj;
8510 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8511 int result;
8512 PyObject * obj0 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
8518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
093d3ff1
RD
8527 {
8528 resultobj = SWIG_From_int((int)(result));
8529 }
d55e5bfc
RD
8530 return resultobj;
8531 fail:
8532 return NULL;
8533}
8534
8535
c32bde28 8536static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8537 PyObject *obj;
8538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8539 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8540 Py_INCREF(obj);
8541 return Py_BuildValue((char *)"");
8542}
c32bde28 8543static int _wrap_SashNameStr_set(PyObject *) {
d55e5bfc
RD
8544 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8545 return 1;
8546}
8547
8548
093d3ff1 8549static PyObject *_wrap_SashNameStr_get(void) {
d55e5bfc
RD
8550 PyObject *pyobj;
8551
8552 {
8553#if wxUSE_UNICODE
8554 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8555#else
8556 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8557#endif
8558 }
8559 return pyobj;
8560}
8561
8562
c32bde28 8563static int _wrap_SashLayoutNameStr_set(PyObject *) {
d55e5bfc
RD
8564 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8565 return 1;
8566}
8567
8568
093d3ff1 8569static PyObject *_wrap_SashLayoutNameStr_get(void) {
d55e5bfc
RD
8570 PyObject *pyobj;
8571
8572 {
8573#if wxUSE_UNICODE
8574 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8575#else
8576 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8577#endif
8578 }
8579 return pyobj;
8580}
8581
8582
c32bde28 8583static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8584 PyObject *resultobj;
8585 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8586 int arg2 = (int) -1 ;
d55e5bfc
RD
8587 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8588 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8589 wxSize const &arg4_defvalue = wxDefaultSize ;
8590 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8591 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8592 wxString const &arg6_defvalue = wxPySashNameStr ;
8593 wxString *arg6 = (wxString *) &arg6_defvalue ;
8594 wxSashWindow *result;
8595 wxPoint temp3 ;
8596 wxSize temp4 ;
ae8162c8 8597 bool temp6 = false ;
d55e5bfc
RD
8598 PyObject * obj0 = 0 ;
8599 PyObject * obj1 = 0 ;
8600 PyObject * obj2 = 0 ;
8601 PyObject * obj3 = 0 ;
8602 PyObject * obj4 = 0 ;
8603 PyObject * obj5 = 0 ;
8604 char *kwnames[] = {
8605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8606 };
8607
248ed943 8608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
8609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8610 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8611 if (obj1) {
093d3ff1
RD
8612 {
8613 arg2 = (int)(SWIG_As_int(obj1));
8614 if (SWIG_arg_fail(2)) SWIG_fail;
8615 }
248ed943 8616 }
d55e5bfc
RD
8617 if (obj2) {
8618 {
8619 arg3 = &temp3;
8620 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8621 }
8622 }
8623 if (obj3) {
8624 {
8625 arg4 = &temp4;
8626 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8627 }
8628 }
8629 if (obj4) {
093d3ff1
RD
8630 {
8631 arg5 = (long)(SWIG_As_long(obj4));
8632 if (SWIG_arg_fail(5)) SWIG_fail;
8633 }
d55e5bfc
RD
8634 }
8635 if (obj5) {
8636 {
8637 arg6 = wxString_in_helper(obj5);
8638 if (arg6 == NULL) SWIG_fail;
ae8162c8 8639 temp6 = true;
d55e5bfc
RD
8640 }
8641 }
8642 {
0439c23b 8643 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
8645 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8646
8647 wxPyEndAllowThreads(__tstate);
110da5b0 8648 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8649 }
8650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8651 {
8652 if (temp6)
8653 delete arg6;
8654 }
8655 return resultobj;
8656 fail:
8657 {
8658 if (temp6)
8659 delete arg6;
8660 }
8661 return NULL;
8662}
8663
8664
c32bde28 8665static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8666 PyObject *resultobj;
8667 wxSashWindow *result;
8668 char *kwnames[] = {
8669 NULL
8670 };
8671
8672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8673 {
0439c23b 8674 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 result = (wxSashWindow *)new wxSashWindow();
8677
8678 wxPyEndAllowThreads(__tstate);
110da5b0 8679 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8680 }
8681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8682 return resultobj;
8683 fail:
8684 return NULL;
8685}
8686
8687
c32bde28 8688static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8689 PyObject *resultobj;
8690 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8691 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8692 int arg3 = (int) -1 ;
d55e5bfc
RD
8693 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8694 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8695 wxSize const &arg5_defvalue = wxDefaultSize ;
8696 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8697 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8698 wxString const &arg7_defvalue = wxPySashNameStr ;
8699 wxString *arg7 = (wxString *) &arg7_defvalue ;
8700 bool result;
8701 wxPoint temp4 ;
8702 wxSize temp5 ;
ae8162c8 8703 bool temp7 = false ;
d55e5bfc
RD
8704 PyObject * obj0 = 0 ;
8705 PyObject * obj1 = 0 ;
8706 PyObject * obj2 = 0 ;
8707 PyObject * obj3 = 0 ;
8708 PyObject * obj4 = 0 ;
8709 PyObject * obj5 = 0 ;
8710 PyObject * obj6 = 0 ;
8711 char *kwnames[] = {
8712 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8713 };
8714
248ed943 8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
8716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8717 if (SWIG_arg_fail(1)) SWIG_fail;
8718 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8719 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8720 if (obj2) {
093d3ff1
RD
8721 {
8722 arg3 = (int)(SWIG_As_int(obj2));
8723 if (SWIG_arg_fail(3)) SWIG_fail;
8724 }
248ed943 8725 }
d55e5bfc
RD
8726 if (obj3) {
8727 {
8728 arg4 = &temp4;
8729 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8730 }
8731 }
8732 if (obj4) {
8733 {
8734 arg5 = &temp5;
8735 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8736 }
8737 }
8738 if (obj5) {
093d3ff1
RD
8739 {
8740 arg6 = (long)(SWIG_As_long(obj5));
8741 if (SWIG_arg_fail(6)) SWIG_fail;
8742 }
d55e5bfc
RD
8743 }
8744 if (obj6) {
8745 {
8746 arg7 = wxString_in_helper(obj6);
8747 if (arg7 == NULL) SWIG_fail;
ae8162c8 8748 temp7 = true;
d55e5bfc
RD
8749 }
8750 }
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 {
8759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8760 }
8761 {
8762 if (temp7)
8763 delete arg7;
8764 }
8765 return resultobj;
8766 fail:
8767 {
8768 if (temp7)
8769 delete arg7;
8770 }
8771 return NULL;
8772}
8773
8774
c32bde28 8775static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8776 PyObject *resultobj;
8777 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8778 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8779 bool arg3 ;
8780 PyObject * obj0 = 0 ;
8781 PyObject * obj1 = 0 ;
8782 PyObject * obj2 = 0 ;
8783 char *kwnames[] = {
8784 (char *) "self",(char *) "edge",(char *) "sash", NULL
8785 };
8786
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8789 if (SWIG_arg_fail(1)) SWIG_fail;
8790 {
8791 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8792 if (SWIG_arg_fail(2)) SWIG_fail;
8793 }
8794 {
8795 arg3 = (bool)(SWIG_As_bool(obj2));
8796 if (SWIG_arg_fail(3)) SWIG_fail;
8797 }
d55e5bfc
RD
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8801
8802 wxPyEndAllowThreads(__tstate);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 Py_INCREF(Py_None); resultobj = Py_None;
8806 return resultobj;
8807 fail:
8808 return NULL;
8809}
8810
8811
c32bde28 8812static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8813 PyObject *resultobj;
8814 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8815 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8816 bool result;
8817 PyObject * obj0 = 0 ;
8818 PyObject * obj1 = 0 ;
8819 char *kwnames[] = {
8820 (char *) "self",(char *) "edge", NULL
8821 };
8822
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8825 if (SWIG_arg_fail(1)) SWIG_fail;
8826 {
8827 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8828 if (SWIG_arg_fail(2)) SWIG_fail;
8829 }
d55e5bfc
RD
8830 {
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8833
8834 wxPyEndAllowThreads(__tstate);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 }
8837 {
8838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8839 }
8840 return resultobj;
8841 fail:
8842 return NULL;
8843}
8844
8845
c32bde28 8846static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8847 PyObject *resultobj;
8848 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8849 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8850 bool arg3 ;
8851 PyObject * obj0 = 0 ;
8852 PyObject * obj1 = 0 ;
8853 PyObject * obj2 = 0 ;
8854 char *kwnames[] = {
8855 (char *) "self",(char *) "edge",(char *) "border", NULL
8856 };
8857
8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8860 if (SWIG_arg_fail(1)) SWIG_fail;
8861 {
8862 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8863 if (SWIG_arg_fail(2)) SWIG_fail;
8864 }
8865 {
8866 arg3 = (bool)(SWIG_As_bool(obj2));
8867 if (SWIG_arg_fail(3)) SWIG_fail;
8868 }
d55e5bfc
RD
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
8871 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8872
8873 wxPyEndAllowThreads(__tstate);
8874 if (PyErr_Occurred()) SWIG_fail;
8875 }
8876 Py_INCREF(Py_None); resultobj = Py_None;
8877 return resultobj;
8878 fail:
8879 return NULL;
8880}
8881
8882
c32bde28 8883static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8884 PyObject *resultobj;
8885 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8886 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8887 bool result;
8888 PyObject * obj0 = 0 ;
8889 PyObject * obj1 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "self",(char *) "edge", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8896 if (SWIG_arg_fail(1)) SWIG_fail;
8897 {
8898 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8899 if (SWIG_arg_fail(2)) SWIG_fail;
8900 }
d55e5bfc
RD
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 {
8909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8910 }
8911 return resultobj;
8912 fail:
8913 return NULL;
8914}
8915
8916
c32bde28 8917static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8918 PyObject *resultobj;
8919 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8920 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8921 int result;
8922 PyObject * obj0 = 0 ;
8923 PyObject * obj1 = 0 ;
8924 char *kwnames[] = {
8925 (char *) "self",(char *) "edge", NULL
8926 };
8927
8928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8930 if (SWIG_arg_fail(1)) SWIG_fail;
8931 {
8932 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8933 if (SWIG_arg_fail(2)) SWIG_fail;
8934 }
d55e5bfc
RD
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
093d3ff1
RD
8942 {
8943 resultobj = SWIG_From_int((int)(result));
8944 }
d55e5bfc
RD
8945 return resultobj;
8946 fail:
8947 return NULL;
8948}
8949
8950
c32bde28 8951static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8952 PyObject *resultobj;
8953 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8954 int arg2 ;
8955 PyObject * obj0 = 0 ;
8956 PyObject * obj1 = 0 ;
8957 char *kwnames[] = {
8958 (char *) "self",(char *) "width", NULL
8959 };
8960
8961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8963 if (SWIG_arg_fail(1)) SWIG_fail;
8964 {
8965 arg2 = (int)(SWIG_As_int(obj1));
8966 if (SWIG_arg_fail(2)) SWIG_fail;
8967 }
d55e5bfc
RD
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
8970 (arg1)->SetDefaultBorderSize(arg2);
8971
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 Py_INCREF(Py_None); resultobj = Py_None;
8976 return resultobj;
8977 fail:
8978 return NULL;
8979}
8980
8981
c32bde28 8982static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8983 PyObject *resultobj;
8984 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8985 int result;
8986 PyObject * obj0 = 0 ;
8987 char *kwnames[] = {
8988 (char *) "self", NULL
8989 };
8990
8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8993 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8994 {
8995 PyThreadState* __tstate = wxPyBeginAllowThreads();
8996 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
8997
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
093d3ff1
RD
9001 {
9002 resultobj = SWIG_From_int((int)(result));
9003 }
d55e5bfc
RD
9004 return resultobj;
9005 fail:
9006 return NULL;
9007}
9008
9009
c32bde28 9010static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9011 PyObject *resultobj;
9012 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9013 int arg2 ;
9014 PyObject * obj0 = 0 ;
9015 PyObject * obj1 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self",(char *) "width", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9022 if (SWIG_arg_fail(1)) SWIG_fail;
9023 {
9024 arg2 = (int)(SWIG_As_int(obj1));
9025 if (SWIG_arg_fail(2)) SWIG_fail;
9026 }
d55e5bfc
RD
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 (arg1)->SetExtraBorderSize(arg2);
9030
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 Py_INCREF(Py_None); resultobj = Py_None;
9035 return resultobj;
9036 fail:
9037 return NULL;
9038}
9039
9040
c32bde28 9041static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9042 PyObject *resultobj;
9043 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9044 int result;
9045 PyObject * obj0 = 0 ;
9046 char *kwnames[] = {
9047 (char *) "self", NULL
9048 };
9049
9050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9052 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9053 {
9054 PyThreadState* __tstate = wxPyBeginAllowThreads();
9055 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9056
9057 wxPyEndAllowThreads(__tstate);
9058 if (PyErr_Occurred()) SWIG_fail;
9059 }
093d3ff1
RD
9060 {
9061 resultobj = SWIG_From_int((int)(result));
9062 }
d55e5bfc
RD
9063 return resultobj;
9064 fail:
9065 return NULL;
9066}
9067
9068
c32bde28 9069static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9070 PyObject *resultobj;
9071 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9072 int arg2 ;
9073 PyObject * obj0 = 0 ;
9074 PyObject * obj1 = 0 ;
9075 char *kwnames[] = {
9076 (char *) "self",(char *) "min", NULL
9077 };
9078
9079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9081 if (SWIG_arg_fail(1)) SWIG_fail;
9082 {
9083 arg2 = (int)(SWIG_As_int(obj1));
9084 if (SWIG_arg_fail(2)) SWIG_fail;
9085 }
d55e5bfc
RD
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 (arg1)->SetMinimumSizeX(arg2);
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 Py_INCREF(Py_None); resultobj = Py_None;
9094 return resultobj;
9095 fail:
9096 return NULL;
9097}
9098
9099
c32bde28 9100static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9101 PyObject *resultobj;
9102 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9103 int arg2 ;
9104 PyObject * obj0 = 0 ;
9105 PyObject * obj1 = 0 ;
9106 char *kwnames[] = {
9107 (char *) "self",(char *) "min", NULL
9108 };
9109
9110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9112 if (SWIG_arg_fail(1)) SWIG_fail;
9113 {
9114 arg2 = (int)(SWIG_As_int(obj1));
9115 if (SWIG_arg_fail(2)) SWIG_fail;
9116 }
d55e5bfc
RD
9117 {
9118 PyThreadState* __tstate = wxPyBeginAllowThreads();
9119 (arg1)->SetMinimumSizeY(arg2);
9120
9121 wxPyEndAllowThreads(__tstate);
9122 if (PyErr_Occurred()) SWIG_fail;
9123 }
9124 Py_INCREF(Py_None); resultobj = Py_None;
9125 return resultobj;
9126 fail:
9127 return NULL;
9128}
9129
9130
c32bde28 9131static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9132 PyObject *resultobj;
9133 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9134 int result;
9135 PyObject * obj0 = 0 ;
9136 char *kwnames[] = {
9137 (char *) "self", NULL
9138 };
9139
9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9142 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
9145 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9146
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
093d3ff1
RD
9150 {
9151 resultobj = SWIG_From_int((int)(result));
9152 }
d55e5bfc
RD
9153 return resultobj;
9154 fail:
9155 return NULL;
9156}
9157
9158
c32bde28 9159static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9160 PyObject *resultobj;
9161 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9162 int result;
9163 PyObject * obj0 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9170 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9171 {
9172 PyThreadState* __tstate = wxPyBeginAllowThreads();
9173 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9174
9175 wxPyEndAllowThreads(__tstate);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 }
093d3ff1
RD
9178 {
9179 resultobj = SWIG_From_int((int)(result));
9180 }
d55e5bfc
RD
9181 return resultobj;
9182 fail:
9183 return NULL;
9184}
9185
9186
c32bde28 9187static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9188 PyObject *resultobj;
9189 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9190 int arg2 ;
9191 PyObject * obj0 = 0 ;
9192 PyObject * obj1 = 0 ;
9193 char *kwnames[] = {
9194 (char *) "self",(char *) "max", NULL
9195 };
9196
9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9199 if (SWIG_arg_fail(1)) SWIG_fail;
9200 {
9201 arg2 = (int)(SWIG_As_int(obj1));
9202 if (SWIG_arg_fail(2)) SWIG_fail;
9203 }
d55e5bfc
RD
9204 {
9205 PyThreadState* __tstate = wxPyBeginAllowThreads();
9206 (arg1)->SetMaximumSizeX(arg2);
9207
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
9211 Py_INCREF(Py_None); resultobj = Py_None;
9212 return resultobj;
9213 fail:
9214 return NULL;
9215}
9216
9217
c32bde28 9218static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9219 PyObject *resultobj;
9220 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9221 int arg2 ;
9222 PyObject * obj0 = 0 ;
9223 PyObject * obj1 = 0 ;
9224 char *kwnames[] = {
9225 (char *) "self",(char *) "max", NULL
9226 };
9227
9228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9230 if (SWIG_arg_fail(1)) SWIG_fail;
9231 {
9232 arg2 = (int)(SWIG_As_int(obj1));
9233 if (SWIG_arg_fail(2)) SWIG_fail;
9234 }
d55e5bfc
RD
9235 {
9236 PyThreadState* __tstate = wxPyBeginAllowThreads();
9237 (arg1)->SetMaximumSizeY(arg2);
9238
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 Py_INCREF(Py_None); resultobj = Py_None;
9243 return resultobj;
9244 fail:
9245 return NULL;
9246}
9247
9248
c32bde28 9249static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9250 PyObject *resultobj;
9251 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9252 int result;
9253 PyObject * obj0 = 0 ;
9254 char *kwnames[] = {
9255 (char *) "self", NULL
9256 };
9257
9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9260 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
093d3ff1
RD
9268 {
9269 resultobj = SWIG_From_int((int)(result));
9270 }
d55e5bfc
RD
9271 return resultobj;
9272 fail:
9273 return NULL;
9274}
9275
9276
c32bde28 9277static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9278 PyObject *resultobj;
9279 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9280 int result;
9281 PyObject * obj0 = 0 ;
9282 char *kwnames[] = {
9283 (char *) "self", NULL
9284 };
9285
9286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9289 {
9290 PyThreadState* __tstate = wxPyBeginAllowThreads();
9291 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
093d3ff1
RD
9296 {
9297 resultobj = SWIG_From_int((int)(result));
9298 }
d55e5bfc
RD
9299 return resultobj;
9300 fail:
9301 return NULL;
9302}
9303
9304
c32bde28 9305static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9306 PyObject *resultobj;
9307 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9308 int arg2 ;
9309 int arg3 ;
9310 int arg4 = (int) 2 ;
093d3ff1 9311 wxSashEdgePosition result;
d55e5bfc
RD
9312 PyObject * obj0 = 0 ;
9313 PyObject * obj1 = 0 ;
9314 PyObject * obj2 = 0 ;
9315 PyObject * obj3 = 0 ;
9316 char *kwnames[] = {
9317 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9318 };
9319
9320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9322 if (SWIG_arg_fail(1)) SWIG_fail;
9323 {
9324 arg2 = (int)(SWIG_As_int(obj1));
9325 if (SWIG_arg_fail(2)) SWIG_fail;
9326 }
9327 {
9328 arg3 = (int)(SWIG_As_int(obj2));
9329 if (SWIG_arg_fail(3)) SWIG_fail;
9330 }
d55e5bfc 9331 if (obj3) {
093d3ff1
RD
9332 {
9333 arg4 = (int)(SWIG_As_int(obj3));
9334 if (SWIG_arg_fail(4)) SWIG_fail;
9335 }
d55e5bfc
RD
9336 }
9337 {
9338 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9339 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
d55e5bfc
RD
9340
9341 wxPyEndAllowThreads(__tstate);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
093d3ff1 9344 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9345 return resultobj;
9346 fail:
9347 return NULL;
9348}
9349
9350
c32bde28 9351static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9352 PyObject *resultobj;
9353 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9354 PyObject * obj0 = 0 ;
9355 char *kwnames[] = {
9356 (char *) "self", NULL
9357 };
9358
9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
9360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9361 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9362 {
9363 PyThreadState* __tstate = wxPyBeginAllowThreads();
9364 (arg1)->SizeWindows();
9365
9366 wxPyEndAllowThreads(__tstate);
9367 if (PyErr_Occurred()) SWIG_fail;
9368 }
9369 Py_INCREF(Py_None); resultobj = Py_None;
9370 return resultobj;
9371 fail:
9372 return NULL;
9373}
9374
9375
c32bde28 9376static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9377 PyObject *obj;
9378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9379 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9380 Py_INCREF(obj);
9381 return Py_BuildValue((char *)"");
9382}
c32bde28 9383static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9384 PyObject *resultobj;
9385 int arg1 = (int) 0 ;
093d3ff1 9386 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
d55e5bfc
RD
9387 wxSashEvent *result;
9388 PyObject * obj0 = 0 ;
9389 PyObject * obj1 = 0 ;
9390 char *kwnames[] = {
9391 (char *) "id",(char *) "edge", NULL
9392 };
9393
9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9395 if (obj0) {
093d3ff1
RD
9396 {
9397 arg1 = (int)(SWIG_As_int(obj0));
9398 if (SWIG_arg_fail(1)) SWIG_fail;
9399 }
d55e5bfc
RD
9400 }
9401 if (obj1) {
093d3ff1
RD
9402 {
9403 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9404 if (SWIG_arg_fail(2)) SWIG_fail;
9405 }
d55e5bfc
RD
9406 }
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9410
9411 wxPyEndAllowThreads(__tstate);
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9415 return resultobj;
9416 fail:
9417 return NULL;
9418}
9419
9420
c32bde28 9421static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9422 PyObject *resultobj;
9423 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9424 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9425 PyObject * obj0 = 0 ;
9426 PyObject * obj1 = 0 ;
9427 char *kwnames[] = {
9428 (char *) "self",(char *) "edge", NULL
9429 };
9430
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9433 if (SWIG_arg_fail(1)) SWIG_fail;
9434 {
9435 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9436 if (SWIG_arg_fail(2)) SWIG_fail;
9437 }
d55e5bfc
RD
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 Py_INCREF(Py_None); resultobj = Py_None;
9446 return resultobj;
9447 fail:
9448 return NULL;
9449}
9450
9451
c32bde28 9452static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9453 PyObject *resultobj;
9454 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9455 wxSashEdgePosition result;
d55e5bfc
RD
9456 PyObject * obj0 = 0 ;
9457 char *kwnames[] = {
9458 (char *) "self", NULL
9459 };
9460
9461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
093d3ff1
RD
9462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9464 {
9465 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9466 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
d55e5bfc
RD
9467
9468 wxPyEndAllowThreads(__tstate);
9469 if (PyErr_Occurred()) SWIG_fail;
9470 }
093d3ff1 9471 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9472 return resultobj;
9473 fail:
9474 return NULL;
9475}
9476
9477
c32bde28 9478static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9479 PyObject *resultobj;
9480 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9481 wxRect *arg2 = 0 ;
9482 wxRect temp2 ;
9483 PyObject * obj0 = 0 ;
9484 PyObject * obj1 = 0 ;
9485 char *kwnames[] = {
9486 (char *) "self",(char *) "rect", NULL
9487 };
9488
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9492 {
9493 arg2 = &temp2;
9494 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9495 }
9496 {
9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
9498 (arg1)->SetDragRect((wxRect const &)*arg2);
9499
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 Py_INCREF(Py_None); resultobj = Py_None;
9504 return resultobj;
9505 fail:
9506 return NULL;
9507}
9508
9509
c32bde28 9510static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9511 PyObject *resultobj;
9512 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9513 wxRect result;
9514 PyObject * obj0 = 0 ;
9515 char *kwnames[] = {
9516 (char *) "self", NULL
9517 };
9518
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
9520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 result = ((wxSashEvent const *)arg1)->GetDragRect();
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 {
9530 wxRect * resultptr;
093d3ff1 9531 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
9532 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9533 }
9534 return resultobj;
9535 fail:
9536 return NULL;
9537}
9538
9539
c32bde28 9540static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9541 PyObject *resultobj;
9542 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9543 wxSashDragStatus arg2 ;
d55e5bfc
RD
9544 PyObject * obj0 = 0 ;
9545 PyObject * obj1 = 0 ;
9546 char *kwnames[] = {
9547 (char *) "self",(char *) "status", NULL
9548 };
9549
9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9552 if (SWIG_arg_fail(1)) SWIG_fail;
9553 {
9554 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9555 if (SWIG_arg_fail(2)) SWIG_fail;
9556 }
d55e5bfc
RD
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9560
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
9564 Py_INCREF(Py_None); resultobj = Py_None;
9565 return resultobj;
9566 fail:
9567 return NULL;
9568}
9569
9570
c32bde28 9571static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9572 PyObject *resultobj;
9573 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9574 wxSashDragStatus result;
d55e5bfc
RD
9575 PyObject * obj0 = 0 ;
9576 char *kwnames[] = {
9577 (char *) "self", NULL
9578 };
9579
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
093d3ff1
RD
9581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9582 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9585 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
d55e5bfc
RD
9586
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) SWIG_fail;
9589 }
093d3ff1 9590 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9591 return resultobj;
9592 fail:
9593 return NULL;
9594}
9595
9596
c32bde28 9597static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9598 PyObject *obj;
9599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9600 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9601 Py_INCREF(obj);
9602 return Py_BuildValue((char *)"");
9603}
c32bde28 9604static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9605 PyObject *resultobj;
9606 int arg1 = (int) 0 ;
9607 wxQueryLayoutInfoEvent *result;
9608 PyObject * obj0 = 0 ;
9609 char *kwnames[] = {
9610 (char *) "id", NULL
9611 };
9612
9613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9614 if (obj0) {
093d3ff1
RD
9615 {
9616 arg1 = (int)(SWIG_As_int(obj0));
9617 if (SWIG_arg_fail(1)) SWIG_fail;
9618 }
d55e5bfc
RD
9619 }
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9623
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9628 return resultobj;
9629 fail:
9630 return NULL;
9631}
9632
9633
c32bde28 9634static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9635 PyObject *resultobj;
9636 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9637 int arg2 ;
9638 PyObject * obj0 = 0 ;
9639 PyObject * obj1 = 0 ;
9640 char *kwnames[] = {
9641 (char *) "self",(char *) "length", NULL
9642 };
9643
9644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9646 if (SWIG_arg_fail(1)) SWIG_fail;
9647 {
9648 arg2 = (int)(SWIG_As_int(obj1));
9649 if (SWIG_arg_fail(2)) SWIG_fail;
9650 }
d55e5bfc
RD
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 (arg1)->SetRequestedLength(arg2);
9654
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 Py_INCREF(Py_None); resultobj = Py_None;
9659 return resultobj;
9660 fail:
9661 return NULL;
9662}
9663
9664
c32bde28 9665static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9666 PyObject *resultobj;
9667 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9668 int result;
9669 PyObject * obj0 = 0 ;
9670 char *kwnames[] = {
9671 (char *) "self", NULL
9672 };
9673
9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
9675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9676 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9680
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
093d3ff1
RD
9684 {
9685 resultobj = SWIG_From_int((int)(result));
9686 }
d55e5bfc
RD
9687 return resultobj;
9688 fail:
9689 return NULL;
9690}
9691
9692
c32bde28 9693static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9694 PyObject *resultobj;
9695 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9696 int arg2 ;
9697 PyObject * obj0 = 0 ;
9698 PyObject * obj1 = 0 ;
9699 char *kwnames[] = {
9700 (char *) "self",(char *) "flags", NULL
9701 };
9702
9703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9705 if (SWIG_arg_fail(1)) SWIG_fail;
9706 {
9707 arg2 = (int)(SWIG_As_int(obj1));
9708 if (SWIG_arg_fail(2)) SWIG_fail;
9709 }
d55e5bfc
RD
9710 {
9711 PyThreadState* __tstate = wxPyBeginAllowThreads();
9712 (arg1)->SetFlags(arg2);
9713
9714 wxPyEndAllowThreads(__tstate);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 }
9717 Py_INCREF(Py_None); resultobj = Py_None;
9718 return resultobj;
9719 fail:
9720 return NULL;
9721}
9722
9723
c32bde28 9724static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9725 PyObject *resultobj;
9726 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9727 int result;
9728 PyObject * obj0 = 0 ;
9729 char *kwnames[] = {
9730 (char *) "self", NULL
9731 };
9732
9733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9735 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9739
9740 wxPyEndAllowThreads(__tstate);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
093d3ff1
RD
9743 {
9744 resultobj = SWIG_From_int((int)(result));
9745 }
d55e5bfc
RD
9746 return resultobj;
9747 fail:
9748 return NULL;
9749}
9750
9751
c32bde28 9752static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9753 PyObject *resultobj;
9754 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9755 wxSize *arg2 = 0 ;
9756 wxSize temp2 ;
9757 PyObject * obj0 = 0 ;
9758 PyObject * obj1 = 0 ;
9759 char *kwnames[] = {
9760 (char *) "self",(char *) "size", NULL
9761 };
9762
9763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9766 {
9767 arg2 = &temp2;
9768 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9769 }
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 (arg1)->SetSize((wxSize const &)*arg2);
9773
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) SWIG_fail;
9776 }
9777 Py_INCREF(Py_None); resultobj = Py_None;
9778 return resultobj;
9779 fail:
9780 return NULL;
9781}
9782
9783
c32bde28 9784static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9785 PyObject *resultobj;
9786 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9787 wxSize result;
9788 PyObject * obj0 = 0 ;
9789 char *kwnames[] = {
9790 (char *) "self", NULL
9791 };
9792
9793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9795 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9796 {
9797 PyThreadState* __tstate = wxPyBeginAllowThreads();
9798 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9799
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 {
9804 wxSize * resultptr;
093d3ff1 9805 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
9806 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9807 }
9808 return resultobj;
9809 fail:
9810 return NULL;
9811}
9812
9813
c32bde28 9814static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9815 PyObject *resultobj;
9816 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9817 wxLayoutOrientation arg2 ;
d55e5bfc
RD
9818 PyObject * obj0 = 0 ;
9819 PyObject * obj1 = 0 ;
9820 char *kwnames[] = {
9821 (char *) "self",(char *) "orient", NULL
9822 };
9823
9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9826 if (SWIG_arg_fail(1)) SWIG_fail;
9827 {
9828 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9829 if (SWIG_arg_fail(2)) SWIG_fail;
9830 }
d55e5bfc
RD
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9834
9835 wxPyEndAllowThreads(__tstate);
9836 if (PyErr_Occurred()) SWIG_fail;
9837 }
9838 Py_INCREF(Py_None); resultobj = Py_None;
9839 return resultobj;
9840 fail:
9841 return NULL;
9842}
9843
9844
c32bde28 9845static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9846 PyObject *resultobj;
9847 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9848 wxLayoutOrientation result;
d55e5bfc
RD
9849 PyObject * obj0 = 0 ;
9850 char *kwnames[] = {
9851 (char *) "self", NULL
9852 };
9853
9854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
9855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9859 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
d55e5bfc
RD
9860
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
093d3ff1 9864 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9865 return resultobj;
9866 fail:
9867 return NULL;
9868}
9869
9870
c32bde28 9871static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9872 PyObject *resultobj;
9873 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9874 wxLayoutAlignment arg2 ;
d55e5bfc
RD
9875 PyObject * obj0 = 0 ;
9876 PyObject * obj1 = 0 ;
9877 char *kwnames[] = {
9878 (char *) "self",(char *) "align", NULL
9879 };
9880
9881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9883 if (SWIG_arg_fail(1)) SWIG_fail;
9884 {
9885 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9886 if (SWIG_arg_fail(2)) SWIG_fail;
9887 }
d55e5bfc
RD
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 Py_INCREF(Py_None); resultobj = Py_None;
9896 return resultobj;
9897 fail:
9898 return NULL;
9899}
9900
9901
c32bde28 9902static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9903 PyObject *resultobj;
9904 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9905 wxLayoutAlignment result;
d55e5bfc
RD
9906 PyObject * obj0 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9913 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9914 {
9915 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9916 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
d55e5bfc
RD
9917
9918 wxPyEndAllowThreads(__tstate);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 }
093d3ff1 9921 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9922 return resultobj;
9923 fail:
9924 return NULL;
9925}
9926
9927
c32bde28 9928static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9929 PyObject *obj;
9930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9931 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9932 Py_INCREF(obj);
9933 return Py_BuildValue((char *)"");
9934}
c32bde28 9935static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9936 PyObject *resultobj;
9937 int arg1 = (int) 0 ;
9938 wxCalculateLayoutEvent *result;
9939 PyObject * obj0 = 0 ;
9940 char *kwnames[] = {
9941 (char *) "id", NULL
9942 };
9943
9944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9945 if (obj0) {
093d3ff1
RD
9946 {
9947 arg1 = (int)(SWIG_As_int(obj0));
9948 if (SWIG_arg_fail(1)) SWIG_fail;
9949 }
d55e5bfc
RD
9950 }
9951 {
9952 PyThreadState* __tstate = wxPyBeginAllowThreads();
9953 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9954
9955 wxPyEndAllowThreads(__tstate);
9956 if (PyErr_Occurred()) SWIG_fail;
9957 }
9958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
9959 return resultobj;
9960 fail:
9961 return NULL;
9962}
9963
9964
c32bde28 9965static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9966 PyObject *resultobj;
9967 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9968 int arg2 ;
9969 PyObject * obj0 = 0 ;
9970 PyObject * obj1 = 0 ;
9971 char *kwnames[] = {
9972 (char *) "self",(char *) "flags", NULL
9973 };
9974
9975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9977 if (SWIG_arg_fail(1)) SWIG_fail;
9978 {
9979 arg2 = (int)(SWIG_As_int(obj1));
9980 if (SWIG_arg_fail(2)) SWIG_fail;
9981 }
d55e5bfc
RD
9982 {
9983 PyThreadState* __tstate = wxPyBeginAllowThreads();
9984 (arg1)->SetFlags(arg2);
9985
9986 wxPyEndAllowThreads(__tstate);
9987 if (PyErr_Occurred()) SWIG_fail;
9988 }
9989 Py_INCREF(Py_None); resultobj = Py_None;
9990 return resultobj;
9991 fail:
9992 return NULL;
9993}
9994
9995
c32bde28 9996static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9997 PyObject *resultobj;
9998 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9999 int result;
10000 PyObject * obj0 = 0 ;
10001 char *kwnames[] = {
10002 (char *) "self", NULL
10003 };
10004
10005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
10006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10007 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10008 {
10009 PyThreadState* __tstate = wxPyBeginAllowThreads();
10010 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
10011
10012 wxPyEndAllowThreads(__tstate);
10013 if (PyErr_Occurred()) SWIG_fail;
10014 }
093d3ff1
RD
10015 {
10016 resultobj = SWIG_From_int((int)(result));
10017 }
d55e5bfc
RD
10018 return resultobj;
10019 fail:
10020 return NULL;
10021}
10022
10023
c32bde28 10024static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10025 PyObject *resultobj;
10026 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10027 wxRect *arg2 = 0 ;
10028 wxRect temp2 ;
10029 PyObject * obj0 = 0 ;
10030 PyObject * obj1 = 0 ;
10031 char *kwnames[] = {
10032 (char *) "self",(char *) "rect", NULL
10033 };
10034
10035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10037 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10038 {
10039 arg2 = &temp2;
10040 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10041 }
10042 {
10043 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044 (arg1)->SetRect((wxRect const &)*arg2);
10045
10046 wxPyEndAllowThreads(__tstate);
10047 if (PyErr_Occurred()) SWIG_fail;
10048 }
10049 Py_INCREF(Py_None); resultobj = Py_None;
10050 return resultobj;
10051 fail:
10052 return NULL;
10053}
10054
10055
c32bde28 10056static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10057 PyObject *resultobj;
10058 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10059 wxRect result;
10060 PyObject * obj0 = 0 ;
10061 char *kwnames[] = {
10062 (char *) "self", NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
10066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10067 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10071
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 {
10076 wxRect * resultptr;
093d3ff1 10077 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
10078 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10079 }
10080 return resultobj;
10081 fail:
10082 return NULL;
10083}
10084
10085
c32bde28 10086static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10087 PyObject *obj;
10088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10089 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10090 Py_INCREF(obj);
10091 return Py_BuildValue((char *)"");
10092}
c32bde28 10093static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10094 PyObject *resultobj;
10095 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 10096 int arg2 = (int) -1 ;
d55e5bfc
RD
10097 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10098 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10099 wxSize const &arg4_defvalue = wxDefaultSize ;
10100 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10101 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10102 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10103 wxString *arg6 = (wxString *) &arg6_defvalue ;
10104 wxSashLayoutWindow *result;
10105 wxPoint temp3 ;
10106 wxSize temp4 ;
ae8162c8 10107 bool temp6 = false ;
d55e5bfc
RD
10108 PyObject * obj0 = 0 ;
10109 PyObject * obj1 = 0 ;
10110 PyObject * obj2 = 0 ;
10111 PyObject * obj3 = 0 ;
10112 PyObject * obj4 = 0 ;
10113 PyObject * obj5 = 0 ;
10114 char *kwnames[] = {
10115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10116 };
10117
248ed943 10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
10119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10120 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 10121 if (obj1) {
093d3ff1
RD
10122 {
10123 arg2 = (int)(SWIG_As_int(obj1));
10124 if (SWIG_arg_fail(2)) SWIG_fail;
10125 }
248ed943 10126 }
d55e5bfc
RD
10127 if (obj2) {
10128 {
10129 arg3 = &temp3;
10130 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10131 }
10132 }
10133 if (obj3) {
10134 {
10135 arg4 = &temp4;
10136 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10137 }
10138 }
10139 if (obj4) {
093d3ff1
RD
10140 {
10141 arg5 = (long)(SWIG_As_long(obj4));
10142 if (SWIG_arg_fail(5)) SWIG_fail;
10143 }
d55e5bfc
RD
10144 }
10145 if (obj5) {
10146 {
10147 arg6 = wxString_in_helper(obj5);
10148 if (arg6 == NULL) SWIG_fail;
ae8162c8 10149 temp6 = true;
d55e5bfc
RD
10150 }
10151 }
10152 {
0439c23b 10153 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10154 PyThreadState* __tstate = wxPyBeginAllowThreads();
10155 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10156
10157 wxPyEndAllowThreads(__tstate);
110da5b0 10158 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10159 }
10160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10161 {
10162 if (temp6)
10163 delete arg6;
10164 }
10165 return resultobj;
10166 fail:
10167 {
10168 if (temp6)
10169 delete arg6;
10170 }
10171 return NULL;
10172}
10173
10174
c32bde28 10175static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10176 PyObject *resultobj;
10177 wxSashLayoutWindow *result;
10178 char *kwnames[] = {
10179 NULL
10180 };
10181
10182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10183 {
0439c23b 10184 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10187
10188 wxPyEndAllowThreads(__tstate);
110da5b0 10189 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10190 }
10191 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10192 return resultobj;
10193 fail:
10194 return NULL;
10195}
10196
10197
c32bde28 10198static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10199 PyObject *resultobj;
10200 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10201 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 10202 int arg3 = (int) -1 ;
d55e5bfc
RD
10203 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10204 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10205 wxSize const &arg5_defvalue = wxDefaultSize ;
10206 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10207 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10208 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10209 wxString *arg7 = (wxString *) &arg7_defvalue ;
10210 bool result;
10211 wxPoint temp4 ;
10212 wxSize temp5 ;
ae8162c8 10213 bool temp7 = false ;
d55e5bfc
RD
10214 PyObject * obj0 = 0 ;
10215 PyObject * obj1 = 0 ;
10216 PyObject * obj2 = 0 ;
10217 PyObject * obj3 = 0 ;
10218 PyObject * obj4 = 0 ;
10219 PyObject * obj5 = 0 ;
10220 PyObject * obj6 = 0 ;
10221 char *kwnames[] = {
10222 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10223 };
10224
248ed943 10225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
10226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10227 if (SWIG_arg_fail(1)) SWIG_fail;
10228 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10229 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 10230 if (obj2) {
093d3ff1
RD
10231 {
10232 arg3 = (int)(SWIG_As_int(obj2));
10233 if (SWIG_arg_fail(3)) SWIG_fail;
10234 }
248ed943 10235 }
d55e5bfc
RD
10236 if (obj3) {
10237 {
10238 arg4 = &temp4;
10239 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10240 }
10241 }
10242 if (obj4) {
10243 {
10244 arg5 = &temp5;
10245 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10246 }
10247 }
10248 if (obj5) {
093d3ff1
RD
10249 {
10250 arg6 = (long)(SWIG_As_long(obj5));
10251 if (SWIG_arg_fail(6)) SWIG_fail;
10252 }
d55e5bfc
RD
10253 }
10254 if (obj6) {
10255 {
10256 arg7 = wxString_in_helper(obj6);
10257 if (arg7 == NULL) SWIG_fail;
ae8162c8 10258 temp7 = true;
d55e5bfc
RD
10259 }
10260 }
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 {
10269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10270 }
10271 {
10272 if (temp7)
10273 delete arg7;
10274 }
10275 return resultobj;
10276 fail:
10277 {
10278 if (temp7)
10279 delete arg7;
10280 }
10281 return NULL;
10282}
10283
10284
c32bde28 10285static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10286 PyObject *resultobj;
10287 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10288 wxLayoutAlignment result;
d55e5bfc
RD
10289 PyObject * obj0 = 0 ;
10290 char *kwnames[] = {
10291 (char *) "self", NULL
10292 };
10293
10294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
10295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10296 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10299 result = (wxLayoutAlignment)(arg1)->GetAlignment();
d55e5bfc
RD
10300
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
093d3ff1 10304 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10305 return resultobj;
10306 fail:
10307 return NULL;
10308}
10309
10310
c32bde28 10311static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10312 PyObject *resultobj;
10313 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10314 wxLayoutOrientation result;
d55e5bfc
RD
10315 PyObject * obj0 = 0 ;
10316 char *kwnames[] = {
10317 (char *) "self", NULL
10318 };
10319
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
10321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10322 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10323 {
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10325 result = (wxLayoutOrientation)(arg1)->GetOrientation();
d55e5bfc
RD
10326
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 }
093d3ff1 10330 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10331 return resultobj;
10332 fail:
10333 return NULL;
10334}
10335
10336
c32bde28 10337static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10338 PyObject *resultobj;
10339 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10340 wxLayoutAlignment arg2 ;
d55e5bfc
RD
10341 PyObject * obj0 = 0 ;
10342 PyObject * obj1 = 0 ;
10343 char *kwnames[] = {
10344 (char *) "self",(char *) "alignment", NULL
10345 };
10346
10347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10349 if (SWIG_arg_fail(1)) SWIG_fail;
10350 {
10351 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10352 if (SWIG_arg_fail(2)) SWIG_fail;
10353 }
d55e5bfc
RD
10354 {
10355 PyThreadState* __tstate = wxPyBeginAllowThreads();
10356 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10357
10358 wxPyEndAllowThreads(__tstate);
10359 if (PyErr_Occurred()) SWIG_fail;
10360 }
10361 Py_INCREF(Py_None); resultobj = Py_None;
10362 return resultobj;
10363 fail:
10364 return NULL;
10365}
10366
10367
c32bde28 10368static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10369 PyObject *resultobj;
10370 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10371 wxSize *arg2 = 0 ;
10372 wxSize temp2 ;
10373 PyObject * obj0 = 0 ;
10374 PyObject * obj1 = 0 ;
10375 char *kwnames[] = {
10376 (char *) "self",(char *) "size", NULL
10377 };
10378
10379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10381 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10382 {
10383 arg2 = &temp2;
10384 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10385 }
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 Py_INCREF(Py_None); resultobj = Py_None;
10394 return resultobj;
10395 fail:
10396 return NULL;
10397}
10398
10399
c32bde28 10400static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10401 PyObject *resultobj;
10402 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10403 wxLayoutOrientation arg2 ;
d55e5bfc
RD
10404 PyObject * obj0 = 0 ;
10405 PyObject * obj1 = 0 ;
10406 char *kwnames[] = {
10407 (char *) "self",(char *) "orientation", NULL
10408 };
10409
10410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10412 if (SWIG_arg_fail(1)) SWIG_fail;
10413 {
10414 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10415 if (SWIG_arg_fail(2)) SWIG_fail;
10416 }
d55e5bfc
RD
10417 {
10418 PyThreadState* __tstate = wxPyBeginAllowThreads();
10419 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10420
10421 wxPyEndAllowThreads(__tstate);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 }
10424 Py_INCREF(Py_None); resultobj = Py_None;
10425 return resultobj;
10426 fail:
10427 return NULL;
10428}
10429
10430
c32bde28 10431static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10432 PyObject *obj;
10433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10434 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10435 Py_INCREF(obj);
10436 return Py_BuildValue((char *)"");
10437}
c32bde28 10438static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10439 PyObject *resultobj;
10440 wxLayoutAlgorithm *result;
10441 char *kwnames[] = {
10442 NULL
10443 };
10444
10445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
10453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10454 return resultobj;
10455 fail:
10456 return NULL;
10457}
10458
10459
c32bde28 10460static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10461 PyObject *resultobj;
10462 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10463 PyObject * obj0 = 0 ;
10464 char *kwnames[] = {
10465 (char *) "self", NULL
10466 };
10467
10468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
093d3ff1
RD
10469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10471 {
10472 PyThreadState* __tstate = wxPyBeginAllowThreads();
10473 delete arg1;
10474
10475 wxPyEndAllowThreads(__tstate);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 Py_INCREF(Py_None); resultobj = Py_None;
10479 return resultobj;
10480 fail:
10481 return NULL;
10482}
10483
10484
c32bde28 10485static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10486 PyObject *resultobj;
10487 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10488 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10489 wxRect *arg3 = (wxRect *) NULL ;
10490 bool result;
10491 PyObject * obj0 = 0 ;
10492 PyObject * obj1 = 0 ;
10493 PyObject * obj2 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self",(char *) "frame",(char *) "rect", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10500 if (SWIG_arg_fail(1)) SWIG_fail;
10501 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10502 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10503 if (obj2) {
093d3ff1
RD
10504 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10505 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10506 }
10507 {
10508 PyThreadState* __tstate = wxPyBeginAllowThreads();
10509 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10510
10511 wxPyEndAllowThreads(__tstate);
10512 if (PyErr_Occurred()) SWIG_fail;
10513 }
10514 {
10515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10516 }
10517 return resultobj;
10518 fail:
10519 return NULL;
10520}
10521
10522
c32bde28 10523static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10524 PyObject *resultobj;
10525 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10526 wxFrame *arg2 = (wxFrame *) 0 ;
10527 wxWindow *arg3 = (wxWindow *) NULL ;
10528 bool result;
10529 PyObject * obj0 = 0 ;
10530 PyObject * obj1 = 0 ;
10531 PyObject * obj2 = 0 ;
10532 char *kwnames[] = {
10533 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10534 };
10535
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10538 if (SWIG_arg_fail(1)) SWIG_fail;
10539 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10540 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10541 if (obj2) {
093d3ff1
RD
10542 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10543 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10544 }
10545 {
10546 PyThreadState* __tstate = wxPyBeginAllowThreads();
10547 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10548
10549 wxPyEndAllowThreads(__tstate);
10550 if (PyErr_Occurred()) SWIG_fail;
10551 }
10552 {
10553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10554 }
10555 return resultobj;
10556 fail:
10557 return NULL;
10558}
10559
10560
c32bde28 10561static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10562 PyObject *resultobj;
10563 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10564 wxWindow *arg2 = (wxWindow *) 0 ;
10565 wxWindow *arg3 = (wxWindow *) NULL ;
10566 bool result;
10567 PyObject * obj0 = 0 ;
10568 PyObject * obj1 = 0 ;
10569 PyObject * obj2 = 0 ;
10570 char *kwnames[] = {
10571 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10572 };
10573
10574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10576 if (SWIG_arg_fail(1)) SWIG_fail;
10577 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10578 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10579 if (obj2) {
093d3ff1
RD
10580 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10581 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10582 }
10583 {
10584 PyThreadState* __tstate = wxPyBeginAllowThreads();
10585 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10586
10587 wxPyEndAllowThreads(__tstate);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 {
10591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10592 }
10593 return resultobj;
10594 fail:
10595 return NULL;
10596}
10597
10598
c32bde28 10599static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10600 PyObject *obj;
10601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10602 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10603 Py_INCREF(obj);
10604 return Py_BuildValue((char *)"");
10605}
c32bde28 10606static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10607 PyObject *resultobj;
10608 wxWindow *arg1 = (wxWindow *) 0 ;
10609 int arg2 = (int) wxBORDER_NONE ;
10610 wxPopupWindow *result;
10611 PyObject * obj0 = 0 ;
10612 PyObject * obj1 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "parent",(char *) "flags", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10619 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10620 if (obj1) {
093d3ff1
RD
10621 {
10622 arg2 = (int)(SWIG_As_int(obj1));
10623 if (SWIG_arg_fail(2)) SWIG_fail;
10624 }
d55e5bfc
RD
10625 }
10626 {
0439c23b 10627 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10628 PyThreadState* __tstate = wxPyBeginAllowThreads();
10629 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10630
10631 wxPyEndAllowThreads(__tstate);
110da5b0 10632 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10633 }
10634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10635 return resultobj;
10636 fail:
10637 return NULL;
10638}
10639
10640
c32bde28 10641static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10642 PyObject *resultobj;
10643 wxPopupWindow *result;
10644 char *kwnames[] = {
10645 NULL
10646 };
10647
10648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10649 {
0439c23b 10650 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 result = (wxPopupWindow *)new wxPopupWindow();
10653
10654 wxPyEndAllowThreads(__tstate);
110da5b0 10655 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10656 }
10657 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10658 return resultobj;
10659 fail:
10660 return NULL;
10661}
10662
10663
c32bde28 10664static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10665 PyObject *resultobj;
10666 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10667 wxWindow *arg2 = (wxWindow *) 0 ;
10668 int arg3 = (int) wxBORDER_NONE ;
10669 bool result;
10670 PyObject * obj0 = 0 ;
10671 PyObject * obj1 = 0 ;
10672 PyObject * obj2 = 0 ;
10673 char *kwnames[] = {
10674 (char *) "self",(char *) "parent",(char *) "flags", NULL
10675 };
10676
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10679 if (SWIG_arg_fail(1)) SWIG_fail;
10680 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10681 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10682 if (obj2) {
093d3ff1
RD
10683 {
10684 arg3 = (int)(SWIG_As_int(obj2));
10685 if (SWIG_arg_fail(3)) SWIG_fail;
10686 }
d55e5bfc
RD
10687 }
10688 {
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
10690 result = (bool)(arg1)->Create(arg2,arg3);
10691
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 {
10696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10697 }
10698 return resultobj;
10699 fail:
10700 return NULL;
10701}
10702
10703
c32bde28 10704static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10705 PyObject *resultobj;
10706 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10707 wxPoint *arg2 = 0 ;
10708 wxSize *arg3 = 0 ;
10709 wxPoint temp2 ;
10710 wxSize temp3 ;
10711 PyObject * obj0 = 0 ;
10712 PyObject * obj1 = 0 ;
10713 PyObject * obj2 = 0 ;
10714 char *kwnames[] = {
10715 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10716 };
10717
10718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10720 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10721 {
10722 arg2 = &temp2;
10723 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10724 }
10725 {
10726 arg3 = &temp3;
10727 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10728 }
10729 {
10730 PyThreadState* __tstate = wxPyBeginAllowThreads();
10731 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10732
10733 wxPyEndAllowThreads(__tstate);
10734 if (PyErr_Occurred()) SWIG_fail;
10735 }
10736 Py_INCREF(Py_None); resultobj = Py_None;
10737 return resultobj;
10738 fail:
10739 return NULL;
10740}
10741
10742
c32bde28 10743static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10744 PyObject *obj;
10745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10746 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10747 Py_INCREF(obj);
10748 return Py_BuildValue((char *)"");
10749}
c32bde28 10750static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10751 PyObject *resultobj;
10752 wxWindow *arg1 = (wxWindow *) 0 ;
10753 int arg2 = (int) wxBORDER_NONE ;
10754 wxPyPopupTransientWindow *result;
10755 PyObject * obj0 = 0 ;
10756 PyObject * obj1 = 0 ;
10757 char *kwnames[] = {
10758 (char *) "parent",(char *) "style", NULL
10759 };
10760
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10763 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10764 if (obj1) {
093d3ff1
RD
10765 {
10766 arg2 = (int)(SWIG_As_int(obj1));
10767 if (SWIG_arg_fail(2)) SWIG_fail;
10768 }
d55e5bfc
RD
10769 }
10770 {
0439c23b 10771 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10774
10775 wxPyEndAllowThreads(__tstate);
110da5b0 10776 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10777 }
10778 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10779 return resultobj;
10780 fail:
10781 return NULL;
10782}
10783
10784
c32bde28 10785static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10786 PyObject *resultobj;
10787 wxPyPopupTransientWindow *result;
10788 char *kwnames[] = {
10789 NULL
10790 };
10791
10792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10793 {
0439c23b 10794 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10797
10798 wxPyEndAllowThreads(__tstate);
110da5b0 10799 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10800 }
10801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10802 return resultobj;
10803 fail:
10804 return NULL;
10805}
10806
10807
c32bde28 10808static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10809 PyObject *resultobj;
10810 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10811 PyObject *arg2 = (PyObject *) 0 ;
10812 PyObject *arg3 = (PyObject *) 0 ;
10813 PyObject * obj0 = 0 ;
10814 PyObject * obj1 = 0 ;
10815 PyObject * obj2 = 0 ;
10816 char *kwnames[] = {
10817 (char *) "self",(char *) "self",(char *) "_class", NULL
10818 };
10819
10820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10822 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10823 arg2 = obj1;
10824 arg3 = obj2;
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 (arg1)->_setCallbackInfo(arg2,arg3);
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 Py_INCREF(Py_None); resultobj = Py_None;
10833 return resultobj;
10834 fail:
10835 return NULL;
10836}
10837
10838
c32bde28 10839static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10840 PyObject *resultobj;
10841 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10842 wxWindow *arg2 = (wxWindow *) NULL ;
10843 PyObject * obj0 = 0 ;
10844 PyObject * obj1 = 0 ;
10845 char *kwnames[] = {
10846 (char *) "self",(char *) "focus", NULL
10847 };
10848
10849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10851 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10852 if (obj1) {
093d3ff1
RD
10853 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10854 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10855 }
10856 {
10857 PyThreadState* __tstate = wxPyBeginAllowThreads();
10858 (arg1)->Popup(arg2);
10859
10860 wxPyEndAllowThreads(__tstate);
10861 if (PyErr_Occurred()) SWIG_fail;
10862 }
10863 Py_INCREF(Py_None); resultobj = Py_None;
10864 return resultobj;
10865 fail:
10866 return NULL;
10867}
10868
10869
c32bde28 10870static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10871 PyObject *resultobj;
10872 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10873 PyObject * obj0 = 0 ;
10874 char *kwnames[] = {
10875 (char *) "self", NULL
10876 };
10877
10878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
093d3ff1
RD
10879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10880 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10881 {
10882 PyThreadState* __tstate = wxPyBeginAllowThreads();
10883 (arg1)->Dismiss();
10884
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 Py_INCREF(Py_None); resultobj = Py_None;
10889 return resultobj;
10890 fail:
10891 return NULL;
10892}
10893
10894
c32bde28 10895static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10896 PyObject *obj;
10897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10898 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10899 Py_INCREF(obj);
10900 return Py_BuildValue((char *)"");
10901}
c32bde28 10902static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10903 PyObject *resultobj;
10904 wxWindow *arg1 = (wxWindow *) 0 ;
10905 wxString *arg2 = 0 ;
10906 int arg3 = (int) 100 ;
10907 wxRect *arg4 = (wxRect *) NULL ;
10908 wxTipWindow *result;
ae8162c8 10909 bool temp2 = false ;
d55e5bfc
RD
10910 PyObject * obj0 = 0 ;
10911 PyObject * obj1 = 0 ;
10912 PyObject * obj2 = 0 ;
10913 PyObject * obj3 = 0 ;
10914 char *kwnames[] = {
10915 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10916 };
10917
10918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10920 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10921 {
10922 arg2 = wxString_in_helper(obj1);
10923 if (arg2 == NULL) SWIG_fail;
ae8162c8 10924 temp2 = true;
d55e5bfc
RD
10925 }
10926 if (obj2) {
093d3ff1
RD
10927 {
10928 arg3 = (int)(SWIG_As_int(obj2));
10929 if (SWIG_arg_fail(3)) SWIG_fail;
10930 }
d55e5bfc
RD
10931 }
10932 if (obj3) {
093d3ff1
RD
10933 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10934 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10935 }
10936 {
0439c23b 10937 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10938 PyThreadState* __tstate = wxPyBeginAllowThreads();
10939 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10940
10941 wxPyEndAllowThreads(__tstate);
110da5b0 10942 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10943 }
10944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10945 {
10946 if (temp2)
10947 delete arg2;
10948 }
10949 return resultobj;
10950 fail:
10951 {
10952 if (temp2)
10953 delete arg2;
10954 }
10955 return NULL;
10956}
10957
10958
c32bde28 10959static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10960 PyObject *resultobj;
10961 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10962 wxRect *arg2 = 0 ;
10963 wxRect temp2 ;
10964 PyObject * obj0 = 0 ;
10965 PyObject * obj1 = 0 ;
10966 char *kwnames[] = {
10967 (char *) "self",(char *) "rectBound", NULL
10968 };
10969
10970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10972 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10973 {
10974 arg2 = &temp2;
10975 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10976 }
10977 {
10978 PyThreadState* __tstate = wxPyBeginAllowThreads();
10979 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10980
10981 wxPyEndAllowThreads(__tstate);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 }
10984 Py_INCREF(Py_None); resultobj = Py_None;
10985 return resultobj;
10986 fail:
10987 return NULL;
10988}
10989
10990
c32bde28 10991static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10992 PyObject *resultobj;
10993 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10994 PyObject * obj0 = 0 ;
10995 char *kwnames[] = {
10996 (char *) "self", NULL
10997 };
10998
10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
11000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
11001 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11002 {
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 (arg1)->Close();
11005
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 Py_INCREF(Py_None); resultobj = Py_None;
11010 return resultobj;
11011 fail:
11012 return NULL;
11013}
11014
11015
c32bde28 11016static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11017 PyObject *obj;
11018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11019 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11020 Py_INCREF(obj);
11021 return Py_BuildValue((char *)"");
11022}
c32bde28 11023static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11024 PyObject *resultobj;
11025 wxWindow *arg1 = (wxWindow *) 0 ;
11026 int arg2 = (int) wxID_ANY ;
11027 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11028 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11029 wxSize const &arg4_defvalue = wxDefaultSize ;
11030 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11031 long arg5 = (long) 0 ;
11032 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11033 wxString *arg6 = (wxString *) &arg6_defvalue ;
11034 wxPyVScrolledWindow *result;
11035 wxPoint temp3 ;
11036 wxSize temp4 ;
ae8162c8 11037 bool temp6 = false ;
d55e5bfc
RD
11038 PyObject * obj0 = 0 ;
11039 PyObject * obj1 = 0 ;
11040 PyObject * obj2 = 0 ;
11041 PyObject * obj3 = 0 ;
11042 PyObject * obj4 = 0 ;
11043 PyObject * obj5 = 0 ;
11044 char *kwnames[] = {
11045 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11046 };
11047
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11050 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11051 if (obj1) {
093d3ff1
RD
11052 {
11053 arg2 = (int)(SWIG_As_int(obj1));
11054 if (SWIG_arg_fail(2)) SWIG_fail;
11055 }
d55e5bfc
RD
11056 }
11057 if (obj2) {
11058 {
11059 arg3 = &temp3;
11060 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11061 }
11062 }
11063 if (obj3) {
11064 {
11065 arg4 = &temp4;
11066 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11067 }
11068 }
11069 if (obj4) {
093d3ff1
RD
11070 {
11071 arg5 = (long)(SWIG_As_long(obj4));
11072 if (SWIG_arg_fail(5)) SWIG_fail;
11073 }
d55e5bfc
RD
11074 }
11075 if (obj5) {
11076 {
11077 arg6 = wxString_in_helper(obj5);
11078 if (arg6 == NULL) SWIG_fail;
ae8162c8 11079 temp6 = true;
d55e5bfc
RD
11080 }
11081 }
11082 {
0439c23b 11083 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11084 PyThreadState* __tstate = wxPyBeginAllowThreads();
11085 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11086
11087 wxPyEndAllowThreads(__tstate);
110da5b0 11088 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11089 }
11090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11091 {
11092 if (temp6)
11093 delete arg6;
11094 }
11095 return resultobj;
11096 fail:
11097 {
11098 if (temp6)
11099 delete arg6;
11100 }
11101 return NULL;
11102}
11103
11104
c32bde28 11105static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11106 PyObject *resultobj;
11107 wxPyVScrolledWindow *result;
11108 char *kwnames[] = {
11109 NULL
11110 };
11111
11112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11113 {
0439c23b 11114 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11115 PyThreadState* __tstate = wxPyBeginAllowThreads();
11116 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11117
11118 wxPyEndAllowThreads(__tstate);
110da5b0 11119 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11120 }
11121 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
11122 return resultobj;
11123 fail:
11124 return NULL;
11125}
11126
11127
c32bde28 11128static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11129 PyObject *resultobj;
11130 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11131 PyObject *arg2 = (PyObject *) 0 ;
11132 PyObject *arg3 = (PyObject *) 0 ;
11133 PyObject * obj0 = 0 ;
11134 PyObject * obj1 = 0 ;
11135 PyObject * obj2 = 0 ;
11136 char *kwnames[] = {
11137 (char *) "self",(char *) "self",(char *) "_class", NULL
11138 };
11139
11140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11142 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11143 arg2 = obj1;
11144 arg3 = obj2;
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 (arg1)->_setCallbackInfo(arg2,arg3);
11148
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 Py_INCREF(Py_None); resultobj = Py_None;
11153 return resultobj;
11154 fail:
11155 return NULL;
11156}
11157
11158
c32bde28 11159static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11160 PyObject *resultobj;
11161 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11162 wxWindow *arg2 = (wxWindow *) 0 ;
11163 int arg3 = (int) wxID_ANY ;
11164 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11165 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11166 wxSize const &arg5_defvalue = wxDefaultSize ;
11167 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11168 long arg6 = (long) 0 ;
11169 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11170 wxString *arg7 = (wxString *) &arg7_defvalue ;
11171 bool result;
11172 wxPoint temp4 ;
11173 wxSize temp5 ;
ae8162c8 11174 bool temp7 = false ;
d55e5bfc
RD
11175 PyObject * obj0 = 0 ;
11176 PyObject * obj1 = 0 ;
11177 PyObject * obj2 = 0 ;
11178 PyObject * obj3 = 0 ;
11179 PyObject * obj4 = 0 ;
11180 PyObject * obj5 = 0 ;
11181 PyObject * obj6 = 0 ;
11182 char *kwnames[] = {
11183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11184 };
11185
11186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11188 if (SWIG_arg_fail(1)) SWIG_fail;
11189 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11190 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11191 if (obj2) {
093d3ff1
RD
11192 {
11193 arg3 = (int)(SWIG_As_int(obj2));
11194 if (SWIG_arg_fail(3)) SWIG_fail;
11195 }
d55e5bfc
RD
11196 }
11197 if (obj3) {
11198 {
11199 arg4 = &temp4;
11200 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11201 }
11202 }
11203 if (obj4) {
11204 {
11205 arg5 = &temp5;
11206 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11207 }
11208 }
11209 if (obj5) {
093d3ff1
RD
11210 {
11211 arg6 = (long)(SWIG_As_long(obj5));
11212 if (SWIG_arg_fail(6)) SWIG_fail;
11213 }
d55e5bfc
RD
11214 }
11215 if (obj6) {
11216 {
11217 arg7 = wxString_in_helper(obj6);
11218 if (arg7 == NULL) SWIG_fail;
ae8162c8 11219 temp7 = true;
d55e5bfc
RD
11220 }
11221 }
11222 {
11223 PyThreadState* __tstate = wxPyBeginAllowThreads();
11224 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11225
11226 wxPyEndAllowThreads(__tstate);
11227 if (PyErr_Occurred()) SWIG_fail;
11228 }
11229 {
11230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11231 }
11232 {
11233 if (temp7)
11234 delete arg7;
11235 }
11236 return resultobj;
11237 fail:
11238 {
11239 if (temp7)
11240 delete arg7;
11241 }
11242 return NULL;
11243}
11244
11245
c32bde28 11246static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11247 PyObject *resultobj;
11248 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11249 size_t arg2 ;
11250 PyObject * obj0 = 0 ;
11251 PyObject * obj1 = 0 ;
11252 char *kwnames[] = {
11253 (char *) "self",(char *) "count", NULL
11254 };
11255
11256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11258 if (SWIG_arg_fail(1)) SWIG_fail;
11259 {
11260 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11261 if (SWIG_arg_fail(2)) SWIG_fail;
11262 }
d55e5bfc
RD
11263 {
11264 PyThreadState* __tstate = wxPyBeginAllowThreads();
11265 (arg1)->SetLineCount(arg2);
11266
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
11270 Py_INCREF(Py_None); resultobj = Py_None;
11271 return resultobj;
11272 fail:
11273 return NULL;
11274}
11275
11276
c32bde28 11277static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11278 PyObject *resultobj;
11279 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11280 size_t arg2 ;
11281 bool result;
11282 PyObject * obj0 = 0 ;
11283 PyObject * obj1 = 0 ;
11284 char *kwnames[] = {
11285 (char *) "self",(char *) "line", NULL
11286 };
11287
11288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11290 if (SWIG_arg_fail(1)) SWIG_fail;
11291 {
11292 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11293 if (SWIG_arg_fail(2)) SWIG_fail;
11294 }
d55e5bfc
RD
11295 {
11296 PyThreadState* __tstate = wxPyBeginAllowThreads();
11297 result = (bool)(arg1)->ScrollToLine(arg2);
11298
11299 wxPyEndAllowThreads(__tstate);
11300 if (PyErr_Occurred()) SWIG_fail;
11301 }
11302 {
11303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11304 }
11305 return resultobj;
11306 fail:
11307 return NULL;
11308}
11309
11310
c32bde28 11311static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11312 PyObject *resultobj;
11313 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11314 int arg2 ;
11315 bool result;
11316 PyObject * obj0 = 0 ;
11317 PyObject * obj1 = 0 ;
11318 char *kwnames[] = {
11319 (char *) "self",(char *) "lines", NULL
11320 };
11321
11322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11324 if (SWIG_arg_fail(1)) SWIG_fail;
11325 {
11326 arg2 = (int)(SWIG_As_int(obj1));
11327 if (SWIG_arg_fail(2)) SWIG_fail;
11328 }
d55e5bfc
RD
11329 {
11330 PyThreadState* __tstate = wxPyBeginAllowThreads();
11331 result = (bool)(arg1)->ScrollLines(arg2);
11332
11333 wxPyEndAllowThreads(__tstate);
11334 if (PyErr_Occurred()) SWIG_fail;
11335 }
11336 {
11337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11338 }
11339 return resultobj;
11340 fail:
11341 return NULL;
11342}
11343
11344
c32bde28 11345static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11346 PyObject *resultobj;
11347 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11348 int arg2 ;
11349 bool result;
11350 PyObject * obj0 = 0 ;
11351 PyObject * obj1 = 0 ;
11352 char *kwnames[] = {
11353 (char *) "self",(char *) "pages", NULL
11354 };
11355
11356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11358 if (SWIG_arg_fail(1)) SWIG_fail;
11359 {
11360 arg2 = (int)(SWIG_As_int(obj1));
11361 if (SWIG_arg_fail(2)) SWIG_fail;
11362 }
d55e5bfc
RD
11363 {
11364 PyThreadState* __tstate = wxPyBeginAllowThreads();
11365 result = (bool)(arg1)->ScrollPages(arg2);
11366
11367 wxPyEndAllowThreads(__tstate);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 }
11370 {
11371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11372 }
11373 return resultobj;
11374 fail:
11375 return NULL;
11376}
11377
11378
c32bde28 11379static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11380 PyObject *resultobj;
11381 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11382 size_t arg2 ;
11383 PyObject * obj0 = 0 ;
11384 PyObject * obj1 = 0 ;
11385 char *kwnames[] = {
11386 (char *) "self",(char *) "line", NULL
11387 };
11388
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11391 if (SWIG_arg_fail(1)) SWIG_fail;
11392 {
11393 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11394 if (SWIG_arg_fail(2)) SWIG_fail;
11395 }
d55e5bfc
RD
11396 {
11397 PyThreadState* __tstate = wxPyBeginAllowThreads();
11398 (arg1)->RefreshLine(arg2);
11399
11400 wxPyEndAllowThreads(__tstate);
11401 if (PyErr_Occurred()) SWIG_fail;
11402 }
11403 Py_INCREF(Py_None); resultobj = Py_None;
11404 return resultobj;
11405 fail:
11406 return NULL;
11407}
11408
11409
c32bde28 11410static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11411 PyObject *resultobj;
11412 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11413 size_t arg2 ;
11414 size_t arg3 ;
11415 PyObject * obj0 = 0 ;
11416 PyObject * obj1 = 0 ;
11417 PyObject * obj2 = 0 ;
11418 char *kwnames[] = {
11419 (char *) "self",(char *) "from",(char *) "to", NULL
11420 };
11421
11422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11424 if (SWIG_arg_fail(1)) SWIG_fail;
11425 {
11426 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11427 if (SWIG_arg_fail(2)) SWIG_fail;
11428 }
11429 {
11430 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11431 if (SWIG_arg_fail(3)) SWIG_fail;
11432 }
d55e5bfc
RD
11433 {
11434 PyThreadState* __tstate = wxPyBeginAllowThreads();
11435 (arg1)->RefreshLines(arg2,arg3);
11436
11437 wxPyEndAllowThreads(__tstate);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 }
11440 Py_INCREF(Py_None); resultobj = Py_None;
11441 return resultobj;
11442 fail:
11443 return NULL;
11444}
11445
11446
c32bde28 11447static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11448 PyObject *resultobj;
11449 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11450 int arg2 ;
11451 int arg3 ;
11452 int result;
11453 PyObject * obj0 = 0 ;
11454 PyObject * obj1 = 0 ;
11455 PyObject * obj2 = 0 ;
11456 char *kwnames[] = {
11457 (char *) "self",(char *) "x",(char *) "y", NULL
11458 };
11459
354693ff 11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11462 if (SWIG_arg_fail(1)) SWIG_fail;
11463 {
11464 arg2 = (int)(SWIG_As_int(obj1));
11465 if (SWIG_arg_fail(2)) SWIG_fail;
11466 }
11467 {
11468 arg3 = (int)(SWIG_As_int(obj2));
11469 if (SWIG_arg_fail(3)) SWIG_fail;
11470 }
d55e5bfc
RD
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
093d3ff1
RD
11478 {
11479 resultobj = SWIG_From_int((int)(result));
11480 }
d55e5bfc
RD
11481 return resultobj;
11482 fail:
11483 return NULL;
11484}
11485
11486
c32bde28 11487static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11488 PyObject *resultobj;
11489 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11490 wxPoint *arg2 = 0 ;
11491 int result;
11492 wxPoint temp2 ;
11493 PyObject * obj0 = 0 ;
11494 PyObject * obj1 = 0 ;
11495 char *kwnames[] = {
11496 (char *) "self",(char *) "pt", NULL
11497 };
11498
11499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11501 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11502 {
11503 arg2 = &temp2;
11504 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11505 }
11506 {
11507 PyThreadState* __tstate = wxPyBeginAllowThreads();
11508 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11509
11510 wxPyEndAllowThreads(__tstate);
11511 if (PyErr_Occurred()) SWIG_fail;
11512 }
093d3ff1
RD
11513 {
11514 resultobj = SWIG_From_int((int)(result));
11515 }
d55e5bfc
RD
11516 return resultobj;
11517 fail:
11518 return NULL;
11519}
11520
11521
c32bde28 11522static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11523 PyObject *resultobj;
11524 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11525 PyObject * obj0 = 0 ;
11526 char *kwnames[] = {
11527 (char *) "self", NULL
11528 };
11529
11530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 (arg1)->RefreshAll();
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 Py_INCREF(Py_None); resultobj = Py_None;
11541 return resultobj;
11542 fail:
11543 return NULL;
11544}
11545
11546
c32bde28 11547static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11548 PyObject *resultobj;
11549 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11550 size_t result;
11551 PyObject * obj0 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
11557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11558 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
093d3ff1
RD
11566 {
11567 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11568 }
d55e5bfc
RD
11569 return resultobj;
11570 fail:
11571 return NULL;
11572}
11573
11574
c32bde28 11575static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11576 PyObject *resultobj;
11577 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11578 size_t result;
11579 PyObject * obj0 = 0 ;
11580 char *kwnames[] = {
11581 (char *) "self", NULL
11582 };
11583
11584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
11585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
093d3ff1
RD
11594 {
11595 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11596 }
d55e5bfc
RD
11597 return resultobj;
11598 fail:
11599 return NULL;
11600}
11601
11602
c32bde28 11603static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11604 PyObject *resultobj;
11605 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11606 size_t result;
11607 PyObject * obj0 = 0 ;
11608 char *kwnames[] = {
11609 (char *) "self", NULL
11610 };
11611
11612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
11613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11614 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11618
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) SWIG_fail;
11621 }
093d3ff1
RD
11622 {
11623 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11624 }
d55e5bfc
RD
11625 return resultobj;
11626 fail:
11627 return NULL;
11628}
11629
11630
c32bde28 11631static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11632 PyObject *resultobj;
11633 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11634 size_t arg2 ;
11635 bool result;
11636 PyObject * obj0 = 0 ;
11637 PyObject * obj1 = 0 ;
11638 char *kwnames[] = {
11639 (char *) "self",(char *) "line", NULL
11640 };
11641
11642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11644 if (SWIG_arg_fail(1)) SWIG_fail;
11645 {
11646 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11647 if (SWIG_arg_fail(2)) SWIG_fail;
11648 }
d55e5bfc
RD
11649 {
11650 PyThreadState* __tstate = wxPyBeginAllowThreads();
11651 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11652
11653 wxPyEndAllowThreads(__tstate);
11654 if (PyErr_Occurred()) SWIG_fail;
11655 }
11656 {
11657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11658 }
11659 return resultobj;
11660 fail:
11661 return NULL;
11662}
11663
11664
c32bde28 11665static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11666 PyObject *obj;
11667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11668 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11669 Py_INCREF(obj);
11670 return Py_BuildValue((char *)"");
11671}
c32bde28 11672static int _wrap_VListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
11673 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11674 return 1;
11675}
11676
11677
093d3ff1 11678static PyObject *_wrap_VListBoxNameStr_get(void) {
d55e5bfc
RD
11679 PyObject *pyobj;
11680
11681 {
11682#if wxUSE_UNICODE
11683 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11684#else
11685 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11686#endif
11687 }
11688 return pyobj;
11689}
11690
11691
c32bde28 11692static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11693 PyObject *resultobj;
11694 wxWindow *arg1 = (wxWindow *) 0 ;
11695 int arg2 = (int) wxID_ANY ;
11696 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11697 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11698 wxSize const &arg4_defvalue = wxDefaultSize ;
11699 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11700 long arg5 = (long) 0 ;
11701 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11702 wxString *arg6 = (wxString *) &arg6_defvalue ;
11703 wxPyVListBox *result;
11704 wxPoint temp3 ;
11705 wxSize temp4 ;
ae8162c8 11706 bool temp6 = false ;
d55e5bfc
RD
11707 PyObject * obj0 = 0 ;
11708 PyObject * obj1 = 0 ;
11709 PyObject * obj2 = 0 ;
11710 PyObject * obj3 = 0 ;
11711 PyObject * obj4 = 0 ;
11712 PyObject * obj5 = 0 ;
11713 char *kwnames[] = {
11714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11715 };
11716
11717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11719 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11720 if (obj1) {
093d3ff1
RD
11721 {
11722 arg2 = (int)(SWIG_As_int(obj1));
11723 if (SWIG_arg_fail(2)) SWIG_fail;
11724 }
d55e5bfc
RD
11725 }
11726 if (obj2) {
11727 {
11728 arg3 = &temp3;
11729 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11730 }
11731 }
11732 if (obj3) {
11733 {
11734 arg4 = &temp4;
11735 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11736 }
11737 }
11738 if (obj4) {
093d3ff1
RD
11739 {
11740 arg5 = (long)(SWIG_As_long(obj4));
11741 if (SWIG_arg_fail(5)) SWIG_fail;
11742 }
d55e5bfc
RD
11743 }
11744 if (obj5) {
11745 {
11746 arg6 = wxString_in_helper(obj5);
11747 if (arg6 == NULL) SWIG_fail;
ae8162c8 11748 temp6 = true;
d55e5bfc
RD
11749 }
11750 }
11751 {
0439c23b 11752 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11755
11756 wxPyEndAllowThreads(__tstate);
110da5b0 11757 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11758 }
11759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11760 {
11761 if (temp6)
11762 delete arg6;
11763 }
11764 return resultobj;
11765 fail:
11766 {
11767 if (temp6)
11768 delete arg6;
11769 }
11770 return NULL;
11771}
11772
11773
c32bde28 11774static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11775 PyObject *resultobj;
11776 wxPyVListBox *result;
11777 char *kwnames[] = {
11778 NULL
11779 };
11780
11781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11782 {
0439c23b 11783 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11784 PyThreadState* __tstate = wxPyBeginAllowThreads();
11785 result = (wxPyVListBox *)new wxPyVListBox();
11786
11787 wxPyEndAllowThreads(__tstate);
110da5b0 11788 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11789 }
11790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11791 return resultobj;
11792 fail:
11793 return NULL;
11794}
11795
11796
c32bde28 11797static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11798 PyObject *resultobj;
11799 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11800 PyObject *arg2 = (PyObject *) 0 ;
11801 PyObject *arg3 = (PyObject *) 0 ;
11802 PyObject * obj0 = 0 ;
11803 PyObject * obj1 = 0 ;
11804 PyObject * obj2 = 0 ;
11805 char *kwnames[] = {
11806 (char *) "self",(char *) "self",(char *) "_class", NULL
11807 };
11808
11809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11811 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11812 arg2 = obj1;
11813 arg3 = obj2;
11814 {
11815 PyThreadState* __tstate = wxPyBeginAllowThreads();
11816 (arg1)->_setCallbackInfo(arg2,arg3);
11817
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 Py_INCREF(Py_None); resultobj = Py_None;
11822 return resultobj;
11823 fail:
11824 return NULL;
11825}
11826
11827
c32bde28 11828static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11829 PyObject *resultobj;
11830 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11831 wxWindow *arg2 = (wxWindow *) 0 ;
11832 int arg3 = (int) wxID_ANY ;
11833 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11834 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11835 wxSize const &arg5_defvalue = wxDefaultSize ;
11836 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11837 long arg6 = (long) 0 ;
11838 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11839 wxString *arg7 = (wxString *) &arg7_defvalue ;
11840 bool result;
11841 wxPoint temp4 ;
11842 wxSize temp5 ;
ae8162c8 11843 bool temp7 = false ;
d55e5bfc
RD
11844 PyObject * obj0 = 0 ;
11845 PyObject * obj1 = 0 ;
11846 PyObject * obj2 = 0 ;
11847 PyObject * obj3 = 0 ;
11848 PyObject * obj4 = 0 ;
11849 PyObject * obj5 = 0 ;
11850 PyObject * obj6 = 0 ;
11851 char *kwnames[] = {
11852 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11853 };
11854
11855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11857 if (SWIG_arg_fail(1)) SWIG_fail;
11858 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11859 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11860 if (obj2) {
093d3ff1
RD
11861 {
11862 arg3 = (int)(SWIG_As_int(obj2));
11863 if (SWIG_arg_fail(3)) SWIG_fail;
11864 }
d55e5bfc
RD
11865 }
11866 if (obj3) {
11867 {
11868 arg4 = &temp4;
11869 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11870 }
11871 }
11872 if (obj4) {
11873 {
11874 arg5 = &temp5;
11875 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11876 }
11877 }
11878 if (obj5) {
093d3ff1
RD
11879 {
11880 arg6 = (long)(SWIG_As_long(obj5));
11881 if (SWIG_arg_fail(6)) SWIG_fail;
11882 }
d55e5bfc
RD
11883 }
11884 if (obj6) {
11885 {
11886 arg7 = wxString_in_helper(obj6);
11887 if (arg7 == NULL) SWIG_fail;
ae8162c8 11888 temp7 = true;
d55e5bfc
RD
11889 }
11890 }
11891 {
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11894
11895 wxPyEndAllowThreads(__tstate);
11896 if (PyErr_Occurred()) SWIG_fail;
11897 }
11898 {
11899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11900 }
11901 {
11902 if (temp7)
11903 delete arg7;
11904 }
11905 return resultobj;
11906 fail:
11907 {
11908 if (temp7)
11909 delete arg7;
11910 }
11911 return NULL;
11912}
11913
11914
c32bde28 11915static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11916 PyObject *resultobj;
11917 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11918 size_t result;
11919 PyObject * obj0 = 0 ;
11920 char *kwnames[] = {
11921 (char *) "self", NULL
11922 };
11923
11924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
11925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11926 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
093d3ff1
RD
11934 {
11935 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11936 }
d55e5bfc
RD
11937 return resultobj;
11938 fail:
11939 return NULL;
11940}
11941
11942
c32bde28 11943static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11944 PyObject *resultobj;
11945 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11946 bool result;
11947 PyObject * obj0 = 0 ;
11948 char *kwnames[] = {
11949 (char *) "self", NULL
11950 };
11951
11952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
11953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11954 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
11958
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
11962 {
11963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11964 }
11965 return resultobj;
11966 fail:
11967 return NULL;
11968}
11969
11970
c32bde28 11971static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11972 PyObject *resultobj;
11973 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11974 int result;
11975 PyObject * obj0 = 0 ;
11976 char *kwnames[] = {
11977 (char *) "self", NULL
11978 };
11979
11980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
11981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11982 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11983 {
11984 PyThreadState* __tstate = wxPyBeginAllowThreads();
11985 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
11986
11987 wxPyEndAllowThreads(__tstate);
11988 if (PyErr_Occurred()) SWIG_fail;
11989 }
093d3ff1
RD
11990 {
11991 resultobj = SWIG_From_int((int)(result));
11992 }
d55e5bfc
RD
11993 return resultobj;
11994 fail:
11995 return NULL;
11996}
11997
11998
c32bde28 11999static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12000 PyObject *resultobj;
12001 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12002 size_t arg2 ;
12003 bool result;
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 char *kwnames[] = {
12007 (char *) "self",(char *) "item", NULL
12008 };
12009
12010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12012 if (SWIG_arg_fail(1)) SWIG_fail;
12013 {
12014 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12015 if (SWIG_arg_fail(2)) SWIG_fail;
12016 }
d55e5bfc
RD
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 {
12025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12026 }
12027 return resultobj;
12028 fail:
12029 return NULL;
12030}
12031
12032
c32bde28 12033static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12034 PyObject *resultobj;
12035 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12036 size_t arg2 ;
12037 bool result;
12038 PyObject * obj0 = 0 ;
12039 PyObject * obj1 = 0 ;
12040 char *kwnames[] = {
12041 (char *) "self",(char *) "item", NULL
12042 };
12043
12044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12046 if (SWIG_arg_fail(1)) SWIG_fail;
12047 {
12048 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12049 if (SWIG_arg_fail(2)) SWIG_fail;
12050 }
d55e5bfc
RD
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12054
12055 wxPyEndAllowThreads(__tstate);
12056 if (PyErr_Occurred()) SWIG_fail;
12057 }
12058 {
12059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12060 }
12061 return resultobj;
12062 fail:
12063 return NULL;
12064}
12065
12066
c32bde28 12067static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12068 PyObject *resultobj;
12069 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12070 size_t result;
12071 PyObject * obj0 = 0 ;
12072 char *kwnames[] = {
12073 (char *) "self", NULL
12074 };
12075
12076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
12077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12078 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12079 {
12080 PyThreadState* __tstate = wxPyBeginAllowThreads();
12081 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12082
12083 wxPyEndAllowThreads(__tstate);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 }
093d3ff1
RD
12086 {
12087 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12088 }
d55e5bfc
RD
12089 return resultobj;
12090 fail:
12091 return NULL;
12092}
12093
12094
c32bde28 12095static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12096 PyObject *resultobj;
12097 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 12098 PyObject *result;
d55e5bfc 12099 PyObject * obj0 = 0 ;
d55e5bfc 12100 char *kwnames[] = {
09c21d3b 12101 (char *) "self", NULL
d55e5bfc
RD
12102 };
12103
09c21d3b 12104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
12105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12106 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12107 {
12108 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12109 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d55e5bfc
RD
12110
12111 wxPyEndAllowThreads(__tstate);
12112 if (PyErr_Occurred()) SWIG_fail;
12113 }
09c21d3b 12114 resultobj = result;
d55e5bfc
RD
12115 return resultobj;
12116 fail:
12117 return NULL;
12118}
12119
12120
c32bde28 12121static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12122 PyObject *resultobj;
12123 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
12124 unsigned long arg2 ;
12125 PyObject *result;
d55e5bfc
RD
12126 PyObject * obj0 = 0 ;
12127 PyObject * obj1 = 0 ;
12128 char *kwnames[] = {
12129 (char *) "self",(char *) "cookie", NULL
12130 };
12131
12132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12134 if (SWIG_arg_fail(1)) SWIG_fail;
12135 {
12136 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
12137 if (SWIG_arg_fail(2)) SWIG_fail;
12138 }
d55e5bfc
RD
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12141 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d55e5bfc
RD
12142
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
09c21d3b 12146 resultobj = result;
d55e5bfc
RD
12147 return resultobj;
12148 fail:
12149 return NULL;
12150}
12151
12152
c32bde28 12153static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12154 PyObject *resultobj;
12155 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12156 wxPoint result;
12157 PyObject * obj0 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
12163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12164 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12165 {
12166 PyThreadState* __tstate = wxPyBeginAllowThreads();
12167 result = ((wxPyVListBox const *)arg1)->GetMargins();
12168
12169 wxPyEndAllowThreads(__tstate);
12170 if (PyErr_Occurred()) SWIG_fail;
12171 }
12172 {
12173 wxPoint * resultptr;
093d3ff1 12174 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
12175 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12176 }
12177 return resultobj;
12178 fail:
12179 return NULL;
12180}
12181
12182
c32bde28 12183static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12184 PyObject *resultobj;
12185 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12186 wxColour *result;
12187 PyObject * obj0 = 0 ;
12188 char *kwnames[] = {
12189 (char *) "self", NULL
12190 };
12191
12192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
093d3ff1
RD
12193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12194 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12195 {
12196 PyThreadState* __tstate = wxPyBeginAllowThreads();
12197 {
12198 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12199 result = (wxColour *) &_result_ref;
12200 }
12201
12202 wxPyEndAllowThreads(__tstate);
12203 if (PyErr_Occurred()) SWIG_fail;
12204 }
12205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12206 return resultobj;
12207 fail:
12208 return NULL;
12209}
12210
12211
c32bde28 12212static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12213 PyObject *resultobj;
12214 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12215 size_t arg2 ;
12216 PyObject * obj0 = 0 ;
12217 PyObject * obj1 = 0 ;
12218 char *kwnames[] = {
12219 (char *) "self",(char *) "count", NULL
12220 };
12221
12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12224 if (SWIG_arg_fail(1)) SWIG_fail;
12225 {
12226 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12227 if (SWIG_arg_fail(2)) SWIG_fail;
12228 }
d55e5bfc
RD
12229 {
12230 PyThreadState* __tstate = wxPyBeginAllowThreads();
12231 (arg1)->SetItemCount(arg2);
12232
12233 wxPyEndAllowThreads(__tstate);
12234 if (PyErr_Occurred()) SWIG_fail;
12235 }
12236 Py_INCREF(Py_None); resultobj = Py_None;
12237 return resultobj;
12238 fail:
12239 return NULL;
12240}
12241
12242
c32bde28 12243static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12244 PyObject *resultobj;
12245 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12246 PyObject * obj0 = 0 ;
12247 char *kwnames[] = {
12248 (char *) "self", NULL
12249 };
12250
12251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
12252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12253 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 (arg1)->Clear();
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 Py_INCREF(Py_None); resultobj = Py_None;
12262 return resultobj;
12263 fail:
12264 return NULL;
12265}
12266
12267
c32bde28 12268static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12269 PyObject *resultobj;
12270 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12271 int arg2 ;
12272 PyObject * obj0 = 0 ;
12273 PyObject * obj1 = 0 ;
12274 char *kwnames[] = {
12275 (char *) "self",(char *) "selection", NULL
12276 };
12277
12278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12280 if (SWIG_arg_fail(1)) SWIG_fail;
12281 {
12282 arg2 = (int)(SWIG_As_int(obj1));
12283 if (SWIG_arg_fail(2)) SWIG_fail;
12284 }
d55e5bfc
RD
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 (arg1)->SetSelection(arg2);
12288
12289 wxPyEndAllowThreads(__tstate);
12290 if (PyErr_Occurred()) SWIG_fail;
12291 }
12292 Py_INCREF(Py_None); resultobj = Py_None;
12293 return resultobj;
12294 fail:
12295 return NULL;
12296}
12297
12298
c32bde28 12299static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12300 PyObject *resultobj;
12301 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12302 size_t arg2 ;
ae8162c8 12303 bool arg3 = (bool) true ;
d55e5bfc
RD
12304 bool result;
12305 PyObject * obj0 = 0 ;
12306 PyObject * obj1 = 0 ;
12307 PyObject * obj2 = 0 ;
12308 char *kwnames[] = {
12309 (char *) "self",(char *) "item",(char *) "select", NULL
12310 };
12311
12312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12314 if (SWIG_arg_fail(1)) SWIG_fail;
12315 {
12316 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12317 if (SWIG_arg_fail(2)) SWIG_fail;
12318 }
d55e5bfc 12319 if (obj2) {
093d3ff1
RD
12320 {
12321 arg3 = (bool)(SWIG_As_bool(obj2));
12322 if (SWIG_arg_fail(3)) SWIG_fail;
12323 }
d55e5bfc
RD
12324 }
12325 {
12326 PyThreadState* __tstate = wxPyBeginAllowThreads();
12327 result = (bool)(arg1)->Select(arg2,arg3);
12328
12329 wxPyEndAllowThreads(__tstate);
12330 if (PyErr_Occurred()) SWIG_fail;
12331 }
12332 {
12333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12334 }
12335 return resultobj;
12336 fail:
12337 return NULL;
12338}
12339
12340
c32bde28 12341static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12342 PyObject *resultobj;
12343 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12344 size_t arg2 ;
12345 size_t arg3 ;
12346 bool result;
12347 PyObject * obj0 = 0 ;
12348 PyObject * obj1 = 0 ;
12349 PyObject * obj2 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self",(char *) "from",(char *) "to", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail;
12357 {
12358 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12359 if (SWIG_arg_fail(2)) SWIG_fail;
12360 }
12361 {
12362 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12363 if (SWIG_arg_fail(3)) SWIG_fail;
12364 }
d55e5bfc
RD
12365 {
12366 PyThreadState* __tstate = wxPyBeginAllowThreads();
12367 result = (bool)(arg1)->SelectRange(arg2,arg3);
12368
12369 wxPyEndAllowThreads(__tstate);
12370 if (PyErr_Occurred()) SWIG_fail;
12371 }
12372 {
12373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12374 }
12375 return resultobj;
12376 fail:
12377 return NULL;
12378}
12379
12380
c32bde28 12381static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12382 PyObject *resultobj;
12383 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12384 size_t arg2 ;
12385 PyObject * obj0 = 0 ;
12386 PyObject * obj1 = 0 ;
12387 char *kwnames[] = {
12388 (char *) "self",(char *) "item", NULL
12389 };
12390
12391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12393 if (SWIG_arg_fail(1)) SWIG_fail;
12394 {
12395 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12396 if (SWIG_arg_fail(2)) SWIG_fail;
12397 }
d55e5bfc
RD
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 (arg1)->Toggle(arg2);
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 Py_INCREF(Py_None); resultobj = Py_None;
12406 return resultobj;
12407 fail:
12408 return NULL;
12409}
12410
12411
c32bde28 12412static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12413 PyObject *resultobj;
12414 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12415 bool result;
12416 PyObject * obj0 = 0 ;
12417 char *kwnames[] = {
12418 (char *) "self", NULL
12419 };
12420
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 result = (bool)(arg1)->SelectAll();
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 {
12432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12433 }
12434 return resultobj;
12435 fail:
12436 return NULL;
12437}
12438
12439
c32bde28 12440static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12441 PyObject *resultobj;
12442 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12443 bool result;
12444 PyObject * obj0 = 0 ;
12445 char *kwnames[] = {
12446 (char *) "self", NULL
12447 };
12448
12449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12451 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12452 {
12453 PyThreadState* __tstate = wxPyBeginAllowThreads();
12454 result = (bool)(arg1)->DeselectAll();
12455
12456 wxPyEndAllowThreads(__tstate);
12457 if (PyErr_Occurred()) SWIG_fail;
12458 }
12459 {
12460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12461 }
12462 return resultobj;
12463 fail:
12464 return NULL;
12465}
12466
12467
c32bde28 12468static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12469 PyObject *resultobj;
12470 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12471 wxPoint *arg2 = 0 ;
12472 wxPoint temp2 ;
12473 PyObject * obj0 = 0 ;
12474 PyObject * obj1 = 0 ;
12475 char *kwnames[] = {
12476 (char *) "self",(char *) "pt", NULL
12477 };
12478
12479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12482 {
12483 arg2 = &temp2;
12484 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12485 }
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 (arg1)->SetMargins((wxPoint const &)*arg2);
12489
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 Py_INCREF(Py_None); resultobj = Py_None;
12494 return resultobj;
12495 fail:
12496 return NULL;
12497}
12498
12499
c32bde28 12500static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12501 PyObject *resultobj;
12502 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12503 int arg2 ;
12504 int arg3 ;
12505 PyObject * obj0 = 0 ;
12506 PyObject * obj1 = 0 ;
12507 PyObject * obj2 = 0 ;
12508 char *kwnames[] = {
12509 (char *) "self",(char *) "x",(char *) "y", NULL
12510 };
12511
12512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12514 if (SWIG_arg_fail(1)) SWIG_fail;
12515 {
12516 arg2 = (int)(SWIG_As_int(obj1));
12517 if (SWIG_arg_fail(2)) SWIG_fail;
12518 }
12519 {
12520 arg3 = (int)(SWIG_As_int(obj2));
12521 if (SWIG_arg_fail(3)) SWIG_fail;
12522 }
d55e5bfc
RD
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 (arg1)->SetMargins(arg2,arg3);
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 Py_INCREF(Py_None); resultobj = Py_None;
12531 return resultobj;
12532 fail:
12533 return NULL;
12534}
12535
12536
c32bde28 12537static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12538 PyObject *resultobj;
12539 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12540 wxColour *arg2 = 0 ;
12541 wxColour temp2 ;
12542 PyObject * obj0 = 0 ;
12543 PyObject * obj1 = 0 ;
12544 char *kwnames[] = {
12545 (char *) "self",(char *) "col", NULL
12546 };
12547
12548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12550 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12551 {
12552 arg2 = &temp2;
12553 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12554 }
12555 {
12556 PyThreadState* __tstate = wxPyBeginAllowThreads();
12557 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12558
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 Py_INCREF(Py_None); resultobj = Py_None;
12563 return resultobj;
12564 fail:
12565 return NULL;
12566}
12567
12568
c32bde28 12569static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12570 PyObject *obj;
12571 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12572 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12573 Py_INCREF(obj);
12574 return Py_BuildValue((char *)"");
12575}
c32bde28 12576static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12577 PyObject *resultobj;
12578 wxWindow *arg1 = (wxWindow *) 0 ;
12579 int arg2 = (int) wxID_ANY ;
12580 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12581 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12582 wxSize const &arg4_defvalue = wxDefaultSize ;
12583 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12584 long arg5 = (long) 0 ;
12585 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12586 wxString *arg6 = (wxString *) &arg6_defvalue ;
12587 wxPyHtmlListBox *result;
12588 wxPoint temp3 ;
12589 wxSize temp4 ;
ae8162c8 12590 bool temp6 = false ;
d55e5bfc
RD
12591 PyObject * obj0 = 0 ;
12592 PyObject * obj1 = 0 ;
12593 PyObject * obj2 = 0 ;
12594 PyObject * obj3 = 0 ;
12595 PyObject * obj4 = 0 ;
12596 PyObject * obj5 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12603 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12604 if (obj1) {
093d3ff1
RD
12605 {
12606 arg2 = (int)(SWIG_As_int(obj1));
12607 if (SWIG_arg_fail(2)) SWIG_fail;
12608 }
d55e5bfc
RD
12609 }
12610 if (obj2) {
12611 {
12612 arg3 = &temp3;
12613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12614 }
12615 }
12616 if (obj3) {
12617 {
12618 arg4 = &temp4;
12619 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12620 }
12621 }
12622 if (obj4) {
093d3ff1
RD
12623 {
12624 arg5 = (long)(SWIG_As_long(obj4));
12625 if (SWIG_arg_fail(5)) SWIG_fail;
12626 }
d55e5bfc
RD
12627 }
12628 if (obj5) {
12629 {
12630 arg6 = wxString_in_helper(obj5);
12631 if (arg6 == NULL) SWIG_fail;
ae8162c8 12632 temp6 = true;
d55e5bfc
RD
12633 }
12634 }
12635 {
0439c23b 12636 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12639
12640 wxPyEndAllowThreads(__tstate);
110da5b0 12641 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12642 }
12643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12644 {
12645 if (temp6)
12646 delete arg6;
12647 }
12648 return resultobj;
12649 fail:
12650 {
12651 if (temp6)
12652 delete arg6;
12653 }
12654 return NULL;
12655}
12656
12657
c32bde28 12658static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12659 PyObject *resultobj;
12660 wxPyHtmlListBox *result;
12661 char *kwnames[] = {
12662 NULL
12663 };
12664
12665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12666 {
0439c23b 12667 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12668 PyThreadState* __tstate = wxPyBeginAllowThreads();
12669 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12670
12671 wxPyEndAllowThreads(__tstate);
110da5b0 12672 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12673 }
12674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12675 return resultobj;
12676 fail:
12677 return NULL;
12678}
12679
12680
c32bde28 12681static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12682 PyObject *resultobj;
12683 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12684 PyObject *arg2 = (PyObject *) 0 ;
12685 PyObject *arg3 = (PyObject *) 0 ;
12686 PyObject * obj0 = 0 ;
12687 PyObject * obj1 = 0 ;
12688 PyObject * obj2 = 0 ;
12689 char *kwnames[] = {
12690 (char *) "self",(char *) "self",(char *) "_class", NULL
12691 };
12692
12693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12695 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12696 arg2 = obj1;
12697 arg3 = obj2;
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 (arg1)->_setCallbackInfo(arg2,arg3);
12701
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 Py_INCREF(Py_None); resultobj = Py_None;
12706 return resultobj;
12707 fail:
12708 return NULL;
12709}
12710
12711
c32bde28 12712static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12713 PyObject *resultobj;
12714 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12715 wxWindow *arg2 = (wxWindow *) 0 ;
12716 int arg3 = (int) wxID_ANY ;
12717 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12718 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12719 wxSize const &arg5_defvalue = wxDefaultSize ;
12720 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12721 long arg6 = (long) 0 ;
12722 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12723 wxString *arg7 = (wxString *) &arg7_defvalue ;
12724 bool result;
12725 wxPoint temp4 ;
12726 wxSize temp5 ;
ae8162c8 12727 bool temp7 = false ;
d55e5bfc
RD
12728 PyObject * obj0 = 0 ;
12729 PyObject * obj1 = 0 ;
12730 PyObject * obj2 = 0 ;
12731 PyObject * obj3 = 0 ;
12732 PyObject * obj4 = 0 ;
12733 PyObject * obj5 = 0 ;
12734 PyObject * obj6 = 0 ;
12735 char *kwnames[] = {
12736 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12737 };
12738
12739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12741 if (SWIG_arg_fail(1)) SWIG_fail;
12742 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12743 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12744 if (obj2) {
093d3ff1
RD
12745 {
12746 arg3 = (int)(SWIG_As_int(obj2));
12747 if (SWIG_arg_fail(3)) SWIG_fail;
12748 }
d55e5bfc
RD
12749 }
12750 if (obj3) {
12751 {
12752 arg4 = &temp4;
12753 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12754 }
12755 }
12756 if (obj4) {
12757 {
12758 arg5 = &temp5;
12759 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12760 }
12761 }
12762 if (obj5) {
093d3ff1
RD
12763 {
12764 arg6 = (long)(SWIG_As_long(obj5));
12765 if (SWIG_arg_fail(6)) SWIG_fail;
12766 }
d55e5bfc
RD
12767 }
12768 if (obj6) {
12769 {
12770 arg7 = wxString_in_helper(obj6);
12771 if (arg7 == NULL) SWIG_fail;
ae8162c8 12772 temp7 = true;
d55e5bfc
RD
12773 }
12774 }
12775 {
12776 PyThreadState* __tstate = wxPyBeginAllowThreads();
12777 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12778
12779 wxPyEndAllowThreads(__tstate);
12780 if (PyErr_Occurred()) SWIG_fail;
12781 }
12782 {
12783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12784 }
12785 {
12786 if (temp7)
12787 delete arg7;
12788 }
12789 return resultobj;
12790 fail:
12791 {
12792 if (temp7)
12793 delete arg7;
12794 }
12795 return NULL;
12796}
12797
12798
c32bde28 12799static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12800 PyObject *resultobj;
12801 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12802 PyObject * obj0 = 0 ;
12803 char *kwnames[] = {
12804 (char *) "self", NULL
12805 };
12806
12807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 (arg1)->RefreshAll();
12813
12814 wxPyEndAllowThreads(__tstate);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 }
12817 Py_INCREF(Py_None); resultobj = Py_None;
12818 return resultobj;
12819 fail:
12820 return NULL;
12821}
12822
12823
c32bde28 12824static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12825 PyObject *resultobj;
12826 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12827 size_t arg2 ;
12828 PyObject * obj0 = 0 ;
12829 PyObject * obj1 = 0 ;
12830 char *kwnames[] = {
12831 (char *) "self",(char *) "count", NULL
12832 };
12833
12834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12836 if (SWIG_arg_fail(1)) SWIG_fail;
12837 {
12838 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12839 if (SWIG_arg_fail(2)) SWIG_fail;
12840 }
d55e5bfc
RD
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 (arg1)->SetItemCount(arg2);
12844
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 Py_INCREF(Py_None); resultobj = Py_None;
12849 return resultobj;
12850 fail:
12851 return NULL;
12852}
12853
12854
c32bde28 12855static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
c24da6d6
RD
12856 PyObject *resultobj;
12857 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12858 wxFileSystem *result;
12859 PyObject * obj0 = 0 ;
12860 char *kwnames[] = {
12861 (char *) "self", NULL
12862 };
12863
12864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
093d3ff1
RD
12865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12866 if (SWIG_arg_fail(1)) SWIG_fail;
c24da6d6
RD
12867 {
12868 PyThreadState* __tstate = wxPyBeginAllowThreads();
12869 {
12870 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12871 result = (wxFileSystem *) &_result_ref;
12872 }
12873
12874 wxPyEndAllowThreads(__tstate);
12875 if (PyErr_Occurred()) SWIG_fail;
12876 }
12877 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12878 return resultobj;
12879 fail:
12880 return NULL;
12881}
12882
12883
c32bde28 12884static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12885 PyObject *obj;
12886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12887 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12888 Py_INCREF(obj);
12889 return Py_BuildValue((char *)"");
12890}
c32bde28 12891static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12892 PyObject *resultobj;
5e483524 12893 wxPyTaskBarIcon *result;
d55e5bfc
RD
12894 char *kwnames[] = {
12895 NULL
12896 };
12897
12898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12899 {
0439c23b 12900 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 12901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12902 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d55e5bfc
RD
12903
12904 wxPyEndAllowThreads(__tstate);
110da5b0 12905 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 12906 }
5e483524 12907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d55e5bfc
RD
12908 return resultobj;
12909 fail:
12910 return NULL;
12911}
12912
12913
5e483524 12914static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12915 PyObject *resultobj;
5e483524
RD
12916 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12917 PyObject *arg2 = (PyObject *) 0 ;
12918 PyObject *arg3 = (PyObject *) 0 ;
12919 int arg4 ;
d55e5bfc 12920 PyObject * obj0 = 0 ;
5e483524
RD
12921 PyObject * obj1 = 0 ;
12922 PyObject * obj2 = 0 ;
12923 PyObject * obj3 = 0 ;
d55e5bfc 12924 char *kwnames[] = {
5e483524 12925 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d55e5bfc
RD
12926 };
12927
5e483524 12928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12930 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
12931 arg2 = obj1;
12932 arg3 = obj2;
093d3ff1
RD
12933 {
12934 arg4 = (int)(SWIG_As_int(obj3));
12935 if (SWIG_arg_fail(4)) SWIG_fail;
12936 }
d55e5bfc
RD
12937 {
12938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12939 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d55e5bfc
RD
12940
12941 wxPyEndAllowThreads(__tstate);
12942 if (PyErr_Occurred()) SWIG_fail;
12943 }
12944 Py_INCREF(Py_None); resultobj = Py_None;
12945 return resultobj;
12946 fail:
12947 return NULL;
12948}
12949
12950
c32bde28 12951static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12952 PyObject *resultobj;
5e483524 12953 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
12954 PyObject * obj0 = 0 ;
12955 char *kwnames[] = {
12956 (char *) "self", NULL
12957 };
12958
12959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
12960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12961 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12962 {
12963 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12964 wxPyTaskBarIcon_Destroy(arg1);
d55e5bfc
RD
12965
12966 wxPyEndAllowThreads(__tstate);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 Py_INCREF(Py_None); resultobj = Py_None;
12970 return resultobj;
12971 fail:
12972 return NULL;
12973}
12974
12975
c32bde28 12976static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12977 PyObject *resultobj;
5e483524 12978 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
12979 bool result;
12980 PyObject * obj0 = 0 ;
12981 char *kwnames[] = {
12982 (char *) "self", NULL
12983 };
12984
12985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
12986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12988 {
12989 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12990 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
d55e5bfc
RD
12991
12992 wxPyEndAllowThreads(__tstate);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 }
12995 {
12996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12997 }
12998 return resultobj;
12999 fail:
13000 return NULL;
13001}
13002
13003
c32bde28 13004static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13005 PyObject *resultobj;
5e483524 13006 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13007 bool result;
13008 PyObject * obj0 = 0 ;
13009 char *kwnames[] = {
13010 (char *) "self", NULL
13011 };
13012
13013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
093d3ff1
RD
13014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13015 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13018 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
d55e5bfc
RD
13019
13020 wxPyEndAllowThreads(__tstate);
13021 if (PyErr_Occurred()) SWIG_fail;
13022 }
13023 {
13024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13025 }
13026 return resultobj;
13027 fail:
13028 return NULL;
13029}
13030
13031
c32bde28 13032static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13033 PyObject *resultobj;
5e483524 13034 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13035 wxIcon *arg2 = 0 ;
13036 wxString const &arg3_defvalue = wxPyEmptyString ;
13037 wxString *arg3 = (wxString *) &arg3_defvalue ;
13038 bool result;
ae8162c8 13039 bool temp3 = false ;
d55e5bfc
RD
13040 PyObject * obj0 = 0 ;
13041 PyObject * obj1 = 0 ;
13042 PyObject * obj2 = 0 ;
13043 char *kwnames[] = {
13044 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13045 };
13046
13047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13049 if (SWIG_arg_fail(1)) SWIG_fail;
13050 {
13051 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13052 if (SWIG_arg_fail(2)) SWIG_fail;
13053 if (arg2 == NULL) {
13054 SWIG_null_ref("wxIcon");
13055 }
13056 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13057 }
13058 if (obj2) {
13059 {
13060 arg3 = wxString_in_helper(obj2);
13061 if (arg3 == NULL) SWIG_fail;
ae8162c8 13062 temp3 = true;
d55e5bfc
RD
13063 }
13064 }
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 {
13073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13074 }
13075 {
13076 if (temp3)
13077 delete arg3;
13078 }
13079 return resultobj;
13080 fail:
13081 {
13082 if (temp3)
13083 delete arg3;
13084 }
13085 return NULL;
13086}
13087
13088
c32bde28 13089static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13090 PyObject *resultobj;
5e483524 13091 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13092 bool result;
13093 PyObject * obj0 = 0 ;
13094 char *kwnames[] = {
13095 (char *) "self", NULL
13096 };
13097
13098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
13099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13100 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 result = (bool)(arg1)->RemoveIcon();
13104
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 {
13109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13110 }
13111 return resultobj;
13112 fail:
13113 return NULL;
13114}
13115
13116
c32bde28 13117static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 13118 PyObject *resultobj;
5e483524 13119 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
13120 wxMenu *arg2 = (wxMenu *) 0 ;
13121 bool result;
13122 PyObject * obj0 = 0 ;
13123 PyObject * obj1 = 0 ;
13124 char *kwnames[] = {
13125 (char *) "self",(char *) "menu", NULL
13126 };
13127
13128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail;
13131 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13132 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13133 {
13134 PyThreadState* __tstate = wxPyBeginAllowThreads();
13135 result = (bool)(arg1)->PopupMenu(arg2);
13136
13137 wxPyEndAllowThreads(__tstate);
13138 if (PyErr_Occurred()) SWIG_fail;
13139 }
13140 {
13141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13142 }
13143 return resultobj;
13144 fail:
13145 return NULL;
13146}
13147
13148
c32bde28 13149static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13150 PyObject *obj;
13151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 13152 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d55e5bfc
RD
13153 Py_INCREF(obj);
13154 return Py_BuildValue((char *)"");
13155}
c32bde28 13156static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13157 PyObject *resultobj;
13158 wxEventType arg1 ;
13159 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13160 wxTaskBarIconEvent *result;
13161 PyObject * obj0 = 0 ;
13162 PyObject * obj1 = 0 ;
13163 char *kwnames[] = {
13164 (char *) "evtType",(char *) "tbIcon", NULL
13165 };
13166
13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13168 {
13169 arg1 = (wxEventType)(SWIG_As_int(obj0));
13170 if (SWIG_arg_fail(1)) SWIG_fail;
13171 }
13172 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13173 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13174 {
13175 PyThreadState* __tstate = wxPyBeginAllowThreads();
13176 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13177
13178 wxPyEndAllowThreads(__tstate);
13179 if (PyErr_Occurred()) SWIG_fail;
13180 }
13181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
13182 return resultobj;
13183 fail:
13184 return NULL;
13185}
13186
13187
c32bde28 13188static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13189 PyObject *obj;
13190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13191 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13192 Py_INCREF(obj);
13193 return Py_BuildValue((char *)"");
13194}
c32bde28 13195static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13196 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13197 return 1;
13198}
13199
13200
093d3ff1 13201static PyObject *_wrap_FileSelectorPromptStr_get(void) {
d55e5bfc
RD
13202 PyObject *pyobj;
13203
13204 {
13205#if wxUSE_UNICODE
13206 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13207#else
13208 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13209#endif
13210 }
13211 return pyobj;
13212}
13213
13214
c32bde28 13215static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13216 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13217 return 1;
13218}
13219
13220
093d3ff1 13221static PyObject *_wrap_DirSelectorPromptStr_get(void) {
d55e5bfc
RD
13222 PyObject *pyobj;
13223
13224 {
13225#if wxUSE_UNICODE
13226 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13227#else
13228 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13229#endif
13230 }
13231 return pyobj;
13232}
13233
13234
c32bde28 13235static int _wrap_DirDialogNameStr_set(PyObject *) {
d55e5bfc
RD
13236 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13237 return 1;
13238}
13239
13240
093d3ff1 13241static PyObject *_wrap_DirDialogNameStr_get(void) {
d55e5bfc
RD
13242 PyObject *pyobj;
13243
13244 {
13245#if wxUSE_UNICODE
13246 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13247#else
13248 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13249#endif
13250 }
13251 return pyobj;
13252}
13253
13254
c32bde28 13255static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d55e5bfc
RD
13256 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13257 return 1;
13258}
13259
13260
093d3ff1 13261static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
d55e5bfc
RD
13262 PyObject *pyobj;
13263
13264 {
13265#if wxUSE_UNICODE
13266 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13267#else
13268 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13269#endif
13270 }
13271 return pyobj;
13272}
13273
13274
c32bde28 13275static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
d55e5bfc
RD
13276 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13277 return 1;
13278}
13279
13280
093d3ff1 13281static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
d55e5bfc
RD
13282 PyObject *pyobj;
13283
13284 {
13285#if wxUSE_UNICODE
13286 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13287#else
13288 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13289#endif
13290 }
13291 return pyobj;
13292}
13293
13294
c32bde28 13295static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
d55e5bfc
RD
13296 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13297 return 1;
13298}
13299
13300
093d3ff1 13301static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
d55e5bfc
RD
13302 PyObject *pyobj;
13303
13304 {
13305#if wxUSE_UNICODE
13306 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13307#else
13308 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13309#endif
13310 }
13311 return pyobj;
13312}
13313
13314
c32bde28 13315static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13316 PyObject *resultobj;
13317 wxColourData *result;
13318 char *kwnames[] = {
13319 NULL
13320 };
13321
13322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13323 {
13324 PyThreadState* __tstate = wxPyBeginAllowThreads();
13325 result = (wxColourData *)new wxColourData();
13326
13327 wxPyEndAllowThreads(__tstate);
13328 if (PyErr_Occurred()) SWIG_fail;
13329 }
13330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13331 return resultobj;
13332 fail:
13333 return NULL;
13334}
13335
13336
c32bde28 13337static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13338 PyObject *resultobj;
13339 wxColourData *arg1 = (wxColourData *) 0 ;
13340 PyObject * obj0 = 0 ;
13341 char *kwnames[] = {
13342 (char *) "self", NULL
13343 };
13344
13345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13348 {
13349 PyThreadState* __tstate = wxPyBeginAllowThreads();
13350 delete arg1;
13351
13352 wxPyEndAllowThreads(__tstate);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 }
13355 Py_INCREF(Py_None); resultobj = Py_None;
13356 return resultobj;
13357 fail:
13358 return NULL;
13359}
13360
13361
c32bde28 13362static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13363 PyObject *resultobj;
13364 wxColourData *arg1 = (wxColourData *) 0 ;
13365 bool result;
13366 PyObject * obj0 = 0 ;
13367 char *kwnames[] = {
13368 (char *) "self", NULL
13369 };
13370
13371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
093d3ff1
RD
13372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13373 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13374 {
13375 PyThreadState* __tstate = wxPyBeginAllowThreads();
13376 result = (bool)(arg1)->GetChooseFull();
13377
13378 wxPyEndAllowThreads(__tstate);
13379 if (PyErr_Occurred()) SWIG_fail;
13380 }
13381 {
13382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13383 }
13384 return resultobj;
13385 fail:
13386 return NULL;
13387}
13388
13389
c32bde28 13390static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13391 PyObject *resultobj;
13392 wxColourData *arg1 = (wxColourData *) 0 ;
13393 wxColour result;
13394 PyObject * obj0 = 0 ;
13395 char *kwnames[] = {
13396 (char *) "self", NULL
13397 };
13398
13399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
13400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13401 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13402 {
13403 PyThreadState* __tstate = wxPyBeginAllowThreads();
13404 result = (arg1)->GetColour();
13405
13406 wxPyEndAllowThreads(__tstate);
13407 if (PyErr_Occurred()) SWIG_fail;
13408 }
13409 {
13410 wxColour * resultptr;
093d3ff1 13411 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
13412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13413 }
13414 return resultobj;
13415 fail:
13416 return NULL;
13417}
13418
13419
c32bde28 13420static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13421 PyObject *resultobj;
13422 wxColourData *arg1 = (wxColourData *) 0 ;
13423 int arg2 ;
13424 wxColour result;
13425 PyObject * obj0 = 0 ;
13426 PyObject * obj1 = 0 ;
13427 char *kwnames[] = {
13428 (char *) "self",(char *) "i", NULL
13429 };
13430
13431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13433 if (SWIG_arg_fail(1)) SWIG_fail;
13434 {
13435 arg2 = (int)(SWIG_As_int(obj1));
13436 if (SWIG_arg_fail(2)) SWIG_fail;
13437 }
d55e5bfc
RD
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 result = (arg1)->GetCustomColour(arg2);
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 {
13446 wxColour * resultptr;
093d3ff1 13447 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
13448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13449 }
13450 return resultobj;
13451 fail:
13452 return NULL;
13453}
13454
13455
c32bde28 13456static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13457 PyObject *resultobj;
13458 wxColourData *arg1 = (wxColourData *) 0 ;
13459 int arg2 ;
13460 PyObject * obj0 = 0 ;
13461 PyObject * obj1 = 0 ;
13462 char *kwnames[] = {
13463 (char *) "self",(char *) "flag", NULL
13464 };
13465
13466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13468 if (SWIG_arg_fail(1)) SWIG_fail;
13469 {
13470 arg2 = (int)(SWIG_As_int(obj1));
13471 if (SWIG_arg_fail(2)) SWIG_fail;
13472 }
d55e5bfc
RD
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 (arg1)->SetChooseFull(arg2);
13476
13477 wxPyEndAllowThreads(__tstate);
13478 if (PyErr_Occurred()) SWIG_fail;
13479 }
13480 Py_INCREF(Py_None); resultobj = Py_None;
13481 return resultobj;
13482 fail:
13483 return NULL;
13484}
13485
13486
c32bde28 13487static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13488 PyObject *resultobj;
13489 wxColourData *arg1 = (wxColourData *) 0 ;
13490 wxColour *arg2 = 0 ;
13491 wxColour temp2 ;
13492 PyObject * obj0 = 0 ;
13493 PyObject * obj1 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "self",(char *) "colour", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13500 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13501 {
13502 arg2 = &temp2;
13503 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13504 }
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 (arg1)->SetColour((wxColour const &)*arg2);
13508
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 Py_INCREF(Py_None); resultobj = Py_None;
13513 return resultobj;
13514 fail:
13515 return NULL;
13516}
13517
13518
c32bde28 13519static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13520 PyObject *resultobj;
13521 wxColourData *arg1 = (wxColourData *) 0 ;
13522 int arg2 ;
13523 wxColour *arg3 = 0 ;
13524 wxColour temp3 ;
13525 PyObject * obj0 = 0 ;
13526 PyObject * obj1 = 0 ;
13527 PyObject * obj2 = 0 ;
13528 char *kwnames[] = {
13529 (char *) "self",(char *) "i",(char *) "colour", NULL
13530 };
13531
13532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13534 if (SWIG_arg_fail(1)) SWIG_fail;
13535 {
13536 arg2 = (int)(SWIG_As_int(obj1));
13537 if (SWIG_arg_fail(2)) SWIG_fail;
13538 }
d55e5bfc
RD
13539 {
13540 arg3 = &temp3;
13541 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13542 }
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13546
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 Py_INCREF(Py_None); resultobj = Py_None;
13551 return resultobj;
13552 fail:
13553 return NULL;
13554}
13555
13556
c32bde28 13557static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13558 PyObject *obj;
13559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13560 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13561 Py_INCREF(obj);
13562 return Py_BuildValue((char *)"");
13563}
c32bde28 13564static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13565 PyObject *resultobj;
13566 wxWindow *arg1 = (wxWindow *) 0 ;
13567 wxColourData *arg2 = (wxColourData *) NULL ;
13568 wxColourDialog *result;
13569 PyObject * obj0 = 0 ;
13570 PyObject * obj1 = 0 ;
13571 char *kwnames[] = {
13572 (char *) "parent",(char *) "data", NULL
13573 };
13574
13575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13577 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13578 if (obj1) {
093d3ff1
RD
13579 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13580 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13581 }
13582 {
0439c23b 13583 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13584 PyThreadState* __tstate = wxPyBeginAllowThreads();
13585 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13586
13587 wxPyEndAllowThreads(__tstate);
110da5b0 13588 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13589 }
13590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13591 return resultobj;
13592 fail:
13593 return NULL;
13594}
13595
13596
c32bde28 13597static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13598 PyObject *resultobj;
13599 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13600 wxColourData *result;
13601 PyObject * obj0 = 0 ;
13602 char *kwnames[] = {
13603 (char *) "self", NULL
13604 };
13605
13606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13609 {
13610 PyThreadState* __tstate = wxPyBeginAllowThreads();
13611 {
13612 wxColourData &_result_ref = (arg1)->GetColourData();
13613 result = (wxColourData *) &_result_ref;
13614 }
13615
13616 wxPyEndAllowThreads(__tstate);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 }
13619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13620 return resultobj;
13621 fail:
13622 return NULL;
13623}
13624
13625
c32bde28 13626static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13627 PyObject *obj;
13628 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13629 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13630 Py_INCREF(obj);
13631 return Py_BuildValue((char *)"");
13632}
c32bde28 13633static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13634 PyObject *resultobj;
13635 wxWindow *arg1 = (wxWindow *) 0 ;
13636 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13637 wxString *arg2 = (wxString *) &arg2_defvalue ;
13638 wxString const &arg3_defvalue = wxPyEmptyString ;
13639 wxString *arg3 = (wxString *) &arg3_defvalue ;
13640 long arg4 = (long) 0 ;
13641 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13642 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13643 wxSize const &arg6_defvalue = wxDefaultSize ;
13644 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13645 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13646 wxString *arg7 = (wxString *) &arg7_defvalue ;
13647 wxDirDialog *result;
ae8162c8
RD
13648 bool temp2 = false ;
13649 bool temp3 = false ;
d55e5bfc
RD
13650 wxPoint temp5 ;
13651 wxSize temp6 ;
ae8162c8 13652 bool temp7 = false ;
d55e5bfc
RD
13653 PyObject * obj0 = 0 ;
13654 PyObject * obj1 = 0 ;
13655 PyObject * obj2 = 0 ;
13656 PyObject * obj3 = 0 ;
13657 PyObject * obj4 = 0 ;
13658 PyObject * obj5 = 0 ;
13659 PyObject * obj6 = 0 ;
13660 char *kwnames[] = {
13661 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13662 };
13663
13664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13666 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13667 if (obj1) {
13668 {
13669 arg2 = wxString_in_helper(obj1);
13670 if (arg2 == NULL) SWIG_fail;
ae8162c8 13671 temp2 = true;
d55e5bfc
RD
13672 }
13673 }
13674 if (obj2) {
13675 {
13676 arg3 = wxString_in_helper(obj2);
13677 if (arg3 == NULL) SWIG_fail;
ae8162c8 13678 temp3 = true;
d55e5bfc
RD
13679 }
13680 }
13681 if (obj3) {
093d3ff1
RD
13682 {
13683 arg4 = (long)(SWIG_As_long(obj3));
13684 if (SWIG_arg_fail(4)) SWIG_fail;
13685 }
d55e5bfc
RD
13686 }
13687 if (obj4) {
13688 {
13689 arg5 = &temp5;
13690 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13691 }
13692 }
13693 if (obj5) {
13694 {
13695 arg6 = &temp6;
13696 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13697 }
13698 }
13699 if (obj6) {
13700 {
13701 arg7 = wxString_in_helper(obj6);
13702 if (arg7 == NULL) SWIG_fail;
ae8162c8 13703 temp7 = true;
d55e5bfc
RD
13704 }
13705 }
13706 {
0439c23b 13707 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13708 PyThreadState* __tstate = wxPyBeginAllowThreads();
13709 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13710
13711 wxPyEndAllowThreads(__tstate);
110da5b0 13712 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13713 }
13714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13715 {
13716 if (temp2)
13717 delete arg2;
13718 }
13719 {
13720 if (temp3)
13721 delete arg3;
13722 }
13723 {
13724 if (temp7)
13725 delete arg7;
13726 }
13727 return resultobj;
13728 fail:
13729 {
13730 if (temp2)
13731 delete arg2;
13732 }
13733 {
13734 if (temp3)
13735 delete arg3;
13736 }
13737 {
13738 if (temp7)
13739 delete arg7;
13740 }
13741 return NULL;
13742}
13743
13744
c32bde28 13745static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13746 PyObject *resultobj;
13747 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13748 wxString result;
13749 PyObject * obj0 = 0 ;
13750 char *kwnames[] = {
13751 (char *) "self", NULL
13752 };
13753
13754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
13755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13756 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13757 {
13758 PyThreadState* __tstate = wxPyBeginAllowThreads();
13759 result = (arg1)->GetPath();
13760
13761 wxPyEndAllowThreads(__tstate);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 }
13764 {
13765#if wxUSE_UNICODE
13766 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13767#else
13768 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13769#endif
13770 }
13771 return resultobj;
13772 fail:
13773 return NULL;
13774}
13775
13776
c32bde28 13777static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13778 PyObject *resultobj;
13779 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13780 wxString result;
13781 PyObject * obj0 = 0 ;
13782 char *kwnames[] = {
13783 (char *) "self", NULL
13784 };
13785
13786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
13787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13788 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13789 {
13790 PyThreadState* __tstate = wxPyBeginAllowThreads();
13791 result = (arg1)->GetMessage();
13792
13793 wxPyEndAllowThreads(__tstate);
13794 if (PyErr_Occurred()) SWIG_fail;
13795 }
13796 {
13797#if wxUSE_UNICODE
13798 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13799#else
13800 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13801#endif
13802 }
13803 return resultobj;
13804 fail:
13805 return NULL;
13806}
13807
13808
c32bde28 13809static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13810 PyObject *resultobj;
13811 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13812 long result;
13813 PyObject * obj0 = 0 ;
13814 char *kwnames[] = {
13815 (char *) "self", NULL
13816 };
13817
13818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
13819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13820 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13821 {
13822 PyThreadState* __tstate = wxPyBeginAllowThreads();
13823 result = (long)(arg1)->GetStyle();
13824
13825 wxPyEndAllowThreads(__tstate);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 }
093d3ff1
RD
13828 {
13829 resultobj = SWIG_From_long((long)(result));
13830 }
d55e5bfc
RD
13831 return resultobj;
13832 fail:
13833 return NULL;
13834}
13835
13836
c32bde28 13837static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13838 PyObject *resultobj;
13839 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13840 wxString *arg2 = 0 ;
ae8162c8 13841 bool temp2 = false ;
d55e5bfc
RD
13842 PyObject * obj0 = 0 ;
13843 PyObject * obj1 = 0 ;
13844 char *kwnames[] = {
13845 (char *) "self",(char *) "message", NULL
13846 };
13847
13848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13850 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13851 {
13852 arg2 = wxString_in_helper(obj1);
13853 if (arg2 == NULL) SWIG_fail;
ae8162c8 13854 temp2 = true;
d55e5bfc
RD
13855 }
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 (arg1)->SetMessage((wxString const &)*arg2);
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
13863 Py_INCREF(Py_None); resultobj = Py_None;
13864 {
13865 if (temp2)
13866 delete arg2;
13867 }
13868 return resultobj;
13869 fail:
13870 {
13871 if (temp2)
13872 delete arg2;
13873 }
13874 return NULL;
13875}
13876
13877
c32bde28 13878static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13879 PyObject *resultobj;
13880 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13881 wxString *arg2 = 0 ;
ae8162c8 13882 bool temp2 = false ;
d55e5bfc
RD
13883 PyObject * obj0 = 0 ;
13884 PyObject * obj1 = 0 ;
13885 char *kwnames[] = {
13886 (char *) "self",(char *) "path", NULL
13887 };
13888
13889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13891 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13892 {
13893 arg2 = wxString_in_helper(obj1);
13894 if (arg2 == NULL) SWIG_fail;
ae8162c8 13895 temp2 = true;
d55e5bfc
RD
13896 }
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 (arg1)->SetPath((wxString const &)*arg2);
13900
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
13904 Py_INCREF(Py_None); resultobj = Py_None;
13905 {
13906 if (temp2)
13907 delete arg2;
13908 }
13909 return resultobj;
13910 fail:
13911 {
13912 if (temp2)
13913 delete arg2;
13914 }
13915 return NULL;
13916}
13917
13918
c32bde28 13919static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13920 PyObject *obj;
13921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13922 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13923 Py_INCREF(obj);
13924 return Py_BuildValue((char *)"");
13925}
c32bde28 13926static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13927 PyObject *resultobj;
13928 wxWindow *arg1 = (wxWindow *) 0 ;
13929 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
13930 wxString *arg2 = (wxString *) &arg2_defvalue ;
13931 wxString const &arg3_defvalue = wxPyEmptyString ;
13932 wxString *arg3 = (wxString *) &arg3_defvalue ;
13933 wxString const &arg4_defvalue = wxPyEmptyString ;
13934 wxString *arg4 = (wxString *) &arg4_defvalue ;
13935 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
13936 wxString *arg5 = (wxString *) &arg5_defvalue ;
13937 long arg6 = (long) 0 ;
13938 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13939 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13940 wxFileDialog *result;
ae8162c8
RD
13941 bool temp2 = false ;
13942 bool temp3 = false ;
13943 bool temp4 = false ;
13944 bool temp5 = false ;
d55e5bfc
RD
13945 wxPoint temp7 ;
13946 PyObject * obj0 = 0 ;
13947 PyObject * obj1 = 0 ;
13948 PyObject * obj2 = 0 ;
13949 PyObject * obj3 = 0 ;
13950 PyObject * obj4 = 0 ;
13951 PyObject * obj5 = 0 ;
13952 PyObject * obj6 = 0 ;
13953 char *kwnames[] = {
13954 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13955 };
13956
13957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13959 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13960 if (obj1) {
13961 {
13962 arg2 = wxString_in_helper(obj1);
13963 if (arg2 == NULL) SWIG_fail;
ae8162c8 13964 temp2 = true;
d55e5bfc
RD
13965 }
13966 }
13967 if (obj2) {
13968 {
13969 arg3 = wxString_in_helper(obj2);
13970 if (arg3 == NULL) SWIG_fail;
ae8162c8 13971 temp3 = true;
d55e5bfc
RD
13972 }
13973 }
13974 if (obj3) {
13975 {
13976 arg4 = wxString_in_helper(obj3);
13977 if (arg4 == NULL) SWIG_fail;
ae8162c8 13978 temp4 = true;
d55e5bfc
RD
13979 }
13980 }
13981 if (obj4) {
13982 {
13983 arg5 = wxString_in_helper(obj4);
13984 if (arg5 == NULL) SWIG_fail;
ae8162c8 13985 temp5 = true;
d55e5bfc
RD
13986 }
13987 }
13988 if (obj5) {
093d3ff1
RD
13989 {
13990 arg6 = (long)(SWIG_As_long(obj5));
13991 if (SWIG_arg_fail(6)) SWIG_fail;
13992 }
d55e5bfc
RD
13993 }
13994 if (obj6) {
13995 {
13996 arg7 = &temp7;
13997 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13998 }
13999 }
14000 {
0439c23b 14001 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14004
14005 wxPyEndAllowThreads(__tstate);
110da5b0 14006 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14007 }
14008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
14009 {
14010 if (temp2)
14011 delete arg2;
14012 }
14013 {
14014 if (temp3)
14015 delete arg3;
14016 }
14017 {
14018 if (temp4)
14019 delete arg4;
14020 }
14021 {
14022 if (temp5)
14023 delete arg5;
14024 }
14025 return resultobj;
14026 fail:
14027 {
14028 if (temp2)
14029 delete arg2;
14030 }
14031 {
14032 if (temp3)
14033 delete arg3;
14034 }
14035 {
14036 if (temp4)
14037 delete arg4;
14038 }
14039 {
14040 if (temp5)
14041 delete arg5;
14042 }
14043 return NULL;
14044}
14045
14046
c32bde28 14047static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14048 PyObject *resultobj;
14049 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14050 wxString *arg2 = 0 ;
ae8162c8 14051 bool temp2 = false ;
d55e5bfc
RD
14052 PyObject * obj0 = 0 ;
14053 PyObject * obj1 = 0 ;
14054 char *kwnames[] = {
14055 (char *) "self",(char *) "message", NULL
14056 };
14057
14058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14060 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14061 {
14062 arg2 = wxString_in_helper(obj1);
14063 if (arg2 == NULL) SWIG_fail;
ae8162c8 14064 temp2 = true;
d55e5bfc
RD
14065 }
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 (arg1)->SetMessage((wxString const &)*arg2);
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 Py_INCREF(Py_None); resultobj = Py_None;
14074 {
14075 if (temp2)
14076 delete arg2;
14077 }
14078 return resultobj;
14079 fail:
14080 {
14081 if (temp2)
14082 delete arg2;
14083 }
14084 return NULL;
14085}
14086
14087
c32bde28 14088static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14089 PyObject *resultobj;
14090 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14091 wxString *arg2 = 0 ;
ae8162c8 14092 bool temp2 = false ;
d55e5bfc
RD
14093 PyObject * obj0 = 0 ;
14094 PyObject * obj1 = 0 ;
14095 char *kwnames[] = {
14096 (char *) "self",(char *) "path", NULL
14097 };
14098
14099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14101 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14102 {
14103 arg2 = wxString_in_helper(obj1);
14104 if (arg2 == NULL) SWIG_fail;
ae8162c8 14105 temp2 = true;
d55e5bfc
RD
14106 }
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 (arg1)->SetPath((wxString const &)*arg2);
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 Py_INCREF(Py_None); resultobj = Py_None;
14115 {
14116 if (temp2)
14117 delete arg2;
14118 }
14119 return resultobj;
14120 fail:
14121 {
14122 if (temp2)
14123 delete arg2;
14124 }
14125 return NULL;
14126}
14127
14128
c32bde28 14129static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14130 PyObject *resultobj;
14131 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14132 wxString *arg2 = 0 ;
ae8162c8 14133 bool temp2 = false ;
d55e5bfc
RD
14134 PyObject * obj0 = 0 ;
14135 PyObject * obj1 = 0 ;
14136 char *kwnames[] = {
14137 (char *) "self",(char *) "dir", NULL
14138 };
14139
14140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14142 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14143 {
14144 arg2 = wxString_in_helper(obj1);
14145 if (arg2 == NULL) SWIG_fail;
ae8162c8 14146 temp2 = true;
d55e5bfc
RD
14147 }
14148 {
14149 PyThreadState* __tstate = wxPyBeginAllowThreads();
14150 (arg1)->SetDirectory((wxString const &)*arg2);
14151
14152 wxPyEndAllowThreads(__tstate);
14153 if (PyErr_Occurred()) SWIG_fail;
14154 }
14155 Py_INCREF(Py_None); resultobj = Py_None;
14156 {
14157 if (temp2)
14158 delete arg2;
14159 }
14160 return resultobj;
14161 fail:
14162 {
14163 if (temp2)
14164 delete arg2;
14165 }
14166 return NULL;
14167}
14168
14169
c32bde28 14170static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14171 PyObject *resultobj;
14172 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14173 wxString *arg2 = 0 ;
ae8162c8 14174 bool temp2 = false ;
d55e5bfc
RD
14175 PyObject * obj0 = 0 ;
14176 PyObject * obj1 = 0 ;
14177 char *kwnames[] = {
14178 (char *) "self",(char *) "name", NULL
14179 };
14180
14181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14184 {
14185 arg2 = wxString_in_helper(obj1);
14186 if (arg2 == NULL) SWIG_fail;
ae8162c8 14187 temp2 = true;
d55e5bfc
RD
14188 }
14189 {
14190 PyThreadState* __tstate = wxPyBeginAllowThreads();
14191 (arg1)->SetFilename((wxString const &)*arg2);
14192
14193 wxPyEndAllowThreads(__tstate);
14194 if (PyErr_Occurred()) SWIG_fail;
14195 }
14196 Py_INCREF(Py_None); resultobj = Py_None;
14197 {
14198 if (temp2)
14199 delete arg2;
14200 }
14201 return resultobj;
14202 fail:
14203 {
14204 if (temp2)
14205 delete arg2;
14206 }
14207 return NULL;
14208}
14209
14210
c32bde28 14211static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14212 PyObject *resultobj;
14213 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14214 wxString *arg2 = 0 ;
ae8162c8 14215 bool temp2 = false ;
d55e5bfc
RD
14216 PyObject * obj0 = 0 ;
14217 PyObject * obj1 = 0 ;
14218 char *kwnames[] = {
14219 (char *) "self",(char *) "wildCard", NULL
14220 };
14221
14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14224 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14225 {
14226 arg2 = wxString_in_helper(obj1);
14227 if (arg2 == NULL) SWIG_fail;
ae8162c8 14228 temp2 = true;
d55e5bfc
RD
14229 }
14230 {
14231 PyThreadState* __tstate = wxPyBeginAllowThreads();
14232 (arg1)->SetWildcard((wxString const &)*arg2);
14233
14234 wxPyEndAllowThreads(__tstate);
14235 if (PyErr_Occurred()) SWIG_fail;
14236 }
14237 Py_INCREF(Py_None); resultobj = Py_None;
14238 {
14239 if (temp2)
14240 delete arg2;
14241 }
14242 return resultobj;
14243 fail:
14244 {
14245 if (temp2)
14246 delete arg2;
14247 }
14248 return NULL;
14249}
14250
14251
c32bde28 14252static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14253 PyObject *resultobj;
14254 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14255 long arg2 ;
14256 PyObject * obj0 = 0 ;
14257 PyObject * obj1 = 0 ;
14258 char *kwnames[] = {
14259 (char *) "self",(char *) "style", NULL
14260 };
14261
14262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14264 if (SWIG_arg_fail(1)) SWIG_fail;
14265 {
14266 arg2 = (long)(SWIG_As_long(obj1));
14267 if (SWIG_arg_fail(2)) SWIG_fail;
14268 }
d55e5bfc
RD
14269 {
14270 PyThreadState* __tstate = wxPyBeginAllowThreads();
14271 (arg1)->SetStyle(arg2);
14272
14273 wxPyEndAllowThreads(__tstate);
14274 if (PyErr_Occurred()) SWIG_fail;
14275 }
14276 Py_INCREF(Py_None); resultobj = Py_None;
14277 return resultobj;
14278 fail:
14279 return NULL;
14280}
14281
14282
c32bde28 14283static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14284 PyObject *resultobj;
14285 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14286 int arg2 ;
14287 PyObject * obj0 = 0 ;
14288 PyObject * obj1 = 0 ;
14289 char *kwnames[] = {
14290 (char *) "self",(char *) "filterIndex", NULL
14291 };
14292
14293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14295 if (SWIG_arg_fail(1)) SWIG_fail;
14296 {
14297 arg2 = (int)(SWIG_As_int(obj1));
14298 if (SWIG_arg_fail(2)) SWIG_fail;
14299 }
d55e5bfc
RD
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 (arg1)->SetFilterIndex(arg2);
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 Py_INCREF(Py_None); resultobj = Py_None;
14308 return resultobj;
14309 fail:
14310 return NULL;
14311}
14312
14313
c32bde28 14314static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14315 PyObject *resultobj;
14316 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14317 wxString result;
14318 PyObject * obj0 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
14324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14325 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 result = ((wxFileDialog const *)arg1)->GetMessage();
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 {
14334#if wxUSE_UNICODE
14335 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14336#else
14337 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14338#endif
14339 }
14340 return resultobj;
14341 fail:
14342 return NULL;
14343}
14344
14345
c32bde28 14346static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14347 PyObject *resultobj;
14348 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14349 wxString result;
14350 PyObject * obj0 = 0 ;
14351 char *kwnames[] = {
14352 (char *) "self", NULL
14353 };
14354
14355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
14356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14357 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 result = ((wxFileDialog const *)arg1)->GetPath();
14361
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 {
14366#if wxUSE_UNICODE
14367 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14368#else
14369 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14370#endif
14371 }
14372 return resultobj;
14373 fail:
14374 return NULL;
14375}
14376
14377
c32bde28 14378static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14379 PyObject *resultobj;
14380 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14381 wxString result;
14382 PyObject * obj0 = 0 ;
14383 char *kwnames[] = {
14384 (char *) "self", NULL
14385 };
14386
14387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
093d3ff1
RD
14388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14389 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 result = ((wxFileDialog const *)arg1)->GetDirectory();
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 {
14398#if wxUSE_UNICODE
14399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14400#else
14401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14402#endif
14403 }
14404 return resultobj;
14405 fail:
14406 return NULL;
14407}
14408
14409
c32bde28 14410static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14411 PyObject *resultobj;
14412 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14413 wxString result;
14414 PyObject * obj0 = 0 ;
14415 char *kwnames[] = {
14416 (char *) "self", NULL
14417 };
14418
14419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
14420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14421 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14422 {
14423 PyThreadState* __tstate = wxPyBeginAllowThreads();
14424 result = ((wxFileDialog const *)arg1)->GetFilename();
14425
14426 wxPyEndAllowThreads(__tstate);
14427 if (PyErr_Occurred()) SWIG_fail;
14428 }
14429 {
14430#if wxUSE_UNICODE
14431 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14432#else
14433 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14434#endif
14435 }
14436 return resultobj;
14437 fail:
14438 return NULL;
14439}
14440
14441
c32bde28 14442static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14443 PyObject *resultobj;
14444 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14445 wxString result;
14446 PyObject * obj0 = 0 ;
14447 char *kwnames[] = {
14448 (char *) "self", NULL
14449 };
14450
14451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
093d3ff1
RD
14452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14453 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14454 {
14455 PyThreadState* __tstate = wxPyBeginAllowThreads();
14456 result = ((wxFileDialog const *)arg1)->GetWildcard();
14457
14458 wxPyEndAllowThreads(__tstate);
14459 if (PyErr_Occurred()) SWIG_fail;
14460 }
14461 {
14462#if wxUSE_UNICODE
14463 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14464#else
14465 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14466#endif
14467 }
14468 return resultobj;
14469 fail:
14470 return NULL;
14471}
14472
14473
c32bde28 14474static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14475 PyObject *resultobj;
14476 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14477 long result;
14478 PyObject * obj0 = 0 ;
14479 char *kwnames[] = {
14480 (char *) "self", NULL
14481 };
14482
14483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
14484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14485 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14486 {
14487 PyThreadState* __tstate = wxPyBeginAllowThreads();
14488 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14489
14490 wxPyEndAllowThreads(__tstate);
14491 if (PyErr_Occurred()) SWIG_fail;
14492 }
093d3ff1
RD
14493 {
14494 resultobj = SWIG_From_long((long)(result));
14495 }
d55e5bfc
RD
14496 return resultobj;
14497 fail:
14498 return NULL;
14499}
14500
14501
c32bde28 14502static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14503 PyObject *resultobj;
14504 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14505 int result;
14506 PyObject * obj0 = 0 ;
14507 char *kwnames[] = {
14508 (char *) "self", NULL
14509 };
14510
14511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
14512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14514 {
14515 PyThreadState* __tstate = wxPyBeginAllowThreads();
14516 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14517
14518 wxPyEndAllowThreads(__tstate);
14519 if (PyErr_Occurred()) SWIG_fail;
14520 }
093d3ff1
RD
14521 {
14522 resultobj = SWIG_From_int((int)(result));
14523 }
d55e5bfc
RD
14524 return resultobj;
14525 fail:
14526 return NULL;
14527}
14528
14529
c32bde28 14530static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14531 PyObject *resultobj;
14532 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14533 PyObject *result;
14534 PyObject * obj0 = 0 ;
14535 char *kwnames[] = {
14536 (char *) "self", NULL
14537 };
14538
14539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
14540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14541 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14542 {
14543 PyThreadState* __tstate = wxPyBeginAllowThreads();
14544 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14545
14546 wxPyEndAllowThreads(__tstate);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 }
14549 resultobj = result;
14550 return resultobj;
14551 fail:
14552 return NULL;
14553}
14554
14555
c32bde28 14556static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14557 PyObject *resultobj;
14558 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14559 PyObject *result;
14560 PyObject * obj0 = 0 ;
14561 char *kwnames[] = {
14562 (char *) "self", NULL
14563 };
14564
14565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
093d3ff1
RD
14566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14567 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14568 {
14569 PyThreadState* __tstate = wxPyBeginAllowThreads();
14570 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14571
14572 wxPyEndAllowThreads(__tstate);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 }
14575 resultobj = result;
14576 return resultobj;
14577 fail:
14578 return NULL;
14579}
14580
14581
c32bde28 14582static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14583 PyObject *obj;
14584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14585 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14586 Py_INCREF(obj);
14587 return Py_BuildValue((char *)"");
14588}
c32bde28 14589static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14590 PyObject *resultobj;
14591 wxWindow *arg1 = (wxWindow *) 0 ;
14592 wxString *arg2 = 0 ;
14593 wxString *arg3 = 0 ;
14594 int arg4 = (int) 0 ;
248ed943 14595 wxString *arg5 = (wxString *) NULL ;
d55e5bfc
RD
14596 long arg6 = (long) wxCHOICEDLG_STYLE ;
14597 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14598 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14599 wxMultiChoiceDialog *result;
ae8162c8
RD
14600 bool temp2 = false ;
14601 bool temp3 = false ;
093d3ff1 14602 wxPoint temp7 ;
d55e5bfc
RD
14603 PyObject * obj0 = 0 ;
14604 PyObject * obj1 = 0 ;
14605 PyObject * obj2 = 0 ;
14606 PyObject * obj3 = 0 ;
14607 PyObject * obj4 = 0 ;
14608 PyObject * obj5 = 0 ;
14609 char *kwnames[] = {
14610 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14611 };
14612
14613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14615 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14616 {
14617 arg2 = wxString_in_helper(obj1);
14618 if (arg2 == NULL) SWIG_fail;
ae8162c8 14619 temp2 = true;
d55e5bfc
RD
14620 }
14621 {
14622 arg3 = wxString_in_helper(obj2);
14623 if (arg3 == NULL) SWIG_fail;
ae8162c8 14624 temp3 = true;
d55e5bfc
RD
14625 }
14626 if (obj3) {
14627 {
14628 arg4 = PyList_Size(obj3);
14629 arg5 = wxString_LIST_helper(obj3);
14630 if (arg5 == NULL) SWIG_fail;
14631 }
14632 }
14633 if (obj4) {
093d3ff1
RD
14634 {
14635 arg6 = (long)(SWIG_As_long(obj4));
14636 if (SWIG_arg_fail(6)) SWIG_fail;
14637 }
d55e5bfc
RD
14638 }
14639 if (obj5) {
14640 {
093d3ff1 14641 arg7 = &temp7;
d55e5bfc
RD
14642 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14643 }
14644 }
14645 {
0439c23b 14646 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14647 PyThreadState* __tstate = wxPyBeginAllowThreads();
14648 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14649
14650 wxPyEndAllowThreads(__tstate);
110da5b0 14651 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14652 }
14653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14654 {
14655 if (temp2)
14656 delete arg2;
14657 }
14658 {
14659 if (temp3)
14660 delete arg3;
14661 }
14662 {
14663 if (arg5) delete [] arg5;
14664 }
14665 return resultobj;
14666 fail:
14667 {
14668 if (temp2)
14669 delete arg2;
14670 }
14671 {
14672 if (temp3)
14673 delete arg3;
14674 }
14675 {
14676 if (arg5) delete [] arg5;
14677 }
14678 return NULL;
14679}
14680
14681
c32bde28 14682static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14683 PyObject *resultobj;
14684 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14685 wxArrayInt *arg2 = 0 ;
ae8162c8 14686 bool temp2 = false ;
d55e5bfc
RD
14687 PyObject * obj0 = 0 ;
14688 PyObject * obj1 = 0 ;
14689 char *kwnames[] = {
14690 (char *) "self",(char *) "selections", NULL
14691 };
14692
14693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14695 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14696 {
14697 if (! PySequence_Check(obj1)) {
14698 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14699 SWIG_fail;
14700 }
14701 arg2 = new wxArrayInt;
ae8162c8 14702 temp2 = true;
d55e5bfc
RD
14703 int i, len=PySequence_Length(obj1);
14704 for (i=0; i<len; i++) {
14705 PyObject* item = PySequence_GetItem(obj1, i);
14706 PyObject* number = PyNumber_Int(item);
14707 arg2->Add(PyInt_AS_LONG(number));
14708 Py_DECREF(item);
14709 Py_DECREF(number);
14710 }
14711 }
14712 {
14713 PyThreadState* __tstate = wxPyBeginAllowThreads();
14714 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14715
14716 wxPyEndAllowThreads(__tstate);
14717 if (PyErr_Occurred()) SWIG_fail;
14718 }
14719 Py_INCREF(Py_None); resultobj = Py_None;
14720 {
14721 if (temp2) delete arg2;
14722 }
14723 return resultobj;
14724 fail:
14725 {
14726 if (temp2) delete arg2;
14727 }
14728 return NULL;
14729}
14730
14731
c32bde28 14732static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14733 PyObject *resultobj;
14734 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14735 PyObject *result;
14736 PyObject * obj0 = 0 ;
14737 char *kwnames[] = {
14738 (char *) "self", NULL
14739 };
14740
14741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
14742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14744 {
14745 PyThreadState* __tstate = wxPyBeginAllowThreads();
14746 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14747
14748 wxPyEndAllowThreads(__tstate);
14749 if (PyErr_Occurred()) SWIG_fail;
14750 }
14751 resultobj = result;
14752 return resultobj;
14753 fail:
14754 return NULL;
14755}
14756
14757
c32bde28 14758static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14759 PyObject *obj;
14760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14761 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14762 Py_INCREF(obj);
14763 return Py_BuildValue((char *)"");
14764}
c32bde28 14765static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14766 PyObject *resultobj;
14767 wxWindow *arg1 = (wxWindow *) 0 ;
14768 wxString *arg2 = 0 ;
14769 wxString *arg3 = 0 ;
14770 int arg4 ;
14771 wxString *arg5 = (wxString *) 0 ;
14772 long arg6 = (long) wxCHOICEDLG_STYLE ;
14773 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14774 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14775 wxSingleChoiceDialog *result;
ae8162c8
RD
14776 bool temp2 = false ;
14777 bool temp3 = false ;
093d3ff1 14778 wxPoint temp7 ;
d55e5bfc
RD
14779 PyObject * obj0 = 0 ;
14780 PyObject * obj1 = 0 ;
14781 PyObject * obj2 = 0 ;
14782 PyObject * obj3 = 0 ;
14783 PyObject * obj4 = 0 ;
14784 PyObject * obj5 = 0 ;
14785 char *kwnames[] = {
14786 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14787 };
14788
14789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14791 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14792 {
14793 arg2 = wxString_in_helper(obj1);
14794 if (arg2 == NULL) SWIG_fail;
ae8162c8 14795 temp2 = true;
d55e5bfc
RD
14796 }
14797 {
14798 arg3 = wxString_in_helper(obj2);
14799 if (arg3 == NULL) SWIG_fail;
ae8162c8 14800 temp3 = true;
d55e5bfc
RD
14801 }
14802 {
14803 arg4 = PyList_Size(obj3);
14804 arg5 = wxString_LIST_helper(obj3);
14805 if (arg5 == NULL) SWIG_fail;
14806 }
14807 if (obj4) {
093d3ff1
RD
14808 {
14809 arg6 = (long)(SWIG_As_long(obj4));
14810 if (SWIG_arg_fail(6)) SWIG_fail;
14811 }
d55e5bfc
RD
14812 }
14813 if (obj5) {
14814 {
093d3ff1 14815 arg7 = &temp7;
d55e5bfc
RD
14816 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14817 }
14818 }
14819 {
0439c23b 14820 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14823
14824 wxPyEndAllowThreads(__tstate);
110da5b0 14825 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14826 }
14827 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14828 {
14829 if (temp2)
14830 delete arg2;
14831 }
14832 {
14833 if (temp3)
14834 delete arg3;
14835 }
14836 {
14837 if (arg5) delete [] arg5;
14838 }
14839 return resultobj;
14840 fail:
14841 {
14842 if (temp2)
14843 delete arg2;
14844 }
14845 {
14846 if (temp3)
14847 delete arg3;
14848 }
14849 {
14850 if (arg5) delete [] arg5;
14851 }
14852 return NULL;
14853}
14854
14855
c32bde28 14856static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14857 PyObject *resultobj;
14858 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14859 int result;
14860 PyObject * obj0 = 0 ;
14861 char *kwnames[] = {
14862 (char *) "self", NULL
14863 };
14864
14865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14867 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14868 {
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 result = (int)(arg1)->GetSelection();
14871
14872 wxPyEndAllowThreads(__tstate);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
093d3ff1
RD
14875 {
14876 resultobj = SWIG_From_int((int)(result));
14877 }
d55e5bfc
RD
14878 return resultobj;
14879 fail:
14880 return NULL;
14881}
14882
14883
c32bde28 14884static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14885 PyObject *resultobj;
14886 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14887 wxString result;
14888 PyObject * obj0 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14895 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14896 {
14897 PyThreadState* __tstate = wxPyBeginAllowThreads();
14898 result = (arg1)->GetStringSelection();
14899
14900 wxPyEndAllowThreads(__tstate);
14901 if (PyErr_Occurred()) SWIG_fail;
14902 }
14903 {
14904#if wxUSE_UNICODE
14905 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14906#else
14907 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14908#endif
14909 }
14910 return resultobj;
14911 fail:
14912 return NULL;
14913}
14914
14915
c32bde28 14916static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14917 PyObject *resultobj;
14918 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14919 int arg2 ;
14920 PyObject * obj0 = 0 ;
14921 PyObject * obj1 = 0 ;
14922 char *kwnames[] = {
14923 (char *) "self",(char *) "sel", NULL
14924 };
14925
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14928 if (SWIG_arg_fail(1)) SWIG_fail;
14929 {
14930 arg2 = (int)(SWIG_As_int(obj1));
14931 if (SWIG_arg_fail(2)) SWIG_fail;
14932 }
d55e5bfc
RD
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 (arg1)->SetSelection(arg2);
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 Py_INCREF(Py_None); resultobj = Py_None;
14941 return resultobj;
14942 fail:
14943 return NULL;
14944}
14945
14946
c32bde28 14947static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14948 PyObject *obj;
14949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14950 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
14951 Py_INCREF(obj);
14952 return Py_BuildValue((char *)"");
14953}
c32bde28 14954static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14955 PyObject *resultobj;
14956 wxWindow *arg1 = (wxWindow *) 0 ;
14957 wxString *arg2 = 0 ;
14958 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
14959 wxString *arg3 = (wxString *) &arg3_defvalue ;
14960 wxString const &arg4_defvalue = wxPyEmptyString ;
14961 wxString *arg4 = (wxString *) &arg4_defvalue ;
c1cb24a4 14962 long arg5 = (long) wxTextEntryDialogStyle ;
d55e5bfc
RD
14963 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14964 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14965 wxTextEntryDialog *result;
ae8162c8
RD
14966 bool temp2 = false ;
14967 bool temp3 = false ;
14968 bool temp4 = false ;
d55e5bfc
RD
14969 wxPoint temp6 ;
14970 PyObject * obj0 = 0 ;
14971 PyObject * obj1 = 0 ;
14972 PyObject * obj2 = 0 ;
14973 PyObject * obj3 = 0 ;
14974 PyObject * obj4 = 0 ;
14975 PyObject * obj5 = 0 ;
14976 char *kwnames[] = {
14977 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14978 };
14979
14980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14982 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14983 {
14984 arg2 = wxString_in_helper(obj1);
14985 if (arg2 == NULL) SWIG_fail;
ae8162c8 14986 temp2 = true;
d55e5bfc
RD
14987 }
14988 if (obj2) {
14989 {
14990 arg3 = wxString_in_helper(obj2);
14991 if (arg3 == NULL) SWIG_fail;
ae8162c8 14992 temp3 = true;
d55e5bfc
RD
14993 }
14994 }
14995 if (obj3) {
14996 {
14997 arg4 = wxString_in_helper(obj3);
14998 if (arg4 == NULL) SWIG_fail;
ae8162c8 14999 temp4 = true;
d55e5bfc
RD
15000 }
15001 }
15002 if (obj4) {
093d3ff1
RD
15003 {
15004 arg5 = (long)(SWIG_As_long(obj4));
15005 if (SWIG_arg_fail(5)) SWIG_fail;
15006 }
d55e5bfc
RD
15007 }
15008 if (obj5) {
15009 {
15010 arg6 = &temp6;
15011 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15012 }
15013 }
15014 {
0439c23b 15015 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15016 PyThreadState* __tstate = wxPyBeginAllowThreads();
15017 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15018
15019 wxPyEndAllowThreads(__tstate);
110da5b0 15020 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15021 }
15022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
15023 {
15024 if (temp2)
15025 delete arg2;
15026 }
15027 {
15028 if (temp3)
15029 delete arg3;
15030 }
15031 {
15032 if (temp4)
15033 delete arg4;
15034 }
15035 return resultobj;
15036 fail:
15037 {
15038 if (temp2)
15039 delete arg2;
15040 }
15041 {
15042 if (temp3)
15043 delete arg3;
15044 }
15045 {
15046 if (temp4)
15047 delete arg4;
15048 }
15049 return NULL;
15050}
15051
15052
c32bde28 15053static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15054 PyObject *resultobj;
15055 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15056 wxString result;
15057 PyObject * obj0 = 0 ;
15058 char *kwnames[] = {
15059 (char *) "self", NULL
15060 };
15061
15062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15064 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15065 {
15066 PyThreadState* __tstate = wxPyBeginAllowThreads();
15067 result = (arg1)->GetValue();
15068
15069 wxPyEndAllowThreads(__tstate);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 }
15072 {
15073#if wxUSE_UNICODE
15074 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15075#else
15076 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15077#endif
15078 }
15079 return resultobj;
15080 fail:
15081 return NULL;
15082}
15083
15084
c32bde28 15085static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15086 PyObject *resultobj;
15087 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15088 wxString *arg2 = 0 ;
ae8162c8 15089 bool temp2 = false ;
d55e5bfc
RD
15090 PyObject * obj0 = 0 ;
15091 PyObject * obj1 = 0 ;
15092 char *kwnames[] = {
15093 (char *) "self",(char *) "value", NULL
15094 };
15095
15096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15099 {
15100 arg2 = wxString_in_helper(obj1);
15101 if (arg2 == NULL) SWIG_fail;
ae8162c8 15102 temp2 = true;
d55e5bfc
RD
15103 }
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 (arg1)->SetValue((wxString const &)*arg2);
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 Py_INCREF(Py_None); resultobj = Py_None;
15112 {
15113 if (temp2)
15114 delete arg2;
15115 }
15116 return resultobj;
15117 fail:
15118 {
15119 if (temp2)
15120 delete arg2;
15121 }
15122 return NULL;
15123}
15124
15125
c32bde28 15126static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15127 PyObject *obj;
15128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15129 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15130 Py_INCREF(obj);
15131 return Py_BuildValue((char *)"");
15132}
c1cb24a4
RD
15133static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15134 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15135 return 1;
15136}
15137
15138
093d3ff1 15139static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
c1cb24a4
RD
15140 PyObject *pyobj;
15141
15142 {
15143#if wxUSE_UNICODE
15144 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15145#else
15146 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15147#endif
15148 }
15149 return pyobj;
15150}
15151
15152
15153static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15154 PyObject *resultobj;
15155 wxWindow *arg1 = (wxWindow *) 0 ;
15156 wxString *arg2 = 0 ;
15157 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15158 wxString *arg3 = (wxString *) &arg3_defvalue ;
15159 wxString const &arg4_defvalue = wxPyEmptyString ;
15160 wxString *arg4 = (wxString *) &arg4_defvalue ;
15161 long arg5 = (long) wxTextEntryDialogStyle ;
15162 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15163 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15164 wxPasswordEntryDialog *result;
15165 bool temp2 = false ;
15166 bool temp3 = false ;
15167 bool temp4 = false ;
15168 wxPoint temp6 ;
15169 PyObject * obj0 = 0 ;
15170 PyObject * obj1 = 0 ;
15171 PyObject * obj2 = 0 ;
15172 PyObject * obj3 = 0 ;
15173 PyObject * obj4 = 0 ;
15174 PyObject * obj5 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15181 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
15182 {
15183 arg2 = wxString_in_helper(obj1);
15184 if (arg2 == NULL) SWIG_fail;
15185 temp2 = true;
15186 }
15187 if (obj2) {
15188 {
15189 arg3 = wxString_in_helper(obj2);
15190 if (arg3 == NULL) SWIG_fail;
15191 temp3 = true;
15192 }
15193 }
15194 if (obj3) {
15195 {
15196 arg4 = wxString_in_helper(obj3);
15197 if (arg4 == NULL) SWIG_fail;
15198 temp4 = true;
15199 }
15200 }
15201 if (obj4) {
093d3ff1
RD
15202 {
15203 arg5 = (long)(SWIG_As_long(obj4));
15204 if (SWIG_arg_fail(5)) SWIG_fail;
15205 }
c1cb24a4
RD
15206 }
15207 if (obj5) {
15208 {
15209 arg6 = &temp6;
15210 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15211 }
15212 }
15213 {
15214 PyThreadState* __tstate = wxPyBeginAllowThreads();
15215 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15216
15217 wxPyEndAllowThreads(__tstate);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 }
15220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15221 {
15222 if (temp2)
15223 delete arg2;
15224 }
15225 {
15226 if (temp3)
15227 delete arg3;
15228 }
15229 {
15230 if (temp4)
15231 delete arg4;
15232 }
15233 return resultobj;
15234 fail:
15235 {
15236 if (temp2)
15237 delete arg2;
15238 }
15239 {
15240 if (temp3)
15241 delete arg3;
15242 }
15243 {
15244 if (temp4)
15245 delete arg4;
15246 }
15247 return NULL;
15248}
15249
15250
15251static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15252 PyObject *obj;
15253 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15254 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15255 Py_INCREF(obj);
15256 return Py_BuildValue((char *)"");
15257}
c32bde28 15258static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15259 PyObject *resultobj;
15260 wxFontData *result;
15261 char *kwnames[] = {
15262 NULL
15263 };
15264
15265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 result = (wxFontData *)new wxFontData();
15269
15270 wxPyEndAllowThreads(__tstate);
15271 if (PyErr_Occurred()) SWIG_fail;
15272 }
15273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15274 return resultobj;
15275 fail:
15276 return NULL;
15277}
15278
15279
c32bde28 15280static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15281 PyObject *resultobj;
15282 wxFontData *arg1 = (wxFontData *) 0 ;
15283 PyObject * obj0 = 0 ;
15284 char *kwnames[] = {
15285 (char *) "self", NULL
15286 };
15287
15288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15290 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 delete arg1;
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 Py_INCREF(Py_None); resultobj = Py_None;
15299 return resultobj;
15300 fail:
15301 return NULL;
15302}
15303
15304
c32bde28 15305static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15306 PyObject *resultobj;
15307 wxFontData *arg1 = (wxFontData *) 0 ;
15308 bool arg2 ;
15309 PyObject * obj0 = 0 ;
15310 PyObject * obj1 = 0 ;
15311 char *kwnames[] = {
15312 (char *) "self",(char *) "enable", NULL
15313 };
15314
15315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15317 if (SWIG_arg_fail(1)) SWIG_fail;
15318 {
15319 arg2 = (bool)(SWIG_As_bool(obj1));
15320 if (SWIG_arg_fail(2)) SWIG_fail;
15321 }
d55e5bfc
RD
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 (arg1)->EnableEffects(arg2);
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 return resultobj;
15331 fail:
15332 return NULL;
15333}
15334
15335
c32bde28 15336static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15337 PyObject *resultobj;
15338 wxFontData *arg1 = (wxFontData *) 0 ;
15339 bool result;
15340 PyObject * obj0 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
093d3ff1
RD
15346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15348 {
15349 PyThreadState* __tstate = wxPyBeginAllowThreads();
15350 result = (bool)(arg1)->GetAllowSymbols();
15351
15352 wxPyEndAllowThreads(__tstate);
15353 if (PyErr_Occurred()) SWIG_fail;
15354 }
15355 {
15356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15357 }
15358 return resultobj;
15359 fail:
15360 return NULL;
15361}
15362
15363
c32bde28 15364static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15365 PyObject *resultobj;
15366 wxFontData *arg1 = (wxFontData *) 0 ;
15367 wxColour result;
15368 PyObject * obj0 = 0 ;
15369 char *kwnames[] = {
15370 (char *) "self", NULL
15371 };
15372
15373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
15374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15375 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 result = (arg1)->GetColour();
15379
15380 wxPyEndAllowThreads(__tstate);
15381 if (PyErr_Occurred()) SWIG_fail;
15382 }
15383 {
15384 wxColour * resultptr;
093d3ff1 15385 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
15386 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15387 }
15388 return resultobj;
15389 fail:
15390 return NULL;
15391}
15392
15393
c32bde28 15394static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15395 PyObject *resultobj;
15396 wxFontData *arg1 = (wxFontData *) 0 ;
15397 wxFont result;
15398 PyObject * obj0 = 0 ;
15399 char *kwnames[] = {
15400 (char *) "self", NULL
15401 };
15402
15403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15405 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15406 {
15407 PyThreadState* __tstate = wxPyBeginAllowThreads();
15408 result = (arg1)->GetChosenFont();
15409
15410 wxPyEndAllowThreads(__tstate);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
15413 {
15414 wxFont * resultptr;
093d3ff1 15415 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
15416 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15417 }
15418 return resultobj;
15419 fail:
15420 return NULL;
15421}
15422
15423
c32bde28 15424static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15425 PyObject *resultobj;
15426 wxFontData *arg1 = (wxFontData *) 0 ;
15427 bool result;
15428 PyObject * obj0 = 0 ;
15429 char *kwnames[] = {
15430 (char *) "self", NULL
15431 };
15432
15433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
093d3ff1
RD
15434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15436 {
15437 PyThreadState* __tstate = wxPyBeginAllowThreads();
15438 result = (bool)(arg1)->GetEnableEffects();
15439
15440 wxPyEndAllowThreads(__tstate);
15441 if (PyErr_Occurred()) SWIG_fail;
15442 }
15443 {
15444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15445 }
15446 return resultobj;
15447 fail:
15448 return NULL;
15449}
15450
15451
c32bde28 15452static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15453 PyObject *resultobj;
15454 wxFontData *arg1 = (wxFontData *) 0 ;
15455 wxFont result;
15456 PyObject * obj0 = 0 ;
15457 char *kwnames[] = {
15458 (char *) "self", NULL
15459 };
15460
15461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 result = (arg1)->GetInitialFont();
15467
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 {
15472 wxFont * resultptr;
093d3ff1 15473 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
15474 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15475 }
15476 return resultobj;
15477 fail:
15478 return NULL;
15479}
15480
15481
c32bde28 15482static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15483 PyObject *resultobj;
15484 wxFontData *arg1 = (wxFontData *) 0 ;
15485 bool result;
15486 PyObject * obj0 = 0 ;
15487 char *kwnames[] = {
15488 (char *) "self", NULL
15489 };
15490
15491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
15492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15493 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 result = (bool)(arg1)->GetShowHelp();
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 {
15502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15503 }
15504 return resultobj;
15505 fail:
15506 return NULL;
15507}
15508
15509
c32bde28 15510static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15511 PyObject *resultobj;
15512 wxFontData *arg1 = (wxFontData *) 0 ;
15513 bool arg2 ;
15514 PyObject * obj0 = 0 ;
15515 PyObject * obj1 = 0 ;
15516 char *kwnames[] = {
15517 (char *) "self",(char *) "allowSymbols", NULL
15518 };
15519
15520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15522 if (SWIG_arg_fail(1)) SWIG_fail;
15523 {
15524 arg2 = (bool)(SWIG_As_bool(obj1));
15525 if (SWIG_arg_fail(2)) SWIG_fail;
15526 }
d55e5bfc
RD
15527 {
15528 PyThreadState* __tstate = wxPyBeginAllowThreads();
15529 (arg1)->SetAllowSymbols(arg2);
15530
15531 wxPyEndAllowThreads(__tstate);
15532 if (PyErr_Occurred()) SWIG_fail;
15533 }
15534 Py_INCREF(Py_None); resultobj = Py_None;
15535 return resultobj;
15536 fail:
15537 return NULL;
15538}
15539
15540
c32bde28 15541static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15542 PyObject *resultobj;
15543 wxFontData *arg1 = (wxFontData *) 0 ;
15544 wxFont *arg2 = 0 ;
15545 PyObject * obj0 = 0 ;
15546 PyObject * obj1 = 0 ;
15547 char *kwnames[] = {
15548 (char *) "self",(char *) "font", NULL
15549 };
15550
15551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15553 if (SWIG_arg_fail(1)) SWIG_fail;
15554 {
15555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15556 if (SWIG_arg_fail(2)) SWIG_fail;
15557 if (arg2 == NULL) {
15558 SWIG_null_ref("wxFont");
15559 }
15560 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15561 }
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 (arg1)->SetChosenFont((wxFont const &)*arg2);
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 Py_INCREF(Py_None); resultobj = Py_None;
15570 return resultobj;
15571 fail:
15572 return NULL;
15573}
15574
15575
c32bde28 15576static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15577 PyObject *resultobj;
15578 wxFontData *arg1 = (wxFontData *) 0 ;
15579 wxColour *arg2 = 0 ;
15580 wxColour temp2 ;
15581 PyObject * obj0 = 0 ;
15582 PyObject * obj1 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self",(char *) "colour", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15589 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15590 {
15591 arg2 = &temp2;
15592 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15593 }
15594 {
15595 PyThreadState* __tstate = wxPyBeginAllowThreads();
15596 (arg1)->SetColour((wxColour const &)*arg2);
15597
15598 wxPyEndAllowThreads(__tstate);
15599 if (PyErr_Occurred()) SWIG_fail;
15600 }
15601 Py_INCREF(Py_None); resultobj = Py_None;
15602 return resultobj;
15603 fail:
15604 return NULL;
15605}
15606
15607
c32bde28 15608static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15609 PyObject *resultobj;
15610 wxFontData *arg1 = (wxFontData *) 0 ;
15611 wxFont *arg2 = 0 ;
15612 PyObject * obj0 = 0 ;
15613 PyObject * obj1 = 0 ;
15614 char *kwnames[] = {
15615 (char *) "self",(char *) "font", NULL
15616 };
15617
15618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",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 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15623 if (SWIG_arg_fail(2)) SWIG_fail;
15624 if (arg2 == NULL) {
15625 SWIG_null_ref("wxFont");
15626 }
15627 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15628 }
15629 {
15630 PyThreadState* __tstate = wxPyBeginAllowThreads();
15631 (arg1)->SetInitialFont((wxFont const &)*arg2);
15632
15633 wxPyEndAllowThreads(__tstate);
15634 if (PyErr_Occurred()) SWIG_fail;
15635 }
15636 Py_INCREF(Py_None); resultobj = Py_None;
15637 return resultobj;
15638 fail:
15639 return NULL;
15640}
15641
15642
c32bde28 15643static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15644 PyObject *resultobj;
15645 wxFontData *arg1 = (wxFontData *) 0 ;
15646 int arg2 ;
15647 int arg3 ;
15648 PyObject * obj0 = 0 ;
15649 PyObject * obj1 = 0 ;
15650 PyObject * obj2 = 0 ;
15651 char *kwnames[] = {
15652 (char *) "self",(char *) "min",(char *) "max", NULL
15653 };
15654
15655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15657 if (SWIG_arg_fail(1)) SWIG_fail;
15658 {
15659 arg2 = (int)(SWIG_As_int(obj1));
15660 if (SWIG_arg_fail(2)) SWIG_fail;
15661 }
15662 {
15663 arg3 = (int)(SWIG_As_int(obj2));
15664 if (SWIG_arg_fail(3)) SWIG_fail;
15665 }
d55e5bfc
RD
15666 {
15667 PyThreadState* __tstate = wxPyBeginAllowThreads();
15668 (arg1)->SetRange(arg2,arg3);
15669
15670 wxPyEndAllowThreads(__tstate);
15671 if (PyErr_Occurred()) SWIG_fail;
15672 }
15673 Py_INCREF(Py_None); resultobj = Py_None;
15674 return resultobj;
15675 fail:
15676 return NULL;
15677}
15678
15679
c32bde28 15680static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15681 PyObject *resultobj;
15682 wxFontData *arg1 = (wxFontData *) 0 ;
15683 bool arg2 ;
15684 PyObject * obj0 = 0 ;
15685 PyObject * obj1 = 0 ;
15686 char *kwnames[] = {
15687 (char *) "self",(char *) "showHelp", NULL
15688 };
15689
15690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15692 if (SWIG_arg_fail(1)) SWIG_fail;
15693 {
15694 arg2 = (bool)(SWIG_As_bool(obj1));
15695 if (SWIG_arg_fail(2)) SWIG_fail;
15696 }
d55e5bfc
RD
15697 {
15698 PyThreadState* __tstate = wxPyBeginAllowThreads();
15699 (arg1)->SetShowHelp(arg2);
15700
15701 wxPyEndAllowThreads(__tstate);
15702 if (PyErr_Occurred()) SWIG_fail;
15703 }
15704 Py_INCREF(Py_None); resultobj = Py_None;
15705 return resultobj;
15706 fail:
15707 return NULL;
15708}
15709
15710
c32bde28 15711static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15712 PyObject *obj;
15713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15714 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15715 Py_INCREF(obj);
15716 return Py_BuildValue((char *)"");
15717}
c32bde28 15718static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15719 PyObject *resultobj;
15720 wxWindow *arg1 = (wxWindow *) 0 ;
15721 wxFontData *arg2 = 0 ;
15722 wxFontDialog *result;
15723 PyObject * obj0 = 0 ;
15724 PyObject * obj1 = 0 ;
15725 char *kwnames[] = {
15726 (char *) "parent",(char *) "data", NULL
15727 };
15728
15729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15731 if (SWIG_arg_fail(1)) SWIG_fail;
15732 {
15733 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15734 if (SWIG_arg_fail(2)) SWIG_fail;
15735 if (arg2 == NULL) {
15736 SWIG_null_ref("wxFontData");
15737 }
15738 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15739 }
15740 {
0439c23b 15741 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15742 PyThreadState* __tstate = wxPyBeginAllowThreads();
15743 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15744
15745 wxPyEndAllowThreads(__tstate);
110da5b0 15746 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15747 }
15748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15749 return resultobj;
15750 fail:
15751 return NULL;
15752}
15753
15754
c32bde28 15755static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15756 PyObject *resultobj;
15757 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15758 wxFontData *result;
15759 PyObject * obj0 = 0 ;
15760 char *kwnames[] = {
15761 (char *) "self", NULL
15762 };
15763
15764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15766 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15767 {
15768 PyThreadState* __tstate = wxPyBeginAllowThreads();
15769 {
15770 wxFontData &_result_ref = (arg1)->GetFontData();
15771 result = (wxFontData *) &_result_ref;
15772 }
15773
15774 wxPyEndAllowThreads(__tstate);
15775 if (PyErr_Occurred()) SWIG_fail;
15776 }
15777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15778 return resultobj;
15779 fail:
15780 return NULL;
15781}
15782
15783
c32bde28 15784static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15785 PyObject *obj;
15786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15787 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15788 Py_INCREF(obj);
15789 return Py_BuildValue((char *)"");
15790}
c32bde28 15791static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15792 PyObject *resultobj;
15793 wxWindow *arg1 = (wxWindow *) 0 ;
15794 wxString *arg2 = 0 ;
15795 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15796 wxString *arg3 = (wxString *) &arg3_defvalue ;
15797 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15798 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15799 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15800 wxMessageDialog *result;
ae8162c8
RD
15801 bool temp2 = false ;
15802 bool temp3 = false ;
d55e5bfc
RD
15803 wxPoint temp5 ;
15804 PyObject * obj0 = 0 ;
15805 PyObject * obj1 = 0 ;
15806 PyObject * obj2 = 0 ;
15807 PyObject * obj3 = 0 ;
15808 PyObject * obj4 = 0 ;
15809 char *kwnames[] = {
15810 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15811 };
15812
15813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
15814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15815 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15816 {
15817 arg2 = wxString_in_helper(obj1);
15818 if (arg2 == NULL) SWIG_fail;
ae8162c8 15819 temp2 = true;
d55e5bfc
RD
15820 }
15821 if (obj2) {
15822 {
15823 arg3 = wxString_in_helper(obj2);
15824 if (arg3 == NULL) SWIG_fail;
ae8162c8 15825 temp3 = true;
d55e5bfc
RD
15826 }
15827 }
15828 if (obj3) {
093d3ff1
RD
15829 {
15830 arg4 = (long)(SWIG_As_long(obj3));
15831 if (SWIG_arg_fail(4)) SWIG_fail;
15832 }
d55e5bfc
RD
15833 }
15834 if (obj4) {
15835 {
15836 arg5 = &temp5;
15837 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15838 }
15839 }
15840 {
0439c23b 15841 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15842 PyThreadState* __tstate = wxPyBeginAllowThreads();
15843 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15844
15845 wxPyEndAllowThreads(__tstate);
110da5b0 15846 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15847 }
15848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15849 {
15850 if (temp2)
15851 delete arg2;
15852 }
15853 {
15854 if (temp3)
15855 delete arg3;
15856 }
15857 return resultobj;
15858 fail:
15859 {
15860 if (temp2)
15861 delete arg2;
15862 }
15863 {
15864 if (temp3)
15865 delete arg3;
15866 }
15867 return NULL;
15868}
15869
15870
c32bde28 15871static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15872 PyObject *obj;
15873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15874 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15875 Py_INCREF(obj);
15876 return Py_BuildValue((char *)"");
15877}
c32bde28 15878static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15879 PyObject *resultobj;
15880 wxString *arg1 = 0 ;
15881 wxString *arg2 = 0 ;
15882 int arg3 = (int) 100 ;
15883 wxWindow *arg4 = (wxWindow *) NULL ;
15884 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15885 wxProgressDialog *result;
ae8162c8
RD
15886 bool temp1 = false ;
15887 bool temp2 = false ;
d55e5bfc
RD
15888 PyObject * obj0 = 0 ;
15889 PyObject * obj1 = 0 ;
15890 PyObject * obj2 = 0 ;
15891 PyObject * obj3 = 0 ;
15892 PyObject * obj4 = 0 ;
15893 char *kwnames[] = {
15894 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15895 };
15896
15897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15898 {
15899 arg1 = wxString_in_helper(obj0);
15900 if (arg1 == NULL) SWIG_fail;
ae8162c8 15901 temp1 = true;
d55e5bfc
RD
15902 }
15903 {
15904 arg2 = wxString_in_helper(obj1);
15905 if (arg2 == NULL) SWIG_fail;
ae8162c8 15906 temp2 = true;
d55e5bfc
RD
15907 }
15908 if (obj2) {
093d3ff1
RD
15909 {
15910 arg3 = (int)(SWIG_As_int(obj2));
15911 if (SWIG_arg_fail(3)) SWIG_fail;
15912 }
d55e5bfc
RD
15913 }
15914 if (obj3) {
093d3ff1
RD
15915 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15916 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
15917 }
15918 if (obj4) {
093d3ff1
RD
15919 {
15920 arg5 = (int)(SWIG_As_int(obj4));
15921 if (SWIG_arg_fail(5)) SWIG_fail;
15922 }
d55e5bfc
RD
15923 }
15924 {
0439c23b 15925 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15926 PyThreadState* __tstate = wxPyBeginAllowThreads();
15927 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15928
15929 wxPyEndAllowThreads(__tstate);
110da5b0 15930 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15931 }
15932 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
15933 {
15934 if (temp1)
15935 delete arg1;
15936 }
15937 {
15938 if (temp2)
15939 delete arg2;
15940 }
15941 return resultobj;
15942 fail:
15943 {
15944 if (temp1)
15945 delete arg1;
15946 }
15947 {
15948 if (temp2)
15949 delete arg2;
15950 }
15951 return NULL;
15952}
15953
15954
c32bde28 15955static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15956 PyObject *resultobj;
15957 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15958 int arg2 ;
15959 wxString const &arg3_defvalue = wxPyEmptyString ;
15960 wxString *arg3 = (wxString *) &arg3_defvalue ;
15961 bool result;
ae8162c8 15962 bool temp3 = false ;
d55e5bfc
RD
15963 PyObject * obj0 = 0 ;
15964 PyObject * obj1 = 0 ;
15965 PyObject * obj2 = 0 ;
15966 char *kwnames[] = {
15967 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15968 };
15969
15970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15972 if (SWIG_arg_fail(1)) SWIG_fail;
15973 {
15974 arg2 = (int)(SWIG_As_int(obj1));
15975 if (SWIG_arg_fail(2)) SWIG_fail;
15976 }
d55e5bfc
RD
15977 if (obj2) {
15978 {
15979 arg3 = wxString_in_helper(obj2);
15980 if (arg3 == NULL) SWIG_fail;
ae8162c8 15981 temp3 = true;
d55e5bfc
RD
15982 }
15983 }
15984 {
15985 PyThreadState* __tstate = wxPyBeginAllowThreads();
15986 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
15987
15988 wxPyEndAllowThreads(__tstate);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 }
15991 {
15992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15993 }
15994 {
15995 if (temp3)
15996 delete arg3;
15997 }
15998 return resultobj;
15999 fail:
16000 {
16001 if (temp3)
16002 delete arg3;
16003 }
16004 return NULL;
16005}
16006
16007
c32bde28 16008static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16009 PyObject *resultobj;
16010 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16011 PyObject * obj0 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
16017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16018 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16019 {
16020 PyThreadState* __tstate = wxPyBeginAllowThreads();
16021 (arg1)->Resume();
16022
16023 wxPyEndAllowThreads(__tstate);
16024 if (PyErr_Occurred()) SWIG_fail;
16025 }
16026 Py_INCREF(Py_None); resultobj = Py_None;
16027 return resultobj;
16028 fail:
16029 return NULL;
16030}
16031
16032
c32bde28 16033static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16034 PyObject *obj;
16035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16036 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16037 Py_INCREF(obj);
16038 return Py_BuildValue((char *)"");
16039}
c32bde28 16040static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16041 PyObject *resultobj;
16042 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16043 int arg2 = (int) 0 ;
16044 wxFindDialogEvent *result;
16045 PyObject * obj0 = 0 ;
16046 PyObject * obj1 = 0 ;
16047 char *kwnames[] = {
16048 (char *) "commandType",(char *) "id", NULL
16049 };
16050
16051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16052 if (obj0) {
093d3ff1
RD
16053 {
16054 arg1 = (wxEventType)(SWIG_As_int(obj0));
16055 if (SWIG_arg_fail(1)) SWIG_fail;
16056 }
d55e5bfc
RD
16057 }
16058 if (obj1) {
093d3ff1
RD
16059 {
16060 arg2 = (int)(SWIG_As_int(obj1));
16061 if (SWIG_arg_fail(2)) SWIG_fail;
16062 }
d55e5bfc
RD
16063 }
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16067
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
16071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
16072 return resultobj;
16073 fail:
16074 return NULL;
16075}
16076
16077
c32bde28 16078static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16079 PyObject *resultobj;
16080 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16081 int result;
16082 PyObject * obj0 = 0 ;
16083 char *kwnames[] = {
16084 (char *) "self", NULL
16085 };
16086
16087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16089 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16090 {
16091 PyThreadState* __tstate = wxPyBeginAllowThreads();
16092 result = (int)(arg1)->GetFlags();
16093
16094 wxPyEndAllowThreads(__tstate);
16095 if (PyErr_Occurred()) SWIG_fail;
16096 }
093d3ff1
RD
16097 {
16098 resultobj = SWIG_From_int((int)(result));
16099 }
d55e5bfc
RD
16100 return resultobj;
16101 fail:
16102 return NULL;
16103}
16104
16105
c32bde28 16106static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16107 PyObject *resultobj;
16108 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16109 wxString *result;
16110 PyObject * obj0 = 0 ;
16111 char *kwnames[] = {
16112 (char *) "self", NULL
16113 };
16114
16115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16117 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16118 {
16119 PyThreadState* __tstate = wxPyBeginAllowThreads();
16120 {
16121 wxString const &_result_ref = (arg1)->GetFindString();
16122 result = (wxString *) &_result_ref;
16123 }
16124
16125 wxPyEndAllowThreads(__tstate);
16126 if (PyErr_Occurred()) SWIG_fail;
16127 }
16128 {
16129#if wxUSE_UNICODE
16130 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16131#else
16132 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16133#endif
16134 }
16135 return resultobj;
16136 fail:
16137 return NULL;
16138}
16139
16140
c32bde28 16141static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16142 PyObject *resultobj;
16143 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16144 wxString *result;
16145 PyObject * obj0 = 0 ;
16146 char *kwnames[] = {
16147 (char *) "self", NULL
16148 };
16149
16150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16152 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16153 {
16154 PyThreadState* __tstate = wxPyBeginAllowThreads();
16155 {
16156 wxString const &_result_ref = (arg1)->GetReplaceString();
16157 result = (wxString *) &_result_ref;
16158 }
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 {
16164#if wxUSE_UNICODE
16165 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16166#else
16167 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16168#endif
16169 }
16170 return resultobj;
16171 fail:
16172 return NULL;
16173}
16174
16175
c32bde28 16176static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16177 PyObject *resultobj;
16178 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16179 wxFindReplaceDialog *result;
16180 PyObject * obj0 = 0 ;
16181 char *kwnames[] = {
16182 (char *) "self", NULL
16183 };
16184
16185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",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 = (wxFindReplaceDialog *)(arg1)->GetDialog();
16191
16192 wxPyEndAllowThreads(__tstate);
16193 if (PyErr_Occurred()) SWIG_fail;
16194 }
16195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16196 return resultobj;
16197 fail:
16198 return NULL;
16199}
16200
16201
c32bde28 16202static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16203 PyObject *resultobj;
16204 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16205 int arg2 ;
16206 PyObject * obj0 = 0 ;
16207 PyObject * obj1 = 0 ;
16208 char *kwnames[] = {
16209 (char *) "self",(char *) "flags", NULL
16210 };
16211
16212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16214 if (SWIG_arg_fail(1)) SWIG_fail;
16215 {
16216 arg2 = (int)(SWIG_As_int(obj1));
16217 if (SWIG_arg_fail(2)) SWIG_fail;
16218 }
d55e5bfc
RD
16219 {
16220 PyThreadState* __tstate = wxPyBeginAllowThreads();
16221 (arg1)->SetFlags(arg2);
16222
16223 wxPyEndAllowThreads(__tstate);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 }
16226 Py_INCREF(Py_None); resultobj = Py_None;
16227 return resultobj;
16228 fail:
16229 return NULL;
16230}
16231
16232
c32bde28 16233static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16234 PyObject *resultobj;
16235 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16236 wxString *arg2 = 0 ;
ae8162c8 16237 bool temp2 = false ;
d55e5bfc
RD
16238 PyObject * obj0 = 0 ;
16239 PyObject * obj1 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self",(char *) "str", NULL
16242 };
16243
16244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16246 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16247 {
16248 arg2 = wxString_in_helper(obj1);
16249 if (arg2 == NULL) SWIG_fail;
ae8162c8 16250 temp2 = true;
d55e5bfc
RD
16251 }
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
16254 (arg1)->SetFindString((wxString const &)*arg2);
16255
16256 wxPyEndAllowThreads(__tstate);
16257 if (PyErr_Occurred()) SWIG_fail;
16258 }
16259 Py_INCREF(Py_None); resultobj = Py_None;
16260 {
16261 if (temp2)
16262 delete arg2;
16263 }
16264 return resultobj;
16265 fail:
16266 {
16267 if (temp2)
16268 delete arg2;
16269 }
16270 return NULL;
16271}
16272
16273
c32bde28 16274static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16275 PyObject *resultobj;
16276 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16277 wxString *arg2 = 0 ;
ae8162c8 16278 bool temp2 = false ;
d55e5bfc
RD
16279 PyObject * obj0 = 0 ;
16280 PyObject * obj1 = 0 ;
16281 char *kwnames[] = {
16282 (char *) "self",(char *) "str", NULL
16283 };
16284
16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16287 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16288 {
16289 arg2 = wxString_in_helper(obj1);
16290 if (arg2 == NULL) SWIG_fail;
ae8162c8 16291 temp2 = true;
d55e5bfc
RD
16292 }
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 (arg1)->SetReplaceString((wxString const &)*arg2);
16296
16297 wxPyEndAllowThreads(__tstate);
16298 if (PyErr_Occurred()) SWIG_fail;
16299 }
16300 Py_INCREF(Py_None); resultobj = Py_None;
16301 {
16302 if (temp2)
16303 delete arg2;
16304 }
16305 return resultobj;
16306 fail:
16307 {
16308 if (temp2)
16309 delete arg2;
16310 }
16311 return NULL;
16312}
16313
16314
c32bde28 16315static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16316 PyObject *obj;
16317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16318 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16319 Py_INCREF(obj);
16320 return Py_BuildValue((char *)"");
16321}
c32bde28 16322static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16323 PyObject *resultobj;
16324 int arg1 = (int) 0 ;
16325 wxFindReplaceData *result;
16326 PyObject * obj0 = 0 ;
16327 char *kwnames[] = {
16328 (char *) "flags", NULL
16329 };
16330
16331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16332 if (obj0) {
093d3ff1
RD
16333 {
16334 arg1 = (int)(SWIG_As_int(obj0));
16335 if (SWIG_arg_fail(1)) SWIG_fail;
16336 }
d55e5bfc
RD
16337 }
16338 {
16339 PyThreadState* __tstate = wxPyBeginAllowThreads();
16340 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16341
16342 wxPyEndAllowThreads(__tstate);
16343 if (PyErr_Occurred()) SWIG_fail;
16344 }
16345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16346 return resultobj;
16347 fail:
16348 return NULL;
16349}
16350
16351
c32bde28 16352static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16353 PyObject *resultobj;
16354 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16355 PyObject * obj0 = 0 ;
16356 char *kwnames[] = {
16357 (char *) "self", NULL
16358 };
16359
16360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16362 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16363 {
16364 PyThreadState* __tstate = wxPyBeginAllowThreads();
16365 delete arg1;
16366
16367 wxPyEndAllowThreads(__tstate);
16368 if (PyErr_Occurred()) SWIG_fail;
16369 }
16370 Py_INCREF(Py_None); resultobj = Py_None;
16371 return resultobj;
16372 fail:
16373 return NULL;
16374}
16375
16376
c32bde28 16377static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16378 PyObject *resultobj;
16379 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16380 wxString *result;
16381 PyObject * obj0 = 0 ;
16382 char *kwnames[] = {
16383 (char *) "self", NULL
16384 };
16385
16386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16388 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 {
16392 wxString const &_result_ref = (arg1)->GetFindString();
16393 result = (wxString *) &_result_ref;
16394 }
16395
16396 wxPyEndAllowThreads(__tstate);
16397 if (PyErr_Occurred()) SWIG_fail;
16398 }
16399 {
16400#if wxUSE_UNICODE
16401 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16402#else
16403 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16404#endif
16405 }
16406 return resultobj;
16407 fail:
16408 return NULL;
16409}
16410
16411
c32bde28 16412static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16413 PyObject *resultobj;
16414 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16415 wxString *result;
16416 PyObject * obj0 = 0 ;
16417 char *kwnames[] = {
16418 (char *) "self", NULL
16419 };
16420
16421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16424 {
16425 PyThreadState* __tstate = wxPyBeginAllowThreads();
16426 {
16427 wxString const &_result_ref = (arg1)->GetReplaceString();
16428 result = (wxString *) &_result_ref;
16429 }
16430
16431 wxPyEndAllowThreads(__tstate);
16432 if (PyErr_Occurred()) SWIG_fail;
16433 }
16434 {
16435#if wxUSE_UNICODE
16436 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16437#else
16438 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16439#endif
16440 }
16441 return resultobj;
16442 fail:
16443 return NULL;
16444}
16445
16446
c32bde28 16447static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16448 PyObject *resultobj;
16449 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16450 int result;
16451 PyObject * obj0 = 0 ;
16452 char *kwnames[] = {
16453 (char *) "self", NULL
16454 };
16455
16456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16458 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
16461 result = (int)(arg1)->GetFlags();
16462
16463 wxPyEndAllowThreads(__tstate);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 }
093d3ff1
RD
16466 {
16467 resultobj = SWIG_From_int((int)(result));
16468 }
d55e5bfc
RD
16469 return resultobj;
16470 fail:
16471 return NULL;
16472}
16473
16474
c32bde28 16475static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16476 PyObject *resultobj;
16477 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16478 int arg2 ;
16479 PyObject * obj0 = 0 ;
16480 PyObject * obj1 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self",(char *) "flags", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16487 if (SWIG_arg_fail(1)) SWIG_fail;
16488 {
16489 arg2 = (int)(SWIG_As_int(obj1));
16490 if (SWIG_arg_fail(2)) SWIG_fail;
16491 }
d55e5bfc
RD
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 (arg1)->SetFlags(arg2);
16495
16496 wxPyEndAllowThreads(__tstate);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 }
16499 Py_INCREF(Py_None); resultobj = Py_None;
16500 return resultobj;
16501 fail:
16502 return NULL;
16503}
16504
16505
c32bde28 16506static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16507 PyObject *resultobj;
16508 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16509 wxString *arg2 = 0 ;
ae8162c8 16510 bool temp2 = false ;
d55e5bfc
RD
16511 PyObject * obj0 = 0 ;
16512 PyObject * obj1 = 0 ;
16513 char *kwnames[] = {
16514 (char *) "self",(char *) "str", NULL
16515 };
16516
16517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16519 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16520 {
16521 arg2 = wxString_in_helper(obj1);
16522 if (arg2 == NULL) SWIG_fail;
ae8162c8 16523 temp2 = true;
d55e5bfc
RD
16524 }
16525 {
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
16527 (arg1)->SetFindString((wxString const &)*arg2);
16528
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 Py_INCREF(Py_None); resultobj = Py_None;
16533 {
16534 if (temp2)
16535 delete arg2;
16536 }
16537 return resultobj;
16538 fail:
16539 {
16540 if (temp2)
16541 delete arg2;
16542 }
16543 return NULL;
16544}
16545
16546
c32bde28 16547static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16548 PyObject *resultobj;
16549 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16550 wxString *arg2 = 0 ;
ae8162c8 16551 bool temp2 = false ;
d55e5bfc
RD
16552 PyObject * obj0 = 0 ;
16553 PyObject * obj1 = 0 ;
16554 char *kwnames[] = {
16555 (char *) "self",(char *) "str", NULL
16556 };
16557
16558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16560 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16561 {
16562 arg2 = wxString_in_helper(obj1);
16563 if (arg2 == NULL) SWIG_fail;
ae8162c8 16564 temp2 = true;
d55e5bfc
RD
16565 }
16566 {
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 (arg1)->SetReplaceString((wxString const &)*arg2);
16569
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 Py_INCREF(Py_None); resultobj = Py_None;
16574 {
16575 if (temp2)
16576 delete arg2;
16577 }
16578 return resultobj;
16579 fail:
16580 {
16581 if (temp2)
16582 delete arg2;
16583 }
16584 return NULL;
16585}
16586
16587
c32bde28 16588static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16589 PyObject *obj;
16590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16591 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16592 Py_INCREF(obj);
16593 return Py_BuildValue((char *)"");
16594}
c32bde28 16595static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16596 PyObject *resultobj;
16597 wxWindow *arg1 = (wxWindow *) 0 ;
16598 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16599 wxString *arg3 = 0 ;
16600 int arg4 = (int) 0 ;
16601 wxFindReplaceDialog *result;
ae8162c8 16602 bool temp3 = false ;
d55e5bfc
RD
16603 PyObject * obj0 = 0 ;
16604 PyObject * obj1 = 0 ;
16605 PyObject * obj2 = 0 ;
16606 PyObject * obj3 = 0 ;
16607 char *kwnames[] = {
16608 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16609 };
16610
16611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
16612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16613 if (SWIG_arg_fail(1)) SWIG_fail;
16614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16615 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16616 {
16617 arg3 = wxString_in_helper(obj2);
16618 if (arg3 == NULL) SWIG_fail;
ae8162c8 16619 temp3 = true;
d55e5bfc
RD
16620 }
16621 if (obj3) {
093d3ff1
RD
16622 {
16623 arg4 = (int)(SWIG_As_int(obj3));
16624 if (SWIG_arg_fail(4)) SWIG_fail;
16625 }
d55e5bfc
RD
16626 }
16627 {
0439c23b 16628 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16631
16632 wxPyEndAllowThreads(__tstate);
110da5b0 16633 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16634 }
16635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16636 {
16637 if (temp3)
16638 delete arg3;
16639 }
16640 return resultobj;
16641 fail:
16642 {
16643 if (temp3)
16644 delete arg3;
16645 }
16646 return NULL;
16647}
16648
16649
c32bde28 16650static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16651 PyObject *resultobj;
16652 wxFindReplaceDialog *result;
16653 char *kwnames[] = {
16654 NULL
16655 };
16656
16657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16658 {
0439c23b 16659 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16660 PyThreadState* __tstate = wxPyBeginAllowThreads();
16661 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16662
16663 wxPyEndAllowThreads(__tstate);
110da5b0 16664 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16665 }
16666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16667 return resultobj;
16668 fail:
16669 return NULL;
16670}
16671
16672
c32bde28 16673static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16674 PyObject *resultobj;
16675 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16676 wxWindow *arg2 = (wxWindow *) 0 ;
16677 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16678 wxString *arg4 = 0 ;
16679 int arg5 = (int) 0 ;
16680 bool result;
ae8162c8 16681 bool temp4 = false ;
d55e5bfc
RD
16682 PyObject * obj0 = 0 ;
16683 PyObject * obj1 = 0 ;
16684 PyObject * obj2 = 0 ;
16685 PyObject * obj3 = 0 ;
16686 PyObject * obj4 = 0 ;
16687 char *kwnames[] = {
16688 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16689 };
16690
16691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16693 if (SWIG_arg_fail(1)) SWIG_fail;
16694 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16695 if (SWIG_arg_fail(2)) SWIG_fail;
16696 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16697 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
16698 {
16699 arg4 = wxString_in_helper(obj3);
16700 if (arg4 == NULL) SWIG_fail;
ae8162c8 16701 temp4 = true;
d55e5bfc
RD
16702 }
16703 if (obj4) {
093d3ff1
RD
16704 {
16705 arg5 = (int)(SWIG_As_int(obj4));
16706 if (SWIG_arg_fail(5)) SWIG_fail;
16707 }
d55e5bfc
RD
16708 }
16709 {
16710 PyThreadState* __tstate = wxPyBeginAllowThreads();
16711 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16712
16713 wxPyEndAllowThreads(__tstate);
16714 if (PyErr_Occurred()) SWIG_fail;
16715 }
16716 {
16717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16718 }
16719 {
16720 if (temp4)
16721 delete arg4;
16722 }
16723 return resultobj;
16724 fail:
16725 {
16726 if (temp4)
16727 delete arg4;
16728 }
16729 return NULL;
16730}
16731
16732
c32bde28 16733static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16734 PyObject *resultobj;
16735 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16736 wxFindReplaceData *result;
16737 PyObject * obj0 = 0 ;
16738 char *kwnames[] = {
16739 (char *) "self", NULL
16740 };
16741
16742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16744 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 result = (wxFindReplaceData *)(arg1)->GetData();
16748
16749 wxPyEndAllowThreads(__tstate);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 }
16752 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16753 return resultobj;
16754 fail:
16755 return NULL;
16756}
16757
16758
c32bde28 16759static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16760 PyObject *resultobj;
16761 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16762 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16763 PyObject * obj0 = 0 ;
16764 PyObject * obj1 = 0 ;
16765 char *kwnames[] = {
16766 (char *) "self",(char *) "data", NULL
16767 };
16768
16769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16771 if (SWIG_arg_fail(1)) SWIG_fail;
16772 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16773 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16774 {
16775 PyThreadState* __tstate = wxPyBeginAllowThreads();
16776 (arg1)->SetData(arg2);
16777
16778 wxPyEndAllowThreads(__tstate);
16779 if (PyErr_Occurred()) SWIG_fail;
16780 }
16781 Py_INCREF(Py_None); resultobj = Py_None;
16782 return resultobj;
16783 fail:
16784 return NULL;
16785}
16786
16787
c32bde28 16788static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16789 PyObject *obj;
16790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16791 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16792 Py_INCREF(obj);
16793 return Py_BuildValue((char *)"");
16794}
c32bde28 16795static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16796 PyObject *resultobj;
16797 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
16798 int arg2 = (int) (int)-1 ;
16799 wxString const &arg3_defvalue = wxPyEmptyString ;
16800 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
16801 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16802 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16803 wxSize const &arg5_defvalue = wxDefaultSize ;
16804 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16805 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16806 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16807 wxString *arg7 = (wxString *) &arg7_defvalue ;
16808 wxMDIParentFrame *result;
ae8162c8 16809 bool temp3 = false ;
d55e5bfc
RD
16810 wxPoint temp4 ;
16811 wxSize temp5 ;
ae8162c8 16812 bool temp7 = false ;
d55e5bfc
RD
16813 PyObject * obj0 = 0 ;
16814 PyObject * obj1 = 0 ;
16815 PyObject * obj2 = 0 ;
16816 PyObject * obj3 = 0 ;
16817 PyObject * obj4 = 0 ;
16818 PyObject * obj5 = 0 ;
16819 PyObject * obj6 = 0 ;
16820 char *kwnames[] = {
16821 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16822 };
16823
248ed943 16824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
16825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16826 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 16827 if (obj1) {
093d3ff1
RD
16828 {
16829 arg2 = (int const)(SWIG_As_int(obj1));
16830 if (SWIG_arg_fail(2)) SWIG_fail;
16831 }
248ed943
RD
16832 }
16833 if (obj2) {
16834 {
16835 arg3 = wxString_in_helper(obj2);
16836 if (arg3 == NULL) SWIG_fail;
ae8162c8 16837 temp3 = true;
248ed943 16838 }
d55e5bfc
RD
16839 }
16840 if (obj3) {
16841 {
16842 arg4 = &temp4;
16843 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16844 }
16845 }
16846 if (obj4) {
16847 {
16848 arg5 = &temp5;
16849 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16850 }
16851 }
16852 if (obj5) {
093d3ff1
RD
16853 {
16854 arg6 = (long)(SWIG_As_long(obj5));
16855 if (SWIG_arg_fail(6)) SWIG_fail;
16856 }
d55e5bfc
RD
16857 }
16858 if (obj6) {
16859 {
16860 arg7 = wxString_in_helper(obj6);
16861 if (arg7 == NULL) SWIG_fail;
ae8162c8 16862 temp7 = true;
d55e5bfc
RD
16863 }
16864 }
16865 {
0439c23b 16866 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16867 PyThreadState* __tstate = wxPyBeginAllowThreads();
16868 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16869
16870 wxPyEndAllowThreads(__tstate);
110da5b0 16871 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16872 }
16873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16874 {
16875 if (temp3)
16876 delete arg3;
16877 }
16878 {
16879 if (temp7)
16880 delete arg7;
16881 }
16882 return resultobj;
16883 fail:
16884 {
16885 if (temp3)
16886 delete arg3;
16887 }
16888 {
16889 if (temp7)
16890 delete arg7;
16891 }
16892 return NULL;
16893}
16894
16895
c32bde28 16896static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16897 PyObject *resultobj;
16898 wxMDIParentFrame *result;
16899 char *kwnames[] = {
16900 NULL
16901 };
16902
16903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16904 {
0439c23b 16905 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16906 PyThreadState* __tstate = wxPyBeginAllowThreads();
16907 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16908
16909 wxPyEndAllowThreads(__tstate);
110da5b0 16910 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16911 }
16912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16913 return resultobj;
16914 fail:
16915 return NULL;
16916}
16917
16918
c32bde28 16919static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16920 PyObject *resultobj;
16921 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16922 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
16923 int arg3 = (int) (int)-1 ;
16924 wxString const &arg4_defvalue = wxPyEmptyString ;
16925 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
16926 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16927 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16928 wxSize const &arg6_defvalue = wxDefaultSize ;
16929 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16930 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16931 wxString const &arg8_defvalue = wxPyFrameNameStr ;
16932 wxString *arg8 = (wxString *) &arg8_defvalue ;
16933 bool result;
ae8162c8 16934 bool temp4 = false ;
d55e5bfc
RD
16935 wxPoint temp5 ;
16936 wxSize temp6 ;
ae8162c8 16937 bool temp8 = false ;
d55e5bfc
RD
16938 PyObject * obj0 = 0 ;
16939 PyObject * obj1 = 0 ;
16940 PyObject * obj2 = 0 ;
16941 PyObject * obj3 = 0 ;
16942 PyObject * obj4 = 0 ;
16943 PyObject * obj5 = 0 ;
16944 PyObject * obj6 = 0 ;
16945 PyObject * obj7 = 0 ;
16946 char *kwnames[] = {
16947 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16948 };
16949
248ed943 16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
16951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16952 if (SWIG_arg_fail(1)) SWIG_fail;
16953 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16954 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 16955 if (obj2) {
093d3ff1
RD
16956 {
16957 arg3 = (int const)(SWIG_As_int(obj2));
16958 if (SWIG_arg_fail(3)) SWIG_fail;
16959 }
248ed943
RD
16960 }
16961 if (obj3) {
16962 {
16963 arg4 = wxString_in_helper(obj3);
16964 if (arg4 == NULL) SWIG_fail;
ae8162c8 16965 temp4 = true;
248ed943 16966 }
d55e5bfc
RD
16967 }
16968 if (obj4) {
16969 {
16970 arg5 = &temp5;
16971 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16972 }
16973 }
16974 if (obj5) {
16975 {
16976 arg6 = &temp6;
16977 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16978 }
16979 }
16980 if (obj6) {
093d3ff1
RD
16981 {
16982 arg7 = (long)(SWIG_As_long(obj6));
16983 if (SWIG_arg_fail(7)) SWIG_fail;
16984 }
d55e5bfc
RD
16985 }
16986 if (obj7) {
16987 {
16988 arg8 = wxString_in_helper(obj7);
16989 if (arg8 == NULL) SWIG_fail;
ae8162c8 16990 temp8 = true;
d55e5bfc
RD
16991 }
16992 }
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
16996
16997 wxPyEndAllowThreads(__tstate);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 {
17001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17002 }
17003 {
17004 if (temp4)
17005 delete arg4;
17006 }
17007 {
17008 if (temp8)
17009 delete arg8;
17010 }
17011 return resultobj;
17012 fail:
17013 {
17014 if (temp4)
17015 delete arg4;
17016 }
17017 {
17018 if (temp8)
17019 delete arg8;
17020 }
17021 return NULL;
17022}
17023
17024
c32bde28 17025static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17026 PyObject *resultobj;
17027 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17028 PyObject * obj0 = 0 ;
17029 char *kwnames[] = {
17030 (char *) "self", NULL
17031 };
17032
17033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
17034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17035 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17036 {
17037 PyThreadState* __tstate = wxPyBeginAllowThreads();
17038 (arg1)->ActivateNext();
17039
17040 wxPyEndAllowThreads(__tstate);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 }
17043 Py_INCREF(Py_None); resultobj = Py_None;
17044 return resultobj;
17045 fail:
17046 return NULL;
17047}
17048
17049
c32bde28 17050static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17051 PyObject *resultobj;
17052 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17053 PyObject * obj0 = 0 ;
17054 char *kwnames[] = {
17055 (char *) "self", NULL
17056 };
17057
17058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
17059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17060 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17061 {
17062 PyThreadState* __tstate = wxPyBeginAllowThreads();
17063 (arg1)->ActivatePrevious();
17064
17065 wxPyEndAllowThreads(__tstate);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
17068 Py_INCREF(Py_None); resultobj = Py_None;
17069 return resultobj;
17070 fail:
17071 return NULL;
17072}
17073
17074
c32bde28 17075static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17076 PyObject *resultobj;
17077 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17078 PyObject * obj0 = 0 ;
17079 char *kwnames[] = {
17080 (char *) "self", NULL
17081 };
17082
17083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
093d3ff1
RD
17084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17085 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17086 {
17087 PyThreadState* __tstate = wxPyBeginAllowThreads();
17088 (arg1)->ArrangeIcons();
17089
17090 wxPyEndAllowThreads(__tstate);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 }
17093 Py_INCREF(Py_None); resultobj = Py_None;
17094 return resultobj;
17095 fail:
17096 return NULL;
17097}
17098
17099
c32bde28 17100static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17101 PyObject *resultobj;
17102 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17103 PyObject * obj0 = 0 ;
17104 char *kwnames[] = {
17105 (char *) "self", NULL
17106 };
17107
17108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
093d3ff1
RD
17109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17110 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17111 {
17112 PyThreadState* __tstate = wxPyBeginAllowThreads();
17113 (arg1)->Cascade();
17114
17115 wxPyEndAllowThreads(__tstate);
17116 if (PyErr_Occurred()) SWIG_fail;
17117 }
17118 Py_INCREF(Py_None); resultobj = Py_None;
17119 return resultobj;
17120 fail:
17121 return NULL;
17122}
17123
17124
c32bde28 17125static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17126 PyObject *resultobj;
17127 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17128 wxMDIChildFrame *result;
17129 PyObject * obj0 = 0 ;
17130 char *kwnames[] = {
17131 (char *) "self", NULL
17132 };
17133
17134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
17135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17136 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17137 {
17138 PyThreadState* __tstate = wxPyBeginAllowThreads();
17139 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17140
17141 wxPyEndAllowThreads(__tstate);
17142 if (PyErr_Occurred()) SWIG_fail;
17143 }
17144 {
412d302d 17145 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17146 }
17147 return resultobj;
17148 fail:
17149 return NULL;
17150}
17151
17152
c32bde28 17153static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17154 PyObject *resultobj;
17155 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17156 wxMDIClientWindow *result;
17157 PyObject * obj0 = 0 ;
17158 char *kwnames[] = {
17159 (char *) "self", NULL
17160 };
17161
17162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
17163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17164 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17168
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 {
412d302d 17173 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17174 }
17175 return resultobj;
17176 fail:
17177 return NULL;
17178}
17179
17180
c32bde28 17181static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17182 PyObject *resultobj;
17183 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17184 wxWindow *result;
17185 PyObject * obj0 = 0 ;
17186 char *kwnames[] = {
17187 (char *) "self", NULL
17188 };
17189
17190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
17191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 result = (wxWindow *)(arg1)->GetToolBar();
17196
17197 wxPyEndAllowThreads(__tstate);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
17200 {
412d302d 17201 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17202 }
17203 return resultobj;
17204 fail:
17205 return NULL;
17206}
17207
17208
c32bde28 17209static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17210 PyObject *resultobj;
17211 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17212 wxMenu *result;
17213 PyObject * obj0 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "self", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
17219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17220 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17221 {
17222 PyThreadState* __tstate = wxPyBeginAllowThreads();
17223 result = (wxMenu *)(arg1)->GetWindowMenu();
17224
17225 wxPyEndAllowThreads(__tstate);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 }
17228 {
412d302d 17229 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17230 }
17231 return resultobj;
17232 fail:
17233 return NULL;
17234}
17235
17236
c32bde28 17237static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17238 PyObject *resultobj;
17239 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17240 wxMenu *arg2 = (wxMenu *) 0 ;
17241 PyObject * obj0 = 0 ;
17242 PyObject * obj1 = 0 ;
17243 char *kwnames[] = {
17244 (char *) "self",(char *) "menu", NULL
17245 };
17246
17247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17249 if (SWIG_arg_fail(1)) SWIG_fail;
17250 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
17251 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17252 {
17253 PyThreadState* __tstate = wxPyBeginAllowThreads();
17254 (arg1)->SetWindowMenu(arg2);
17255
17256 wxPyEndAllowThreads(__tstate);
17257 if (PyErr_Occurred()) SWIG_fail;
17258 }
17259 Py_INCREF(Py_None); resultobj = Py_None;
17260 return resultobj;
17261 fail:
17262 return NULL;
17263}
17264
17265
c32bde28 17266static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17267 PyObject *resultobj;
17268 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17269 wxToolBar *arg2 = (wxToolBar *) 0 ;
17270 PyObject * obj0 = 0 ;
17271 PyObject * obj1 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "self",(char *) "toolbar", NULL
17274 };
17275
17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17278 if (SWIG_arg_fail(1)) SWIG_fail;
17279 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
17280 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 (arg1)->SetToolBar(arg2);
17284
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 Py_INCREF(Py_None); resultobj = Py_None;
17289 return resultobj;
17290 fail:
17291 return NULL;
17292}
17293
17294
c32bde28 17295static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17296 PyObject *resultobj;
17297 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17298 PyObject * obj0 = 0 ;
17299 char *kwnames[] = {
17300 (char *) "self", NULL
17301 };
17302
17303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
093d3ff1
RD
17304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17306 {
17307 PyThreadState* __tstate = wxPyBeginAllowThreads();
17308 (arg1)->Tile();
17309
17310 wxPyEndAllowThreads(__tstate);
17311 if (PyErr_Occurred()) SWIG_fail;
17312 }
17313 Py_INCREF(Py_None); resultobj = Py_None;
17314 return resultobj;
17315 fail:
17316 return NULL;
17317}
17318
17319
c32bde28 17320static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17321 PyObject *obj;
17322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17323 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17324 Py_INCREF(obj);
17325 return Py_BuildValue((char *)"");
17326}
c32bde28 17327static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17328 PyObject *resultobj;
17329 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17330 int arg2 = (int) (int)-1 ;
17331 wxString const &arg3_defvalue = wxPyEmptyString ;
17332 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
17333 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17334 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17335 wxSize const &arg5_defvalue = wxDefaultSize ;
17336 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17337 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17338 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17339 wxString *arg7 = (wxString *) &arg7_defvalue ;
17340 wxMDIChildFrame *result;
ae8162c8 17341 bool temp3 = false ;
d55e5bfc
RD
17342 wxPoint temp4 ;
17343 wxSize temp5 ;
ae8162c8 17344 bool temp7 = false ;
d55e5bfc
RD
17345 PyObject * obj0 = 0 ;
17346 PyObject * obj1 = 0 ;
17347 PyObject * obj2 = 0 ;
17348 PyObject * obj3 = 0 ;
17349 PyObject * obj4 = 0 ;
17350 PyObject * obj5 = 0 ;
17351 PyObject * obj6 = 0 ;
17352 char *kwnames[] = {
17353 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17354 };
17355
248ed943 17356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17358 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17359 if (obj1) {
093d3ff1
RD
17360 {
17361 arg2 = (int const)(SWIG_As_int(obj1));
17362 if (SWIG_arg_fail(2)) SWIG_fail;
17363 }
248ed943
RD
17364 }
17365 if (obj2) {
17366 {
17367 arg3 = wxString_in_helper(obj2);
17368 if (arg3 == NULL) SWIG_fail;
ae8162c8 17369 temp3 = true;
248ed943 17370 }
d55e5bfc
RD
17371 }
17372 if (obj3) {
17373 {
17374 arg4 = &temp4;
17375 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17376 }
17377 }
17378 if (obj4) {
17379 {
17380 arg5 = &temp5;
17381 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17382 }
17383 }
17384 if (obj5) {
093d3ff1
RD
17385 {
17386 arg6 = (long)(SWIG_As_long(obj5));
17387 if (SWIG_arg_fail(6)) SWIG_fail;
17388 }
d55e5bfc
RD
17389 }
17390 if (obj6) {
17391 {
17392 arg7 = wxString_in_helper(obj6);
17393 if (arg7 == NULL) SWIG_fail;
ae8162c8 17394 temp7 = true;
d55e5bfc
RD
17395 }
17396 }
17397 {
0439c23b 17398 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17401
17402 wxPyEndAllowThreads(__tstate);
110da5b0 17403 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17404 }
b0f7404b 17405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17406 {
17407 if (temp3)
17408 delete arg3;
17409 }
17410 {
17411 if (temp7)
17412 delete arg7;
17413 }
17414 return resultobj;
17415 fail:
17416 {
17417 if (temp3)
17418 delete arg3;
17419 }
17420 {
17421 if (temp7)
17422 delete arg7;
17423 }
17424 return NULL;
17425}
17426
17427
c32bde28 17428static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17429 PyObject *resultobj;
17430 wxMDIChildFrame *result;
17431 char *kwnames[] = {
17432 NULL
17433 };
17434
17435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17436 {
0439c23b 17437 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17440
17441 wxPyEndAllowThreads(__tstate);
110da5b0 17442 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17443 }
b0f7404b 17444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17445 return resultobj;
17446 fail:
17447 return NULL;
17448}
17449
17450
c32bde28 17451static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17452 PyObject *resultobj;
17453 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17454 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17455 int arg3 = (int) (int)-1 ;
17456 wxString const &arg4_defvalue = wxPyEmptyString ;
17457 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
17458 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17459 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17460 wxSize const &arg6_defvalue = wxDefaultSize ;
17461 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17462 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17463 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17464 wxString *arg8 = (wxString *) &arg8_defvalue ;
17465 bool result;
ae8162c8 17466 bool temp4 = false ;
d55e5bfc
RD
17467 wxPoint temp5 ;
17468 wxSize temp6 ;
ae8162c8 17469 bool temp8 = false ;
d55e5bfc
RD
17470 PyObject * obj0 = 0 ;
17471 PyObject * obj1 = 0 ;
17472 PyObject * obj2 = 0 ;
17473 PyObject * obj3 = 0 ;
17474 PyObject * obj4 = 0 ;
17475 PyObject * obj5 = 0 ;
17476 PyObject * obj6 = 0 ;
17477 PyObject * obj7 = 0 ;
17478 char *kwnames[] = {
17479 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17480 };
17481
248ed943 17482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
17483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17484 if (SWIG_arg_fail(1)) SWIG_fail;
17485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17486 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17487 if (obj2) {
093d3ff1
RD
17488 {
17489 arg3 = (int const)(SWIG_As_int(obj2));
17490 if (SWIG_arg_fail(3)) SWIG_fail;
17491 }
248ed943
RD
17492 }
17493 if (obj3) {
17494 {
17495 arg4 = wxString_in_helper(obj3);
17496 if (arg4 == NULL) SWIG_fail;
ae8162c8 17497 temp4 = true;
248ed943 17498 }
d55e5bfc
RD
17499 }
17500 if (obj4) {
17501 {
17502 arg5 = &temp5;
17503 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17504 }
17505 }
17506 if (obj5) {
17507 {
17508 arg6 = &temp6;
17509 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17510 }
17511 }
17512 if (obj6) {
093d3ff1
RD
17513 {
17514 arg7 = (long)(SWIG_As_long(obj6));
17515 if (SWIG_arg_fail(7)) SWIG_fail;
17516 }
d55e5bfc
RD
17517 }
17518 if (obj7) {
17519 {
17520 arg8 = wxString_in_helper(obj7);
17521 if (arg8 == NULL) SWIG_fail;
ae8162c8 17522 temp8 = true;
d55e5bfc
RD
17523 }
17524 }
17525 {
17526 PyThreadState* __tstate = wxPyBeginAllowThreads();
17527 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17528
17529 wxPyEndAllowThreads(__tstate);
17530 if (PyErr_Occurred()) SWIG_fail;
17531 }
17532 {
17533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17534 }
17535 {
17536 if (temp4)
17537 delete arg4;
17538 }
17539 {
17540 if (temp8)
17541 delete arg8;
17542 }
17543 return resultobj;
17544 fail:
17545 {
17546 if (temp4)
17547 delete arg4;
17548 }
17549 {
17550 if (temp8)
17551 delete arg8;
17552 }
17553 return NULL;
17554}
17555
17556
c32bde28 17557static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17558 PyObject *resultobj;
17559 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17560 PyObject * obj0 = 0 ;
17561 char *kwnames[] = {
17562 (char *) "self", NULL
17563 };
17564
17565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
093d3ff1
RD
17566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17567 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17568 {
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 (arg1)->Activate();
17571
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 Py_INCREF(Py_None); resultobj = Py_None;
17576 return resultobj;
17577 fail:
17578 return NULL;
17579}
17580
17581
c32bde28 17582static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17583 PyObject *resultobj;
17584 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
b519803b 17585 bool arg2 = (bool) true ;
d55e5bfc
RD
17586 PyObject * obj0 = 0 ;
17587 PyObject * obj1 = 0 ;
17588 char *kwnames[] = {
17589 (char *) "self",(char *) "maximize", NULL
17590 };
17591
b519803b 17592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17594 if (SWIG_arg_fail(1)) SWIG_fail;
b519803b 17595 if (obj1) {
093d3ff1
RD
17596 {
17597 arg2 = (bool)(SWIG_As_bool(obj1));
17598 if (SWIG_arg_fail(2)) SWIG_fail;
17599 }
b519803b 17600 }
d55e5bfc
RD
17601 {
17602 PyThreadState* __tstate = wxPyBeginAllowThreads();
17603 (arg1)->Maximize(arg2);
17604
17605 wxPyEndAllowThreads(__tstate);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
17608 Py_INCREF(Py_None); resultobj = Py_None;
17609 return resultobj;
17610 fail:
17611 return NULL;
17612}
17613
17614
c32bde28 17615static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17616 PyObject *resultobj;
17617 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17618 PyObject * obj0 = 0 ;
17619 char *kwnames[] = {
17620 (char *) "self", NULL
17621 };
17622
17623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
17624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17626 {
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 (arg1)->Restore();
17629
17630 wxPyEndAllowThreads(__tstate);
17631 if (PyErr_Occurred()) SWIG_fail;
17632 }
17633 Py_INCREF(Py_None); resultobj = Py_None;
17634 return resultobj;
17635 fail:
17636 return NULL;
17637}
17638
17639
c32bde28 17640static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17641 PyObject *obj;
17642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17643 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17644 Py_INCREF(obj);
17645 return Py_BuildValue((char *)"");
17646}
c32bde28 17647static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17648 PyObject *resultobj;
17649 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17650 long arg2 = (long) 0 ;
17651 wxMDIClientWindow *result;
17652 PyObject * obj0 = 0 ;
17653 PyObject * obj1 = 0 ;
17654 char *kwnames[] = {
17655 (char *) "parent",(char *) "style", NULL
17656 };
17657
17658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17660 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17661 if (obj1) {
093d3ff1
RD
17662 {
17663 arg2 = (long)(SWIG_As_long(obj1));
17664 if (SWIG_arg_fail(2)) SWIG_fail;
17665 }
d55e5bfc
RD
17666 }
17667 {
0439c23b 17668 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17671
17672 wxPyEndAllowThreads(__tstate);
110da5b0 17673 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17674 }
b0f7404b 17675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
17676 return resultobj;
17677 fail:
17678 return NULL;
17679}
17680
17681
c32bde28 17682static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17683 PyObject *resultobj;
17684 wxMDIClientWindow *result;
17685 char *kwnames[] = {
17686 NULL
17687 };
17688
17689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17690 {
0439c23b 17691 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17692 PyThreadState* __tstate = wxPyBeginAllowThreads();
17693 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17694
17695 wxPyEndAllowThreads(__tstate);
110da5b0 17696 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17697 }
b0f7404b 17698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
17699 return resultobj;
17700 fail:
17701 return NULL;
17702}
17703
17704
c32bde28 17705static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17706 PyObject *resultobj;
17707 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17708 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17709 long arg3 = (long) 0 ;
17710 bool result;
17711 PyObject * obj0 = 0 ;
17712 PyObject * obj1 = 0 ;
17713 PyObject * obj2 = 0 ;
17714 char *kwnames[] = {
17715 (char *) "self",(char *) "parent",(char *) "style", NULL
17716 };
17717
17718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17720 if (SWIG_arg_fail(1)) SWIG_fail;
17721 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17722 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 17723 if (obj2) {
093d3ff1
RD
17724 {
17725 arg3 = (long)(SWIG_As_long(obj2));
17726 if (SWIG_arg_fail(3)) SWIG_fail;
17727 }
d55e5bfc
RD
17728 }
17729 {
17730 PyThreadState* __tstate = wxPyBeginAllowThreads();
17731 result = (bool)(arg1)->Create(arg2,arg3);
17732
17733 wxPyEndAllowThreads(__tstate);
17734 if (PyErr_Occurred()) SWIG_fail;
17735 }
17736 {
17737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17738 }
17739 return resultobj;
17740 fail:
17741 return NULL;
17742}
17743
17744
c32bde28 17745static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17746 PyObject *obj;
17747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17748 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17749 Py_INCREF(obj);
17750 return Py_BuildValue((char *)"");
17751}
c32bde28 17752static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17753 PyObject *resultobj;
17754 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 17755 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
17756 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17757 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17758 wxSize const &arg4_defvalue = wxDefaultSize ;
17759 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17760 long arg5 = (long) 0 ;
17761 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17762 wxString *arg6 = (wxString *) &arg6_defvalue ;
17763 wxPyWindow *result;
17764 wxPoint temp3 ;
17765 wxSize temp4 ;
ae8162c8 17766 bool temp6 = false ;
d55e5bfc
RD
17767 PyObject * obj0 = 0 ;
17768 PyObject * obj1 = 0 ;
17769 PyObject * obj2 = 0 ;
17770 PyObject * obj3 = 0 ;
17771 PyObject * obj4 = 0 ;
17772 PyObject * obj5 = 0 ;
17773 char *kwnames[] = {
17774 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17775 };
17776
248ed943 17777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17779 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17780 if (obj1) {
093d3ff1
RD
17781 {
17782 arg2 = (int const)(SWIG_As_int(obj1));
17783 if (SWIG_arg_fail(2)) SWIG_fail;
17784 }
248ed943 17785 }
d55e5bfc
RD
17786 if (obj2) {
17787 {
17788 arg3 = &temp3;
17789 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17790 }
17791 }
17792 if (obj3) {
17793 {
17794 arg4 = &temp4;
17795 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17796 }
17797 }
17798 if (obj4) {
093d3ff1
RD
17799 {
17800 arg5 = (long)(SWIG_As_long(obj4));
17801 if (SWIG_arg_fail(5)) SWIG_fail;
17802 }
d55e5bfc
RD
17803 }
17804 if (obj5) {
17805 {
17806 arg6 = wxString_in_helper(obj5);
17807 if (arg6 == NULL) SWIG_fail;
ae8162c8 17808 temp6 = true;
d55e5bfc
RD
17809 }
17810 }
17811 {
0439c23b 17812 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17813 PyThreadState* __tstate = wxPyBeginAllowThreads();
17814 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17815
17816 wxPyEndAllowThreads(__tstate);
110da5b0 17817 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17818 }
17819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17820 {
17821 if (temp6)
17822 delete arg6;
17823 }
17824 return resultobj;
17825 fail:
17826 {
17827 if (temp6)
17828 delete arg6;
17829 }
17830 return NULL;
17831}
17832
17833
c32bde28 17834static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17835 PyObject *resultobj;
17836 wxPyWindow *result;
17837 char *kwnames[] = {
17838 NULL
17839 };
17840
17841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17842 {
0439c23b 17843 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17844 PyThreadState* __tstate = wxPyBeginAllowThreads();
17845 result = (wxPyWindow *)new wxPyWindow();
17846
17847 wxPyEndAllowThreads(__tstate);
110da5b0 17848 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17849 }
17850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17851 return resultobj;
17852 fail:
17853 return NULL;
17854}
17855
17856
c32bde28 17857static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17858 PyObject *resultobj;
17859 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17860 PyObject *arg2 = (PyObject *) 0 ;
17861 PyObject *arg3 = (PyObject *) 0 ;
17862 PyObject * obj0 = 0 ;
17863 PyObject * obj1 = 0 ;
17864 PyObject * obj2 = 0 ;
17865 char *kwnames[] = {
17866 (char *) "self",(char *) "self",(char *) "_class", NULL
17867 };
17868
17869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17871 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17872 arg2 = obj1;
17873 arg3 = obj2;
17874 {
17875 PyThreadState* __tstate = wxPyBeginAllowThreads();
17876 (arg1)->_setCallbackInfo(arg2,arg3);
17877
17878 wxPyEndAllowThreads(__tstate);
17879 if (PyErr_Occurred()) SWIG_fail;
17880 }
17881 Py_INCREF(Py_None); resultobj = Py_None;
17882 return resultobj;
17883 fail:
17884 return NULL;
17885}
17886
17887
c32bde28 17888static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
17889 PyObject *resultobj;
17890 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17891 wxSize *arg2 = 0 ;
17892 wxSize temp2 ;
17893 PyObject * obj0 = 0 ;
17894 PyObject * obj1 = 0 ;
17895 char *kwnames[] = {
17896 (char *) "self",(char *) "size", NULL
17897 };
17898
17899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17901 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
17902 {
17903 arg2 = &temp2;
17904 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17905 }
17906 {
17907 PyThreadState* __tstate = wxPyBeginAllowThreads();
17908 (arg1)->SetBestSize((wxSize const &)*arg2);
17909
17910 wxPyEndAllowThreads(__tstate);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 Py_INCREF(Py_None); resultobj = Py_None;
17914 return resultobj;
17915 fail:
17916 return NULL;
17917}
17918
17919
c32bde28 17920static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17921 PyObject *resultobj;
17922 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17923 int arg2 ;
17924 int arg3 ;
17925 int arg4 ;
17926 int arg5 ;
17927 PyObject * obj0 = 0 ;
17928 PyObject * obj1 = 0 ;
17929 PyObject * obj2 = 0 ;
17930 PyObject * obj3 = 0 ;
17931 PyObject * obj4 = 0 ;
17932 char *kwnames[] = {
17933 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17934 };
17935
17936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
17937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17938 if (SWIG_arg_fail(1)) SWIG_fail;
17939 {
17940 arg2 = (int)(SWIG_As_int(obj1));
17941 if (SWIG_arg_fail(2)) SWIG_fail;
17942 }
17943 {
17944 arg3 = (int)(SWIG_As_int(obj2));
17945 if (SWIG_arg_fail(3)) SWIG_fail;
17946 }
17947 {
17948 arg4 = (int)(SWIG_As_int(obj3));
17949 if (SWIG_arg_fail(4)) SWIG_fail;
17950 }
17951 {
17952 arg5 = (int)(SWIG_As_int(obj4));
17953 if (SWIG_arg_fail(5)) SWIG_fail;
17954 }
d55e5bfc
RD
17955 {
17956 PyThreadState* __tstate = wxPyBeginAllowThreads();
17957 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17958
17959 wxPyEndAllowThreads(__tstate);
17960 if (PyErr_Occurred()) SWIG_fail;
17961 }
17962 Py_INCREF(Py_None); resultobj = Py_None;
17963 return resultobj;
17964 fail:
17965 return NULL;
17966}
17967
17968
c32bde28 17969static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17970 PyObject *resultobj;
17971 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17972 int arg2 ;
17973 int arg3 ;
17974 int arg4 ;
17975 int arg5 ;
17976 int arg6 = (int) wxSIZE_AUTO ;
17977 PyObject * obj0 = 0 ;
17978 PyObject * obj1 = 0 ;
17979 PyObject * obj2 = 0 ;
17980 PyObject * obj3 = 0 ;
17981 PyObject * obj4 = 0 ;
17982 PyObject * obj5 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17989 if (SWIG_arg_fail(1)) SWIG_fail;
17990 {
17991 arg2 = (int)(SWIG_As_int(obj1));
17992 if (SWIG_arg_fail(2)) SWIG_fail;
17993 }
17994 {
17995 arg3 = (int)(SWIG_As_int(obj2));
17996 if (SWIG_arg_fail(3)) SWIG_fail;
17997 }
17998 {
17999 arg4 = (int)(SWIG_As_int(obj3));
18000 if (SWIG_arg_fail(4)) SWIG_fail;
18001 }
18002 {
18003 arg5 = (int)(SWIG_As_int(obj4));
18004 if (SWIG_arg_fail(5)) SWIG_fail;
18005 }
d55e5bfc 18006 if (obj5) {
093d3ff1
RD
18007 {
18008 arg6 = (int)(SWIG_As_int(obj5));
18009 if (SWIG_arg_fail(6)) SWIG_fail;
18010 }
d55e5bfc
RD
18011 }
18012 {
18013 PyThreadState* __tstate = wxPyBeginAllowThreads();
18014 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
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
c32bde28 18026static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18027 PyObject *resultobj;
18028 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18029 int arg2 ;
18030 int arg3 ;
18031 PyObject * obj0 = 0 ;
18032 PyObject * obj1 = 0 ;
18033 PyObject * obj2 = 0 ;
18034 char *kwnames[] = {
18035 (char *) "self",(char *) "width",(char *) "height", NULL
18036 };
18037
18038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18040 if (SWIG_arg_fail(1)) SWIG_fail;
18041 {
18042 arg2 = (int)(SWIG_As_int(obj1));
18043 if (SWIG_arg_fail(2)) SWIG_fail;
18044 }
18045 {
18046 arg3 = (int)(SWIG_As_int(obj2));
18047 if (SWIG_arg_fail(3)) SWIG_fail;
18048 }
d55e5bfc
RD
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 (arg1)->base_DoSetClientSize(arg2,arg3);
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 Py_INCREF(Py_None); resultobj = Py_None;
18057 return resultobj;
18058 fail:
18059 return NULL;
18060}
18061
18062
c32bde28 18063static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18064 PyObject *resultobj;
18065 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18066 int arg2 ;
18067 int arg3 ;
18068 PyObject * obj0 = 0 ;
18069 PyObject * obj1 = 0 ;
18070 PyObject * obj2 = 0 ;
18071 char *kwnames[] = {
18072 (char *) "self",(char *) "x",(char *) "y", NULL
18073 };
18074
18075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18077 if (SWIG_arg_fail(1)) SWIG_fail;
18078 {
18079 arg2 = (int)(SWIG_As_int(obj1));
18080 if (SWIG_arg_fail(2)) SWIG_fail;
18081 }
18082 {
18083 arg3 = (int)(SWIG_As_int(obj2));
18084 if (SWIG_arg_fail(3)) SWIG_fail;
18085 }
d55e5bfc
RD
18086 {
18087 PyThreadState* __tstate = wxPyBeginAllowThreads();
18088 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18089
18090 wxPyEndAllowThreads(__tstate);
18091 if (PyErr_Occurred()) SWIG_fail;
18092 }
18093 Py_INCREF(Py_None); resultobj = Py_None;
18094 return resultobj;
18095 fail:
18096 return NULL;
18097}
18098
18099
c32bde28 18100static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18101 PyObject *resultobj;
18102 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18103 int *arg2 = (int *) 0 ;
18104 int *arg3 = (int *) 0 ;
18105 int temp2 ;
c32bde28 18106 int res2 = 0 ;
d55e5bfc 18107 int temp3 ;
c32bde28 18108 int res3 = 0 ;
d55e5bfc
RD
18109 PyObject * obj0 = 0 ;
18110 char *kwnames[] = {
18111 (char *) "self", NULL
18112 };
18113
c32bde28
RD
18114 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18115 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18118 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18119 {
18120 PyThreadState* __tstate = wxPyBeginAllowThreads();
18121 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18122
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18127 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18128 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18129 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18130 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18131 return resultobj;
18132 fail:
18133 return NULL;
18134}
18135
18136
c32bde28 18137static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18138 PyObject *resultobj;
18139 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18140 int *arg2 = (int *) 0 ;
18141 int *arg3 = (int *) 0 ;
18142 int temp2 ;
c32bde28 18143 int res2 = 0 ;
d55e5bfc 18144 int temp3 ;
c32bde28 18145 int res3 = 0 ;
d55e5bfc
RD
18146 PyObject * obj0 = 0 ;
18147 char *kwnames[] = {
18148 (char *) "self", NULL
18149 };
18150
c32bde28
RD
18151 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18152 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18156 {
18157 PyThreadState* __tstate = wxPyBeginAllowThreads();
18158 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18159
18160 wxPyEndAllowThreads(__tstate);
18161 if (PyErr_Occurred()) SWIG_fail;
18162 }
18163 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18164 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18165 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18166 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18167 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18168 return resultobj;
18169 fail:
18170 return NULL;
18171}
18172
18173
c32bde28 18174static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18175 PyObject *resultobj;
18176 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18177 int *arg2 = (int *) 0 ;
18178 int *arg3 = (int *) 0 ;
18179 int temp2 ;
c32bde28 18180 int res2 = 0 ;
d55e5bfc 18181 int temp3 ;
c32bde28 18182 int res3 = 0 ;
d55e5bfc
RD
18183 PyObject * obj0 = 0 ;
18184 char *kwnames[] = {
18185 (char *) "self", NULL
18186 };
18187
c32bde28
RD
18188 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18189 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
18191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18193 {
18194 PyThreadState* __tstate = wxPyBeginAllowThreads();
18195 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18196
18197 wxPyEndAllowThreads(__tstate);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 }
18200 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18201 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18202 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18203 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18204 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18205 return resultobj;
18206 fail:
18207 return NULL;
18208}
18209
18210
c32bde28 18211static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18212 PyObject *resultobj;
18213 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18214 wxSize result;
18215 PyObject * obj0 = 0 ;
18216 char *kwnames[] = {
18217 (char *) "self", NULL
18218 };
18219
18220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18222 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18223 {
18224 PyThreadState* __tstate = wxPyBeginAllowThreads();
18225 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18226
18227 wxPyEndAllowThreads(__tstate);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 }
18230 {
18231 wxSize * resultptr;
093d3ff1 18232 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18233 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18234 }
18235 return resultobj;
18236 fail:
18237 return NULL;
18238}
18239
18240
c32bde28 18241static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18242 PyObject *resultobj;
18243 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18244 wxSize result;
18245 PyObject * obj0 = 0 ;
18246 char *kwnames[] = {
18247 (char *) "self", NULL
18248 };
18249
18250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18252 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18253 {
18254 PyThreadState* __tstate = wxPyBeginAllowThreads();
18255 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18256
18257 wxPyEndAllowThreads(__tstate);
18258 if (PyErr_Occurred()) SWIG_fail;
18259 }
18260 {
18261 wxSize * resultptr;
093d3ff1 18262 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18264 }
18265 return resultobj;
18266 fail:
18267 return NULL;
18268}
18269
18270
c32bde28 18271static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18272 PyObject *resultobj;
18273 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18274 PyObject * obj0 = 0 ;
18275 char *kwnames[] = {
18276 (char *) "self", NULL
18277 };
18278
18279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
18280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18281 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 (arg1)->base_InitDialog();
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 Py_INCREF(Py_None); resultobj = Py_None;
18290 return resultobj;
18291 fail:
18292 return NULL;
18293}
18294
18295
c32bde28 18296static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18297 PyObject *resultobj;
18298 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18299 bool result;
18300 PyObject * obj0 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "self", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18307 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (bool)(arg1)->base_TransferDataToWindow();
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 {
18316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18317 }
18318 return resultobj;
18319 fail:
18320 return NULL;
18321}
18322
18323
c32bde28 18324static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18325 PyObject *resultobj;
18326 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18327 bool result;
18328 PyObject * obj0 = 0 ;
18329 char *kwnames[] = {
18330 (char *) "self", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18335 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18336 {
18337 PyThreadState* __tstate = wxPyBeginAllowThreads();
18338 result = (bool)(arg1)->base_TransferDataFromWindow();
18339
18340 wxPyEndAllowThreads(__tstate);
18341 if (PyErr_Occurred()) SWIG_fail;
18342 }
18343 {
18344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18345 }
18346 return resultobj;
18347 fail:
18348 return NULL;
18349}
18350
18351
c32bde28 18352static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18353 PyObject *resultobj;
18354 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18355 bool result;
18356 PyObject * obj0 = 0 ;
18357 char *kwnames[] = {
18358 (char *) "self", NULL
18359 };
18360
18361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
18362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18363 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 result = (bool)(arg1)->base_Validate();
18367
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 {
18372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18373 }
18374 return resultobj;
18375 fail:
18376 return NULL;
18377}
18378
18379
c32bde28 18380static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18381 PyObject *resultobj;
18382 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18383 bool result;
18384 PyObject * obj0 = 0 ;
18385 char *kwnames[] = {
18386 (char *) "self", NULL
18387 };
18388
18389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
18390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18392 {
18393 PyThreadState* __tstate = wxPyBeginAllowThreads();
18394 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18395
18396 wxPyEndAllowThreads(__tstate);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 }
18399 {
18400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18401 }
18402 return resultobj;
18403 fail:
18404 return NULL;
18405}
18406
18407
c32bde28 18408static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18409 PyObject *resultobj;
18410 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18411 bool result;
18412 PyObject * obj0 = 0 ;
18413 char *kwnames[] = {
18414 (char *) "self", NULL
18415 };
18416
18417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",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 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18423
18424 wxPyEndAllowThreads(__tstate);
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
18427 {
18428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18429 }
18430 return resultobj;
18431 fail:
18432 return NULL;
18433}
18434
18435
c32bde28 18436static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18437 PyObject *resultobj;
18438 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18439 wxSize result;
18440 PyObject * obj0 = 0 ;
18441 char *kwnames[] = {
18442 (char *) "self", NULL
18443 };
18444
18445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18447 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 {
18456 wxSize * resultptr;
093d3ff1 18457 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18459 }
18460 return resultobj;
18461 fail:
18462 return NULL;
18463}
18464
18465
c32bde28 18466static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18467 PyObject *resultobj;
18468 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18469 wxWindow *arg2 = (wxWindow *) 0 ;
18470 PyObject * obj0 = 0 ;
18471 PyObject * obj1 = 0 ;
18472 char *kwnames[] = {
18473 (char *) "self",(char *) "child", NULL
18474 };
18475
18476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18478 if (SWIG_arg_fail(1)) SWIG_fail;
18479 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18480 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 (arg1)->base_AddChild(arg2);
18484
18485 wxPyEndAllowThreads(__tstate);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 }
18488 Py_INCREF(Py_None); resultobj = Py_None;
18489 return resultobj;
18490 fail:
18491 return NULL;
18492}
18493
18494
c32bde28 18495static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18496 PyObject *resultobj;
18497 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18498 wxWindow *arg2 = (wxWindow *) 0 ;
18499 PyObject * obj0 = 0 ;
18500 PyObject * obj1 = 0 ;
18501 char *kwnames[] = {
18502 (char *) "self",(char *) "child", NULL
18503 };
18504
18505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18507 if (SWIG_arg_fail(1)) SWIG_fail;
18508 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18509 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18510 {
18511 PyThreadState* __tstate = wxPyBeginAllowThreads();
18512 (arg1)->base_RemoveChild(arg2);
18513
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 Py_INCREF(Py_None); resultobj = Py_None;
18518 return resultobj;
18519 fail:
18520 return NULL;
18521}
18522
18523
c32bde28 18524static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18525 PyObject *resultobj;
18526 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18527 bool result;
18528 PyObject * obj0 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "self", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
18534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18535 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 18538 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
18539
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 {
18544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18545 }
18546 return resultobj;
18547 fail:
18548 return NULL;
18549}
18550
18551
c32bde28 18552static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18553 PyObject *resultobj;
18554 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18555 wxColour *arg2 = 0 ;
18556 wxColour temp2 ;
18557 PyObject * obj0 = 0 ;
18558 PyObject * obj1 = 0 ;
18559 char *kwnames[] = {
18560 (char *) "self",(char *) "c", NULL
18561 };
18562
18563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18565 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18566 {
18567 arg2 = &temp2;
18568 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18569 }
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18573
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 Py_INCREF(Py_None); resultobj = Py_None;
18578 return resultobj;
18579 fail:
18580 return NULL;
18581}
18582
18583
c32bde28 18584static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
18585 PyObject *resultobj;
18586 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18587 wxVisualAttributes result;
18588 PyObject * obj0 = 0 ;
18589 char *kwnames[] = {
18590 (char *) "self", NULL
18591 };
18592
18593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18595 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 result = (arg1)->base_GetDefaultAttributes();
18599
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
18603 {
18604 wxVisualAttributes * resultptr;
093d3ff1 18605 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
caef1a4d
RD
18606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18607 }
18608 return resultobj;
18609 fail:
18610 return NULL;
18611}
18612
18613
c32bde28 18614static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18615 PyObject *obj;
18616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18617 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18618 Py_INCREF(obj);
18619 return Py_BuildValue((char *)"");
18620}
c32bde28 18621static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18622 PyObject *resultobj;
18623 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 18624 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
18625 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18626 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18627 wxSize const &arg4_defvalue = wxDefaultSize ;
18628 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18629 long arg5 = (long) 0 ;
18630 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18631 wxString *arg6 = (wxString *) &arg6_defvalue ;
18632 wxPyPanel *result;
18633 wxPoint temp3 ;
18634 wxSize temp4 ;
ae8162c8 18635 bool temp6 = false ;
d55e5bfc
RD
18636 PyObject * obj0 = 0 ;
18637 PyObject * obj1 = 0 ;
18638 PyObject * obj2 = 0 ;
18639 PyObject * obj3 = 0 ;
18640 PyObject * obj4 = 0 ;
18641 PyObject * obj5 = 0 ;
18642 char *kwnames[] = {
18643 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18644 };
18645
248ed943 18646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18648 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 18649 if (obj1) {
093d3ff1
RD
18650 {
18651 arg2 = (int const)(SWIG_As_int(obj1));
18652 if (SWIG_arg_fail(2)) SWIG_fail;
18653 }
248ed943 18654 }
d55e5bfc
RD
18655 if (obj2) {
18656 {
18657 arg3 = &temp3;
18658 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18659 }
18660 }
18661 if (obj3) {
18662 {
18663 arg4 = &temp4;
18664 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18665 }
18666 }
18667 if (obj4) {
093d3ff1
RD
18668 {
18669 arg5 = (long)(SWIG_As_long(obj4));
18670 if (SWIG_arg_fail(5)) SWIG_fail;
18671 }
d55e5bfc
RD
18672 }
18673 if (obj5) {
18674 {
18675 arg6 = wxString_in_helper(obj5);
18676 if (arg6 == NULL) SWIG_fail;
ae8162c8 18677 temp6 = true;
d55e5bfc
RD
18678 }
18679 }
18680 {
0439c23b 18681 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18684
18685 wxPyEndAllowThreads(__tstate);
110da5b0 18686 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18687 }
18688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18689 {
18690 if (temp6)
18691 delete arg6;
18692 }
18693 return resultobj;
18694 fail:
18695 {
18696 if (temp6)
18697 delete arg6;
18698 }
18699 return NULL;
18700}
18701
18702
c32bde28 18703static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18704 PyObject *resultobj;
18705 wxPyPanel *result;
18706 char *kwnames[] = {
18707 NULL
18708 };
18709
18710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18711 {
0439c23b 18712 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18713 PyThreadState* __tstate = wxPyBeginAllowThreads();
18714 result = (wxPyPanel *)new wxPyPanel();
18715
18716 wxPyEndAllowThreads(__tstate);
110da5b0 18717 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18718 }
18719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18720 return resultobj;
18721 fail:
18722 return NULL;
18723}
18724
18725
c32bde28 18726static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18727 PyObject *resultobj;
18728 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18729 PyObject *arg2 = (PyObject *) 0 ;
18730 PyObject *arg3 = (PyObject *) 0 ;
18731 PyObject * obj0 = 0 ;
18732 PyObject * obj1 = 0 ;
18733 PyObject * obj2 = 0 ;
18734 char *kwnames[] = {
18735 (char *) "self",(char *) "self",(char *) "_class", NULL
18736 };
18737
18738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18740 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18741 arg2 = obj1;
18742 arg3 = obj2;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 (arg1)->_setCallbackInfo(arg2,arg3);
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 Py_INCREF(Py_None); resultobj = Py_None;
18751 return resultobj;
18752 fail:
18753 return NULL;
18754}
18755
18756
c32bde28 18757static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
18758 PyObject *resultobj;
18759 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18760 wxSize *arg2 = 0 ;
18761 wxSize temp2 ;
18762 PyObject * obj0 = 0 ;
18763 PyObject * obj1 = 0 ;
18764 char *kwnames[] = {
18765 (char *) "self",(char *) "size", NULL
18766 };
18767
18768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18770 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
18771 {
18772 arg2 = &temp2;
18773 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18774 }
18775 {
18776 PyThreadState* __tstate = wxPyBeginAllowThreads();
18777 (arg1)->SetBestSize((wxSize const &)*arg2);
18778
18779 wxPyEndAllowThreads(__tstate);
18780 if (PyErr_Occurred()) SWIG_fail;
18781 }
18782 Py_INCREF(Py_None); resultobj = Py_None;
18783 return resultobj;
18784 fail:
18785 return NULL;
18786}
18787
18788
c32bde28 18789static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18790 PyObject *resultobj;
18791 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18792 int arg2 ;
18793 int arg3 ;
18794 int arg4 ;
18795 int arg5 ;
18796 PyObject * obj0 = 0 ;
18797 PyObject * obj1 = 0 ;
18798 PyObject * obj2 = 0 ;
18799 PyObject * obj3 = 0 ;
18800 PyObject * obj4 = 0 ;
18801 char *kwnames[] = {
18802 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18803 };
18804
18805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
18806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18807 if (SWIG_arg_fail(1)) SWIG_fail;
18808 {
18809 arg2 = (int)(SWIG_As_int(obj1));
18810 if (SWIG_arg_fail(2)) SWIG_fail;
18811 }
18812 {
18813 arg3 = (int)(SWIG_As_int(obj2));
18814 if (SWIG_arg_fail(3)) SWIG_fail;
18815 }
18816 {
18817 arg4 = (int)(SWIG_As_int(obj3));
18818 if (SWIG_arg_fail(4)) SWIG_fail;
18819 }
18820 {
18821 arg5 = (int)(SWIG_As_int(obj4));
18822 if (SWIG_arg_fail(5)) SWIG_fail;
18823 }
d55e5bfc
RD
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 Py_INCREF(Py_None); resultobj = Py_None;
18832 return resultobj;
18833 fail:
18834 return NULL;
18835}
18836
18837
c32bde28 18838static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18839 PyObject *resultobj;
18840 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18841 int arg2 ;
18842 int arg3 ;
18843 int arg4 ;
18844 int arg5 ;
18845 int arg6 = (int) wxSIZE_AUTO ;
18846 PyObject * obj0 = 0 ;
18847 PyObject * obj1 = 0 ;
18848 PyObject * obj2 = 0 ;
18849 PyObject * obj3 = 0 ;
18850 PyObject * obj4 = 0 ;
18851 PyObject * obj5 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18858 if (SWIG_arg_fail(1)) SWIG_fail;
18859 {
18860 arg2 = (int)(SWIG_As_int(obj1));
18861 if (SWIG_arg_fail(2)) SWIG_fail;
18862 }
18863 {
18864 arg3 = (int)(SWIG_As_int(obj2));
18865 if (SWIG_arg_fail(3)) SWIG_fail;
18866 }
18867 {
18868 arg4 = (int)(SWIG_As_int(obj3));
18869 if (SWIG_arg_fail(4)) SWIG_fail;
18870 }
18871 {
18872 arg5 = (int)(SWIG_As_int(obj4));
18873 if (SWIG_arg_fail(5)) SWIG_fail;
18874 }
d55e5bfc 18875 if (obj5) {
093d3ff1
RD
18876 {
18877 arg6 = (int)(SWIG_As_int(obj5));
18878 if (SWIG_arg_fail(6)) SWIG_fail;
18879 }
d55e5bfc
RD
18880 }
18881 {
18882 PyThreadState* __tstate = wxPyBeginAllowThreads();
18883 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
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
c32bde28 18895static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18896 PyObject *resultobj;
18897 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18898 int arg2 ;
18899 int arg3 ;
18900 PyObject * obj0 = 0 ;
18901 PyObject * obj1 = 0 ;
18902 PyObject * obj2 = 0 ;
18903 char *kwnames[] = {
18904 (char *) "self",(char *) "width",(char *) "height", NULL
18905 };
18906
18907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18909 if (SWIG_arg_fail(1)) SWIG_fail;
18910 {
18911 arg2 = (int)(SWIG_As_int(obj1));
18912 if (SWIG_arg_fail(2)) SWIG_fail;
18913 }
18914 {
18915 arg3 = (int)(SWIG_As_int(obj2));
18916 if (SWIG_arg_fail(3)) SWIG_fail;
18917 }
d55e5bfc
RD
18918 {
18919 PyThreadState* __tstate = wxPyBeginAllowThreads();
18920 (arg1)->base_DoSetClientSize(arg2,arg3);
18921
18922 wxPyEndAllowThreads(__tstate);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 }
18925 Py_INCREF(Py_None); resultobj = Py_None;
18926 return resultobj;
18927 fail:
18928 return NULL;
18929}
18930
18931
c32bde28 18932static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18933 PyObject *resultobj;
18934 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18935 int arg2 ;
18936 int arg3 ;
18937 PyObject * obj0 = 0 ;
18938 PyObject * obj1 = 0 ;
18939 PyObject * obj2 = 0 ;
18940 char *kwnames[] = {
18941 (char *) "self",(char *) "x",(char *) "y", NULL
18942 };
18943
18944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18946 if (SWIG_arg_fail(1)) SWIG_fail;
18947 {
18948 arg2 = (int)(SWIG_As_int(obj1));
18949 if (SWIG_arg_fail(2)) SWIG_fail;
18950 }
18951 {
18952 arg3 = (int)(SWIG_As_int(obj2));
18953 if (SWIG_arg_fail(3)) SWIG_fail;
18954 }
d55e5bfc
RD
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18958
18959 wxPyEndAllowThreads(__tstate);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 }
18962 Py_INCREF(Py_None); resultobj = Py_None;
18963 return resultobj;
18964 fail:
18965 return NULL;
18966}
18967
18968
c32bde28 18969static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18970 PyObject *resultobj;
18971 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18972 int *arg2 = (int *) 0 ;
18973 int *arg3 = (int *) 0 ;
18974 int temp2 ;
c32bde28 18975 int res2 = 0 ;
d55e5bfc 18976 int temp3 ;
c32bde28 18977 int res3 = 0 ;
d55e5bfc
RD
18978 PyObject * obj0 = 0 ;
18979 char *kwnames[] = {
18980 (char *) "self", NULL
18981 };
18982
c32bde28
RD
18983 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18984 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18988 {
18989 PyThreadState* __tstate = wxPyBeginAllowThreads();
18990 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
18991
18992 wxPyEndAllowThreads(__tstate);
18993 if (PyErr_Occurred()) SWIG_fail;
18994 }
18995 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18996 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18997 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18998 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18999 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19000 return resultobj;
19001 fail:
19002 return NULL;
19003}
19004
19005
c32bde28 19006static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19007 PyObject *resultobj;
19008 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19009 int *arg2 = (int *) 0 ;
19010 int *arg3 = (int *) 0 ;
19011 int temp2 ;
c32bde28 19012 int res2 = 0 ;
d55e5bfc 19013 int temp3 ;
c32bde28 19014 int res3 = 0 ;
d55e5bfc
RD
19015 PyObject * obj0 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self", NULL
19018 };
19019
c32bde28
RD
19020 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19021 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19024 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19033 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19034 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19035 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19036 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19037 return resultobj;
19038 fail:
19039 return NULL;
19040}
19041
19042
c32bde28 19043static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19044 PyObject *resultobj;
19045 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19046 int *arg2 = (int *) 0 ;
19047 int *arg3 = (int *) 0 ;
19048 int temp2 ;
c32bde28 19049 int res2 = 0 ;
d55e5bfc 19050 int temp3 ;
c32bde28 19051 int res3 = 0 ;
d55e5bfc
RD
19052 PyObject * obj0 = 0 ;
19053 char *kwnames[] = {
19054 (char *) "self", NULL
19055 };
19056
c32bde28
RD
19057 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19058 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
19060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19061 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19062 {
19063 PyThreadState* __tstate = wxPyBeginAllowThreads();
19064 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19065
19066 wxPyEndAllowThreads(__tstate);
19067 if (PyErr_Occurred()) SWIG_fail;
19068 }
19069 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19070 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19071 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19072 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19073 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19074 return resultobj;
19075 fail:
19076 return NULL;
19077}
19078
19079
c32bde28 19080static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19081 PyObject *resultobj;
19082 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19083 wxSize result;
19084 PyObject * obj0 = 0 ;
19085 char *kwnames[] = {
19086 (char *) "self", NULL
19087 };
19088
19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19091 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19095
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 {
19100 wxSize * resultptr;
093d3ff1 19101 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19102 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19103 }
19104 return resultobj;
19105 fail:
19106 return NULL;
19107}
19108
19109
c32bde28 19110static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19111 PyObject *resultobj;
19112 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19113 wxSize result;
19114 PyObject * obj0 = 0 ;
19115 char *kwnames[] = {
19116 (char *) "self", NULL
19117 };
19118
19119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19121 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19122 {
19123 PyThreadState* __tstate = wxPyBeginAllowThreads();
19124 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19125
19126 wxPyEndAllowThreads(__tstate);
19127 if (PyErr_Occurred()) SWIG_fail;
19128 }
19129 {
19130 wxSize * resultptr;
093d3ff1 19131 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19132 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19133 }
19134 return resultobj;
19135 fail:
19136 return NULL;
19137}
19138
19139
c32bde28 19140static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19141 PyObject *resultobj;
19142 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19143 PyObject * obj0 = 0 ;
19144 char *kwnames[] = {
19145 (char *) "self", NULL
19146 };
19147
19148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
19149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19151 {
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 (arg1)->base_InitDialog();
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
19158 Py_INCREF(Py_None); resultobj = Py_None;
19159 return resultobj;
19160 fail:
19161 return NULL;
19162}
19163
19164
c32bde28 19165static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19166 PyObject *resultobj;
19167 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19168 bool result;
19169 PyObject * obj0 = 0 ;
19170 char *kwnames[] = {
19171 (char *) "self", NULL
19172 };
19173
19174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19177 {
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
19179 result = (bool)(arg1)->base_TransferDataToWindow();
19180
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 {
19185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19186 }
19187 return resultobj;
19188 fail:
19189 return NULL;
19190}
19191
19192
c32bde28 19193static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19194 PyObject *resultobj;
19195 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19196 bool result;
19197 PyObject * obj0 = 0 ;
19198 char *kwnames[] = {
19199 (char *) "self", NULL
19200 };
19201
19202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 result = (bool)(arg1)->base_TransferDataFromWindow();
19208
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 {
19213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19214 }
19215 return resultobj;
19216 fail:
19217 return NULL;
19218}
19219
19220
c32bde28 19221static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19222 PyObject *resultobj;
19223 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19224 bool result;
19225 PyObject * obj0 = 0 ;
19226 char *kwnames[] = {
19227 (char *) "self", NULL
19228 };
19229
19230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
19231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19232 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19233 {
19234 PyThreadState* __tstate = wxPyBeginAllowThreads();
19235 result = (bool)(arg1)->base_Validate();
19236
19237 wxPyEndAllowThreads(__tstate);
19238 if (PyErr_Occurred()) SWIG_fail;
19239 }
19240 {
19241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19242 }
19243 return resultobj;
19244 fail:
19245 return NULL;
19246}
19247
19248
c32bde28 19249static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19250 PyObject *resultobj;
19251 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19252 bool result;
19253 PyObject * obj0 = 0 ;
19254 char *kwnames[] = {
19255 (char *) "self", NULL
19256 };
19257
19258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
19259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19260 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19261 {
19262 PyThreadState* __tstate = wxPyBeginAllowThreads();
19263 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19264
19265 wxPyEndAllowThreads(__tstate);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 }
19268 {
19269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19270 }
19271 return resultobj;
19272 fail:
19273 return NULL;
19274}
19275
19276
c32bde28 19277static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19278 PyObject *resultobj;
19279 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19280 bool result;
19281 PyObject * obj0 = 0 ;
19282 char *kwnames[] = {
19283 (char *) "self", NULL
19284 };
19285
19286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",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 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19292
19293 wxPyEndAllowThreads(__tstate);
19294 if (PyErr_Occurred()) SWIG_fail;
19295 }
19296 {
19297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19298 }
19299 return resultobj;
19300 fail:
19301 return NULL;
19302}
19303
19304
c32bde28 19305static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19306 PyObject *resultobj;
19307 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19308 wxSize result;
19309 PyObject * obj0 = 0 ;
19310 char *kwnames[] = {
19311 (char *) "self", NULL
19312 };
19313
19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19316 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19320
19321 wxPyEndAllowThreads(__tstate);
19322 if (PyErr_Occurred()) SWIG_fail;
19323 }
19324 {
19325 wxSize * resultptr;
093d3ff1 19326 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19328 }
19329 return resultobj;
19330 fail:
19331 return NULL;
19332}
19333
19334
c32bde28 19335static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19336 PyObject *resultobj;
19337 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19338 wxWindow *arg2 = (wxWindow *) 0 ;
19339 PyObject * obj0 = 0 ;
19340 PyObject * obj1 = 0 ;
19341 char *kwnames[] = {
19342 (char *) "self",(char *) "child", NULL
19343 };
19344
19345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19347 if (SWIG_arg_fail(1)) SWIG_fail;
19348 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19349 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19350 {
19351 PyThreadState* __tstate = wxPyBeginAllowThreads();
19352 (arg1)->base_AddChild(arg2);
19353
19354 wxPyEndAllowThreads(__tstate);
19355 if (PyErr_Occurred()) SWIG_fail;
19356 }
19357 Py_INCREF(Py_None); resultobj = Py_None;
19358 return resultobj;
19359 fail:
19360 return NULL;
19361}
19362
19363
c32bde28 19364static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19365 PyObject *resultobj;
19366 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19367 wxWindow *arg2 = (wxWindow *) 0 ;
19368 PyObject * obj0 = 0 ;
19369 PyObject * obj1 = 0 ;
19370 char *kwnames[] = {
19371 (char *) "self",(char *) "child", NULL
19372 };
19373
19374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19376 if (SWIG_arg_fail(1)) SWIG_fail;
19377 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19378 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19379 {
19380 PyThreadState* __tstate = wxPyBeginAllowThreads();
19381 (arg1)->base_RemoveChild(arg2);
19382
19383 wxPyEndAllowThreads(__tstate);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 }
19386 Py_INCREF(Py_None); resultobj = Py_None;
19387 return resultobj;
19388 fail:
19389 return NULL;
19390}
19391
19392
c32bde28 19393static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19394 PyObject *resultobj;
19395 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19396 bool result;
19397 PyObject * obj0 = 0 ;
19398 char *kwnames[] = {
19399 (char *) "self", NULL
19400 };
19401
19402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
19403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19404 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19405 {
19406 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 19407 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
19408
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 {
19413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19414 }
19415 return resultobj;
19416 fail:
19417 return NULL;
19418}
19419
19420
c32bde28 19421static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19422 PyObject *resultobj;
19423 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19424 wxColour *arg2 = 0 ;
19425 wxColour temp2 ;
19426 PyObject * obj0 = 0 ;
19427 PyObject * obj1 = 0 ;
19428 char *kwnames[] = {
19429 (char *) "self",(char *) "c", NULL
19430 };
19431
19432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19434 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19435 {
19436 arg2 = &temp2;
19437 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19438 }
19439 {
19440 PyThreadState* __tstate = wxPyBeginAllowThreads();
19441 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
19442
19443 wxPyEndAllowThreads(__tstate);
19444 if (PyErr_Occurred()) SWIG_fail;
19445 }
19446 Py_INCREF(Py_None); resultobj = Py_None;
19447 return resultobj;
19448 fail:
19449 return NULL;
19450}
19451
19452
c32bde28 19453static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
19454 PyObject *resultobj;
19455 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19456 wxVisualAttributes result;
19457 PyObject * obj0 = 0 ;
19458 char *kwnames[] = {
19459 (char *) "self", NULL
19460 };
19461
19462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
19463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19464 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
19465 {
19466 PyThreadState* __tstate = wxPyBeginAllowThreads();
19467 result = (arg1)->base_GetDefaultAttributes();
19468
19469 wxPyEndAllowThreads(__tstate);
19470 if (PyErr_Occurred()) SWIG_fail;
19471 }
19472 {
19473 wxVisualAttributes * resultptr;
093d3ff1 19474 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
caef1a4d
RD
19475 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19476 }
19477 return resultobj;
19478 fail:
19479 return NULL;
19480}
19481
19482
c32bde28 19483static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19484 PyObject *obj;
19485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19486 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19487 Py_INCREF(obj);
19488 return Py_BuildValue((char *)"");
19489}
c32bde28 19490static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19491 PyObject *resultobj;
19492 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 19493 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
19494 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19495 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19496 wxSize const &arg4_defvalue = wxDefaultSize ;
19497 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19498 long arg5 = (long) 0 ;
19499 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19500 wxString *arg6 = (wxString *) &arg6_defvalue ;
19501 wxPyScrolledWindow *result;
19502 wxPoint temp3 ;
19503 wxSize temp4 ;
ae8162c8 19504 bool temp6 = false ;
d55e5bfc
RD
19505 PyObject * obj0 = 0 ;
19506 PyObject * obj1 = 0 ;
19507 PyObject * obj2 = 0 ;
19508 PyObject * obj3 = 0 ;
19509 PyObject * obj4 = 0 ;
19510 PyObject * obj5 = 0 ;
19511 char *kwnames[] = {
19512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19513 };
19514
248ed943 19515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19517 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 19518 if (obj1) {
093d3ff1
RD
19519 {
19520 arg2 = (int const)(SWIG_As_int(obj1));
19521 if (SWIG_arg_fail(2)) SWIG_fail;
19522 }
248ed943 19523 }
d55e5bfc
RD
19524 if (obj2) {
19525 {
19526 arg3 = &temp3;
19527 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19528 }
19529 }
19530 if (obj3) {
19531 {
19532 arg4 = &temp4;
19533 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19534 }
19535 }
19536 if (obj4) {
093d3ff1
RD
19537 {
19538 arg5 = (long)(SWIG_As_long(obj4));
19539 if (SWIG_arg_fail(5)) SWIG_fail;
19540 }
d55e5bfc
RD
19541 }
19542 if (obj5) {
19543 {
19544 arg6 = wxString_in_helper(obj5);
19545 if (arg6 == NULL) SWIG_fail;
ae8162c8 19546 temp6 = true;
d55e5bfc
RD
19547 }
19548 }
19549 {
0439c23b 19550 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19551 PyThreadState* __tstate = wxPyBeginAllowThreads();
19552 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19553
19554 wxPyEndAllowThreads(__tstate);
110da5b0 19555 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19556 }
19557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19558 {
19559 if (temp6)
19560 delete arg6;
19561 }
19562 return resultobj;
19563 fail:
19564 {
19565 if (temp6)
19566 delete arg6;
19567 }
19568 return NULL;
19569}
19570
19571
c32bde28 19572static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19573 PyObject *resultobj;
19574 wxPyScrolledWindow *result;
19575 char *kwnames[] = {
19576 NULL
19577 };
19578
19579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19580 {
0439c23b 19581 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19582 PyThreadState* __tstate = wxPyBeginAllowThreads();
19583 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19584
19585 wxPyEndAllowThreads(__tstate);
110da5b0 19586 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19587 }
19588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19589 return resultobj;
19590 fail:
19591 return NULL;
19592}
19593
19594
c32bde28 19595static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19596 PyObject *resultobj;
19597 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19598 PyObject *arg2 = (PyObject *) 0 ;
19599 PyObject *arg3 = (PyObject *) 0 ;
19600 PyObject * obj0 = 0 ;
19601 PyObject * obj1 = 0 ;
19602 PyObject * obj2 = 0 ;
19603 char *kwnames[] = {
19604 (char *) "self",(char *) "self",(char *) "_class", NULL
19605 };
19606
19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19609 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19610 arg2 = obj1;
19611 arg3 = obj2;
19612 {
19613 PyThreadState* __tstate = wxPyBeginAllowThreads();
19614 (arg1)->_setCallbackInfo(arg2,arg3);
19615
19616 wxPyEndAllowThreads(__tstate);
19617 if (PyErr_Occurred()) SWIG_fail;
19618 }
19619 Py_INCREF(Py_None); resultobj = Py_None;
19620 return resultobj;
19621 fail:
19622 return NULL;
19623}
19624
19625
c32bde28 19626static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
19627 PyObject *resultobj;
19628 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19629 wxSize *arg2 = 0 ;
19630 wxSize temp2 ;
19631 PyObject * obj0 = 0 ;
19632 PyObject * obj1 = 0 ;
19633 char *kwnames[] = {
19634 (char *) "self",(char *) "size", NULL
19635 };
19636
19637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19639 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
19640 {
19641 arg2 = &temp2;
19642 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19643 }
19644 {
19645 PyThreadState* __tstate = wxPyBeginAllowThreads();
19646 (arg1)->SetBestSize((wxSize const &)*arg2);
19647
19648 wxPyEndAllowThreads(__tstate);
19649 if (PyErr_Occurred()) SWIG_fail;
19650 }
19651 Py_INCREF(Py_None); resultobj = Py_None;
19652 return resultobj;
19653 fail:
19654 return NULL;
19655}
19656
19657
c32bde28 19658static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19659 PyObject *resultobj;
19660 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19661 int arg2 ;
19662 int arg3 ;
19663 int arg4 ;
19664 int arg5 ;
19665 PyObject * obj0 = 0 ;
19666 PyObject * obj1 = 0 ;
19667 PyObject * obj2 = 0 ;
19668 PyObject * obj3 = 0 ;
19669 PyObject * obj4 = 0 ;
19670 char *kwnames[] = {
19671 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19672 };
19673
19674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
19675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19676 if (SWIG_arg_fail(1)) SWIG_fail;
19677 {
19678 arg2 = (int)(SWIG_As_int(obj1));
19679 if (SWIG_arg_fail(2)) SWIG_fail;
19680 }
19681 {
19682 arg3 = (int)(SWIG_As_int(obj2));
19683 if (SWIG_arg_fail(3)) SWIG_fail;
19684 }
19685 {
19686 arg4 = (int)(SWIG_As_int(obj3));
19687 if (SWIG_arg_fail(4)) SWIG_fail;
19688 }
19689 {
19690 arg5 = (int)(SWIG_As_int(obj4));
19691 if (SWIG_arg_fail(5)) SWIG_fail;
19692 }
d55e5bfc
RD
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 Py_INCREF(Py_None); resultobj = Py_None;
19701 return resultobj;
19702 fail:
19703 return NULL;
19704}
19705
19706
c32bde28 19707static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19708 PyObject *resultobj;
19709 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19710 int arg2 ;
19711 int arg3 ;
19712 int arg4 ;
19713 int arg5 ;
19714 int arg6 = (int) wxSIZE_AUTO ;
19715 PyObject * obj0 = 0 ;
19716 PyObject * obj1 = 0 ;
19717 PyObject * obj2 = 0 ;
19718 PyObject * obj3 = 0 ;
19719 PyObject * obj4 = 0 ;
19720 PyObject * obj5 = 0 ;
19721 char *kwnames[] = {
19722 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19723 };
19724
19725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19727 if (SWIG_arg_fail(1)) SWIG_fail;
19728 {
19729 arg2 = (int)(SWIG_As_int(obj1));
19730 if (SWIG_arg_fail(2)) SWIG_fail;
19731 }
19732 {
19733 arg3 = (int)(SWIG_As_int(obj2));
19734 if (SWIG_arg_fail(3)) SWIG_fail;
19735 }
19736 {
19737 arg4 = (int)(SWIG_As_int(obj3));
19738 if (SWIG_arg_fail(4)) SWIG_fail;
19739 }
19740 {
19741 arg5 = (int)(SWIG_As_int(obj4));
19742 if (SWIG_arg_fail(5)) SWIG_fail;
19743 }
d55e5bfc 19744 if (obj5) {
093d3ff1
RD
19745 {
19746 arg6 = (int)(SWIG_As_int(obj5));
19747 if (SWIG_arg_fail(6)) SWIG_fail;
19748 }
d55e5bfc
RD
19749 }
19750 {
19751 PyThreadState* __tstate = wxPyBeginAllowThreads();
19752 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
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
c32bde28 19764static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19765 PyObject *resultobj;
19766 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19767 int arg2 ;
19768 int arg3 ;
19769 PyObject * obj0 = 0 ;
19770 PyObject * obj1 = 0 ;
19771 PyObject * obj2 = 0 ;
19772 char *kwnames[] = {
19773 (char *) "self",(char *) "width",(char *) "height", NULL
19774 };
19775
19776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19778 if (SWIG_arg_fail(1)) SWIG_fail;
19779 {
19780 arg2 = (int)(SWIG_As_int(obj1));
19781 if (SWIG_arg_fail(2)) SWIG_fail;
19782 }
19783 {
19784 arg3 = (int)(SWIG_As_int(obj2));
19785 if (SWIG_arg_fail(3)) SWIG_fail;
19786 }
d55e5bfc
RD
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 (arg1)->base_DoSetClientSize(arg2,arg3);
19790
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 Py_INCREF(Py_None); resultobj = Py_None;
19795 return resultobj;
19796 fail:
19797 return NULL;
19798}
19799
19800
c32bde28 19801static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19802 PyObject *resultobj;
19803 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19804 int arg2 ;
19805 int arg3 ;
19806 PyObject * obj0 = 0 ;
19807 PyObject * obj1 = 0 ;
19808 PyObject * obj2 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self",(char *) "x",(char *) "y", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19815 if (SWIG_arg_fail(1)) SWIG_fail;
19816 {
19817 arg2 = (int)(SWIG_As_int(obj1));
19818 if (SWIG_arg_fail(2)) SWIG_fail;
19819 }
19820 {
19821 arg3 = (int)(SWIG_As_int(obj2));
19822 if (SWIG_arg_fail(3)) SWIG_fail;
19823 }
d55e5bfc
RD
19824 {
19825 PyThreadState* __tstate = wxPyBeginAllowThreads();
19826 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19827
19828 wxPyEndAllowThreads(__tstate);
19829 if (PyErr_Occurred()) SWIG_fail;
19830 }
19831 Py_INCREF(Py_None); resultobj = Py_None;
19832 return resultobj;
19833 fail:
19834 return NULL;
19835}
19836
19837
c32bde28 19838static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19839 PyObject *resultobj;
19840 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19841 int *arg2 = (int *) 0 ;
19842 int *arg3 = (int *) 0 ;
19843 int temp2 ;
c32bde28 19844 int res2 = 0 ;
d55e5bfc 19845 int temp3 ;
c32bde28 19846 int res3 = 0 ;
d55e5bfc
RD
19847 PyObject * obj0 = 0 ;
19848 char *kwnames[] = {
19849 (char *) "self", NULL
19850 };
19851
c32bde28
RD
19852 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19853 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19865 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19866 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19867 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19868 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19869 return resultobj;
19870 fail:
19871 return NULL;
19872}
19873
19874
c32bde28 19875static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19876 PyObject *resultobj;
19877 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19878 int *arg2 = (int *) 0 ;
19879 int *arg3 = (int *) 0 ;
19880 int temp2 ;
c32bde28 19881 int res2 = 0 ;
d55e5bfc 19882 int temp3 ;
c32bde28 19883 int res3 = 0 ;
d55e5bfc
RD
19884 PyObject * obj0 = 0 ;
19885 char *kwnames[] = {
19886 (char *) "self", NULL
19887 };
19888
c32bde28
RD
19889 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19890 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19893 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19897
19898 wxPyEndAllowThreads(__tstate);
19899 if (PyErr_Occurred()) SWIG_fail;
19900 }
19901 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19902 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19903 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19904 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19905 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19906 return resultobj;
19907 fail:
19908 return NULL;
19909}
19910
19911
c32bde28 19912static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19913 PyObject *resultobj;
19914 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19915 int *arg2 = (int *) 0 ;
19916 int *arg3 = (int *) 0 ;
19917 int temp2 ;
c32bde28 19918 int res2 = 0 ;
d55e5bfc 19919 int temp3 ;
c32bde28 19920 int res3 = 0 ;
d55e5bfc
RD
19921 PyObject * obj0 = 0 ;
19922 char *kwnames[] = {
19923 (char *) "self", NULL
19924 };
19925
c32bde28
RD
19926 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19927 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
19929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19930 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19931 {
19932 PyThreadState* __tstate = wxPyBeginAllowThreads();
19933 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19934
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19939 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19940 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19941 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19942 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19943 return resultobj;
19944 fail:
19945 return NULL;
19946}
19947
19948
c32bde28 19949static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19950 PyObject *resultobj;
19951 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19952 wxSize result;
19953 PyObject * obj0 = 0 ;
19954 char *kwnames[] = {
19955 (char *) "self", NULL
19956 };
19957
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19960 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19961 {
19962 PyThreadState* __tstate = wxPyBeginAllowThreads();
19963 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
19964
19965 wxPyEndAllowThreads(__tstate);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 {
19969 wxSize * resultptr;
093d3ff1 19970 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19971 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19972 }
19973 return resultobj;
19974 fail:
19975 return NULL;
19976}
19977
19978
c32bde28 19979static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19980 PyObject *resultobj;
19981 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19982 wxSize result;
19983 PyObject * obj0 = 0 ;
19984 char *kwnames[] = {
19985 (char *) "self", NULL
19986 };
19987
19988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19990 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19991 {
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
19994
19995 wxPyEndAllowThreads(__tstate);
19996 if (PyErr_Occurred()) SWIG_fail;
19997 }
19998 {
19999 wxSize * resultptr;
093d3ff1 20000 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20002 }
20003 return resultobj;
20004 fail:
20005 return NULL;
20006}
20007
20008
c32bde28 20009static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20010 PyObject *resultobj;
20011 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20012 PyObject * obj0 = 0 ;
20013 char *kwnames[] = {
20014 (char *) "self", NULL
20015 };
20016
20017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
20018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20019 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 (arg1)->base_InitDialog();
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 Py_INCREF(Py_None); resultobj = Py_None;
20028 return resultobj;
20029 fail:
20030 return NULL;
20031}
20032
20033
c32bde28 20034static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20035 PyObject *resultobj;
20036 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20037 bool result;
20038 PyObject * obj0 = 0 ;
20039 char *kwnames[] = {
20040 (char *) "self", NULL
20041 };
20042
20043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20045 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 result = (bool)(arg1)->base_TransferDataToWindow();
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 {
20054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20055 }
20056 return resultobj;
20057 fail:
20058 return NULL;
20059}
20060
20061
c32bde28 20062static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20063 PyObject *resultobj;
20064 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20065 bool result;
20066 PyObject * obj0 = 0 ;
20067 char *kwnames[] = {
20068 (char *) "self", NULL
20069 };
20070
20071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20073 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 result = (bool)(arg1)->base_TransferDataFromWindow();
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 {
20082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20083 }
20084 return resultobj;
20085 fail:
20086 return NULL;
20087}
20088
20089
c32bde28 20090static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20091 PyObject *resultobj;
20092 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20093 bool result;
20094 PyObject * obj0 = 0 ;
20095 char *kwnames[] = {
20096 (char *) "self", NULL
20097 };
20098
20099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
20100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20101 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20102 {
20103 PyThreadState* __tstate = wxPyBeginAllowThreads();
20104 result = (bool)(arg1)->base_Validate();
20105
20106 wxPyEndAllowThreads(__tstate);
20107 if (PyErr_Occurred()) SWIG_fail;
20108 }
20109 {
20110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20111 }
20112 return resultobj;
20113 fail:
20114 return NULL;
20115}
20116
20117
c32bde28 20118static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20119 PyObject *resultobj;
20120 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20121 bool result;
20122 PyObject * obj0 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
20128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20129 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20130 {
20131 PyThreadState* __tstate = wxPyBeginAllowThreads();
20132 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20133
20134 wxPyEndAllowThreads(__tstate);
20135 if (PyErr_Occurred()) SWIG_fail;
20136 }
20137 {
20138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20139 }
20140 return resultobj;
20141 fail:
20142 return NULL;
20143}
20144
20145
c32bde28 20146static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20147 PyObject *resultobj;
20148 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20149 bool result;
20150 PyObject * obj0 = 0 ;
20151 char *kwnames[] = {
20152 (char *) "self", NULL
20153 };
20154
20155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",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 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 {
20166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20167 }
20168 return resultobj;
20169 fail:
20170 return NULL;
20171}
20172
20173
c32bde28 20174static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20175 PyObject *resultobj;
20176 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20177 wxSize result;
20178 PyObject * obj0 = 0 ;
20179 char *kwnames[] = {
20180 (char *) "self", NULL
20181 };
20182
20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20185 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20186 {
20187 PyThreadState* __tstate = wxPyBeginAllowThreads();
20188 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20189
20190 wxPyEndAllowThreads(__tstate);
20191 if (PyErr_Occurred()) SWIG_fail;
20192 }
20193 {
20194 wxSize * resultptr;
093d3ff1 20195 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20196 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20197 }
20198 return resultobj;
20199 fail:
20200 return NULL;
20201}
20202
20203
c32bde28 20204static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20205 PyObject *resultobj;
20206 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20207 wxWindow *arg2 = (wxWindow *) 0 ;
20208 PyObject * obj0 = 0 ;
20209 PyObject * obj1 = 0 ;
20210 char *kwnames[] = {
20211 (char *) "self",(char *) "child", NULL
20212 };
20213
20214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20216 if (SWIG_arg_fail(1)) SWIG_fail;
20217 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20218 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20219 {
20220 PyThreadState* __tstate = wxPyBeginAllowThreads();
20221 (arg1)->base_AddChild(arg2);
20222
20223 wxPyEndAllowThreads(__tstate);
20224 if (PyErr_Occurred()) SWIG_fail;
20225 }
20226 Py_INCREF(Py_None); resultobj = Py_None;
20227 return resultobj;
20228 fail:
20229 return NULL;
20230}
20231
20232
c32bde28 20233static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20234 PyObject *resultobj;
20235 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20236 wxWindow *arg2 = (wxWindow *) 0 ;
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj1 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self",(char *) "child", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail;
20246 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20247 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 (arg1)->base_RemoveChild(arg2);
20251
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 Py_INCREF(Py_None); resultobj = Py_None;
20256 return resultobj;
20257 fail:
20258 return NULL;
20259}
20260
20261
c32bde28 20262static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20263 PyObject *resultobj;
20264 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20265 bool result;
20266 PyObject * obj0 = 0 ;
20267 char *kwnames[] = {
20268 (char *) "self", NULL
20269 };
20270
20271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
20272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20273 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 20276 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 {
20282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20283 }
20284 return resultobj;
20285 fail:
20286 return NULL;
20287}
20288
20289
c32bde28 20290static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20291 PyObject *resultobj;
20292 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20293 wxColour *arg2 = 0 ;
20294 wxColour temp2 ;
20295 PyObject * obj0 = 0 ;
20296 PyObject * obj1 = 0 ;
20297 char *kwnames[] = {
20298 (char *) "self",(char *) "c", NULL
20299 };
20300
20301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20303 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20304 {
20305 arg2 = &temp2;
20306 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20307 }
20308 {
20309 PyThreadState* __tstate = wxPyBeginAllowThreads();
20310 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
20311
20312 wxPyEndAllowThreads(__tstate);
20313 if (PyErr_Occurred()) SWIG_fail;
20314 }
20315 Py_INCREF(Py_None); resultobj = Py_None;
20316 return resultobj;
20317 fail:
20318 return NULL;
20319}
20320
20321
c32bde28 20322static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
caef1a4d
RD
20323 PyObject *resultobj;
20324 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20325 wxVisualAttributes result;
20326 PyObject * obj0 = 0 ;
20327 char *kwnames[] = {
20328 (char *) "self", NULL
20329 };
20330
20331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
20332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20333 if (SWIG_arg_fail(1)) SWIG_fail;
caef1a4d
RD
20334 {
20335 PyThreadState* __tstate = wxPyBeginAllowThreads();
20336 result = (arg1)->base_GetDefaultAttributes();
20337
20338 wxPyEndAllowThreads(__tstate);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 }
20341 {
20342 wxVisualAttributes * resultptr;
093d3ff1 20343 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
caef1a4d
RD
20344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20345 }
20346 return resultobj;
20347 fail:
20348 return NULL;
20349}
20350
20351
c32bde28 20352static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20353 PyObject *obj;
20354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20355 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20356 Py_INCREF(obj);
20357 return Py_BuildValue((char *)"");
20358}
c32bde28 20359static int _wrap_PrintoutTitleStr_set(PyObject *) {
d55e5bfc
RD
20360 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20361 return 1;
20362}
20363
20364
093d3ff1 20365static PyObject *_wrap_PrintoutTitleStr_get(void) {
d55e5bfc
RD
20366 PyObject *pyobj;
20367
20368 {
20369#if wxUSE_UNICODE
20370 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20371#else
20372 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20373#endif
20374 }
20375 return pyobj;
20376}
20377
20378
c32bde28 20379static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
d55e5bfc
RD
20380 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20381 return 1;
20382}
20383
20384
093d3ff1 20385static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
d55e5bfc
RD
20386 PyObject *pyobj;
20387
20388 {
20389#if wxUSE_UNICODE
20390 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20391#else
20392 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20393#endif
20394 }
20395 return pyobj;
20396}
20397
20398
c32bde28 20399static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
20400 PyObject *resultobj;
20401 wxPrintData *result;
d55e5bfc 20402
09c21d3b 20403 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
d55e5bfc
RD
20404 {
20405 PyThreadState* __tstate = wxPyBeginAllowThreads();
20406 result = (wxPrintData *)new wxPrintData();
20407
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20412 return resultobj;
20413 fail:
20414 return NULL;
20415}
20416
20417
c32bde28 20418static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
20419 PyObject *resultobj;
20420 wxPrintData *arg1 = 0 ;
20421 wxPrintData *result;
20422 PyObject * obj0 = 0 ;
20423
20424 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
093d3ff1
RD
20425 {
20426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20427 if (SWIG_arg_fail(1)) SWIG_fail;
20428 if (arg1 == NULL) {
20429 SWIG_null_ref("wxPrintData");
20430 }
20431 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
20432 }
20433 {
20434 PyThreadState* __tstate = wxPyBeginAllowThreads();
20435 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20436
20437 wxPyEndAllowThreads(__tstate);
20438 if (PyErr_Occurred()) SWIG_fail;
20439 }
20440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20441 return resultobj;
20442 fail:
20443 return NULL;
20444}
20445
20446
20447static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20448 int argc;
20449 PyObject *argv[2];
20450 int ii;
20451
20452 argc = PyObject_Length(args);
20453 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20454 argv[ii] = PyTuple_GetItem(args,ii);
20455 }
20456 if (argc == 0) {
20457 return _wrap_new_PrintData__SWIG_0(self,args);
20458 }
20459 if (argc == 1) {
20460 int _v;
20461 {
093d3ff1 20462 void *ptr = 0;
09c21d3b
RD
20463 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20464 _v = 0;
20465 PyErr_Clear();
20466 } else {
093d3ff1 20467 _v = (ptr != 0);
09c21d3b
RD
20468 }
20469 }
20470 if (_v) {
20471 return _wrap_new_PrintData__SWIG_1(self,args);
20472 }
20473 }
20474
093d3ff1 20475 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
09c21d3b
RD
20476 return NULL;
20477}
20478
20479
c32bde28 20480static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20481 PyObject *resultobj;
20482 wxPrintData *arg1 = (wxPrintData *) 0 ;
20483 PyObject * obj0 = 0 ;
20484 char *kwnames[] = {
20485 (char *) "self", NULL
20486 };
20487
20488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
20489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20490 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20491 {
20492 PyThreadState* __tstate = wxPyBeginAllowThreads();
20493 delete arg1;
20494
20495 wxPyEndAllowThreads(__tstate);
20496 if (PyErr_Occurred()) SWIG_fail;
20497 }
20498 Py_INCREF(Py_None); resultobj = Py_None;
20499 return resultobj;
20500 fail:
20501 return NULL;
20502}
20503
20504
c32bde28 20505static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20506 PyObject *resultobj;
20507 wxPrintData *arg1 = (wxPrintData *) 0 ;
20508 int result;
20509 PyObject * obj0 = 0 ;
20510 char *kwnames[] = {
20511 (char *) "self", NULL
20512 };
20513
20514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
20515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20516 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20517 {
20518 PyThreadState* __tstate = wxPyBeginAllowThreads();
20519 result = (int)(arg1)->GetNoCopies();
20520
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
093d3ff1
RD
20524 {
20525 resultobj = SWIG_From_int((int)(result));
20526 }
d55e5bfc
RD
20527 return resultobj;
20528 fail:
20529 return NULL;
20530}
20531
20532
c32bde28 20533static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20534 PyObject *resultobj;
20535 wxPrintData *arg1 = (wxPrintData *) 0 ;
20536 bool result;
20537 PyObject * obj0 = 0 ;
20538 char *kwnames[] = {
20539 (char *) "self", NULL
20540 };
20541
20542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
20543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20544 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20545 {
20546 PyThreadState* __tstate = wxPyBeginAllowThreads();
20547 result = (bool)(arg1)->GetCollate();
20548
20549 wxPyEndAllowThreads(__tstate);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 }
20552 {
20553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20554 }
20555 return resultobj;
20556 fail:
20557 return NULL;
20558}
20559
20560
c32bde28 20561static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20562 PyObject *resultobj;
20563 wxPrintData *arg1 = (wxPrintData *) 0 ;
20564 int result;
20565 PyObject * obj0 = 0 ;
20566 char *kwnames[] = {
20567 (char *) "self", NULL
20568 };
20569
20570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
20571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20572 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20573 {
20574 PyThreadState* __tstate = wxPyBeginAllowThreads();
20575 result = (int)(arg1)->GetOrientation();
20576
20577 wxPyEndAllowThreads(__tstate);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
093d3ff1
RD
20580 {
20581 resultobj = SWIG_From_int((int)(result));
20582 }
d55e5bfc
RD
20583 return resultobj;
20584 fail:
20585 return NULL;
20586}
20587
20588
c32bde28 20589static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20590 PyObject *resultobj;
20591 wxPrintData *arg1 = (wxPrintData *) 0 ;
20592 bool result;
20593 PyObject * obj0 = 0 ;
20594 char *kwnames[] = {
20595 (char *) "self", NULL
20596 };
20597
20598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
20599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20600 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20601 {
20602 PyThreadState* __tstate = wxPyBeginAllowThreads();
20603 result = (bool)(arg1)->Ok();
20604
20605 wxPyEndAllowThreads(__tstate);
20606 if (PyErr_Occurred()) SWIG_fail;
20607 }
20608 {
20609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20610 }
20611 return resultobj;
20612 fail:
20613 return NULL;
20614}
20615
20616
c32bde28 20617static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20618 PyObject *resultobj;
20619 wxPrintData *arg1 = (wxPrintData *) 0 ;
20620 wxString *result;
20621 PyObject * obj0 = 0 ;
20622 char *kwnames[] = {
20623 (char *) "self", NULL
20624 };
20625
20626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
093d3ff1
RD
20627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20628 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20629 {
20630 PyThreadState* __tstate = wxPyBeginAllowThreads();
20631 {
20632 wxString const &_result_ref = (arg1)->GetPrinterName();
20633 result = (wxString *) &_result_ref;
20634 }
20635
20636 wxPyEndAllowThreads(__tstate);
20637 if (PyErr_Occurred()) SWIG_fail;
20638 }
20639 {
20640#if wxUSE_UNICODE
20641 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20642#else
20643 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20644#endif
20645 }
20646 return resultobj;
20647 fail:
20648 return NULL;
20649}
20650
20651
c32bde28 20652static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20653 PyObject *resultobj;
20654 wxPrintData *arg1 = (wxPrintData *) 0 ;
20655 bool result;
20656 PyObject * obj0 = 0 ;
20657 char *kwnames[] = {
20658 (char *) "self", NULL
20659 };
20660
20661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
20662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20663 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = (bool)(arg1)->GetColour();
20667
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
20671 {
20672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20673 }
20674 return resultobj;
20675 fail:
20676 return NULL;
20677}
20678
20679
c32bde28 20680static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20681 PyObject *resultobj;
20682 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20683 wxDuplexMode result;
d55e5bfc
RD
20684 PyObject * obj0 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "self", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
093d3ff1
RD
20690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20692 {
20693 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20694 result = (wxDuplexMode)(arg1)->GetDuplex();
d55e5bfc
RD
20695
20696 wxPyEndAllowThreads(__tstate);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 }
093d3ff1 20699 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20700 return resultobj;
20701 fail:
20702 return NULL;
20703}
20704
20705
c32bde28 20706static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20707 PyObject *resultobj;
20708 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20709 wxPaperSize result;
d55e5bfc
RD
20710 PyObject * obj0 = 0 ;
20711 char *kwnames[] = {
20712 (char *) "self", NULL
20713 };
20714
20715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
20716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20717 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20718 {
20719 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20720 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
20721
20722 wxPyEndAllowThreads(__tstate);
20723 if (PyErr_Occurred()) SWIG_fail;
20724 }
093d3ff1 20725 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20726 return resultobj;
20727 fail:
20728 return NULL;
20729}
20730
20731
c32bde28 20732static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20733 PyObject *resultobj;
20734 wxPrintData *arg1 = (wxPrintData *) 0 ;
20735 wxSize *result;
20736 PyObject * obj0 = 0 ;
20737 char *kwnames[] = {
20738 (char *) "self", NULL
20739 };
20740
20741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20743 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20744 {
20745 PyThreadState* __tstate = wxPyBeginAllowThreads();
20746 {
20747 wxSize const &_result_ref = (arg1)->GetPaperSize();
20748 result = (wxSize *) &_result_ref;
20749 }
20750
20751 wxPyEndAllowThreads(__tstate);
20752 if (PyErr_Occurred()) SWIG_fail;
20753 }
20754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20755 return resultobj;
20756 fail:
20757 return NULL;
20758}
20759
20760
c32bde28 20761static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20762 PyObject *resultobj;
20763 wxPrintData *arg1 = (wxPrintData *) 0 ;
20764 int result;
20765 PyObject * obj0 = 0 ;
20766 char *kwnames[] = {
20767 (char *) "self", NULL
20768 };
20769
20770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
093d3ff1
RD
20771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20772 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20773 {
20774 PyThreadState* __tstate = wxPyBeginAllowThreads();
20775 result = (int)(arg1)->GetQuality();
20776
20777 wxPyEndAllowThreads(__tstate);
20778 if (PyErr_Occurred()) SWIG_fail;
20779 }
093d3ff1
RD
20780 {
20781 resultobj = SWIG_From_int((int)(result));
20782 }
d55e5bfc
RD
20783 return resultobj;
20784 fail:
20785 return NULL;
20786}
20787
20788
ae8162c8
RD
20789static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20790 PyObject *resultobj;
20791 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20792 wxPrintBin result;
ae8162c8
RD
20793 PyObject * obj0 = 0 ;
20794 char *kwnames[] = {
20795 (char *) "self", NULL
20796 };
20797
20798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
093d3ff1
RD
20799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20800 if (SWIG_arg_fail(1)) SWIG_fail;
ae8162c8
RD
20801 {
20802 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20803 result = (wxPrintBin)(arg1)->GetBin();
ae8162c8
RD
20804
20805 wxPyEndAllowThreads(__tstate);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 }
093d3ff1 20808 resultobj = SWIG_From_int((result));
ae8162c8
RD
20809 return resultobj;
20810 fail:
20811 return NULL;
20812}
20813
20814
c1cb24a4
RD
20815static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20816 PyObject *resultobj;
20817 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20818 wxPrintMode result;
c1cb24a4
RD
20819 PyObject * obj0 = 0 ;
20820 char *kwnames[] = {
20821 (char *) "self", NULL
20822 };
20823
20824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
20825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20826 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
20827 {
20828 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20829 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
c1cb24a4
RD
20830
20831 wxPyEndAllowThreads(__tstate);
20832 if (PyErr_Occurred()) SWIG_fail;
20833 }
093d3ff1 20834 resultobj = SWIG_From_int((result));
c1cb24a4
RD
20835 return resultobj;
20836 fail:
20837 return NULL;
20838}
20839
20840
c32bde28 20841static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20842 PyObject *resultobj;
20843 wxPrintData *arg1 = (wxPrintData *) 0 ;
20844 int arg2 ;
20845 PyObject * obj0 = 0 ;
20846 PyObject * obj1 = 0 ;
20847 char *kwnames[] = {
20848 (char *) "self",(char *) "v", NULL
20849 };
20850
20851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20853 if (SWIG_arg_fail(1)) SWIG_fail;
20854 {
20855 arg2 = (int)(SWIG_As_int(obj1));
20856 if (SWIG_arg_fail(2)) SWIG_fail;
20857 }
d55e5bfc
RD
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 (arg1)->SetNoCopies(arg2);
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 Py_INCREF(Py_None); resultobj = Py_None;
20866 return resultobj;
20867 fail:
20868 return NULL;
20869}
20870
20871
c32bde28 20872static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20873 PyObject *resultobj;
20874 wxPrintData *arg1 = (wxPrintData *) 0 ;
20875 bool arg2 ;
20876 PyObject * obj0 = 0 ;
20877 PyObject * obj1 = 0 ;
20878 char *kwnames[] = {
20879 (char *) "self",(char *) "flag", NULL
20880 };
20881
20882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20884 if (SWIG_arg_fail(1)) SWIG_fail;
20885 {
20886 arg2 = (bool)(SWIG_As_bool(obj1));
20887 if (SWIG_arg_fail(2)) SWIG_fail;
20888 }
d55e5bfc
RD
20889 {
20890 PyThreadState* __tstate = wxPyBeginAllowThreads();
20891 (arg1)->SetCollate(arg2);
20892
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 Py_INCREF(Py_None); resultobj = Py_None;
20897 return resultobj;
20898 fail:
20899 return NULL;
20900}
20901
20902
c32bde28 20903static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20904 PyObject *resultobj;
20905 wxPrintData *arg1 = (wxPrintData *) 0 ;
20906 int arg2 ;
20907 PyObject * obj0 = 0 ;
20908 PyObject * obj1 = 0 ;
20909 char *kwnames[] = {
20910 (char *) "self",(char *) "orient", NULL
20911 };
20912
20913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20915 if (SWIG_arg_fail(1)) SWIG_fail;
20916 {
20917 arg2 = (int)(SWIG_As_int(obj1));
20918 if (SWIG_arg_fail(2)) SWIG_fail;
20919 }
d55e5bfc
RD
20920 {
20921 PyThreadState* __tstate = wxPyBeginAllowThreads();
20922 (arg1)->SetOrientation(arg2);
20923
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 Py_INCREF(Py_None); resultobj = Py_None;
20928 return resultobj;
20929 fail:
20930 return NULL;
20931}
20932
20933
c32bde28 20934static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20935 PyObject *resultobj;
20936 wxPrintData *arg1 = (wxPrintData *) 0 ;
20937 wxString *arg2 = 0 ;
ae8162c8 20938 bool temp2 = false ;
d55e5bfc
RD
20939 PyObject * obj0 = 0 ;
20940 PyObject * obj1 = 0 ;
20941 char *kwnames[] = {
20942 (char *) "self",(char *) "name", NULL
20943 };
20944
20945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20948 {
20949 arg2 = wxString_in_helper(obj1);
20950 if (arg2 == NULL) SWIG_fail;
ae8162c8 20951 temp2 = true;
d55e5bfc
RD
20952 }
20953 {
20954 PyThreadState* __tstate = wxPyBeginAllowThreads();
20955 (arg1)->SetPrinterName((wxString const &)*arg2);
20956
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 Py_INCREF(Py_None); resultobj = Py_None;
20961 {
20962 if (temp2)
20963 delete arg2;
20964 }
20965 return resultobj;
20966 fail:
20967 {
20968 if (temp2)
20969 delete arg2;
20970 }
20971 return NULL;
20972}
20973
20974
c32bde28 20975static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20976 PyObject *resultobj;
20977 wxPrintData *arg1 = (wxPrintData *) 0 ;
20978 bool arg2 ;
20979 PyObject * obj0 = 0 ;
20980 PyObject * obj1 = 0 ;
20981 char *kwnames[] = {
20982 (char *) "self",(char *) "colour", NULL
20983 };
20984
20985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20987 if (SWIG_arg_fail(1)) SWIG_fail;
20988 {
20989 arg2 = (bool)(SWIG_As_bool(obj1));
20990 if (SWIG_arg_fail(2)) SWIG_fail;
20991 }
d55e5bfc
RD
20992 {
20993 PyThreadState* __tstate = wxPyBeginAllowThreads();
20994 (arg1)->SetColour(arg2);
20995
20996 wxPyEndAllowThreads(__tstate);
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
20999 Py_INCREF(Py_None); resultobj = Py_None;
21000 return resultobj;
21001 fail:
21002 return NULL;
21003}
21004
21005
c32bde28 21006static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21007 PyObject *resultobj;
21008 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21009 wxDuplexMode arg2 ;
d55e5bfc
RD
21010 PyObject * obj0 = 0 ;
21011 PyObject * obj1 = 0 ;
21012 char *kwnames[] = {
21013 (char *) "self",(char *) "duplex", NULL
21014 };
21015
21016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21018 if (SWIG_arg_fail(1)) SWIG_fail;
21019 {
21020 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
21021 if (SWIG_arg_fail(2)) SWIG_fail;
21022 }
d55e5bfc
RD
21023 {
21024 PyThreadState* __tstate = wxPyBeginAllowThreads();
21025 (arg1)->SetDuplex((wxDuplexMode )arg2);
21026
21027 wxPyEndAllowThreads(__tstate);
21028 if (PyErr_Occurred()) SWIG_fail;
21029 }
21030 Py_INCREF(Py_None); resultobj = Py_None;
21031 return resultobj;
21032 fail:
21033 return NULL;
21034}
21035
21036
c32bde28 21037static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21038 PyObject *resultobj;
21039 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21040 wxPaperSize arg2 ;
d55e5bfc
RD
21041 PyObject * obj0 = 0 ;
21042 PyObject * obj1 = 0 ;
21043 char *kwnames[] = {
21044 (char *) "self",(char *) "sizeId", NULL
21045 };
21046
21047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21049 if (SWIG_arg_fail(1)) SWIG_fail;
21050 {
21051 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
21052 if (SWIG_arg_fail(2)) SWIG_fail;
21053 }
d55e5bfc
RD
21054 {
21055 PyThreadState* __tstate = wxPyBeginAllowThreads();
21056 (arg1)->SetPaperId((wxPaperSize )arg2);
21057
21058 wxPyEndAllowThreads(__tstate);
21059 if (PyErr_Occurred()) SWIG_fail;
21060 }
21061 Py_INCREF(Py_None); resultobj = Py_None;
21062 return resultobj;
21063 fail:
21064 return NULL;
21065}
21066
21067
c32bde28 21068static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21069 PyObject *resultobj;
21070 wxPrintData *arg1 = (wxPrintData *) 0 ;
21071 wxSize *arg2 = 0 ;
21072 wxSize temp2 ;
21073 PyObject * obj0 = 0 ;
21074 PyObject * obj1 = 0 ;
21075 char *kwnames[] = {
21076 (char *) "self",(char *) "sz", NULL
21077 };
21078
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21081 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21082 {
21083 arg2 = &temp2;
21084 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21085 }
21086 {
21087 PyThreadState* __tstate = wxPyBeginAllowThreads();
21088 (arg1)->SetPaperSize((wxSize const &)*arg2);
21089
21090 wxPyEndAllowThreads(__tstate);
21091 if (PyErr_Occurred()) SWIG_fail;
21092 }
21093 Py_INCREF(Py_None); resultobj = Py_None;
21094 return resultobj;
21095 fail:
21096 return NULL;
21097}
21098
21099
c32bde28 21100static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21101 PyObject *resultobj;
21102 wxPrintData *arg1 = (wxPrintData *) 0 ;
21103 int arg2 ;
21104 PyObject * obj0 = 0 ;
21105 PyObject * obj1 = 0 ;
21106 char *kwnames[] = {
21107 (char *) "self",(char *) "quality", NULL
21108 };
21109
21110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21112 if (SWIG_arg_fail(1)) SWIG_fail;
21113 {
21114 arg2 = (int)(SWIG_As_int(obj1));
21115 if (SWIG_arg_fail(2)) SWIG_fail;
21116 }
d55e5bfc
RD
21117 {
21118 PyThreadState* __tstate = wxPyBeginAllowThreads();
21119 (arg1)->SetQuality(arg2);
21120
21121 wxPyEndAllowThreads(__tstate);
21122 if (PyErr_Occurred()) SWIG_fail;
21123 }
21124 Py_INCREF(Py_None); resultobj = Py_None;
21125 return resultobj;
21126 fail:
21127 return NULL;
21128}
21129
21130
ae8162c8
RD
21131static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21132 PyObject *resultobj;
21133 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21134 wxPrintBin arg2 ;
ae8162c8
RD
21135 PyObject * obj0 = 0 ;
21136 PyObject * obj1 = 0 ;
21137 char *kwnames[] = {
21138 (char *) "self",(char *) "bin", NULL
21139 };
21140
21141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21143 if (SWIG_arg_fail(1)) SWIG_fail;
21144 {
21145 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
21146 if (SWIG_arg_fail(2)) SWIG_fail;
21147 }
ae8162c8
RD
21148 {
21149 PyThreadState* __tstate = wxPyBeginAllowThreads();
21150 (arg1)->SetBin((wxPrintBin )arg2);
21151
21152 wxPyEndAllowThreads(__tstate);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
21155 Py_INCREF(Py_None); resultobj = Py_None;
21156 return resultobj;
21157 fail:
21158 return NULL;
21159}
21160
21161
c1cb24a4 21162static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21163 PyObject *resultobj;
21164 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21165 wxPrintMode arg2 ;
c1cb24a4
RD
21166 PyObject * obj0 = 0 ;
21167 PyObject * obj1 = 0 ;
21168 char *kwnames[] = {
21169 (char *) "self",(char *) "printMode", NULL
21170 };
21171
21172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21174 if (SWIG_arg_fail(1)) SWIG_fail;
21175 {
21176 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
21177 if (SWIG_arg_fail(2)) SWIG_fail;
21178 }
c1cb24a4
RD
21179 {
21180 PyThreadState* __tstate = wxPyBeginAllowThreads();
21181 (arg1)->SetPrintMode((wxPrintMode )arg2);
21182
21183 wxPyEndAllowThreads(__tstate);
21184 if (PyErr_Occurred()) SWIG_fail;
21185 }
21186 Py_INCREF(Py_None); resultobj = Py_None;
21187 return resultobj;
21188 fail:
21189 return NULL;
21190}
21191
21192
21193static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21194 PyObject *resultobj;
21195 wxPrintData *arg1 = (wxPrintData *) 0 ;
21196 wxString result;
d55e5bfc
RD
21197 PyObject * obj0 = 0 ;
21198 char *kwnames[] = {
21199 (char *) "self", NULL
21200 };
21201
c1cb24a4 21202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
21203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 21207 result = ((wxPrintData const *)arg1)->GetFilename();
d55e5bfc
RD
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 {
21213#if wxUSE_UNICODE
c1cb24a4 21214 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 21215#else
c1cb24a4 21216 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc
RD
21217#endif
21218 }
21219 return resultobj;
21220 fail:
21221 return NULL;
21222}
21223
21224
c1cb24a4
RD
21225static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21226 PyObject *resultobj;
21227 wxPrintData *arg1 = (wxPrintData *) 0 ;
21228 wxString *arg2 = 0 ;
21229 bool temp2 = false ;
21230 PyObject * obj0 = 0 ;
21231 PyObject * obj1 = 0 ;
21232 char *kwnames[] = {
21233 (char *) "self",(char *) "filename", NULL
21234 };
21235
21236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21238 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
21239 {
21240 arg2 = wxString_in_helper(obj1);
21241 if (arg2 == NULL) SWIG_fail;
21242 temp2 = true;
21243 }
21244 {
21245 PyThreadState* __tstate = wxPyBeginAllowThreads();
21246 (arg1)->SetFilename((wxString const &)*arg2);
21247
21248 wxPyEndAllowThreads(__tstate);
21249 if (PyErr_Occurred()) SWIG_fail;
21250 }
21251 Py_INCREF(Py_None); resultobj = Py_None;
21252 {
21253 if (temp2)
21254 delete arg2;
21255 }
21256 return resultobj;
21257 fail:
21258 {
21259 if (temp2)
21260 delete arg2;
21261 }
21262 return NULL;
21263}
21264
21265
21266static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21267 PyObject *resultobj;
21268 wxPrintData *arg1 = (wxPrintData *) 0 ;
21269 wxString *result;
21270 PyObject * obj0 = 0 ;
21271 char *kwnames[] = {
21272 (char *) "self", NULL
21273 };
21274
c1cb24a4 21275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
21276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21277 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21278 {
21279 PyThreadState* __tstate = wxPyBeginAllowThreads();
21280 {
c1cb24a4 21281 wxString const &_result_ref = (arg1)->GetPrinterCommand();
d55e5bfc
RD
21282 result = (wxString *) &_result_ref;
21283 }
21284
21285 wxPyEndAllowThreads(__tstate);
21286 if (PyErr_Occurred()) SWIG_fail;
21287 }
21288 {
21289#if wxUSE_UNICODE
21290 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21291#else
21292 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21293#endif
21294 }
21295 return resultobj;
21296 fail:
21297 return NULL;
21298}
21299
21300
c1cb24a4 21301static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21302 PyObject *resultobj;
21303 wxPrintData *arg1 = (wxPrintData *) 0 ;
21304 wxString *result;
21305 PyObject * obj0 = 0 ;
21306 char *kwnames[] = {
21307 (char *) "self", NULL
21308 };
21309
c1cb24a4 21310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
093d3ff1
RD
21311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21312 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21313 {
21314 PyThreadState* __tstate = wxPyBeginAllowThreads();
21315 {
c1cb24a4 21316 wxString const &_result_ref = (arg1)->GetPrinterOptions();
d55e5bfc
RD
21317 result = (wxString *) &_result_ref;
21318 }
21319
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 {
21324#if wxUSE_UNICODE
21325 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21326#else
21327 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21328#endif
21329 }
21330 return resultobj;
21331 fail:
21332 return NULL;
21333}
21334
21335
c1cb24a4 21336static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21337 PyObject *resultobj;
21338 wxPrintData *arg1 = (wxPrintData *) 0 ;
21339 wxString *result;
21340 PyObject * obj0 = 0 ;
21341 char *kwnames[] = {
21342 (char *) "self", NULL
21343 };
21344
c1cb24a4 21345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
21346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21348 {
21349 PyThreadState* __tstate = wxPyBeginAllowThreads();
21350 {
c1cb24a4 21351 wxString const &_result_ref = (arg1)->GetPreviewCommand();
d55e5bfc
RD
21352 result = (wxString *) &_result_ref;
21353 }
21354
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 {
21359#if wxUSE_UNICODE
21360 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21361#else
21362 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21363#endif
21364 }
21365 return resultobj;
21366 fail:
21367 return NULL;
21368}
21369
21370
c32bde28 21371static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21372 PyObject *resultobj;
21373 wxPrintData *arg1 = (wxPrintData *) 0 ;
21374 wxString *result;
21375 PyObject * obj0 = 0 ;
21376 char *kwnames[] = {
21377 (char *) "self", NULL
21378 };
21379
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
21381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21382 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21383 {
21384 PyThreadState* __tstate = wxPyBeginAllowThreads();
21385 {
21386 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21387 result = (wxString *) &_result_ref;
21388 }
21389
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
21393 {
21394#if wxUSE_UNICODE
21395 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21396#else
21397 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21398#endif
21399 }
21400 return resultobj;
21401 fail:
21402 return NULL;
21403}
21404
21405
c32bde28 21406static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21407 PyObject *resultobj;
21408 wxPrintData *arg1 = (wxPrintData *) 0 ;
21409 double result;
21410 PyObject * obj0 = 0 ;
21411 char *kwnames[] = {
21412 (char *) "self", NULL
21413 };
21414
21415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
093d3ff1
RD
21416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21417 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21418 {
21419 PyThreadState* __tstate = wxPyBeginAllowThreads();
21420 result = (double)(arg1)->GetPrinterScaleX();
21421
21422 wxPyEndAllowThreads(__tstate);
21423 if (PyErr_Occurred()) SWIG_fail;
21424 }
093d3ff1
RD
21425 {
21426 resultobj = SWIG_From_double((double)(result));
21427 }
d55e5bfc
RD
21428 return resultobj;
21429 fail:
21430 return NULL;
21431}
21432
21433
c32bde28 21434static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21435 PyObject *resultobj;
21436 wxPrintData *arg1 = (wxPrintData *) 0 ;
21437 double result;
21438 PyObject * obj0 = 0 ;
21439 char *kwnames[] = {
21440 (char *) "self", NULL
21441 };
21442
21443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
093d3ff1
RD
21444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21446 {
21447 PyThreadState* __tstate = wxPyBeginAllowThreads();
21448 result = (double)(arg1)->GetPrinterScaleY();
21449
21450 wxPyEndAllowThreads(__tstate);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 }
093d3ff1
RD
21453 {
21454 resultobj = SWIG_From_double((double)(result));
21455 }
d55e5bfc
RD
21456 return resultobj;
21457 fail:
21458 return NULL;
21459}
21460
21461
c32bde28 21462static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21463 PyObject *resultobj;
21464 wxPrintData *arg1 = (wxPrintData *) 0 ;
21465 long result;
21466 PyObject * obj0 = 0 ;
21467 char *kwnames[] = {
21468 (char *) "self", NULL
21469 };
21470
21471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
093d3ff1
RD
21472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21474 {
21475 PyThreadState* __tstate = wxPyBeginAllowThreads();
21476 result = (long)(arg1)->GetPrinterTranslateX();
21477
21478 wxPyEndAllowThreads(__tstate);
21479 if (PyErr_Occurred()) SWIG_fail;
21480 }
093d3ff1
RD
21481 {
21482 resultobj = SWIG_From_long((long)(result));
21483 }
d55e5bfc
RD
21484 return resultobj;
21485 fail:
21486 return NULL;
21487}
21488
21489
c32bde28 21490static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21491 PyObject *resultobj;
21492 wxPrintData *arg1 = (wxPrintData *) 0 ;
21493 long result;
21494 PyObject * obj0 = 0 ;
21495 char *kwnames[] = {
21496 (char *) "self", NULL
21497 };
21498
21499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
093d3ff1
RD
21500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21501 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21502 {
21503 PyThreadState* __tstate = wxPyBeginAllowThreads();
21504 result = (long)(arg1)->GetPrinterTranslateY();
21505
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
093d3ff1
RD
21509 {
21510 resultobj = SWIG_From_long((long)(result));
21511 }
d55e5bfc
RD
21512 return resultobj;
21513 fail:
21514 return NULL;
21515}
21516
21517
c1cb24a4 21518static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21519 PyObject *resultobj;
21520 wxPrintData *arg1 = (wxPrintData *) 0 ;
c1cb24a4
RD
21521 wxString *arg2 = 0 ;
21522 bool temp2 = false ;
d55e5bfc 21523 PyObject * obj0 = 0 ;
c1cb24a4 21524 PyObject * obj1 = 0 ;
d55e5bfc 21525 char *kwnames[] = {
c1cb24a4 21526 (char *) "self",(char *) "command", NULL
d55e5bfc
RD
21527 };
21528
c1cb24a4 21529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21531 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
21532 {
21533 arg2 = wxString_in_helper(obj1);
21534 if (arg2 == NULL) SWIG_fail;
21535 temp2 = true;
21536 }
d55e5bfc
RD
21537 {
21538 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 21539 (arg1)->SetPrinterCommand((wxString const &)*arg2);
d55e5bfc
RD
21540
21541 wxPyEndAllowThreads(__tstate);
21542 if (PyErr_Occurred()) SWIG_fail;
21543 }
c1cb24a4
RD
21544 Py_INCREF(Py_None); resultobj = Py_None;
21545 {
21546 if (temp2)
21547 delete arg2;
21548 }
d55e5bfc
RD
21549 return resultobj;
21550 fail:
21551 {
21552 if (temp2)
21553 delete arg2;
21554 }
21555 return NULL;
21556}
21557
21558
c32bde28 21559static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21560 PyObject *resultobj;
21561 wxPrintData *arg1 = (wxPrintData *) 0 ;
21562 wxString *arg2 = 0 ;
ae8162c8 21563 bool temp2 = false ;
d55e5bfc
RD
21564 PyObject * obj0 = 0 ;
21565 PyObject * obj1 = 0 ;
21566 char *kwnames[] = {
21567 (char *) "self",(char *) "options", NULL
21568 };
21569
21570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21572 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21573 {
21574 arg2 = wxString_in_helper(obj1);
21575 if (arg2 == NULL) SWIG_fail;
ae8162c8 21576 temp2 = true;
d55e5bfc
RD
21577 }
21578 {
21579 PyThreadState* __tstate = wxPyBeginAllowThreads();
21580 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21581
21582 wxPyEndAllowThreads(__tstate);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 }
21585 Py_INCREF(Py_None); resultobj = Py_None;
21586 {
21587 if (temp2)
21588 delete arg2;
21589 }
21590 return resultobj;
21591 fail:
21592 {
21593 if (temp2)
21594 delete arg2;
21595 }
21596 return NULL;
21597}
21598
21599
c32bde28 21600static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21601 PyObject *resultobj;
21602 wxPrintData *arg1 = (wxPrintData *) 0 ;
21603 wxString *arg2 = 0 ;
ae8162c8 21604 bool temp2 = false ;
d55e5bfc
RD
21605 PyObject * obj0 = 0 ;
21606 PyObject * obj1 = 0 ;
21607 char *kwnames[] = {
21608 (char *) "self",(char *) "command", NULL
21609 };
21610
21611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21613 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21614 {
21615 arg2 = wxString_in_helper(obj1);
21616 if (arg2 == NULL) SWIG_fail;
ae8162c8 21617 temp2 = true;
d55e5bfc
RD
21618 }
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21622
21623 wxPyEndAllowThreads(__tstate);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 }
21626 Py_INCREF(Py_None); resultobj = Py_None;
21627 {
21628 if (temp2)
21629 delete arg2;
21630 }
21631 return resultobj;
21632 fail:
21633 {
21634 if (temp2)
21635 delete arg2;
21636 }
21637 return NULL;
21638}
21639
21640
c32bde28 21641static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21642 PyObject *resultobj;
21643 wxPrintData *arg1 = (wxPrintData *) 0 ;
21644 wxString *arg2 = 0 ;
ae8162c8 21645 bool temp2 = false ;
d55e5bfc
RD
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
21648 char *kwnames[] = {
21649 (char *) "self",(char *) "path", NULL
21650 };
21651
21652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21654 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21655 {
21656 arg2 = wxString_in_helper(obj1);
21657 if (arg2 == NULL) SWIG_fail;
ae8162c8 21658 temp2 = true;
d55e5bfc
RD
21659 }
21660 {
21661 PyThreadState* __tstate = wxPyBeginAllowThreads();
21662 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21663
21664 wxPyEndAllowThreads(__tstate);
21665 if (PyErr_Occurred()) SWIG_fail;
21666 }
21667 Py_INCREF(Py_None); resultobj = Py_None;
21668 {
21669 if (temp2)
21670 delete arg2;
21671 }
21672 return resultobj;
21673 fail:
21674 {
21675 if (temp2)
21676 delete arg2;
21677 }
21678 return NULL;
21679}
21680
21681
c32bde28 21682static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21683 PyObject *resultobj;
21684 wxPrintData *arg1 = (wxPrintData *) 0 ;
21685 double arg2 ;
21686 PyObject * obj0 = 0 ;
21687 PyObject * obj1 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self",(char *) "x", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail;
21695 {
21696 arg2 = (double)(SWIG_As_double(obj1));
21697 if (SWIG_arg_fail(2)) SWIG_fail;
21698 }
d55e5bfc
RD
21699 {
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 (arg1)->SetPrinterScaleX(arg2);
21702
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 Py_INCREF(Py_None); resultobj = Py_None;
21707 return resultobj;
21708 fail:
21709 return NULL;
21710}
21711
21712
c32bde28 21713static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21714 PyObject *resultobj;
21715 wxPrintData *arg1 = (wxPrintData *) 0 ;
21716 double arg2 ;
21717 PyObject * obj0 = 0 ;
21718 PyObject * obj1 = 0 ;
21719 char *kwnames[] = {
21720 (char *) "self",(char *) "y", NULL
21721 };
21722
21723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21725 if (SWIG_arg_fail(1)) SWIG_fail;
21726 {
21727 arg2 = (double)(SWIG_As_double(obj1));
21728 if (SWIG_arg_fail(2)) SWIG_fail;
21729 }
d55e5bfc
RD
21730 {
21731 PyThreadState* __tstate = wxPyBeginAllowThreads();
21732 (arg1)->SetPrinterScaleY(arg2);
21733
21734 wxPyEndAllowThreads(__tstate);
21735 if (PyErr_Occurred()) SWIG_fail;
21736 }
21737 Py_INCREF(Py_None); resultobj = Py_None;
21738 return resultobj;
21739 fail:
21740 return NULL;
21741}
21742
21743
c32bde28 21744static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21745 PyObject *resultobj;
21746 wxPrintData *arg1 = (wxPrintData *) 0 ;
21747 double arg2 ;
21748 double arg3 ;
21749 PyObject * obj0 = 0 ;
21750 PyObject * obj1 = 0 ;
21751 PyObject * obj2 = 0 ;
21752 char *kwnames[] = {
21753 (char *) "self",(char *) "x",(char *) "y", NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21758 if (SWIG_arg_fail(1)) SWIG_fail;
21759 {
21760 arg2 = (double)(SWIG_As_double(obj1));
21761 if (SWIG_arg_fail(2)) SWIG_fail;
21762 }
21763 {
21764 arg3 = (double)(SWIG_As_double(obj2));
21765 if (SWIG_arg_fail(3)) SWIG_fail;
21766 }
d55e5bfc
RD
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 (arg1)->SetPrinterScaling(arg2,arg3);
21770
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 Py_INCREF(Py_None); resultobj = Py_None;
21775 return resultobj;
21776 fail:
21777 return NULL;
21778}
21779
21780
c32bde28 21781static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21782 PyObject *resultobj;
21783 wxPrintData *arg1 = (wxPrintData *) 0 ;
21784 long arg2 ;
21785 PyObject * obj0 = 0 ;
21786 PyObject * obj1 = 0 ;
21787 char *kwnames[] = {
21788 (char *) "self",(char *) "x", NULL
21789 };
21790
21791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21793 if (SWIG_arg_fail(1)) SWIG_fail;
21794 {
21795 arg2 = (long)(SWIG_As_long(obj1));
21796 if (SWIG_arg_fail(2)) SWIG_fail;
21797 }
d55e5bfc
RD
21798 {
21799 PyThreadState* __tstate = wxPyBeginAllowThreads();
21800 (arg1)->SetPrinterTranslateX(arg2);
21801
21802 wxPyEndAllowThreads(__tstate);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 }
21805 Py_INCREF(Py_None); resultobj = Py_None;
21806 return resultobj;
21807 fail:
21808 return NULL;
21809}
21810
21811
c32bde28 21812static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21813 PyObject *resultobj;
21814 wxPrintData *arg1 = (wxPrintData *) 0 ;
21815 long arg2 ;
21816 PyObject * obj0 = 0 ;
21817 PyObject * obj1 = 0 ;
21818 char *kwnames[] = {
21819 (char *) "self",(char *) "y", NULL
21820 };
21821
21822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21824 if (SWIG_arg_fail(1)) SWIG_fail;
21825 {
21826 arg2 = (long)(SWIG_As_long(obj1));
21827 if (SWIG_arg_fail(2)) SWIG_fail;
21828 }
d55e5bfc
RD
21829 {
21830 PyThreadState* __tstate = wxPyBeginAllowThreads();
21831 (arg1)->SetPrinterTranslateY(arg2);
21832
21833 wxPyEndAllowThreads(__tstate);
21834 if (PyErr_Occurred()) SWIG_fail;
21835 }
21836 Py_INCREF(Py_None); resultobj = Py_None;
21837 return resultobj;
21838 fail:
21839 return NULL;
21840}
21841
21842
c32bde28 21843static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21844 PyObject *resultobj;
21845 wxPrintData *arg1 = (wxPrintData *) 0 ;
21846 long arg2 ;
21847 long arg3 ;
21848 PyObject * obj0 = 0 ;
21849 PyObject * obj1 = 0 ;
21850 PyObject * obj2 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self",(char *) "x",(char *) "y", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21857 if (SWIG_arg_fail(1)) SWIG_fail;
21858 {
21859 arg2 = (long)(SWIG_As_long(obj1));
21860 if (SWIG_arg_fail(2)) SWIG_fail;
21861 }
21862 {
21863 arg3 = (long)(SWIG_As_long(obj2));
21864 if (SWIG_arg_fail(3)) SWIG_fail;
21865 }
d55e5bfc
RD
21866 {
21867 PyThreadState* __tstate = wxPyBeginAllowThreads();
21868 (arg1)->SetPrinterTranslation(arg2,arg3);
21869
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 Py_INCREF(Py_None); resultobj = Py_None;
21874 return resultobj;
21875 fail:
21876 return NULL;
21877}
21878
21879
c32bde28 21880static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21881 PyObject *obj;
21882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21883 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21884 Py_INCREF(obj);
21885 return Py_BuildValue((char *)"");
21886}
c32bde28 21887static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
21888 PyObject *resultobj;
21889 wxPageSetupDialogData *result;
d55e5bfc 21890
09c21d3b 21891 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d55e5bfc
RD
21892 {
21893 PyThreadState* __tstate = wxPyBeginAllowThreads();
21894 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21895
21896 wxPyEndAllowThreads(__tstate);
21897 if (PyErr_Occurred()) SWIG_fail;
21898 }
21899 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21900 return resultobj;
21901 fail:
21902 return NULL;
21903}
21904
21905
c32bde28 21906static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
21907 PyObject *resultobj;
21908 wxPageSetupDialogData *arg1 = 0 ;
21909 wxPageSetupDialogData *result;
21910 PyObject * obj0 = 0 ;
21911
21912 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
093d3ff1
RD
21913 {
21914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21915 if (SWIG_arg_fail(1)) SWIG_fail;
21916 if (arg1 == NULL) {
21917 SWIG_null_ref("wxPageSetupDialogData");
21918 }
21919 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
21920 }
21921 {
21922 PyThreadState* __tstate = wxPyBeginAllowThreads();
21923 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21924
21925 wxPyEndAllowThreads(__tstate);
21926 if (PyErr_Occurred()) SWIG_fail;
21927 }
21928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21929 return resultobj;
21930 fail:
21931 return NULL;
21932}
21933
21934
21935static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21936 int argc;
21937 PyObject *argv[2];
21938 int ii;
21939
21940 argc = PyObject_Length(args);
21941 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21942 argv[ii] = PyTuple_GetItem(args,ii);
21943 }
21944 if (argc == 0) {
21945 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21946 }
21947 if (argc == 1) {
21948 int _v;
21949 {
093d3ff1 21950 void *ptr = 0;
09c21d3b
RD
21951 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21952 _v = 0;
21953 PyErr_Clear();
21954 } else {
093d3ff1 21955 _v = (ptr != 0);
09c21d3b
RD
21956 }
21957 }
21958 if (_v) {
21959 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21960 }
21961 }
21962
093d3ff1 21963 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
09c21d3b
RD
21964 return NULL;
21965}
21966
21967
c32bde28 21968static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21969 PyObject *resultobj;
21970 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21971 PyObject * obj0 = 0 ;
21972 char *kwnames[] = {
21973 (char *) "self", NULL
21974 };
21975
21976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
21977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21978 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21979 {
21980 PyThreadState* __tstate = wxPyBeginAllowThreads();
21981 delete arg1;
21982
21983 wxPyEndAllowThreads(__tstate);
21984 if (PyErr_Occurred()) SWIG_fail;
21985 }
21986 Py_INCREF(Py_None); resultobj = Py_None;
21987 return resultobj;
21988 fail:
21989 return NULL;
21990}
21991
21992
c32bde28 21993static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21994 PyObject *resultobj;
21995 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21996 bool arg2 ;
21997 PyObject * obj0 = 0 ;
21998 PyObject * obj1 = 0 ;
21999 char *kwnames[] = {
22000 (char *) "self",(char *) "flag", NULL
22001 };
22002
22003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22005 if (SWIG_arg_fail(1)) SWIG_fail;
22006 {
22007 arg2 = (bool)(SWIG_As_bool(obj1));
22008 if (SWIG_arg_fail(2)) SWIG_fail;
22009 }
d55e5bfc
RD
22010 {
22011 PyThreadState* __tstate = wxPyBeginAllowThreads();
22012 (arg1)->EnableHelp(arg2);
22013
22014 wxPyEndAllowThreads(__tstate);
22015 if (PyErr_Occurred()) SWIG_fail;
22016 }
22017 Py_INCREF(Py_None); resultobj = Py_None;
22018 return resultobj;
22019 fail:
22020 return NULL;
22021}
22022
22023
c32bde28 22024static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22025 PyObject *resultobj;
22026 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22027 bool arg2 ;
22028 PyObject * obj0 = 0 ;
22029 PyObject * obj1 = 0 ;
22030 char *kwnames[] = {
22031 (char *) "self",(char *) "flag", NULL
22032 };
22033
22034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22036 if (SWIG_arg_fail(1)) SWIG_fail;
22037 {
22038 arg2 = (bool)(SWIG_As_bool(obj1));
22039 if (SWIG_arg_fail(2)) SWIG_fail;
22040 }
d55e5bfc
RD
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22043 (arg1)->EnableMargins(arg2);
22044
22045 wxPyEndAllowThreads(__tstate);
22046 if (PyErr_Occurred()) SWIG_fail;
22047 }
22048 Py_INCREF(Py_None); resultobj = Py_None;
22049 return resultobj;
22050 fail:
22051 return NULL;
22052}
22053
22054
c32bde28 22055static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22056 PyObject *resultobj;
22057 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22058 bool arg2 ;
22059 PyObject * obj0 = 0 ;
22060 PyObject * obj1 = 0 ;
22061 char *kwnames[] = {
22062 (char *) "self",(char *) "flag", NULL
22063 };
22064
22065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22067 if (SWIG_arg_fail(1)) SWIG_fail;
22068 {
22069 arg2 = (bool)(SWIG_As_bool(obj1));
22070 if (SWIG_arg_fail(2)) SWIG_fail;
22071 }
d55e5bfc
RD
22072 {
22073 PyThreadState* __tstate = wxPyBeginAllowThreads();
22074 (arg1)->EnableOrientation(arg2);
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 Py_INCREF(Py_None); resultobj = Py_None;
22080 return resultobj;
22081 fail:
22082 return NULL;
22083}
22084
22085
c32bde28 22086static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22087 PyObject *resultobj;
22088 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22089 bool arg2 ;
22090 PyObject * obj0 = 0 ;
22091 PyObject * obj1 = 0 ;
22092 char *kwnames[] = {
22093 (char *) "self",(char *) "flag", NULL
22094 };
22095
22096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22098 if (SWIG_arg_fail(1)) SWIG_fail;
22099 {
22100 arg2 = (bool)(SWIG_As_bool(obj1));
22101 if (SWIG_arg_fail(2)) SWIG_fail;
22102 }
d55e5bfc
RD
22103 {
22104 PyThreadState* __tstate = wxPyBeginAllowThreads();
22105 (arg1)->EnablePaper(arg2);
22106
22107 wxPyEndAllowThreads(__tstate);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 }
22110 Py_INCREF(Py_None); resultobj = Py_None;
22111 return resultobj;
22112 fail:
22113 return NULL;
22114}
22115
22116
c32bde28 22117static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22118 PyObject *resultobj;
22119 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22120 bool arg2 ;
22121 PyObject * obj0 = 0 ;
22122 PyObject * obj1 = 0 ;
22123 char *kwnames[] = {
22124 (char *) "self",(char *) "flag", NULL
22125 };
22126
22127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22129 if (SWIG_arg_fail(1)) SWIG_fail;
22130 {
22131 arg2 = (bool)(SWIG_As_bool(obj1));
22132 if (SWIG_arg_fail(2)) SWIG_fail;
22133 }
d55e5bfc
RD
22134 {
22135 PyThreadState* __tstate = wxPyBeginAllowThreads();
22136 (arg1)->EnablePrinter(arg2);
22137
22138 wxPyEndAllowThreads(__tstate);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
22141 Py_INCREF(Py_None); resultobj = Py_None;
22142 return resultobj;
22143 fail:
22144 return NULL;
22145}
22146
22147
c32bde28 22148static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22149 PyObject *resultobj;
22150 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22151 bool result;
22152 PyObject * obj0 = 0 ;
22153 char *kwnames[] = {
22154 (char *) "self", NULL
22155 };
22156
22157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
22158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22159 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22160 {
22161 PyThreadState* __tstate = wxPyBeginAllowThreads();
22162 result = (bool)(arg1)->GetDefaultMinMargins();
22163
22164 wxPyEndAllowThreads(__tstate);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
22167 {
22168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22169 }
22170 return resultobj;
22171 fail:
22172 return NULL;
22173}
22174
22175
c32bde28 22176static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22177 PyObject *resultobj;
22178 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22179 bool result;
22180 PyObject * obj0 = 0 ;
22181 char *kwnames[] = {
22182 (char *) "self", NULL
22183 };
22184
22185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
22186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22188 {
22189 PyThreadState* __tstate = wxPyBeginAllowThreads();
22190 result = (bool)(arg1)->GetEnableMargins();
22191
22192 wxPyEndAllowThreads(__tstate);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
22195 {
22196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22197 }
22198 return resultobj;
22199 fail:
22200 return NULL;
22201}
22202
22203
c32bde28 22204static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22205 PyObject *resultobj;
22206 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22207 bool result;
22208 PyObject * obj0 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "self", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
22214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22215 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 result = (bool)(arg1)->GetEnableOrientation();
22219
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
22223 {
22224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22225 }
22226 return resultobj;
22227 fail:
22228 return NULL;
22229}
22230
22231
c32bde28 22232static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22233 PyObject *resultobj;
22234 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22235 bool result;
22236 PyObject * obj0 = 0 ;
22237 char *kwnames[] = {
22238 (char *) "self", NULL
22239 };
22240
22241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
093d3ff1
RD
22242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22243 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 result = (bool)(arg1)->GetEnablePaper();
22247
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
22251 {
22252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22253 }
22254 return resultobj;
22255 fail:
22256 return NULL;
22257}
22258
22259
c32bde28 22260static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22261 PyObject *resultobj;
22262 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22263 bool result;
22264 PyObject * obj0 = 0 ;
22265 char *kwnames[] = {
22266 (char *) "self", NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) 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;
d55e5bfc
RD
22272 {
22273 PyThreadState* __tstate = wxPyBeginAllowThreads();
22274 result = (bool)(arg1)->GetEnablePrinter();
22275
22276 wxPyEndAllowThreads(__tstate);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 }
22279 {
22280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22281 }
22282 return resultobj;
22283 fail:
22284 return NULL;
22285}
22286
22287
c32bde28 22288static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22289 PyObject *resultobj;
22290 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22291 bool result;
22292 PyObject * obj0 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
22298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22299 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22300 {
22301 PyThreadState* __tstate = wxPyBeginAllowThreads();
22302 result = (bool)(arg1)->GetEnableHelp();
22303
22304 wxPyEndAllowThreads(__tstate);
22305 if (PyErr_Occurred()) SWIG_fail;
22306 }
22307 {
22308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22309 }
22310 return resultobj;
22311 fail:
22312 return NULL;
22313}
22314
22315
c32bde28 22316static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22317 PyObject *resultobj;
22318 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22319 bool result;
22320 PyObject * obj0 = 0 ;
22321 char *kwnames[] = {
22322 (char *) "self", NULL
22323 };
22324
22325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
22326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22328 {
22329 PyThreadState* __tstate = wxPyBeginAllowThreads();
22330 result = (bool)(arg1)->GetDefaultInfo();
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 {
22336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22337 }
22338 return resultobj;
22339 fail:
22340 return NULL;
22341}
22342
22343
c32bde28 22344static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22345 PyObject *resultobj;
22346 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22347 wxPoint result;
22348 PyObject * obj0 = 0 ;
22349 char *kwnames[] = {
22350 (char *) "self", NULL
22351 };
22352
22353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22355 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22356 {
22357 PyThreadState* __tstate = wxPyBeginAllowThreads();
22358 result = (arg1)->GetMarginTopLeft();
22359
22360 wxPyEndAllowThreads(__tstate);
22361 if (PyErr_Occurred()) SWIG_fail;
22362 }
22363 {
22364 wxPoint * resultptr;
093d3ff1 22365 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22366 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22367 }
22368 return resultobj;
22369 fail:
22370 return NULL;
22371}
22372
22373
c32bde28 22374static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22375 PyObject *resultobj;
22376 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22377 wxPoint result;
22378 PyObject * obj0 = 0 ;
22379 char *kwnames[] = {
22380 (char *) "self", NULL
22381 };
22382
22383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22386 {
22387 PyThreadState* __tstate = wxPyBeginAllowThreads();
22388 result = (arg1)->GetMarginBottomRight();
22389
22390 wxPyEndAllowThreads(__tstate);
22391 if (PyErr_Occurred()) SWIG_fail;
22392 }
22393 {
22394 wxPoint * resultptr;
093d3ff1 22395 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22396 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22397 }
22398 return resultobj;
22399 fail:
22400 return NULL;
22401}
22402
22403
c32bde28 22404static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22405 PyObject *resultobj;
22406 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22407 wxPoint result;
22408 PyObject * obj0 = 0 ;
22409 char *kwnames[] = {
22410 (char *) "self", NULL
22411 };
22412
22413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22415 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22416 {
22417 PyThreadState* __tstate = wxPyBeginAllowThreads();
22418 result = (arg1)->GetMinMarginTopLeft();
22419
22420 wxPyEndAllowThreads(__tstate);
22421 if (PyErr_Occurred()) SWIG_fail;
22422 }
22423 {
22424 wxPoint * resultptr;
093d3ff1 22425 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22426 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22427 }
22428 return resultobj;
22429 fail:
22430 return NULL;
22431}
22432
22433
c32bde28 22434static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22435 PyObject *resultobj;
22436 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22437 wxPoint result;
22438 PyObject * obj0 = 0 ;
22439 char *kwnames[] = {
22440 (char *) "self", NULL
22441 };
22442
22443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22446 {
22447 PyThreadState* __tstate = wxPyBeginAllowThreads();
22448 result = (arg1)->GetMinMarginBottomRight();
22449
22450 wxPyEndAllowThreads(__tstate);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 }
22453 {
22454 wxPoint * resultptr;
093d3ff1 22455 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22457 }
22458 return resultobj;
22459 fail:
22460 return NULL;
22461}
22462
22463
c32bde28 22464static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22465 PyObject *resultobj;
22466 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22467 wxPaperSize result;
d55e5bfc
RD
22468 PyObject * obj0 = 0 ;
22469 char *kwnames[] = {
22470 (char *) "self", NULL
22471 };
22472
22473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",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();
093d3ff1 22478 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
22479
22480 wxPyEndAllowThreads(__tstate);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 }
093d3ff1 22483 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22484 return resultobj;
22485 fail:
22486 return NULL;
22487}
22488
22489
c32bde28 22490static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22491 PyObject *resultobj;
22492 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22493 wxSize result;
22494 PyObject * obj0 = 0 ;
22495 char *kwnames[] = {
22496 (char *) "self", NULL
22497 };
22498
22499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22501 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22502 {
22503 PyThreadState* __tstate = wxPyBeginAllowThreads();
22504 result = (arg1)->GetPaperSize();
22505
22506 wxPyEndAllowThreads(__tstate);
22507 if (PyErr_Occurred()) SWIG_fail;
22508 }
22509 {
22510 wxSize * resultptr;
093d3ff1 22511 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
22512 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22513 }
22514 return resultobj;
22515 fail:
22516 return NULL;
22517}
22518
22519
c32bde28 22520static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22521 PyObject *resultobj;
22522 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22523 wxPrintData *result;
22524 PyObject * obj0 = 0 ;
22525 char *kwnames[] = {
22526 (char *) "self", NULL
22527 };
22528
22529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",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 {
22535 wxPrintData &_result_ref = (arg1)->GetPrintData();
22536 result = (wxPrintData *) &_result_ref;
22537 }
22538
22539 wxPyEndAllowThreads(__tstate);
22540 if (PyErr_Occurred()) SWIG_fail;
22541 }
22542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22543 return resultobj;
22544 fail:
22545 return NULL;
22546}
22547
22548
c32bde28 22549static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22550 PyObject *resultobj;
22551 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22552 bool result;
22553 PyObject * obj0 = 0 ;
22554 char *kwnames[] = {
22555 (char *) "self", NULL
22556 };
22557
22558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
22559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22560 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22561 {
22562 PyThreadState* __tstate = wxPyBeginAllowThreads();
22563 result = (bool)(arg1)->Ok();
22564
22565 wxPyEndAllowThreads(__tstate);
22566 if (PyErr_Occurred()) SWIG_fail;
22567 }
22568 {
22569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22570 }
22571 return resultobj;
22572 fail:
22573 return NULL;
22574}
22575
22576
c32bde28 22577static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22578 PyObject *resultobj;
22579 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22580 bool arg2 ;
22581 PyObject * obj0 = 0 ;
22582 PyObject * obj1 = 0 ;
22583 char *kwnames[] = {
22584 (char *) "self",(char *) "flag", NULL
22585 };
22586
22587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) 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;
22590 {
22591 arg2 = (bool)(SWIG_As_bool(obj1));
22592 if (SWIG_arg_fail(2)) SWIG_fail;
22593 }
d55e5bfc
RD
22594 {
22595 PyThreadState* __tstate = wxPyBeginAllowThreads();
22596 (arg1)->SetDefaultInfo(arg2);
22597
22598 wxPyEndAllowThreads(__tstate);
22599 if (PyErr_Occurred()) SWIG_fail;
22600 }
22601 Py_INCREF(Py_None); resultobj = Py_None;
22602 return resultobj;
22603 fail:
22604 return NULL;
22605}
22606
22607
c32bde28 22608static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22609 PyObject *resultobj;
22610 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22611 bool arg2 ;
22612 PyObject * obj0 = 0 ;
22613 PyObject * obj1 = 0 ;
22614 char *kwnames[] = {
22615 (char *) "self",(char *) "flag", NULL
22616 };
22617
22618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22620 if (SWIG_arg_fail(1)) SWIG_fail;
22621 {
22622 arg2 = (bool)(SWIG_As_bool(obj1));
22623 if (SWIG_arg_fail(2)) SWIG_fail;
22624 }
d55e5bfc
RD
22625 {
22626 PyThreadState* __tstate = wxPyBeginAllowThreads();
22627 (arg1)->SetDefaultMinMargins(arg2);
22628
22629 wxPyEndAllowThreads(__tstate);
22630 if (PyErr_Occurred()) SWIG_fail;
22631 }
22632 Py_INCREF(Py_None); resultobj = Py_None;
22633 return resultobj;
22634 fail:
22635 return NULL;
22636}
22637
22638
c32bde28 22639static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22640 PyObject *resultobj;
22641 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22642 wxPoint *arg2 = 0 ;
22643 wxPoint temp2 ;
22644 PyObject * obj0 = 0 ;
22645 PyObject * obj1 = 0 ;
22646 char *kwnames[] = {
22647 (char *) "self",(char *) "pt", NULL
22648 };
22649
22650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22652 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22653 {
22654 arg2 = &temp2;
22655 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22656 }
22657 {
22658 PyThreadState* __tstate = wxPyBeginAllowThreads();
22659 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22660
22661 wxPyEndAllowThreads(__tstate);
22662 if (PyErr_Occurred()) SWIG_fail;
22663 }
22664 Py_INCREF(Py_None); resultobj = Py_None;
22665 return resultobj;
22666 fail:
22667 return NULL;
22668}
22669
22670
c32bde28 22671static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22672 PyObject *resultobj;
22673 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22674 wxPoint *arg2 = 0 ;
22675 wxPoint temp2 ;
22676 PyObject * obj0 = 0 ;
22677 PyObject * obj1 = 0 ;
22678 char *kwnames[] = {
22679 (char *) "self",(char *) "pt", NULL
22680 };
22681
22682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22684 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22685 {
22686 arg2 = &temp2;
22687 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22688 }
22689 {
22690 PyThreadState* __tstate = wxPyBeginAllowThreads();
22691 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22692
22693 wxPyEndAllowThreads(__tstate);
22694 if (PyErr_Occurred()) SWIG_fail;
22695 }
22696 Py_INCREF(Py_None); resultobj = Py_None;
22697 return resultobj;
22698 fail:
22699 return NULL;
22700}
22701
22702
c32bde28 22703static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22704 PyObject *resultobj;
22705 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22706 wxPoint *arg2 = 0 ;
22707 wxPoint temp2 ;
22708 PyObject * obj0 = 0 ;
22709 PyObject * obj1 = 0 ;
22710 char *kwnames[] = {
22711 (char *) "self",(char *) "pt", NULL
22712 };
22713
22714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22715 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22716 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22717 {
22718 arg2 = &temp2;
22719 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22720 }
22721 {
22722 PyThreadState* __tstate = wxPyBeginAllowThreads();
22723 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22724
22725 wxPyEndAllowThreads(__tstate);
22726 if (PyErr_Occurred()) SWIG_fail;
22727 }
22728 Py_INCREF(Py_None); resultobj = Py_None;
22729 return resultobj;
22730 fail:
22731 return NULL;
22732}
22733
22734
c32bde28 22735static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22736 PyObject *resultobj;
22737 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22738 wxPoint *arg2 = 0 ;
22739 wxPoint temp2 ;
22740 PyObject * obj0 = 0 ;
22741 PyObject * obj1 = 0 ;
22742 char *kwnames[] = {
22743 (char *) "self",(char *) "pt", NULL
22744 };
22745
22746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22748 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22749 {
22750 arg2 = &temp2;
22751 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22752 }
22753 {
22754 PyThreadState* __tstate = wxPyBeginAllowThreads();
22755 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22756
22757 wxPyEndAllowThreads(__tstate);
22758 if (PyErr_Occurred()) SWIG_fail;
22759 }
22760 Py_INCREF(Py_None); resultobj = Py_None;
22761 return resultobj;
22762 fail:
22763 return NULL;
22764}
22765
22766
c32bde28 22767static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22768 PyObject *resultobj;
22769 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22770 wxPaperSize arg2 ;
d55e5bfc
RD
22771 PyObject * obj0 = 0 ;
22772 PyObject * obj1 = 0 ;
22773 char *kwnames[] = {
22774 (char *) "self",(char *) "id", NULL
22775 };
22776
22777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22779 if (SWIG_arg_fail(1)) SWIG_fail;
22780 {
22781 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22782 if (SWIG_arg_fail(2)) SWIG_fail;
22783 }
d55e5bfc
RD
22784 {
22785 PyThreadState* __tstate = wxPyBeginAllowThreads();
22786 (arg1)->SetPaperId((wxPaperSize )arg2);
22787
22788 wxPyEndAllowThreads(__tstate);
22789 if (PyErr_Occurred()) SWIG_fail;
22790 }
22791 Py_INCREF(Py_None); resultobj = Py_None;
22792 return resultobj;
22793 fail:
22794 return NULL;
22795}
22796
22797
c32bde28 22798static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22799 PyObject *resultobj;
22800 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22801 wxSize *arg2 = 0 ;
22802 wxSize temp2 ;
22803 PyObject * obj0 = 0 ;
22804 PyObject * obj1 = 0 ;
22805 char *kwnames[] = {
22806 (char *) "self",(char *) "size", NULL
22807 };
22808
22809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22811 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22812 {
22813 arg2 = &temp2;
22814 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22815 }
22816 {
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 (arg1)->SetPaperSize((wxSize const &)*arg2);
22819
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 Py_INCREF(Py_None); resultobj = Py_None;
22824 return resultobj;
22825 fail:
22826 return NULL;
22827}
22828
22829
c32bde28 22830static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22831 PyObject *resultobj;
22832 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22833 wxPrintData *arg2 = 0 ;
22834 PyObject * obj0 = 0 ;
22835 PyObject * obj1 = 0 ;
22836 char *kwnames[] = {
22837 (char *) "self",(char *) "printData", NULL
22838 };
22839
22840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22842 if (SWIG_arg_fail(1)) SWIG_fail;
22843 {
22844 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22845 if (SWIG_arg_fail(2)) SWIG_fail;
22846 if (arg2 == NULL) {
22847 SWIG_null_ref("wxPrintData");
22848 }
22849 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22850 }
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22854
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 Py_INCREF(Py_None); resultobj = Py_None;
22859 return resultobj;
22860 fail:
22861 return NULL;
22862}
22863
22864
c32bde28 22865static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22866 PyObject *obj;
22867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22868 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22869 Py_INCREF(obj);
22870 return Py_BuildValue((char *)"");
22871}
c32bde28 22872static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22873 PyObject *resultobj;
22874 wxWindow *arg1 = (wxWindow *) 0 ;
22875 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22876 wxPageSetupDialog *result;
22877 PyObject * obj0 = 0 ;
22878 PyObject * obj1 = 0 ;
22879 char *kwnames[] = {
22880 (char *) "parent",(char *) "data", NULL
22881 };
22882
22883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22885 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22886 if (obj1) {
093d3ff1
RD
22887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22888 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22889 }
22890 {
0439c23b 22891 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22894
22895 wxPyEndAllowThreads(__tstate);
110da5b0 22896 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22897 }
22898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22899 return resultobj;
22900 fail:
22901 return NULL;
22902}
22903
22904
c32bde28 22905static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22906 PyObject *resultobj;
22907 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22908 wxPageSetupDialogData *result;
22909 PyObject * obj0 = 0 ;
22910 char *kwnames[] = {
22911 (char *) "self", NULL
22912 };
22913
22914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22916 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22917 {
22918 PyThreadState* __tstate = wxPyBeginAllowThreads();
22919 {
22920 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22921 result = (wxPageSetupDialogData *) &_result_ref;
22922 }
22923
22924 wxPyEndAllowThreads(__tstate);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 }
22927 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22928 return resultobj;
22929 fail:
22930 return NULL;
22931}
22932
22933
8ac8dba0
RD
22934static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22935 PyObject *resultobj;
22936 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22937 wxPageSetupDialogData *result;
22938 PyObject * obj0 = 0 ;
22939 char *kwnames[] = {
22940 (char *) "self", NULL
22941 };
22942
22943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22945 if (SWIG_arg_fail(1)) SWIG_fail;
8ac8dba0
RD
22946 {
22947 PyThreadState* __tstate = wxPyBeginAllowThreads();
22948 {
22949 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22950 result = (wxPageSetupDialogData *) &_result_ref;
22951 }
22952
22953 wxPyEndAllowThreads(__tstate);
22954 if (PyErr_Occurred()) SWIG_fail;
22955 }
22956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22957 return resultobj;
22958 fail:
22959 return NULL;
22960}
22961
22962
c32bde28 22963static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22964 PyObject *resultobj;
22965 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22966 int result;
22967 PyObject * obj0 = 0 ;
22968 char *kwnames[] = {
22969 (char *) "self", NULL
22970 };
22971
22972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
22973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22974 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22975 {
22976 PyThreadState* __tstate = wxPyBeginAllowThreads();
22977 result = (int)(arg1)->ShowModal();
22978
22979 wxPyEndAllowThreads(__tstate);
22980 if (PyErr_Occurred()) SWIG_fail;
22981 }
093d3ff1
RD
22982 {
22983 resultobj = SWIG_From_int((int)(result));
22984 }
d55e5bfc
RD
22985 return resultobj;
22986 fail:
22987 return NULL;
22988}
22989
22990
c32bde28 22991static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22992 PyObject *obj;
22993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22994 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22995 Py_INCREF(obj);
22996 return Py_BuildValue((char *)"");
22997}
c32bde28 22998static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
22999 PyObject *resultobj;
23000 wxPrintDialogData *result;
23001
23002 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
23003 {
23004 PyThreadState* __tstate = wxPyBeginAllowThreads();
23005 result = (wxPrintDialogData *)new wxPrintDialogData();
23006
23007 wxPyEndAllowThreads(__tstate);
23008 if (PyErr_Occurred()) SWIG_fail;
23009 }
23010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23011 return resultobj;
23012 fail:
23013 return NULL;
23014}
23015
23016
c32bde28 23017static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
23018 PyObject *resultobj;
23019 wxPrintData *arg1 = 0 ;
23020 wxPrintDialogData *result;
23021 PyObject * obj0 = 0 ;
23022
23023 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
093d3ff1
RD
23024 {
23025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23026 if (SWIG_arg_fail(1)) SWIG_fail;
23027 if (arg1 == NULL) {
23028 SWIG_null_ref("wxPrintData");
23029 }
23030 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23031 }
23032 {
23033 PyThreadState* __tstate = wxPyBeginAllowThreads();
23034 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
23035
23036 wxPyEndAllowThreads(__tstate);
23037 if (PyErr_Occurred()) SWIG_fail;
23038 }
23039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23040 return resultobj;
23041 fail:
23042 return NULL;
23043}
23044
23045
23046static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
23047 int argc;
23048 PyObject *argv[2];
23049 int ii;
23050
23051 argc = PyObject_Length(args);
23052 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
23053 argv[ii] = PyTuple_GetItem(args,ii);
23054 }
23055 if (argc == 0) {
23056 return _wrap_new_PrintDialogData__SWIG_0(self,args);
23057 }
23058 if (argc == 1) {
23059 int _v;
23060 {
093d3ff1 23061 void *ptr = 0;
d55e5bfc
RD
23062 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23063 _v = 0;
23064 PyErr_Clear();
23065 } else {
093d3ff1 23066 _v = (ptr != 0);
d55e5bfc
RD
23067 }
23068 }
23069 if (_v) {
23070 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23071 }
23072 }
23073
093d3ff1 23074 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
d55e5bfc
RD
23075 return NULL;
23076}
23077
23078
c32bde28 23079static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23080 PyObject *resultobj;
23081 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23082 PyObject * obj0 = 0 ;
23083 char *kwnames[] = {
23084 (char *) "self", NULL
23085 };
23086
23087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23089 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23090 {
23091 PyThreadState* __tstate = wxPyBeginAllowThreads();
23092 delete arg1;
23093
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 Py_INCREF(Py_None); resultobj = Py_None;
23098 return resultobj;
23099 fail:
23100 return NULL;
23101}
23102
23103
c32bde28 23104static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23105 PyObject *resultobj;
23106 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23107 int result;
23108 PyObject * obj0 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23115 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23116 {
23117 PyThreadState* __tstate = wxPyBeginAllowThreads();
23118 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23119
23120 wxPyEndAllowThreads(__tstate);
23121 if (PyErr_Occurred()) SWIG_fail;
23122 }
093d3ff1
RD
23123 {
23124 resultobj = SWIG_From_int((int)(result));
23125 }
d55e5bfc
RD
23126 return resultobj;
23127 fail:
23128 return NULL;
23129}
23130
23131
c32bde28 23132static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23133 PyObject *resultobj;
23134 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23135 int result;
23136 PyObject * obj0 = 0 ;
23137 char *kwnames[] = {
23138 (char *) "self", NULL
23139 };
23140
23141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23143 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23144 {
23145 PyThreadState* __tstate = wxPyBeginAllowThreads();
23146 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23147
23148 wxPyEndAllowThreads(__tstate);
23149 if (PyErr_Occurred()) SWIG_fail;
23150 }
093d3ff1
RD
23151 {
23152 resultobj = SWIG_From_int((int)(result));
23153 }
d55e5bfc
RD
23154 return resultobj;
23155 fail:
23156 return NULL;
23157}
23158
23159
c32bde28 23160static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23161 PyObject *resultobj;
23162 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23163 int result;
23164 PyObject * obj0 = 0 ;
23165 char *kwnames[] = {
23166 (char *) "self", NULL
23167 };
23168
23169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23171 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
093d3ff1
RD
23179 {
23180 resultobj = SWIG_From_int((int)(result));
23181 }
d55e5bfc
RD
23182 return resultobj;
23183 fail:
23184 return NULL;
23185}
23186
23187
c32bde28 23188static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23189 PyObject *resultobj;
23190 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23191 int result;
23192 PyObject * obj0 = 0 ;
23193 char *kwnames[] = {
23194 (char *) "self", NULL
23195 };
23196
23197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23200 {
23201 PyThreadState* __tstate = wxPyBeginAllowThreads();
23202 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23203
23204 wxPyEndAllowThreads(__tstate);
23205 if (PyErr_Occurred()) SWIG_fail;
23206 }
093d3ff1
RD
23207 {
23208 resultobj = SWIG_From_int((int)(result));
23209 }
d55e5bfc
RD
23210 return resultobj;
23211 fail:
23212 return NULL;
23213}
23214
23215
c32bde28 23216static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23217 PyObject *resultobj;
23218 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23219 int result;
23220 PyObject * obj0 = 0 ;
23221 char *kwnames[] = {
23222 (char *) "self", NULL
23223 };
23224
23225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
23226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23227 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23228 {
23229 PyThreadState* __tstate = wxPyBeginAllowThreads();
23230 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23231
23232 wxPyEndAllowThreads(__tstate);
23233 if (PyErr_Occurred()) SWIG_fail;
23234 }
093d3ff1
RD
23235 {
23236 resultobj = SWIG_From_int((int)(result));
23237 }
d55e5bfc
RD
23238 return resultobj;
23239 fail:
23240 return NULL;
23241}
23242
23243
c32bde28 23244static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23245 PyObject *resultobj;
23246 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23247 bool result;
23248 PyObject * obj0 = 0 ;
23249 char *kwnames[] = {
23250 (char *) "self", NULL
23251 };
23252
23253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
23254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23255 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23256 {
23257 PyThreadState* __tstate = wxPyBeginAllowThreads();
23258 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23259
23260 wxPyEndAllowThreads(__tstate);
23261 if (PyErr_Occurred()) SWIG_fail;
23262 }
23263 {
23264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23265 }
23266 return resultobj;
23267 fail:
23268 return NULL;
23269}
23270
23271
c32bde28 23272static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23273 PyObject *resultobj;
23274 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23275 bool result;
23276 PyObject * obj0 = 0 ;
23277 char *kwnames[] = {
23278 (char *) "self", NULL
23279 };
23280
23281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
23282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23283 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23284 {
23285 PyThreadState* __tstate = wxPyBeginAllowThreads();
23286 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23287
23288 wxPyEndAllowThreads(__tstate);
23289 if (PyErr_Occurred()) SWIG_fail;
23290 }
23291 {
23292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23293 }
23294 return resultobj;
23295 fail:
23296 return NULL;
23297}
23298
23299
c32bde28 23300static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23301 PyObject *resultobj;
23302 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23303 bool result;
23304 PyObject * obj0 = 0 ;
23305 char *kwnames[] = {
23306 (char *) "self", NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23311 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23312 {
23313 PyThreadState* __tstate = wxPyBeginAllowThreads();
23314 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23315
23316 wxPyEndAllowThreads(__tstate);
23317 if (PyErr_Occurred()) SWIG_fail;
23318 }
23319 {
23320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23321 }
23322 return resultobj;
23323 fail:
23324 return NULL;
23325}
23326
23327
c32bde28 23328static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23329 PyObject *resultobj;
23330 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23331 bool result;
23332 PyObject * obj0 = 0 ;
23333 char *kwnames[] = {
23334 (char *) "self", NULL
23335 };
23336
23337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23339 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23340 {
23341 PyThreadState* __tstate = wxPyBeginAllowThreads();
23342 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23343
23344 wxPyEndAllowThreads(__tstate);
23345 if (PyErr_Occurred()) SWIG_fail;
23346 }
23347 {
23348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23349 }
23350 return resultobj;
23351 fail:
23352 return NULL;
23353}
23354
23355
c32bde28 23356static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23357 PyObject *resultobj;
23358 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23359 bool result;
23360 PyObject * obj0 = 0 ;
23361 char *kwnames[] = {
23362 (char *) "self", NULL
23363 };
23364
23365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
23366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23367 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23368 {
23369 PyThreadState* __tstate = wxPyBeginAllowThreads();
23370 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23371
23372 wxPyEndAllowThreads(__tstate);
23373 if (PyErr_Occurred()) SWIG_fail;
23374 }
23375 {
23376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23377 }
23378 return resultobj;
23379 fail:
23380 return NULL;
23381}
23382
23383
c1cb24a4
RD
23384static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23385 PyObject *resultobj;
23386 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23387 bool arg2 ;
23388 PyObject * obj0 = 0 ;
23389 PyObject * obj1 = 0 ;
23390 char *kwnames[] = {
23391 (char *) "self",(char *) "flag", NULL
23392 };
23393
23394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23396 if (SWIG_arg_fail(1)) SWIG_fail;
23397 {
23398 arg2 = (bool)(SWIG_As_bool(obj1));
23399 if (SWIG_arg_fail(2)) SWIG_fail;
23400 }
c1cb24a4
RD
23401 {
23402 PyThreadState* __tstate = wxPyBeginAllowThreads();
23403 (arg1)->SetSetupDialog(arg2);
23404
23405 wxPyEndAllowThreads(__tstate);
23406 if (PyErr_Occurred()) SWIG_fail;
23407 }
23408 Py_INCREF(Py_None); resultobj = Py_None;
23409 return resultobj;
23410 fail:
23411 return NULL;
23412}
23413
23414
c32bde28 23415static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23416 PyObject *resultobj;
23417 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23418 int arg2 ;
23419 PyObject * obj0 = 0 ;
23420 PyObject * obj1 = 0 ;
23421 char *kwnames[] = {
23422 (char *) "self",(char *) "v", NULL
23423 };
23424
23425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23427 if (SWIG_arg_fail(1)) SWIG_fail;
23428 {
23429 arg2 = (int)(SWIG_As_int(obj1));
23430 if (SWIG_arg_fail(2)) SWIG_fail;
23431 }
d55e5bfc
RD
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 (arg1)->SetFromPage(arg2);
23435
23436 wxPyEndAllowThreads(__tstate);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 }
23439 Py_INCREF(Py_None); resultobj = Py_None;
23440 return resultobj;
23441 fail:
23442 return NULL;
23443}
23444
23445
c32bde28 23446static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23447 PyObject *resultobj;
23448 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23449 int arg2 ;
23450 PyObject * obj0 = 0 ;
23451 PyObject * obj1 = 0 ;
23452 char *kwnames[] = {
23453 (char *) "self",(char *) "v", NULL
23454 };
23455
23456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23458 if (SWIG_arg_fail(1)) SWIG_fail;
23459 {
23460 arg2 = (int)(SWIG_As_int(obj1));
23461 if (SWIG_arg_fail(2)) SWIG_fail;
23462 }
d55e5bfc
RD
23463 {
23464 PyThreadState* __tstate = wxPyBeginAllowThreads();
23465 (arg1)->SetToPage(arg2);
23466
23467 wxPyEndAllowThreads(__tstate);
23468 if (PyErr_Occurred()) SWIG_fail;
23469 }
23470 Py_INCREF(Py_None); resultobj = Py_None;
23471 return resultobj;
23472 fail:
23473 return NULL;
23474}
23475
23476
c32bde28 23477static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23478 PyObject *resultobj;
23479 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23480 int arg2 ;
23481 PyObject * obj0 = 0 ;
23482 PyObject * obj1 = 0 ;
23483 char *kwnames[] = {
23484 (char *) "self",(char *) "v", NULL
23485 };
23486
23487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23489 if (SWIG_arg_fail(1)) SWIG_fail;
23490 {
23491 arg2 = (int)(SWIG_As_int(obj1));
23492 if (SWIG_arg_fail(2)) SWIG_fail;
23493 }
d55e5bfc
RD
23494 {
23495 PyThreadState* __tstate = wxPyBeginAllowThreads();
23496 (arg1)->SetMinPage(arg2);
23497
23498 wxPyEndAllowThreads(__tstate);
23499 if (PyErr_Occurred()) SWIG_fail;
23500 }
23501 Py_INCREF(Py_None); resultobj = Py_None;
23502 return resultobj;
23503 fail:
23504 return NULL;
23505}
23506
23507
c32bde28 23508static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23509 PyObject *resultobj;
23510 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23511 int arg2 ;
23512 PyObject * obj0 = 0 ;
23513 PyObject * obj1 = 0 ;
23514 char *kwnames[] = {
23515 (char *) "self",(char *) "v", NULL
23516 };
23517
23518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23520 if (SWIG_arg_fail(1)) SWIG_fail;
23521 {
23522 arg2 = (int)(SWIG_As_int(obj1));
23523 if (SWIG_arg_fail(2)) SWIG_fail;
23524 }
d55e5bfc
RD
23525 {
23526 PyThreadState* __tstate = wxPyBeginAllowThreads();
23527 (arg1)->SetMaxPage(arg2);
23528
23529 wxPyEndAllowThreads(__tstate);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 }
23532 Py_INCREF(Py_None); resultobj = Py_None;
23533 return resultobj;
23534 fail:
23535 return NULL;
23536}
23537
23538
c32bde28 23539static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23540 PyObject *resultobj;
23541 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23542 int arg2 ;
23543 PyObject * obj0 = 0 ;
23544 PyObject * obj1 = 0 ;
23545 char *kwnames[] = {
23546 (char *) "self",(char *) "v", NULL
23547 };
23548
23549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23551 if (SWIG_arg_fail(1)) SWIG_fail;
23552 {
23553 arg2 = (int)(SWIG_As_int(obj1));
23554 if (SWIG_arg_fail(2)) SWIG_fail;
23555 }
d55e5bfc
RD
23556 {
23557 PyThreadState* __tstate = wxPyBeginAllowThreads();
23558 (arg1)->SetNoCopies(arg2);
23559
23560 wxPyEndAllowThreads(__tstate);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 }
23563 Py_INCREF(Py_None); resultobj = Py_None;
23564 return resultobj;
23565 fail:
23566 return NULL;
23567}
23568
23569
c32bde28 23570static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23571 PyObject *resultobj;
23572 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23573 bool arg2 ;
23574 PyObject * obj0 = 0 ;
23575 PyObject * obj1 = 0 ;
23576 char *kwnames[] = {
23577 (char *) "self",(char *) "flag", NULL
23578 };
23579
23580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23582 if (SWIG_arg_fail(1)) SWIG_fail;
23583 {
23584 arg2 = (bool)(SWIG_As_bool(obj1));
23585 if (SWIG_arg_fail(2)) SWIG_fail;
23586 }
d55e5bfc
RD
23587 {
23588 PyThreadState* __tstate = wxPyBeginAllowThreads();
23589 (arg1)->SetAllPages(arg2);
23590
23591 wxPyEndAllowThreads(__tstate);
23592 if (PyErr_Occurred()) SWIG_fail;
23593 }
23594 Py_INCREF(Py_None); resultobj = Py_None;
23595 return resultobj;
23596 fail:
23597 return NULL;
23598}
23599
23600
c32bde28 23601static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23602 PyObject *resultobj;
23603 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23604 bool arg2 ;
23605 PyObject * obj0 = 0 ;
23606 PyObject * obj1 = 0 ;
23607 char *kwnames[] = {
23608 (char *) "self",(char *) "flag", NULL
23609 };
23610
23611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23613 if (SWIG_arg_fail(1)) SWIG_fail;
23614 {
23615 arg2 = (bool)(SWIG_As_bool(obj1));
23616 if (SWIG_arg_fail(2)) SWIG_fail;
23617 }
d55e5bfc
RD
23618 {
23619 PyThreadState* __tstate = wxPyBeginAllowThreads();
23620 (arg1)->SetSelection(arg2);
23621
23622 wxPyEndAllowThreads(__tstate);
23623 if (PyErr_Occurred()) SWIG_fail;
23624 }
23625 Py_INCREF(Py_None); resultobj = Py_None;
23626 return resultobj;
23627 fail:
23628 return NULL;
23629}
23630
23631
c32bde28 23632static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23633 PyObject *resultobj;
23634 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23635 bool arg2 ;
23636 PyObject * obj0 = 0 ;
23637 PyObject * obj1 = 0 ;
23638 char *kwnames[] = {
23639 (char *) "self",(char *) "flag", NULL
23640 };
23641
23642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23644 if (SWIG_arg_fail(1)) SWIG_fail;
23645 {
23646 arg2 = (bool)(SWIG_As_bool(obj1));
23647 if (SWIG_arg_fail(2)) SWIG_fail;
23648 }
d55e5bfc
RD
23649 {
23650 PyThreadState* __tstate = wxPyBeginAllowThreads();
23651 (arg1)->SetCollate(arg2);
23652
23653 wxPyEndAllowThreads(__tstate);
23654 if (PyErr_Occurred()) SWIG_fail;
23655 }
23656 Py_INCREF(Py_None); resultobj = Py_None;
23657 return resultobj;
23658 fail:
23659 return NULL;
23660}
23661
23662
c32bde28 23663static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23664 PyObject *resultobj;
23665 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23666 bool arg2 ;
23667 PyObject * obj0 = 0 ;
23668 PyObject * obj1 = 0 ;
23669 char *kwnames[] = {
23670 (char *) "self",(char *) "flag", NULL
23671 };
23672
23673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23675 if (SWIG_arg_fail(1)) SWIG_fail;
23676 {
23677 arg2 = (bool)(SWIG_As_bool(obj1));
23678 if (SWIG_arg_fail(2)) SWIG_fail;
23679 }
d55e5bfc
RD
23680 {
23681 PyThreadState* __tstate = wxPyBeginAllowThreads();
23682 (arg1)->SetPrintToFile(arg2);
23683
23684 wxPyEndAllowThreads(__tstate);
23685 if (PyErr_Occurred()) SWIG_fail;
23686 }
23687 Py_INCREF(Py_None); resultobj = Py_None;
23688 return resultobj;
23689 fail:
23690 return NULL;
23691}
23692
23693
c32bde28 23694static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23695 PyObject *resultobj;
23696 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23697 bool arg2 ;
23698 PyObject * obj0 = 0 ;
23699 PyObject * obj1 = 0 ;
23700 char *kwnames[] = {
23701 (char *) "self",(char *) "flag", NULL
23702 };
23703
23704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23706 if (SWIG_arg_fail(1)) SWIG_fail;
23707 {
23708 arg2 = (bool)(SWIG_As_bool(obj1));
23709 if (SWIG_arg_fail(2)) SWIG_fail;
23710 }
d55e5bfc
RD
23711 {
23712 PyThreadState* __tstate = wxPyBeginAllowThreads();
23713 (arg1)->EnablePrintToFile(arg2);
23714
23715 wxPyEndAllowThreads(__tstate);
23716 if (PyErr_Occurred()) SWIG_fail;
23717 }
23718 Py_INCREF(Py_None); resultobj = Py_None;
23719 return resultobj;
23720 fail:
23721 return NULL;
23722}
23723
23724
c32bde28 23725static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23726 PyObject *resultobj;
23727 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23728 bool arg2 ;
23729 PyObject * obj0 = 0 ;
23730 PyObject * obj1 = 0 ;
23731 char *kwnames[] = {
23732 (char *) "self",(char *) "flag", NULL
23733 };
23734
23735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23737 if (SWIG_arg_fail(1)) SWIG_fail;
23738 {
23739 arg2 = (bool)(SWIG_As_bool(obj1));
23740 if (SWIG_arg_fail(2)) SWIG_fail;
23741 }
d55e5bfc
RD
23742 {
23743 PyThreadState* __tstate = wxPyBeginAllowThreads();
23744 (arg1)->EnableSelection(arg2);
23745
23746 wxPyEndAllowThreads(__tstate);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
23749 Py_INCREF(Py_None); resultobj = Py_None;
23750 return resultobj;
23751 fail:
23752 return NULL;
23753}
23754
23755
c32bde28 23756static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23757 PyObject *resultobj;
23758 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23759 bool arg2 ;
23760 PyObject * obj0 = 0 ;
23761 PyObject * obj1 = 0 ;
23762 char *kwnames[] = {
23763 (char *) "self",(char *) "flag", NULL
23764 };
23765
23766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23768 if (SWIG_arg_fail(1)) SWIG_fail;
23769 {
23770 arg2 = (bool)(SWIG_As_bool(obj1));
23771 if (SWIG_arg_fail(2)) SWIG_fail;
23772 }
d55e5bfc
RD
23773 {
23774 PyThreadState* __tstate = wxPyBeginAllowThreads();
23775 (arg1)->EnablePageNumbers(arg2);
23776
23777 wxPyEndAllowThreads(__tstate);
23778 if (PyErr_Occurred()) SWIG_fail;
23779 }
23780 Py_INCREF(Py_None); resultobj = Py_None;
23781 return resultobj;
23782 fail:
23783 return NULL;
23784}
23785
23786
c32bde28 23787static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23788 PyObject *resultobj;
23789 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23790 bool arg2 ;
23791 PyObject * obj0 = 0 ;
23792 PyObject * obj1 = 0 ;
23793 char *kwnames[] = {
23794 (char *) "self",(char *) "flag", NULL
23795 };
23796
23797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23799 if (SWIG_arg_fail(1)) SWIG_fail;
23800 {
23801 arg2 = (bool)(SWIG_As_bool(obj1));
23802 if (SWIG_arg_fail(2)) SWIG_fail;
23803 }
d55e5bfc
RD
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 (arg1)->EnableHelp(arg2);
23807
23808 wxPyEndAllowThreads(__tstate);
23809 if (PyErr_Occurred()) SWIG_fail;
23810 }
23811 Py_INCREF(Py_None); resultobj = Py_None;
23812 return resultobj;
23813 fail:
23814 return NULL;
23815}
23816
23817
c32bde28 23818static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23819 PyObject *resultobj;
23820 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23821 bool result;
23822 PyObject * obj0 = 0 ;
23823 char *kwnames[] = {
23824 (char *) "self", NULL
23825 };
23826
23827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23829 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23830 {
23831 PyThreadState* __tstate = wxPyBeginAllowThreads();
23832 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23833
23834 wxPyEndAllowThreads(__tstate);
23835 if (PyErr_Occurred()) SWIG_fail;
23836 }
23837 {
23838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23839 }
23840 return resultobj;
23841 fail:
23842 return NULL;
23843}
23844
23845
c32bde28 23846static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23847 PyObject *resultobj;
23848 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23849 bool result;
23850 PyObject * obj0 = 0 ;
23851 char *kwnames[] = {
23852 (char *) "self", NULL
23853 };
23854
23855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
23856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23857 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23858 {
23859 PyThreadState* __tstate = wxPyBeginAllowThreads();
23860 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23861
23862 wxPyEndAllowThreads(__tstate);
23863 if (PyErr_Occurred()) SWIG_fail;
23864 }
23865 {
23866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23867 }
23868 return resultobj;
23869 fail:
23870 return NULL;
23871}
23872
23873
c32bde28 23874static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23875 PyObject *resultobj;
23876 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23877 bool result;
23878 PyObject * obj0 = 0 ;
23879 char *kwnames[] = {
23880 (char *) "self", NULL
23881 };
23882
23883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
093d3ff1
RD
23884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23885 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23886 {
23887 PyThreadState* __tstate = wxPyBeginAllowThreads();
23888 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23889
23890 wxPyEndAllowThreads(__tstate);
23891 if (PyErr_Occurred()) SWIG_fail;
23892 }
23893 {
23894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23895 }
23896 return resultobj;
23897 fail:
23898 return NULL;
23899}
23900
23901
c32bde28 23902static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23903 PyObject *resultobj;
23904 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23905 bool result;
23906 PyObject * obj0 = 0 ;
23907 char *kwnames[] = {
23908 (char *) "self", NULL
23909 };
23910
23911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
23912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23913 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23914 {
23915 PyThreadState* __tstate = wxPyBeginAllowThreads();
23916 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23917
23918 wxPyEndAllowThreads(__tstate);
23919 if (PyErr_Occurred()) SWIG_fail;
23920 }
23921 {
23922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23923 }
23924 return resultobj;
23925 fail:
23926 return NULL;
23927}
23928
23929
c32bde28 23930static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23931 PyObject *resultobj;
23932 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23933 bool result;
23934 PyObject * obj0 = 0 ;
23935 char *kwnames[] = {
23936 (char *) "self", NULL
23937 };
23938
23939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
23940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23941 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23942 {
23943 PyThreadState* __tstate = wxPyBeginAllowThreads();
23944 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23945
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 {
23950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23951 }
23952 return resultobj;
23953 fail:
23954 return NULL;
23955}
23956
23957
c32bde28 23958static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23959 PyObject *resultobj;
23960 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23961 wxPrintData *result;
23962 PyObject * obj0 = 0 ;
23963 char *kwnames[] = {
23964 (char *) "self", NULL
23965 };
23966
23967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23969 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23970 {
23971 PyThreadState* __tstate = wxPyBeginAllowThreads();
23972 {
23973 wxPrintData &_result_ref = (arg1)->GetPrintData();
23974 result = (wxPrintData *) &_result_ref;
23975 }
23976
23977 wxPyEndAllowThreads(__tstate);
23978 if (PyErr_Occurred()) SWIG_fail;
23979 }
23980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23981 return resultobj;
23982 fail:
23983 return NULL;
23984}
23985
23986
c32bde28 23987static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23988 PyObject *resultobj;
23989 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23990 wxPrintData *arg2 = 0 ;
23991 PyObject * obj0 = 0 ;
23992 PyObject * obj1 = 0 ;
23993 char *kwnames[] = {
23994 (char *) "self",(char *) "printData", NULL
23995 };
23996
23997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23999 if (SWIG_arg_fail(1)) SWIG_fail;
24000 {
24001 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
24002 if (SWIG_arg_fail(2)) SWIG_fail;
24003 if (arg2 == NULL) {
24004 SWIG_null_ref("wxPrintData");
24005 }
24006 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24007 }
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
24010 (arg1)->SetPrintData((wxPrintData const &)*arg2);
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
24015 Py_INCREF(Py_None); resultobj = Py_None;
24016 return resultobj;
24017 fail:
24018 return NULL;
24019}
24020
24021
c32bde28 24022static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24023 PyObject *obj;
24024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24025 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
24026 Py_INCREF(obj);
24027 return Py_BuildValue((char *)"");
24028}
c32bde28 24029static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24030 PyObject *resultobj;
24031 wxWindow *arg1 = (wxWindow *) 0 ;
24032 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
24033 wxPrintDialog *result;
24034 PyObject * obj0 = 0 ;
24035 PyObject * obj1 = 0 ;
24036 char *kwnames[] = {
24037 (char *) "parent",(char *) "data", NULL
24038 };
24039
24040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24042 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 24043 if (obj1) {
093d3ff1
RD
24044 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24045 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24046 }
24047 {
0439c23b 24048 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24049 PyThreadState* __tstate = wxPyBeginAllowThreads();
24050 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
24051
24052 wxPyEndAllowThreads(__tstate);
110da5b0 24053 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24054 }
24055 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
24056 return resultobj;
24057 fail:
24058 return NULL;
24059}
24060
24061
c1cb24a4
RD
24062static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
24063 PyObject *resultobj;
24064 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24065 int result;
24066 PyObject * obj0 = 0 ;
24067 char *kwnames[] = {
24068 (char *) "self", NULL
24069 };
24070
24071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
24072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24073 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
24074 {
24075 PyThreadState* __tstate = wxPyBeginAllowThreads();
24076 result = (int)(arg1)->ShowModal();
24077
24078 wxPyEndAllowThreads(__tstate);
24079 if (PyErr_Occurred()) SWIG_fail;
24080 }
093d3ff1
RD
24081 {
24082 resultobj = SWIG_From_int((int)(result));
24083 }
c1cb24a4
RD
24084 return resultobj;
24085 fail:
24086 return NULL;
24087}
24088
24089
c32bde28 24090static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24091 PyObject *resultobj;
24092 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24093 wxPrintDialogData *result;
24094 PyObject * obj0 = 0 ;
24095 char *kwnames[] = {
24096 (char *) "self", NULL
24097 };
24098
24099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24101 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24102 {
24103 PyThreadState* __tstate = wxPyBeginAllowThreads();
24104 {
24105 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24106 result = (wxPrintDialogData *) &_result_ref;
24107 }
24108
24109 wxPyEndAllowThreads(__tstate);
24110 if (PyErr_Occurred()) SWIG_fail;
24111 }
24112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24113 return resultobj;
24114 fail:
24115 return NULL;
24116}
24117
24118
c1cb24a4 24119static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24120 PyObject *resultobj;
24121 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
c1cb24a4 24122 wxPrintData *result;
d55e5bfc
RD
24123 PyObject * obj0 = 0 ;
24124 char *kwnames[] = {
24125 (char *) "self", NULL
24126 };
24127
c1cb24a4 24128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24130 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24131 {
24132 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4
RD
24133 {
24134 wxPrintData &_result_ref = (arg1)->GetPrintData();
24135 result = (wxPrintData *) &_result_ref;
24136 }
d55e5bfc
RD
24137
24138 wxPyEndAllowThreads(__tstate);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
c1cb24a4 24141 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d55e5bfc
RD
24142 return resultobj;
24143 fail:
24144 return NULL;
24145}
24146
24147
c1cb24a4 24148static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24149 PyObject *resultobj;
24150 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
c1cb24a4 24151 wxDC *result;
d55e5bfc
RD
24152 PyObject * obj0 = 0 ;
24153 char *kwnames[] = {
24154 (char *) "self", NULL
24155 };
24156
c1cb24a4 24157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24159 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24160 {
24161 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24162 result = (wxDC *)(arg1)->GetPrintDC();
d55e5bfc
RD
24163
24164 wxPyEndAllowThreads(__tstate);
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
c1cb24a4
RD
24167 {
24168 resultobj = wxPyMake_wxObject(result, 1);
24169 }
d55e5bfc
RD
24170 return resultobj;
24171 fail:
24172 return NULL;
24173}
24174
24175
c32bde28 24176static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24177 PyObject *obj;
24178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24179 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24180 Py_INCREF(obj);
24181 return Py_BuildValue((char *)"");
24182}
c32bde28 24183static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24184 PyObject *resultobj;
24185 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24186 wxPrinter *result;
24187 PyObject * obj0 = 0 ;
24188 char *kwnames[] = {
24189 (char *) "data", NULL
24190 };
24191
24192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24193 if (obj0) {
093d3ff1
RD
24194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24195 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24196 }
24197 {
0439c23b 24198 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24199 PyThreadState* __tstate = wxPyBeginAllowThreads();
24200 result = (wxPrinter *)new wxPrinter(arg1);
24201
24202 wxPyEndAllowThreads(__tstate);
110da5b0 24203 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24204 }
24205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
24206 return resultobj;
24207 fail:
24208 return NULL;
24209}
24210
24211
c32bde28 24212static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24213 PyObject *resultobj;
24214 wxPrinter *arg1 = (wxPrinter *) 0 ;
24215 PyObject * obj0 = 0 ;
24216 char *kwnames[] = {
24217 (char *) "self", NULL
24218 };
24219
24220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
093d3ff1
RD
24221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24222 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24223 {
24224 PyThreadState* __tstate = wxPyBeginAllowThreads();
24225 delete arg1;
24226
24227 wxPyEndAllowThreads(__tstate);
24228 if (PyErr_Occurred()) SWIG_fail;
24229 }
24230 Py_INCREF(Py_None); resultobj = Py_None;
24231 return resultobj;
24232 fail:
24233 return NULL;
24234}
24235
24236
c32bde28 24237static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24238 PyObject *resultobj;
24239 wxPrinter *arg1 = (wxPrinter *) 0 ;
24240 wxWindow *arg2 = (wxWindow *) 0 ;
24241 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
c1cb24a4 24242 wxWindow *result;
d55e5bfc
RD
24243 PyObject * obj0 = 0 ;
24244 PyObject * obj1 = 0 ;
24245 PyObject * obj2 = 0 ;
24246 char *kwnames[] = {
24247 (char *) "self",(char *) "parent",(char *) "printout", NULL
24248 };
24249
24250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24252 if (SWIG_arg_fail(1)) SWIG_fail;
24253 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24254 if (SWIG_arg_fail(2)) SWIG_fail;
24255 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24256 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24257 {
24258 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24259 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
d55e5bfc
RD
24260
24261 wxPyEndAllowThreads(__tstate);
24262 if (PyErr_Occurred()) SWIG_fail;
24263 }
d55e5bfc 24264 {
c1cb24a4 24265 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc 24266 }
d55e5bfc
RD
24267 return resultobj;
24268 fail:
24269 return NULL;
24270}
24271
24272
c1cb24a4 24273static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24274 PyObject *resultobj;
24275 wxPrinter *arg1 = (wxPrinter *) 0 ;
24276 wxWindow *arg2 = (wxWindow *) 0 ;
24277 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
c1cb24a4
RD
24278 wxString *arg4 = 0 ;
24279 bool temp4 = false ;
d55e5bfc
RD
24280 PyObject * obj0 = 0 ;
24281 PyObject * obj1 = 0 ;
24282 PyObject * obj2 = 0 ;
24283 PyObject * obj3 = 0 ;
24284 char *kwnames[] = {
c1cb24a4 24285 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
d55e5bfc
RD
24286 };
24287
c1cb24a4 24288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24290 if (SWIG_arg_fail(1)) SWIG_fail;
24291 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24292 if (SWIG_arg_fail(2)) SWIG_fail;
24293 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24294 if (SWIG_arg_fail(3)) SWIG_fail;
c1cb24a4
RD
24295 {
24296 arg4 = wxString_in_helper(obj3);
24297 if (arg4 == NULL) SWIG_fail;
24298 temp4 = true;
d55e5bfc
RD
24299 }
24300 {
24301 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24302 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
d55e5bfc
RD
24303
24304 wxPyEndAllowThreads(__tstate);
24305 if (PyErr_Occurred()) SWIG_fail;
24306 }
c1cb24a4 24307 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 24308 {
c1cb24a4
RD
24309 if (temp4)
24310 delete arg4;
d55e5bfc
RD
24311 }
24312 return resultobj;
24313 fail:
c1cb24a4
RD
24314 {
24315 if (temp4)
24316 delete arg4;
24317 }
d55e5bfc
RD
24318 return NULL;
24319}
24320
24321
c1cb24a4 24322static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24323 PyObject *resultobj;
24324 wxPrinter *arg1 = (wxPrinter *) 0 ;
24325 wxWindow *arg2 = (wxWindow *) 0 ;
c1cb24a4 24326 bool result;
d55e5bfc
RD
24327 PyObject * obj0 = 0 ;
24328 PyObject * obj1 = 0 ;
24329 char *kwnames[] = {
24330 (char *) "self",(char *) "parent", NULL
24331 };
24332
c1cb24a4 24333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24335 if (SWIG_arg_fail(1)) SWIG_fail;
24336 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24337 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24338 {
24339 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24340 result = (bool)(arg1)->Setup(arg2);
d55e5bfc
RD
24341
24342 wxPyEndAllowThreads(__tstate);
24343 if (PyErr_Occurred()) SWIG_fail;
24344 }
24345 {
c1cb24a4 24346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24347 }
24348 return resultobj;
24349 fail:
24350 return NULL;
24351}
24352
24353
c1cb24a4 24354static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24355 PyObject *resultobj;
24356 wxPrinter *arg1 = (wxPrinter *) 0 ;
24357 wxWindow *arg2 = (wxWindow *) 0 ;
24358 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
c1cb24a4
RD
24359 bool arg4 = (bool) true ;
24360 bool result;
d55e5bfc
RD
24361 PyObject * obj0 = 0 ;
24362 PyObject * obj1 = 0 ;
24363 PyObject * obj2 = 0 ;
24364 PyObject * obj3 = 0 ;
24365 char *kwnames[] = {
c1cb24a4 24366 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
d55e5bfc
RD
24367 };
24368
c1cb24a4 24369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24371 if (SWIG_arg_fail(1)) SWIG_fail;
24372 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24373 if (SWIG_arg_fail(2)) SWIG_fail;
24374 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24375 if (SWIG_arg_fail(3)) SWIG_fail;
c1cb24a4 24376 if (obj3) {
093d3ff1
RD
24377 {
24378 arg4 = (bool)(SWIG_As_bool(obj3));
24379 if (SWIG_arg_fail(4)) SWIG_fail;
24380 }
d55e5bfc
RD
24381 }
24382 {
24383 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24384 result = (bool)(arg1)->Print(arg2,arg3,arg4);
d55e5bfc
RD
24385
24386 wxPyEndAllowThreads(__tstate);
24387 if (PyErr_Occurred()) SWIG_fail;
24388 }
d55e5bfc 24389 {
c1cb24a4 24390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24391 }
24392 return resultobj;
24393 fail:
d55e5bfc
RD
24394 return NULL;
24395}
24396
24397
c1cb24a4 24398static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24399 PyObject *resultobj;
24400 wxPrinter *arg1 = (wxPrinter *) 0 ;
24401 wxWindow *arg2 = (wxWindow *) 0 ;
c1cb24a4 24402 wxDC *result;
d55e5bfc
RD
24403 PyObject * obj0 = 0 ;
24404 PyObject * obj1 = 0 ;
24405 char *kwnames[] = {
24406 (char *) "self",(char *) "parent", NULL
24407 };
24408
c1cb24a4 24409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24411 if (SWIG_arg_fail(1)) SWIG_fail;
24412 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24413 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24414 {
24415 PyThreadState* __tstate = wxPyBeginAllowThreads();
c1cb24a4 24416 result = (wxDC *)(arg1)->PrintDialog(arg2);
d55e5bfc
RD
24417
24418 wxPyEndAllowThreads(__tstate);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
24421 {
c1cb24a4 24422 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24423 }
24424 return resultobj;
24425 fail:
24426 return NULL;
24427}
24428
24429
c1cb24a4
RD
24430static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24431 PyObject *resultobj;
24432 wxPrinter *arg1 = (wxPrinter *) 0 ;
24433 wxPrintDialogData *result;
24434 PyObject * obj0 = 0 ;
24435 char *kwnames[] = {
24436 (char *) "self", NULL
24437 };
24438
24439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24441 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
24442 {
24443 PyThreadState* __tstate = wxPyBeginAllowThreads();
24444 {
24445 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24446 result = (wxPrintDialogData *) &_result_ref;
24447 }
24448
24449 wxPyEndAllowThreads(__tstate);
24450 if (PyErr_Occurred()) SWIG_fail;
24451 }
24452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24453 return resultobj;
24454 fail:
24455 return NULL;
24456}
24457
24458
c32bde28 24459static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24460 PyObject *resultobj;
24461 wxPrinter *arg1 = (wxPrinter *) 0 ;
24462 bool result;
24463 PyObject * obj0 = 0 ;
24464 char *kwnames[] = {
24465 (char *) "self", NULL
24466 };
24467
24468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
093d3ff1
RD
24469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24471 {
24472 PyThreadState* __tstate = wxPyBeginAllowThreads();
24473 result = (bool)(arg1)->GetAbort();
24474
24475 wxPyEndAllowThreads(__tstate);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 }
24478 {
24479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24480 }
24481 return resultobj;
24482 fail:
24483 return NULL;
24484}
24485
24486
c32bde28 24487static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 24488 PyObject *resultobj;
093d3ff1 24489 wxPrinterError result;
d55e5bfc
RD
24490 char *kwnames[] = {
24491 NULL
24492 };
24493
24494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24495 {
24496 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 24497 result = (wxPrinterError)wxPrinter::GetLastError();
d55e5bfc
RD
24498
24499 wxPyEndAllowThreads(__tstate);
24500 if (PyErr_Occurred()) SWIG_fail;
24501 }
093d3ff1 24502 resultobj = SWIG_From_int((result));
d55e5bfc
RD
24503 return resultobj;
24504 fail:
24505 return NULL;
24506}
24507
24508
c32bde28 24509static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24510 PyObject *obj;
24511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24512 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24513 Py_INCREF(obj);
24514 return Py_BuildValue((char *)"");
24515}
c32bde28 24516static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24517 PyObject *resultobj;
24518 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24519 wxString *arg1 = (wxString *) &arg1_defvalue ;
24520 wxPyPrintout *result;
ae8162c8 24521 bool temp1 = false ;
d55e5bfc
RD
24522 PyObject * obj0 = 0 ;
24523 char *kwnames[] = {
24524 (char *) "title", NULL
24525 };
24526
24527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24528 if (obj0) {
24529 {
24530 arg1 = wxString_in_helper(obj0);
24531 if (arg1 == NULL) SWIG_fail;
ae8162c8 24532 temp1 = true;
d55e5bfc
RD
24533 }
24534 }
24535 {
0439c23b 24536 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24537 PyThreadState* __tstate = wxPyBeginAllowThreads();
24538 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24539
24540 wxPyEndAllowThreads(__tstate);
110da5b0 24541 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24542 }
24543 {
412d302d 24544 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
24545 }
24546 {
24547 if (temp1)
24548 delete arg1;
24549 }
24550 return resultobj;
24551 fail:
24552 {
24553 if (temp1)
24554 delete arg1;
24555 }
24556 return NULL;
24557}
24558
24559
c32bde28 24560static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24561 PyObject *resultobj;
24562 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24563 PyObject *arg2 = (PyObject *) 0 ;
24564 PyObject *arg3 = (PyObject *) 0 ;
24565 PyObject * obj0 = 0 ;
24566 PyObject * obj1 = 0 ;
24567 PyObject * obj2 = 0 ;
24568 char *kwnames[] = {
24569 (char *) "self",(char *) "self",(char *) "_class", NULL
24570 };
24571
24572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24574 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24575 arg2 = obj1;
24576 arg3 = obj2;
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 (arg1)->_setCallbackInfo(arg2,arg3);
24580
24581 wxPyEndAllowThreads(__tstate);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
24584 Py_INCREF(Py_None); resultobj = Py_None;
24585 return resultobj;
24586 fail:
24587 return NULL;
24588}
24589
24590
c32bde28 24591static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24592 PyObject *resultobj;
24593 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24594 wxString result;
24595 PyObject * obj0 = 0 ;
24596 char *kwnames[] = {
24597 (char *) "self", NULL
24598 };
24599
24600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
24601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24602 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24603 {
24604 PyThreadState* __tstate = wxPyBeginAllowThreads();
24605 result = ((wxPyPrintout const *)arg1)->GetTitle();
24606
24607 wxPyEndAllowThreads(__tstate);
24608 if (PyErr_Occurred()) SWIG_fail;
24609 }
24610 {
24611#if wxUSE_UNICODE
24612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24613#else
24614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24615#endif
24616 }
24617 return resultobj;
24618 fail:
24619 return NULL;
24620}
24621
24622
c32bde28 24623static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24624 PyObject *resultobj;
24625 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24626 wxDC *result;
24627 PyObject * obj0 = 0 ;
24628 char *kwnames[] = {
24629 (char *) "self", NULL
24630 };
24631
24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24634 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 result = (wxDC *)(arg1)->GetDC();
24638
24639 wxPyEndAllowThreads(__tstate);
24640 if (PyErr_Occurred()) SWIG_fail;
24641 }
24642 {
412d302d 24643 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24644 }
24645 return resultobj;
24646 fail:
24647 return NULL;
24648}
24649
24650
c32bde28 24651static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24652 PyObject *resultobj;
24653 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24654 wxDC *arg2 = (wxDC *) 0 ;
24655 PyObject * obj0 = 0 ;
24656 PyObject * obj1 = 0 ;
24657 char *kwnames[] = {
24658 (char *) "self",(char *) "dc", NULL
24659 };
24660
24661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24663 if (SWIG_arg_fail(1)) SWIG_fail;
24664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24665 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 (arg1)->SetDC(arg2);
24669
24670 wxPyEndAllowThreads(__tstate);
24671 if (PyErr_Occurred()) SWIG_fail;
24672 }
24673 Py_INCREF(Py_None); resultobj = Py_None;
24674 return resultobj;
24675 fail:
24676 return NULL;
24677}
24678
24679
c32bde28 24680static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24681 PyObject *resultobj;
24682 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24683 int arg2 ;
24684 int arg3 ;
24685 PyObject * obj0 = 0 ;
24686 PyObject * obj1 = 0 ;
24687 PyObject * obj2 = 0 ;
24688 char *kwnames[] = {
24689 (char *) "self",(char *) "w",(char *) "h", NULL
24690 };
24691
24692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24694 if (SWIG_arg_fail(1)) SWIG_fail;
24695 {
24696 arg2 = (int)(SWIG_As_int(obj1));
24697 if (SWIG_arg_fail(2)) SWIG_fail;
24698 }
24699 {
24700 arg3 = (int)(SWIG_As_int(obj2));
24701 if (SWIG_arg_fail(3)) SWIG_fail;
24702 }
d55e5bfc
RD
24703 {
24704 PyThreadState* __tstate = wxPyBeginAllowThreads();
24705 (arg1)->SetPageSizePixels(arg2,arg3);
24706
24707 wxPyEndAllowThreads(__tstate);
24708 if (PyErr_Occurred()) SWIG_fail;
24709 }
24710 Py_INCREF(Py_None); resultobj = Py_None;
24711 return resultobj;
24712 fail:
24713 return NULL;
24714}
24715
24716
c32bde28 24717static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24718 PyObject *resultobj;
24719 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24720 int *arg2 = (int *) 0 ;
24721 int *arg3 = (int *) 0 ;
24722 int temp2 ;
c32bde28 24723 int res2 = 0 ;
d55e5bfc 24724 int temp3 ;
c32bde28 24725 int res3 = 0 ;
d55e5bfc
RD
24726 PyObject * obj0 = 0 ;
24727 char *kwnames[] = {
24728 (char *) "self", NULL
24729 };
24730
c32bde28
RD
24731 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24732 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
093d3ff1
RD
24734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24735 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24736 {
24737 PyThreadState* __tstate = wxPyBeginAllowThreads();
24738 (arg1)->GetPageSizePixels(arg2,arg3);
24739
24740 wxPyEndAllowThreads(__tstate);
24741 if (PyErr_Occurred()) SWIG_fail;
24742 }
24743 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24744 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24745 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24746 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24747 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24748 return resultobj;
24749 fail:
24750 return NULL;
24751}
24752
24753
c32bde28 24754static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24755 PyObject *resultobj;
24756 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24757 int arg2 ;
24758 int arg3 ;
24759 PyObject * obj0 = 0 ;
24760 PyObject * obj1 = 0 ;
24761 PyObject * obj2 = 0 ;
24762 char *kwnames[] = {
24763 (char *) "self",(char *) "w",(char *) "h", NULL
24764 };
24765
24766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24768 if (SWIG_arg_fail(1)) SWIG_fail;
24769 {
24770 arg2 = (int)(SWIG_As_int(obj1));
24771 if (SWIG_arg_fail(2)) SWIG_fail;
24772 }
24773 {
24774 arg3 = (int)(SWIG_As_int(obj2));
24775 if (SWIG_arg_fail(3)) SWIG_fail;
24776 }
d55e5bfc
RD
24777 {
24778 PyThreadState* __tstate = wxPyBeginAllowThreads();
24779 (arg1)->SetPageSizeMM(arg2,arg3);
24780
24781 wxPyEndAllowThreads(__tstate);
24782 if (PyErr_Occurred()) SWIG_fail;
24783 }
24784 Py_INCREF(Py_None); resultobj = Py_None;
24785 return resultobj;
24786 fail:
24787 return NULL;
24788}
24789
24790
c32bde28 24791static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24792 PyObject *resultobj;
24793 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24794 int *arg2 = (int *) 0 ;
24795 int *arg3 = (int *) 0 ;
24796 int temp2 ;
c32bde28 24797 int res2 = 0 ;
d55e5bfc 24798 int temp3 ;
c32bde28 24799 int res3 = 0 ;
d55e5bfc
RD
24800 PyObject * obj0 = 0 ;
24801 char *kwnames[] = {
24802 (char *) "self", NULL
24803 };
24804
c32bde28
RD
24805 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24806 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
093d3ff1
RD
24808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24810 {
24811 PyThreadState* __tstate = wxPyBeginAllowThreads();
24812 (arg1)->GetPageSizeMM(arg2,arg3);
24813
24814 wxPyEndAllowThreads(__tstate);
24815 if (PyErr_Occurred()) SWIG_fail;
24816 }
24817 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24818 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24819 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24820 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24821 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24822 return resultobj;
24823 fail:
24824 return NULL;
24825}
24826
24827
c32bde28 24828static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24829 PyObject *resultobj;
24830 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24831 int arg2 ;
24832 int arg3 ;
24833 PyObject * obj0 = 0 ;
24834 PyObject * obj1 = 0 ;
24835 PyObject * obj2 = 0 ;
24836 char *kwnames[] = {
24837 (char *) "self",(char *) "x",(char *) "y", NULL
24838 };
24839
24840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24842 if (SWIG_arg_fail(1)) SWIG_fail;
24843 {
24844 arg2 = (int)(SWIG_As_int(obj1));
24845 if (SWIG_arg_fail(2)) SWIG_fail;
24846 }
24847 {
24848 arg3 = (int)(SWIG_As_int(obj2));
24849 if (SWIG_arg_fail(3)) SWIG_fail;
24850 }
d55e5bfc
RD
24851 {
24852 PyThreadState* __tstate = wxPyBeginAllowThreads();
24853 (arg1)->SetPPIScreen(arg2,arg3);
24854
24855 wxPyEndAllowThreads(__tstate);
24856 if (PyErr_Occurred()) SWIG_fail;
24857 }
24858 Py_INCREF(Py_None); resultobj = Py_None;
24859 return resultobj;
24860 fail:
24861 return NULL;
24862}
24863
24864
c32bde28 24865static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24866 PyObject *resultobj;
24867 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24868 int *arg2 = (int *) 0 ;
24869 int *arg3 = (int *) 0 ;
24870 int temp2 ;
c32bde28 24871 int res2 = 0 ;
d55e5bfc 24872 int temp3 ;
c32bde28 24873 int res3 = 0 ;
d55e5bfc
RD
24874 PyObject * obj0 = 0 ;
24875 char *kwnames[] = {
24876 (char *) "self", NULL
24877 };
24878
c32bde28
RD
24879 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24880 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
24882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24883 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24884 {
24885 PyThreadState* __tstate = wxPyBeginAllowThreads();
24886 (arg1)->GetPPIScreen(arg2,arg3);
24887
24888 wxPyEndAllowThreads(__tstate);
24889 if (PyErr_Occurred()) SWIG_fail;
24890 }
24891 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24892 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24893 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24894 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24895 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24896 return resultobj;
24897 fail:
24898 return NULL;
24899}
24900
24901
c32bde28 24902static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24903 PyObject *resultobj;
24904 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24905 int arg2 ;
24906 int arg3 ;
24907 PyObject * obj0 = 0 ;
24908 PyObject * obj1 = 0 ;
24909 PyObject * obj2 = 0 ;
24910 char *kwnames[] = {
24911 (char *) "self",(char *) "x",(char *) "y", NULL
24912 };
24913
24914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24916 if (SWIG_arg_fail(1)) SWIG_fail;
24917 {
24918 arg2 = (int)(SWIG_As_int(obj1));
24919 if (SWIG_arg_fail(2)) SWIG_fail;
24920 }
24921 {
24922 arg3 = (int)(SWIG_As_int(obj2));
24923 if (SWIG_arg_fail(3)) SWIG_fail;
24924 }
d55e5bfc
RD
24925 {
24926 PyThreadState* __tstate = wxPyBeginAllowThreads();
24927 (arg1)->SetPPIPrinter(arg2,arg3);
24928
24929 wxPyEndAllowThreads(__tstate);
24930 if (PyErr_Occurred()) SWIG_fail;
24931 }
24932 Py_INCREF(Py_None); resultobj = Py_None;
24933 return resultobj;
24934 fail:
24935 return NULL;
24936}
24937
24938
c32bde28 24939static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24940 PyObject *resultobj;
24941 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24942 int *arg2 = (int *) 0 ;
24943 int *arg3 = (int *) 0 ;
24944 int temp2 ;
c32bde28 24945 int res2 = 0 ;
d55e5bfc 24946 int temp3 ;
c32bde28 24947 int res3 = 0 ;
d55e5bfc
RD
24948 PyObject * obj0 = 0 ;
24949 char *kwnames[] = {
24950 (char *) "self", NULL
24951 };
24952
c32bde28
RD
24953 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24954 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
24956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24957 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24958 {
24959 PyThreadState* __tstate = wxPyBeginAllowThreads();
24960 (arg1)->GetPPIPrinter(arg2,arg3);
24961
24962 wxPyEndAllowThreads(__tstate);
24963 if (PyErr_Occurred()) SWIG_fail;
24964 }
24965 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24966 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24967 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24968 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24969 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24970 return resultobj;
24971 fail:
24972 return NULL;
24973}
24974
24975
c32bde28 24976static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24977 PyObject *resultobj;
24978 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24979 bool result;
24980 PyObject * obj0 = 0 ;
24981 char *kwnames[] = {
24982 (char *) "self", NULL
24983 };
24984
24985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
24986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24987 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24988 {
24989 PyThreadState* __tstate = wxPyBeginAllowThreads();
24990 result = (bool)(arg1)->IsPreview();
24991
24992 wxPyEndAllowThreads(__tstate);
24993 if (PyErr_Occurred()) SWIG_fail;
24994 }
24995 {
24996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24997 }
24998 return resultobj;
24999 fail:
25000 return NULL;
25001}
25002
25003
c32bde28 25004static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25005 PyObject *resultobj;
25006 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25007 bool arg2 ;
25008 PyObject * obj0 = 0 ;
25009 PyObject * obj1 = 0 ;
25010 char *kwnames[] = {
25011 (char *) "self",(char *) "p", NULL
25012 };
25013
25014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25016 if (SWIG_arg_fail(1)) SWIG_fail;
25017 {
25018 arg2 = (bool)(SWIG_As_bool(obj1));
25019 if (SWIG_arg_fail(2)) SWIG_fail;
25020 }
d55e5bfc
RD
25021 {
25022 PyThreadState* __tstate = wxPyBeginAllowThreads();
25023 (arg1)->SetIsPreview(arg2);
25024
25025 wxPyEndAllowThreads(__tstate);
25026 if (PyErr_Occurred()) SWIG_fail;
25027 }
25028 Py_INCREF(Py_None); resultobj = Py_None;
25029 return resultobj;
25030 fail:
25031 return NULL;
25032}
25033
25034
c32bde28 25035static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25036 PyObject *resultobj;
25037 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25038 int arg2 ;
25039 int arg3 ;
25040 bool result;
25041 PyObject * obj0 = 0 ;
25042 PyObject * obj1 = 0 ;
25043 PyObject * obj2 = 0 ;
25044 char *kwnames[] = {
25045 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25046 };
25047
25048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25050 if (SWIG_arg_fail(1)) SWIG_fail;
25051 {
25052 arg2 = (int)(SWIG_As_int(obj1));
25053 if (SWIG_arg_fail(2)) SWIG_fail;
25054 }
25055 {
25056 arg3 = (int)(SWIG_As_int(obj2));
25057 if (SWIG_arg_fail(3)) SWIG_fail;
25058 }
d55e5bfc
RD
25059 {
25060 PyThreadState* __tstate = wxPyBeginAllowThreads();
25061 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
25062
25063 wxPyEndAllowThreads(__tstate);
25064 if (PyErr_Occurred()) SWIG_fail;
25065 }
25066 {
25067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25068 }
25069 return resultobj;
25070 fail:
25071 return NULL;
25072}
25073
25074
c32bde28 25075static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25076 PyObject *resultobj;
25077 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25078 PyObject * obj0 = 0 ;
25079 char *kwnames[] = {
25080 (char *) "self", NULL
25081 };
25082
25083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
093d3ff1
RD
25084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25085 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25086 {
25087 PyThreadState* __tstate = wxPyBeginAllowThreads();
25088 (arg1)->base_OnEndDocument();
25089
25090 wxPyEndAllowThreads(__tstate);
25091 if (PyErr_Occurred()) SWIG_fail;
25092 }
25093 Py_INCREF(Py_None); resultobj = Py_None;
25094 return resultobj;
25095 fail:
25096 return NULL;
25097}
25098
25099
c32bde28 25100static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25101 PyObject *resultobj;
25102 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25103 PyObject * obj0 = 0 ;
25104 char *kwnames[] = {
25105 (char *) "self", NULL
25106 };
25107
25108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25110 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 (arg1)->base_OnBeginPrinting();
25114
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
25118 Py_INCREF(Py_None); resultobj = Py_None;
25119 return resultobj;
25120 fail:
25121 return NULL;
25122}
25123
25124
c32bde28 25125static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25126 PyObject *resultobj;
25127 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25128 PyObject * obj0 = 0 ;
25129 char *kwnames[] = {
25130 (char *) "self", NULL
25131 };
25132
25133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25135 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25136 {
25137 PyThreadState* __tstate = wxPyBeginAllowThreads();
25138 (arg1)->base_OnEndPrinting();
25139
25140 wxPyEndAllowThreads(__tstate);
25141 if (PyErr_Occurred()) SWIG_fail;
25142 }
25143 Py_INCREF(Py_None); resultobj = Py_None;
25144 return resultobj;
25145 fail:
25146 return NULL;
25147}
25148
25149
c32bde28 25150static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25151 PyObject *resultobj;
25152 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25153 PyObject * obj0 = 0 ;
25154 char *kwnames[] = {
25155 (char *) "self", NULL
25156 };
25157
25158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25160 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25161 {
25162 PyThreadState* __tstate = wxPyBeginAllowThreads();
25163 (arg1)->base_OnPreparePrinting();
25164
25165 wxPyEndAllowThreads(__tstate);
25166 if (PyErr_Occurred()) SWIG_fail;
25167 }
25168 Py_INCREF(Py_None); resultobj = Py_None;
25169 return resultobj;
25170 fail:
25171 return NULL;
25172}
25173
25174
c32bde28 25175static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25176 PyObject *resultobj;
25177 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25178 int arg2 ;
25179 bool result;
25180 PyObject * obj0 = 0 ;
25181 PyObject * obj1 = 0 ;
25182 char *kwnames[] = {
25183 (char *) "self",(char *) "page", NULL
25184 };
25185
25186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25188 if (SWIG_arg_fail(1)) SWIG_fail;
25189 {
25190 arg2 = (int)(SWIG_As_int(obj1));
25191 if (SWIG_arg_fail(2)) SWIG_fail;
25192 }
d55e5bfc
RD
25193 {
25194 PyThreadState* __tstate = wxPyBeginAllowThreads();
25195 result = (bool)(arg1)->base_HasPage(arg2);
25196
25197 wxPyEndAllowThreads(__tstate);
25198 if (PyErr_Occurred()) SWIG_fail;
25199 }
25200 {
25201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25202 }
25203 return resultobj;
25204 fail:
25205 return NULL;
25206}
25207
25208
c32bde28 25209static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25210 PyObject *resultobj;
25211 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25212 int *arg2 = (int *) 0 ;
25213 int *arg3 = (int *) 0 ;
25214 int *arg4 = (int *) 0 ;
25215 int *arg5 = (int *) 0 ;
25216 int temp2 ;
c32bde28 25217 int res2 = 0 ;
d55e5bfc 25218 int temp3 ;
c32bde28 25219 int res3 = 0 ;
d55e5bfc 25220 int temp4 ;
c32bde28 25221 int res4 = 0 ;
d55e5bfc 25222 int temp5 ;
c32bde28 25223 int res5 = 0 ;
d55e5bfc
RD
25224 PyObject * obj0 = 0 ;
25225 char *kwnames[] = {
25226 (char *) "self", NULL
25227 };
25228
c32bde28
RD
25229 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25230 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25231 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25232 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 25233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
25234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25235 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25236 {
25237 PyThreadState* __tstate = wxPyBeginAllowThreads();
25238 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25239
25240 wxPyEndAllowThreads(__tstate);
25241 if (PyErr_Occurred()) SWIG_fail;
25242 }
25243 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25244 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25245 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25246 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25247 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25248 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25249 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25250 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25251 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25252 return resultobj;
25253 fail:
25254 return NULL;
25255}
25256
25257
c32bde28 25258static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25259 PyObject *obj;
25260 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25261 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25262 Py_INCREF(obj);
25263 return Py_BuildValue((char *)"");
25264}
c32bde28 25265static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25266 PyObject *resultobj;
25267 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25268 wxWindow *arg2 = (wxWindow *) 0 ;
25269 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25270 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25271 wxSize const &arg4_defvalue = wxDefaultSize ;
25272 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25273 long arg5 = (long) 0 ;
25274 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25275 wxString *arg6 = (wxString *) &arg6_defvalue ;
25276 wxPreviewCanvas *result;
25277 wxPoint temp3 ;
25278 wxSize temp4 ;
ae8162c8 25279 bool temp6 = false ;
d55e5bfc
RD
25280 PyObject * obj0 = 0 ;
25281 PyObject * obj1 = 0 ;
25282 PyObject * obj2 = 0 ;
25283 PyObject * obj3 = 0 ;
25284 PyObject * obj4 = 0 ;
25285 PyObject * obj5 = 0 ;
25286 char *kwnames[] = {
25287 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25288 };
25289
25290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
25291 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25292 if (SWIG_arg_fail(1)) SWIG_fail;
25293 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25294 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25295 if (obj2) {
25296 {
25297 arg3 = &temp3;
25298 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25299 }
25300 }
25301 if (obj3) {
25302 {
25303 arg4 = &temp4;
25304 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25305 }
25306 }
25307 if (obj4) {
093d3ff1
RD
25308 {
25309 arg5 = (long)(SWIG_As_long(obj4));
25310 if (SWIG_arg_fail(5)) SWIG_fail;
25311 }
d55e5bfc
RD
25312 }
25313 if (obj5) {
25314 {
25315 arg6 = wxString_in_helper(obj5);
25316 if (arg6 == NULL) SWIG_fail;
ae8162c8 25317 temp6 = true;
d55e5bfc
RD
25318 }
25319 }
25320 {
0439c23b 25321 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25322 PyThreadState* __tstate = wxPyBeginAllowThreads();
25323 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25324
25325 wxPyEndAllowThreads(__tstate);
110da5b0 25326 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25327 }
25328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25329 {
25330 if (temp6)
25331 delete arg6;
25332 }
25333 return resultobj;
25334 fail:
25335 {
25336 if (temp6)
25337 delete arg6;
25338 }
25339 return NULL;
25340}
25341
25342
c32bde28 25343static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25344 PyObject *obj;
25345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25346 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25347 Py_INCREF(obj);
25348 return Py_BuildValue((char *)"");
25349}
c32bde28 25350static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25351 PyObject *resultobj;
25352 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25353 wxFrame *arg2 = (wxFrame *) 0 ;
25354 wxString *arg3 = 0 ;
25355 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25356 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25357 wxSize const &arg5_defvalue = wxDefaultSize ;
25358 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25359 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25360 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25361 wxString *arg7 = (wxString *) &arg7_defvalue ;
25362 wxPreviewFrame *result;
ae8162c8 25363 bool temp3 = false ;
d55e5bfc
RD
25364 wxPoint temp4 ;
25365 wxSize temp5 ;
ae8162c8 25366 bool temp7 = false ;
d55e5bfc
RD
25367 PyObject * obj0 = 0 ;
25368 PyObject * obj1 = 0 ;
25369 PyObject * obj2 = 0 ;
25370 PyObject * obj3 = 0 ;
25371 PyObject * obj4 = 0 ;
25372 PyObject * obj5 = 0 ;
25373 PyObject * obj6 = 0 ;
25374 char *kwnames[] = {
25375 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25376 };
25377
25378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25380 if (SWIG_arg_fail(1)) SWIG_fail;
25381 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25382 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25383 {
25384 arg3 = wxString_in_helper(obj2);
25385 if (arg3 == NULL) SWIG_fail;
ae8162c8 25386 temp3 = true;
d55e5bfc
RD
25387 }
25388 if (obj3) {
25389 {
25390 arg4 = &temp4;
25391 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25392 }
25393 }
25394 if (obj4) {
25395 {
25396 arg5 = &temp5;
25397 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25398 }
25399 }
25400 if (obj5) {
093d3ff1
RD
25401 {
25402 arg6 = (long)(SWIG_As_long(obj5));
25403 if (SWIG_arg_fail(6)) SWIG_fail;
25404 }
d55e5bfc
RD
25405 }
25406 if (obj6) {
25407 {
25408 arg7 = wxString_in_helper(obj6);
25409 if (arg7 == NULL) SWIG_fail;
ae8162c8 25410 temp7 = true;
d55e5bfc
RD
25411 }
25412 }
25413 {
0439c23b 25414 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25415 PyThreadState* __tstate = wxPyBeginAllowThreads();
25416 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25417
25418 wxPyEndAllowThreads(__tstate);
110da5b0 25419 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25420 }
25421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25422 {
25423 if (temp3)
25424 delete arg3;
25425 }
25426 {
25427 if (temp7)
25428 delete arg7;
25429 }
25430 return resultobj;
25431 fail:
25432 {
25433 if (temp3)
25434 delete arg3;
25435 }
25436 {
25437 if (temp7)
25438 delete arg7;
25439 }
25440 return NULL;
25441}
25442
25443
c32bde28 25444static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25445 PyObject *resultobj;
25446 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25447 PyObject * obj0 = 0 ;
25448 char *kwnames[] = {
25449 (char *) "self", NULL
25450 };
25451
25452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
25453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25454 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25455 {
25456 PyThreadState* __tstate = wxPyBeginAllowThreads();
25457 (arg1)->Initialize();
25458
25459 wxPyEndAllowThreads(__tstate);
25460 if (PyErr_Occurred()) SWIG_fail;
25461 }
25462 Py_INCREF(Py_None); resultobj = Py_None;
25463 return resultobj;
25464 fail:
25465 return NULL;
25466}
25467
25468
c32bde28 25469static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25470 PyObject *resultobj;
25471 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25472 PyObject * obj0 = 0 ;
25473 char *kwnames[] = {
25474 (char *) "self", NULL
25475 };
25476
25477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25479 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25480 {
25481 PyThreadState* __tstate = wxPyBeginAllowThreads();
25482 (arg1)->CreateControlBar();
25483
25484 wxPyEndAllowThreads(__tstate);
25485 if (PyErr_Occurred()) SWIG_fail;
25486 }
25487 Py_INCREF(Py_None); resultobj = Py_None;
25488 return resultobj;
25489 fail:
25490 return NULL;
25491}
25492
25493
c32bde28 25494static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25495 PyObject *resultobj;
25496 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25497 PyObject * obj0 = 0 ;
25498 char *kwnames[] = {
25499 (char *) "self", NULL
25500 };
25501
25502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
25503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25504 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25505 {
25506 PyThreadState* __tstate = wxPyBeginAllowThreads();
25507 (arg1)->CreateCanvas();
25508
25509 wxPyEndAllowThreads(__tstate);
25510 if (PyErr_Occurred()) SWIG_fail;
25511 }
25512 Py_INCREF(Py_None); resultobj = Py_None;
25513 return resultobj;
25514 fail:
25515 return NULL;
25516}
25517
25518
c32bde28 25519static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25520 PyObject *resultobj;
25521 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25522 wxPreviewControlBar *result;
25523 PyObject * obj0 = 0 ;
25524 char *kwnames[] = {
25525 (char *) "self", NULL
25526 };
25527
25528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25530 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25531 {
25532 PyThreadState* __tstate = wxPyBeginAllowThreads();
25533 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25534
25535 wxPyEndAllowThreads(__tstate);
25536 if (PyErr_Occurred()) SWIG_fail;
25537 }
25538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25539 return resultobj;
25540 fail:
25541 return NULL;
25542}
25543
25544
c32bde28 25545static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25546 PyObject *obj;
25547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25548 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25549 Py_INCREF(obj);
25550 return Py_BuildValue((char *)"");
25551}
c32bde28 25552static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25553 PyObject *resultobj;
25554 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25555 long arg2 ;
25556 wxWindow *arg3 = (wxWindow *) 0 ;
25557 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25558 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25559 wxSize const &arg5_defvalue = wxDefaultSize ;
25560 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25561 long arg6 = (long) wxTAB_TRAVERSAL ;
25562 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25563 wxString *arg7 = (wxString *) &arg7_defvalue ;
25564 wxPreviewControlBar *result;
25565 wxPoint temp4 ;
25566 wxSize temp5 ;
ae8162c8 25567 bool temp7 = false ;
d55e5bfc
RD
25568 PyObject * obj0 = 0 ;
25569 PyObject * obj1 = 0 ;
25570 PyObject * obj2 = 0 ;
25571 PyObject * obj3 = 0 ;
25572 PyObject * obj4 = 0 ;
25573 PyObject * obj5 = 0 ;
25574 PyObject * obj6 = 0 ;
25575 char *kwnames[] = {
25576 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25577 };
25578
25579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25581 if (SWIG_arg_fail(1)) SWIG_fail;
25582 {
25583 arg2 = (long)(SWIG_As_long(obj1));
25584 if (SWIG_arg_fail(2)) SWIG_fail;
25585 }
25586 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25587 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
25588 if (obj3) {
25589 {
25590 arg4 = &temp4;
25591 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25592 }
25593 }
25594 if (obj4) {
25595 {
25596 arg5 = &temp5;
25597 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25598 }
25599 }
25600 if (obj5) {
093d3ff1
RD
25601 {
25602 arg6 = (long)(SWIG_As_long(obj5));
25603 if (SWIG_arg_fail(6)) SWIG_fail;
25604 }
d55e5bfc
RD
25605 }
25606 if (obj6) {
25607 {
25608 arg7 = wxString_in_helper(obj6);
25609 if (arg7 == NULL) SWIG_fail;
ae8162c8 25610 temp7 = true;
d55e5bfc
RD
25611 }
25612 }
25613 {
0439c23b 25614 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25615 PyThreadState* __tstate = wxPyBeginAllowThreads();
25616 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25617
25618 wxPyEndAllowThreads(__tstate);
110da5b0 25619 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25620 }
25621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25622 {
25623 if (temp7)
25624 delete arg7;
25625 }
25626 return resultobj;
25627 fail:
25628 {
25629 if (temp7)
25630 delete arg7;
25631 }
25632 return NULL;
25633}
25634
25635
c32bde28 25636static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25637 PyObject *resultobj;
25638 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25639 int result;
25640 PyObject * obj0 = 0 ;
25641 char *kwnames[] = {
25642 (char *) "self", NULL
25643 };
25644
25645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
25646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25647 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25648 {
25649 PyThreadState* __tstate = wxPyBeginAllowThreads();
25650 result = (int)(arg1)->GetZoomControl();
25651
25652 wxPyEndAllowThreads(__tstate);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
093d3ff1
RD
25655 {
25656 resultobj = SWIG_From_int((int)(result));
25657 }
d55e5bfc
RD
25658 return resultobj;
25659 fail:
25660 return NULL;
25661}
25662
25663
c32bde28 25664static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25665 PyObject *resultobj;
25666 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25667 int arg2 ;
25668 PyObject * obj0 = 0 ;
25669 PyObject * obj1 = 0 ;
25670 char *kwnames[] = {
25671 (char *) "self",(char *) "zoom", NULL
25672 };
25673
25674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25676 if (SWIG_arg_fail(1)) SWIG_fail;
25677 {
25678 arg2 = (int)(SWIG_As_int(obj1));
25679 if (SWIG_arg_fail(2)) SWIG_fail;
25680 }
d55e5bfc
RD
25681 {
25682 PyThreadState* __tstate = wxPyBeginAllowThreads();
25683 (arg1)->SetZoomControl(arg2);
25684
25685 wxPyEndAllowThreads(__tstate);
25686 if (PyErr_Occurred()) SWIG_fail;
25687 }
25688 Py_INCREF(Py_None); resultobj = Py_None;
25689 return resultobj;
25690 fail:
25691 return NULL;
25692}
25693
25694
c32bde28 25695static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25696 PyObject *resultobj;
25697 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25698 wxPrintPreview *result;
25699 PyObject * obj0 = 0 ;
25700 char *kwnames[] = {
25701 (char *) "self", NULL
25702 };
25703
25704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
25705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25706 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25707 {
25708 PyThreadState* __tstate = wxPyBeginAllowThreads();
25709 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25710
25711 wxPyEndAllowThreads(__tstate);
25712 if (PyErr_Occurred()) SWIG_fail;
25713 }
25714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25715 return resultobj;
25716 fail:
25717 return NULL;
25718}
25719
25720
c32bde28 25721static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25722 PyObject *resultobj;
25723 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25724 PyObject * obj0 = 0 ;
25725 char *kwnames[] = {
25726 (char *) "self", NULL
25727 };
25728
25729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
25730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25731 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25732 {
25733 PyThreadState* __tstate = wxPyBeginAllowThreads();
25734 (arg1)->OnNext();
25735
25736 wxPyEndAllowThreads(__tstate);
25737 if (PyErr_Occurred()) SWIG_fail;
25738 }
25739 Py_INCREF(Py_None); resultobj = Py_None;
25740 return resultobj;
25741 fail:
25742 return NULL;
25743}
25744
25745
c32bde28 25746static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25747 PyObject *resultobj;
25748 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25749 PyObject * obj0 = 0 ;
25750 char *kwnames[] = {
25751 (char *) "self", NULL
25752 };
25753
25754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
25755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25756 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25757 {
25758 PyThreadState* __tstate = wxPyBeginAllowThreads();
25759 (arg1)->OnPrevious();
25760
25761 wxPyEndAllowThreads(__tstate);
25762 if (PyErr_Occurred()) SWIG_fail;
25763 }
25764 Py_INCREF(Py_None); resultobj = Py_None;
25765 return resultobj;
25766 fail:
25767 return NULL;
25768}
25769
25770
c32bde28 25771static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25772 PyObject *resultobj;
25773 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25774 PyObject * obj0 = 0 ;
25775 char *kwnames[] = {
25776 (char *) "self", NULL
25777 };
25778
25779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
093d3ff1
RD
25780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25781 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25782 {
25783 PyThreadState* __tstate = wxPyBeginAllowThreads();
25784 (arg1)->OnFirst();
25785
25786 wxPyEndAllowThreads(__tstate);
25787 if (PyErr_Occurred()) SWIG_fail;
25788 }
25789 Py_INCREF(Py_None); resultobj = Py_None;
25790 return resultobj;
25791 fail:
25792 return NULL;
25793}
25794
25795
c32bde28 25796static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25797 PyObject *resultobj;
25798 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25799 PyObject * obj0 = 0 ;
25800 char *kwnames[] = {
25801 (char *) "self", NULL
25802 };
25803
25804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
093d3ff1
RD
25805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25807 {
25808 PyThreadState* __tstate = wxPyBeginAllowThreads();
25809 (arg1)->OnLast();
25810
25811 wxPyEndAllowThreads(__tstate);
25812 if (PyErr_Occurred()) SWIG_fail;
25813 }
25814 Py_INCREF(Py_None); resultobj = Py_None;
25815 return resultobj;
25816 fail:
25817 return NULL;
25818}
25819
25820
c32bde28 25821static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25822 PyObject *resultobj;
25823 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25824 PyObject * obj0 = 0 ;
25825 char *kwnames[] = {
25826 (char *) "self", NULL
25827 };
25828
25829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
093d3ff1
RD
25830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25831 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25832 {
25833 PyThreadState* __tstate = wxPyBeginAllowThreads();
25834 (arg1)->OnGoto();
25835
25836 wxPyEndAllowThreads(__tstate);
25837 if (PyErr_Occurred()) SWIG_fail;
25838 }
25839 Py_INCREF(Py_None); resultobj = Py_None;
25840 return resultobj;
25841 fail:
25842 return NULL;
25843}
25844
25845
c32bde28 25846static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25847 PyObject *obj;
25848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25849 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25850 Py_INCREF(obj);
25851 return Py_BuildValue((char *)"");
25852}
c32bde28 25853static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
25854 PyObject *resultobj;
25855 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25856 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25857 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
25858 wxPrintPreview *result;
25859 PyObject * obj0 = 0 ;
25860 PyObject * obj1 = 0 ;
25861 PyObject * obj2 = 0 ;
25862
25863 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25865 if (SWIG_arg_fail(1)) SWIG_fail;
25866 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25867 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 25868 if (obj2) {
093d3ff1
RD
25869 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25870 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
25871 }
25872 {
0439c23b 25873 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25874 PyThreadState* __tstate = wxPyBeginAllowThreads();
25875 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25876
25877 wxPyEndAllowThreads(__tstate);
110da5b0 25878 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25879 }
25880 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25881 return resultobj;
25882 fail:
25883 return NULL;
25884}
25885
25886
c32bde28 25887static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
25888 PyObject *resultobj;
25889 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25890 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25891 wxPrintData *arg3 = (wxPrintData *) 0 ;
25892 wxPrintPreview *result;
25893 PyObject * obj0 = 0 ;
25894 PyObject * obj1 = 0 ;
25895 PyObject * obj2 = 0 ;
25896
25897 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25899 if (SWIG_arg_fail(1)) SWIG_fail;
25900 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25901 if (SWIG_arg_fail(2)) SWIG_fail;
25902 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25903 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 25904 {
0439c23b 25905 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25906 PyThreadState* __tstate = wxPyBeginAllowThreads();
25907 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25908
25909 wxPyEndAllowThreads(__tstate);
110da5b0 25910 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25911 }
25912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25913 return resultobj;
25914 fail:
25915 return NULL;
25916}
25917
25918
25919static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25920 int argc;
25921 PyObject *argv[4];
25922 int ii;
25923
25924 argc = PyObject_Length(args);
25925 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25926 argv[ii] = PyTuple_GetItem(args,ii);
25927 }
25928 if ((argc >= 2) && (argc <= 3)) {
25929 int _v;
25930 {
25931 void *ptr;
25932 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25933 _v = 0;
25934 PyErr_Clear();
25935 } else {
25936 _v = 1;
25937 }
25938 }
25939 if (_v) {
25940 {
25941 void *ptr;
25942 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25943 _v = 0;
25944 PyErr_Clear();
25945 } else {
25946 _v = 1;
25947 }
25948 }
25949 if (_v) {
25950 if (argc <= 2) {
25951 return _wrap_new_PrintPreview__SWIG_0(self,args);
25952 }
25953 {
25954 void *ptr;
25955 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25956 _v = 0;
25957 PyErr_Clear();
25958 } else {
25959 _v = 1;
25960 }
25961 }
25962 if (_v) {
25963 return _wrap_new_PrintPreview__SWIG_0(self,args);
25964 }
25965 }
25966 }
25967 }
25968 if (argc == 3) {
25969 int _v;
25970 {
25971 void *ptr;
25972 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25973 _v = 0;
25974 PyErr_Clear();
25975 } else {
25976 _v = 1;
25977 }
25978 }
25979 if (_v) {
25980 {
25981 void *ptr;
25982 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25983 _v = 0;
25984 PyErr_Clear();
25985 } else {
25986 _v = 1;
25987 }
25988 }
25989 if (_v) {
25990 {
25991 void *ptr;
25992 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25993 _v = 0;
25994 PyErr_Clear();
25995 } else {
25996 _v = 1;
25997 }
25998 }
25999 if (_v) {
26000 return _wrap_new_PrintPreview__SWIG_1(self,args);
26001 }
26002 }
26003 }
26004 }
26005
093d3ff1 26006 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
d55e5bfc
RD
26007 return NULL;
26008}
26009
26010
c32bde28 26011static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26012 PyObject *resultobj;
26013 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26014 int arg2 ;
26015 bool result;
26016 PyObject * obj0 = 0 ;
26017 PyObject * obj1 = 0 ;
26018 char *kwnames[] = {
26019 (char *) "self",(char *) "pageNum", NULL
26020 };
26021
26022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26024 if (SWIG_arg_fail(1)) SWIG_fail;
26025 {
26026 arg2 = (int)(SWIG_As_int(obj1));
26027 if (SWIG_arg_fail(2)) SWIG_fail;
26028 }
d55e5bfc
RD
26029 {
26030 PyThreadState* __tstate = wxPyBeginAllowThreads();
26031 result = (bool)(arg1)->SetCurrentPage(arg2);
26032
26033 wxPyEndAllowThreads(__tstate);
26034 if (PyErr_Occurred()) SWIG_fail;
26035 }
26036 {
26037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26038 }
26039 return resultobj;
26040 fail:
26041 return NULL;
26042}
26043
26044
c32bde28 26045static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26046 PyObject *resultobj;
26047 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26048 int result;
26049 PyObject * obj0 = 0 ;
26050 char *kwnames[] = {
26051 (char *) "self", NULL
26052 };
26053
26054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26056 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26057 {
26058 PyThreadState* __tstate = wxPyBeginAllowThreads();
26059 result = (int)(arg1)->GetCurrentPage();
26060
26061 wxPyEndAllowThreads(__tstate);
26062 if (PyErr_Occurred()) SWIG_fail;
26063 }
093d3ff1
RD
26064 {
26065 resultobj = SWIG_From_int((int)(result));
26066 }
d55e5bfc
RD
26067 return resultobj;
26068 fail:
26069 return NULL;
26070}
26071
26072
c32bde28 26073static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26074 PyObject *resultobj;
26075 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26076 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26077 PyObject * obj0 = 0 ;
26078 PyObject * obj1 = 0 ;
26079 char *kwnames[] = {
26080 (char *) "self",(char *) "printout", NULL
26081 };
26082
26083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26085 if (SWIG_arg_fail(1)) SWIG_fail;
26086 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26087 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26088 {
26089 PyThreadState* __tstate = wxPyBeginAllowThreads();
26090 (arg1)->SetPrintout(arg2);
26091
26092 wxPyEndAllowThreads(__tstate);
26093 if (PyErr_Occurred()) SWIG_fail;
26094 }
26095 Py_INCREF(Py_None); resultobj = Py_None;
26096 return resultobj;
26097 fail:
26098 return NULL;
26099}
26100
26101
c32bde28 26102static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26103 PyObject *resultobj;
26104 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26105 wxPyPrintout *result;
26106 PyObject * obj0 = 0 ;
26107 char *kwnames[] = {
26108 (char *) "self", NULL
26109 };
26110
26111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
093d3ff1
RD
26112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26113 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26114 {
26115 PyThreadState* __tstate = wxPyBeginAllowThreads();
26116 result = (wxPyPrintout *)(arg1)->GetPrintout();
26117
26118 wxPyEndAllowThreads(__tstate);
26119 if (PyErr_Occurred()) SWIG_fail;
26120 }
26121 {
412d302d 26122 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26123 }
26124 return resultobj;
26125 fail:
26126 return NULL;
26127}
26128
26129
c32bde28 26130static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26131 PyObject *resultobj;
26132 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26133 wxPyPrintout *result;
26134 PyObject * obj0 = 0 ;
26135 char *kwnames[] = {
26136 (char *) "self", NULL
26137 };
26138
26139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
26140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26141 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26142 {
26143 PyThreadState* __tstate = wxPyBeginAllowThreads();
26144 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26145
26146 wxPyEndAllowThreads(__tstate);
26147 if (PyErr_Occurred()) SWIG_fail;
26148 }
26149 {
412d302d 26150 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26151 }
26152 return resultobj;
26153 fail:
26154 return NULL;
26155}
26156
26157
c32bde28 26158static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26159 PyObject *resultobj;
26160 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26161 wxFrame *arg2 = (wxFrame *) 0 ;
26162 PyObject * obj0 = 0 ;
26163 PyObject * obj1 = 0 ;
26164 char *kwnames[] = {
26165 (char *) "self",(char *) "frame", NULL
26166 };
26167
26168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26170 if (SWIG_arg_fail(1)) SWIG_fail;
26171 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26172 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26173 {
26174 PyThreadState* __tstate = wxPyBeginAllowThreads();
26175 (arg1)->SetFrame(arg2);
26176
26177 wxPyEndAllowThreads(__tstate);
26178 if (PyErr_Occurred()) SWIG_fail;
26179 }
26180 Py_INCREF(Py_None); resultobj = Py_None;
26181 return resultobj;
26182 fail:
26183 return NULL;
26184}
26185
26186
c32bde28 26187static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26188 PyObject *resultobj;
26189 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26190 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26191 PyObject * obj0 = 0 ;
26192 PyObject * obj1 = 0 ;
26193 char *kwnames[] = {
26194 (char *) "self",(char *) "canvas", NULL
26195 };
26196
26197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail;
26200 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26201 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26202 {
26203 PyThreadState* __tstate = wxPyBeginAllowThreads();
26204 (arg1)->SetCanvas(arg2);
26205
26206 wxPyEndAllowThreads(__tstate);
26207 if (PyErr_Occurred()) SWIG_fail;
26208 }
26209 Py_INCREF(Py_None); resultobj = Py_None;
26210 return resultobj;
26211 fail:
26212 return NULL;
26213}
26214
26215
c32bde28 26216static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26217 PyObject *resultobj;
26218 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26219 wxFrame *result;
26220 PyObject * obj0 = 0 ;
26221 char *kwnames[] = {
26222 (char *) "self", NULL
26223 };
26224
26225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
26226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26227 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26228 {
26229 PyThreadState* __tstate = wxPyBeginAllowThreads();
26230 result = (wxFrame *)(arg1)->GetFrame();
26231
26232 wxPyEndAllowThreads(__tstate);
26233 if (PyErr_Occurred()) SWIG_fail;
26234 }
26235 {
412d302d 26236 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26237 }
26238 return resultobj;
26239 fail:
26240 return NULL;
26241}
26242
26243
c32bde28 26244static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26245 PyObject *resultobj;
26246 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26247 wxPreviewCanvas *result;
26248 PyObject * obj0 = 0 ;
26249 char *kwnames[] = {
26250 (char *) "self", NULL
26251 };
26252
26253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
26254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26255 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26256 {
26257 PyThreadState* __tstate = wxPyBeginAllowThreads();
26258 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26259
26260 wxPyEndAllowThreads(__tstate);
26261 if (PyErr_Occurred()) SWIG_fail;
26262 }
26263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
26264 return resultobj;
26265 fail:
26266 return NULL;
26267}
26268
26269
c32bde28 26270static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26271 PyObject *resultobj;
26272 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26273 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26274 wxDC *arg3 = 0 ;
26275 bool result;
26276 PyObject * obj0 = 0 ;
26277 PyObject * obj1 = 0 ;
26278 PyObject * obj2 = 0 ;
26279 char *kwnames[] = {
26280 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26281 };
26282
26283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26285 if (SWIG_arg_fail(1)) SWIG_fail;
26286 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26287 if (SWIG_arg_fail(2)) SWIG_fail;
26288 {
26289 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26290 if (SWIG_arg_fail(3)) SWIG_fail;
26291 if (arg3 == NULL) {
26292 SWIG_null_ref("wxDC");
26293 }
26294 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26295 }
26296 {
26297 PyThreadState* __tstate = wxPyBeginAllowThreads();
26298 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26299
26300 wxPyEndAllowThreads(__tstate);
26301 if (PyErr_Occurred()) SWIG_fail;
26302 }
26303 {
26304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26305 }
26306 return resultobj;
26307 fail:
26308 return NULL;
26309}
26310
26311
c32bde28 26312static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26313 PyObject *resultobj;
26314 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26315 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26316 wxDC *arg3 = 0 ;
26317 bool result;
26318 PyObject * obj0 = 0 ;
26319 PyObject * obj1 = 0 ;
26320 PyObject * obj2 = 0 ;
26321 char *kwnames[] = {
26322 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26323 };
26324
26325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26327 if (SWIG_arg_fail(1)) SWIG_fail;
26328 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26329 if (SWIG_arg_fail(2)) SWIG_fail;
26330 {
26331 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26332 if (SWIG_arg_fail(3)) SWIG_fail;
26333 if (arg3 == NULL) {
26334 SWIG_null_ref("wxDC");
26335 }
26336 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26337 }
26338 {
26339 PyThreadState* __tstate = wxPyBeginAllowThreads();
26340 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26341
26342 wxPyEndAllowThreads(__tstate);
26343 if (PyErr_Occurred()) SWIG_fail;
26344 }
26345 {
26346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26347 }
26348 return resultobj;
26349 fail:
26350 return NULL;
26351}
26352
26353
c32bde28 26354static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26355 PyObject *resultobj;
26356 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26357 int arg2 ;
26358 bool result;
26359 PyObject * obj0 = 0 ;
26360 PyObject * obj1 = 0 ;
26361 char *kwnames[] = {
26362 (char *) "self",(char *) "pageNum", NULL
26363 };
26364
26365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26367 if (SWIG_arg_fail(1)) SWIG_fail;
26368 {
26369 arg2 = (int)(SWIG_As_int(obj1));
26370 if (SWIG_arg_fail(2)) SWIG_fail;
26371 }
d55e5bfc
RD
26372 {
26373 PyThreadState* __tstate = wxPyBeginAllowThreads();
26374 result = (bool)(arg1)->RenderPage(arg2);
26375
26376 wxPyEndAllowThreads(__tstate);
26377 if (PyErr_Occurred()) SWIG_fail;
26378 }
26379 {
26380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26381 }
26382 return resultobj;
26383 fail:
26384 return NULL;
26385}
26386
26387
c32bde28 26388static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26389 PyObject *resultobj;
26390 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26391 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26392 PyObject * obj0 = 0 ;
26393 PyObject * obj1 = 0 ;
26394 char *kwnames[] = {
26395 (char *) "self",(char *) "canvas", NULL
26396 };
26397
26398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26400 if (SWIG_arg_fail(1)) SWIG_fail;
26401 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26402 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26403 {
26404 PyThreadState* __tstate = wxPyBeginAllowThreads();
26405 (arg1)->AdjustScrollbars(arg2);
26406
26407 wxPyEndAllowThreads(__tstate);
26408 if (PyErr_Occurred()) SWIG_fail;
26409 }
26410 Py_INCREF(Py_None); resultobj = Py_None;
26411 return resultobj;
26412 fail:
26413 return NULL;
26414}
26415
26416
c32bde28 26417static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26418 PyObject *resultobj;
26419 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26420 wxPrintDialogData *result;
26421 PyObject * obj0 = 0 ;
26422 char *kwnames[] = {
26423 (char *) "self", NULL
26424 };
26425
26426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
26427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26428 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26429 {
26430 PyThreadState* __tstate = wxPyBeginAllowThreads();
26431 {
26432 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26433 result = (wxPrintDialogData *) &_result_ref;
26434 }
26435
26436 wxPyEndAllowThreads(__tstate);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 }
26439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26440 return resultobj;
26441 fail:
26442 return NULL;
26443}
26444
26445
c32bde28 26446static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26447 PyObject *resultobj;
26448 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26449 int arg2 ;
26450 PyObject * obj0 = 0 ;
26451 PyObject * obj1 = 0 ;
26452 char *kwnames[] = {
26453 (char *) "self",(char *) "percent", NULL
26454 };
26455
26456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26458 if (SWIG_arg_fail(1)) SWIG_fail;
26459 {
26460 arg2 = (int)(SWIG_As_int(obj1));
26461 if (SWIG_arg_fail(2)) SWIG_fail;
26462 }
d55e5bfc
RD
26463 {
26464 PyThreadState* __tstate = wxPyBeginAllowThreads();
26465 (arg1)->SetZoom(arg2);
26466
26467 wxPyEndAllowThreads(__tstate);
26468 if (PyErr_Occurred()) SWIG_fail;
26469 }
26470 Py_INCREF(Py_None); resultobj = Py_None;
26471 return resultobj;
26472 fail:
26473 return NULL;
26474}
26475
26476
c32bde28 26477static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26478 PyObject *resultobj;
26479 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26480 int result;
26481 PyObject * obj0 = 0 ;
26482 char *kwnames[] = {
26483 (char *) "self", NULL
26484 };
26485
26486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
093d3ff1
RD
26487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26488 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26489 {
26490 PyThreadState* __tstate = wxPyBeginAllowThreads();
26491 result = (int)(arg1)->GetZoom();
26492
26493 wxPyEndAllowThreads(__tstate);
26494 if (PyErr_Occurred()) SWIG_fail;
26495 }
093d3ff1
RD
26496 {
26497 resultobj = SWIG_From_int((int)(result));
26498 }
d55e5bfc
RD
26499 return resultobj;
26500 fail:
26501 return NULL;
26502}
26503
26504
c32bde28 26505static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26506 PyObject *resultobj;
26507 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26508 int result;
26509 PyObject * obj0 = 0 ;
26510 char *kwnames[] = {
26511 (char *) "self", NULL
26512 };
26513
26514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26516 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26517 {
26518 PyThreadState* __tstate = wxPyBeginAllowThreads();
26519 result = (int)(arg1)->GetMaxPage();
26520
26521 wxPyEndAllowThreads(__tstate);
26522 if (PyErr_Occurred()) SWIG_fail;
26523 }
093d3ff1
RD
26524 {
26525 resultobj = SWIG_From_int((int)(result));
26526 }
d55e5bfc
RD
26527 return resultobj;
26528 fail:
26529 return NULL;
26530}
26531
26532
c32bde28 26533static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26534 PyObject *resultobj;
26535 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26536 int result;
26537 PyObject * obj0 = 0 ;
26538 char *kwnames[] = {
26539 (char *) "self", NULL
26540 };
26541
26542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26544 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26545 {
26546 PyThreadState* __tstate = wxPyBeginAllowThreads();
26547 result = (int)(arg1)->GetMinPage();
26548
26549 wxPyEndAllowThreads(__tstate);
26550 if (PyErr_Occurred()) SWIG_fail;
26551 }
093d3ff1
RD
26552 {
26553 resultobj = SWIG_From_int((int)(result));
26554 }
d55e5bfc
RD
26555 return resultobj;
26556 fail:
26557 return NULL;
26558}
26559
26560
c32bde28 26561static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26562 PyObject *resultobj;
26563 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26564 bool result;
26565 PyObject * obj0 = 0 ;
26566 char *kwnames[] = {
26567 (char *) "self", NULL
26568 };
26569
26570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
26571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26572 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26573 {
26574 PyThreadState* __tstate = wxPyBeginAllowThreads();
26575 result = (bool)(arg1)->Ok();
26576
26577 wxPyEndAllowThreads(__tstate);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 }
26580 {
26581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26582 }
26583 return resultobj;
26584 fail:
26585 return NULL;
26586}
26587
26588
c32bde28 26589static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26590 PyObject *resultobj;
26591 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26592 bool arg2 ;
26593 PyObject * obj0 = 0 ;
26594 PyObject * obj1 = 0 ;
26595 char *kwnames[] = {
26596 (char *) "self",(char *) "ok", NULL
26597 };
26598
26599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26601 if (SWIG_arg_fail(1)) SWIG_fail;
26602 {
26603 arg2 = (bool)(SWIG_As_bool(obj1));
26604 if (SWIG_arg_fail(2)) SWIG_fail;
26605 }
d55e5bfc
RD
26606 {
26607 PyThreadState* __tstate = wxPyBeginAllowThreads();
26608 (arg1)->SetOk(arg2);
26609
26610 wxPyEndAllowThreads(__tstate);
26611 if (PyErr_Occurred()) SWIG_fail;
26612 }
26613 Py_INCREF(Py_None); resultobj = Py_None;
26614 return resultobj;
26615 fail:
26616 return NULL;
26617}
26618
26619
c32bde28 26620static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26621 PyObject *resultobj;
26622 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26623 bool arg2 ;
26624 bool result;
26625 PyObject * obj0 = 0 ;
26626 PyObject * obj1 = 0 ;
26627 char *kwnames[] = {
26628 (char *) "self",(char *) "interactive", NULL
26629 };
26630
26631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26633 if (SWIG_arg_fail(1)) SWIG_fail;
26634 {
26635 arg2 = (bool)(SWIG_As_bool(obj1));
26636 if (SWIG_arg_fail(2)) SWIG_fail;
26637 }
d55e5bfc
RD
26638 {
26639 PyThreadState* __tstate = wxPyBeginAllowThreads();
26640 result = (bool)(arg1)->Print(arg2);
26641
26642 wxPyEndAllowThreads(__tstate);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 }
26645 {
26646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26647 }
26648 return resultobj;
26649 fail:
26650 return NULL;
26651}
26652
26653
c32bde28 26654static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26655 PyObject *resultobj;
26656 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26657 PyObject * obj0 = 0 ;
26658 char *kwnames[] = {
26659 (char *) "self", NULL
26660 };
26661
26662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
26663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26665 {
26666 PyThreadState* __tstate = wxPyBeginAllowThreads();
26667 (arg1)->DetermineScaling();
26668
26669 wxPyEndAllowThreads(__tstate);
26670 if (PyErr_Occurred()) SWIG_fail;
26671 }
26672 Py_INCREF(Py_None); resultobj = Py_None;
26673 return resultobj;
26674 fail:
26675 return NULL;
26676}
26677
26678
c32bde28 26679static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26680 PyObject *obj;
26681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26682 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26683 Py_INCREF(obj);
26684 return Py_BuildValue((char *)"");
26685}
c32bde28 26686static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
26687 PyObject *resultobj;
26688 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26689 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26690 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26691 wxPyPrintPreview *result;
26692 PyObject * obj0 = 0 ;
26693 PyObject * obj1 = 0 ;
26694 PyObject * obj2 = 0 ;
26695
26696 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26698 if (SWIG_arg_fail(1)) SWIG_fail;
26699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26700 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26701 if (obj2) {
093d3ff1
RD
26702 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26703 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26704 }
26705 {
0439c23b 26706 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26707 PyThreadState* __tstate = wxPyBeginAllowThreads();
26708 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26709
26710 wxPyEndAllowThreads(__tstate);
110da5b0 26711 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26712 }
26713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26714 return resultobj;
26715 fail:
26716 return NULL;
26717}
26718
26719
c32bde28 26720static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
26721 PyObject *resultobj;
26722 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26723 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26724 wxPrintData *arg3 = (wxPrintData *) 0 ;
26725 wxPyPrintPreview *result;
26726 PyObject * obj0 = 0 ;
26727 PyObject * obj1 = 0 ;
26728 PyObject * obj2 = 0 ;
26729
26730 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26732 if (SWIG_arg_fail(1)) SWIG_fail;
26733 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26734 if (SWIG_arg_fail(2)) SWIG_fail;
26735 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26736 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 26737 {
0439c23b 26738 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26739 PyThreadState* __tstate = wxPyBeginAllowThreads();
26740 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26741
26742 wxPyEndAllowThreads(__tstate);
110da5b0 26743 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26744 }
26745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26746 return resultobj;
26747 fail:
26748 return NULL;
26749}
26750
26751
26752static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26753 int argc;
26754 PyObject *argv[4];
26755 int ii;
26756
26757 argc = PyObject_Length(args);
26758 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26759 argv[ii] = PyTuple_GetItem(args,ii);
26760 }
26761 if ((argc >= 2) && (argc <= 3)) {
26762 int _v;
26763 {
26764 void *ptr;
26765 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26766 _v = 0;
26767 PyErr_Clear();
26768 } else {
26769 _v = 1;
26770 }
26771 }
26772 if (_v) {
26773 {
26774 void *ptr;
26775 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26776 _v = 0;
26777 PyErr_Clear();
26778 } else {
26779 _v = 1;
26780 }
26781 }
26782 if (_v) {
26783 if (argc <= 2) {
26784 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26785 }
26786 {
26787 void *ptr;
26788 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26789 _v = 0;
26790 PyErr_Clear();
26791 } else {
26792 _v = 1;
26793 }
26794 }
26795 if (_v) {
26796 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26797 }
26798 }
26799 }
26800 }
26801 if (argc == 3) {
26802 int _v;
26803 {
26804 void *ptr;
26805 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26806 _v = 0;
26807 PyErr_Clear();
26808 } else {
26809 _v = 1;
26810 }
26811 }
26812 if (_v) {
26813 {
26814 void *ptr;
26815 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26816 _v = 0;
26817 PyErr_Clear();
26818 } else {
26819 _v = 1;
26820 }
26821 }
26822 if (_v) {
26823 {
26824 void *ptr;
26825 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26826 _v = 0;
26827 PyErr_Clear();
26828 } else {
26829 _v = 1;
26830 }
26831 }
26832 if (_v) {
26833 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26834 }
26835 }
26836 }
26837 }
26838
093d3ff1 26839 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
d55e5bfc
RD
26840 return NULL;
26841}
26842
26843
c32bde28 26844static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26845 PyObject *resultobj;
26846 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26847 PyObject *arg2 = (PyObject *) 0 ;
26848 PyObject *arg3 = (PyObject *) 0 ;
26849 PyObject * obj0 = 0 ;
26850 PyObject * obj1 = 0 ;
26851 PyObject * obj2 = 0 ;
26852 char *kwnames[] = {
26853 (char *) "self",(char *) "self",(char *) "_class", NULL
26854 };
26855
26856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26858 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26859 arg2 = obj1;
26860 arg3 = obj2;
26861 {
26862 PyThreadState* __tstate = wxPyBeginAllowThreads();
26863 (arg1)->_setCallbackInfo(arg2,arg3);
26864
26865 wxPyEndAllowThreads(__tstate);
26866 if (PyErr_Occurred()) SWIG_fail;
26867 }
26868 Py_INCREF(Py_None); resultobj = Py_None;
26869 return resultobj;
26870 fail:
26871 return NULL;
26872}
26873
26874
c32bde28 26875static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26876 PyObject *resultobj;
26877 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26878 int arg2 ;
26879 bool result;
26880 PyObject * obj0 = 0 ;
26881 PyObject * obj1 = 0 ;
26882 char *kwnames[] = {
26883 (char *) "self",(char *) "pageNum", NULL
26884 };
26885
26886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26888 if (SWIG_arg_fail(1)) SWIG_fail;
26889 {
26890 arg2 = (int)(SWIG_As_int(obj1));
26891 if (SWIG_arg_fail(2)) SWIG_fail;
26892 }
d55e5bfc
RD
26893 {
26894 PyThreadState* __tstate = wxPyBeginAllowThreads();
26895 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26896
26897 wxPyEndAllowThreads(__tstate);
26898 if (PyErr_Occurred()) SWIG_fail;
26899 }
26900 {
26901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26902 }
26903 return resultobj;
26904 fail:
26905 return NULL;
26906}
26907
26908
c32bde28 26909static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26910 PyObject *resultobj;
26911 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26912 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26913 wxDC *arg3 = 0 ;
26914 bool result;
26915 PyObject * obj0 = 0 ;
26916 PyObject * obj1 = 0 ;
26917 PyObject * obj2 = 0 ;
26918 char *kwnames[] = {
26919 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26920 };
26921
26922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26924 if (SWIG_arg_fail(1)) SWIG_fail;
26925 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26926 if (SWIG_arg_fail(2)) SWIG_fail;
26927 {
26928 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26929 if (SWIG_arg_fail(3)) SWIG_fail;
26930 if (arg3 == NULL) {
26931 SWIG_null_ref("wxDC");
26932 }
26933 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26934 }
26935 {
26936 PyThreadState* __tstate = wxPyBeginAllowThreads();
26937 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26938
26939 wxPyEndAllowThreads(__tstate);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 }
26942 {
26943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26944 }
26945 return resultobj;
26946 fail:
26947 return NULL;
26948}
26949
26950
c32bde28 26951static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26952 PyObject *resultobj;
26953 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26954 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26955 wxDC *arg3 = 0 ;
26956 bool result;
26957 PyObject * obj0 = 0 ;
26958 PyObject * obj1 = 0 ;
26959 PyObject * obj2 = 0 ;
26960 char *kwnames[] = {
26961 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26962 };
26963
26964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26966 if (SWIG_arg_fail(1)) SWIG_fail;
26967 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26968 if (SWIG_arg_fail(2)) SWIG_fail;
26969 {
26970 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26971 if (SWIG_arg_fail(3)) SWIG_fail;
26972 if (arg3 == NULL) {
26973 SWIG_null_ref("wxDC");
26974 }
26975 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26976 }
26977 {
26978 PyThreadState* __tstate = wxPyBeginAllowThreads();
26979 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26980
26981 wxPyEndAllowThreads(__tstate);
26982 if (PyErr_Occurred()) SWIG_fail;
26983 }
26984 {
26985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26986 }
26987 return resultobj;
26988 fail:
26989 return NULL;
26990}
26991
26992
c32bde28 26993static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26994 PyObject *resultobj;
26995 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26996 int arg2 ;
26997 bool result;
26998 PyObject * obj0 = 0 ;
26999 PyObject * obj1 = 0 ;
27000 char *kwnames[] = {
27001 (char *) "self",(char *) "pageNum", NULL
27002 };
27003
27004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27006 if (SWIG_arg_fail(1)) SWIG_fail;
27007 {
27008 arg2 = (int)(SWIG_As_int(obj1));
27009 if (SWIG_arg_fail(2)) SWIG_fail;
27010 }
d55e5bfc
RD
27011 {
27012 PyThreadState* __tstate = wxPyBeginAllowThreads();
27013 result = (bool)(arg1)->base_RenderPage(arg2);
27014
27015 wxPyEndAllowThreads(__tstate);
27016 if (PyErr_Occurred()) SWIG_fail;
27017 }
27018 {
27019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27020 }
27021 return resultobj;
27022 fail:
27023 return NULL;
27024}
27025
27026
c32bde28 27027static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27028 PyObject *resultobj;
27029 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27030 int arg2 ;
27031 PyObject * obj0 = 0 ;
27032 PyObject * obj1 = 0 ;
27033 char *kwnames[] = {
27034 (char *) "self",(char *) "percent", NULL
27035 };
27036
27037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27039 if (SWIG_arg_fail(1)) SWIG_fail;
27040 {
27041 arg2 = (int)(SWIG_As_int(obj1));
27042 if (SWIG_arg_fail(2)) SWIG_fail;
27043 }
d55e5bfc
RD
27044 {
27045 PyThreadState* __tstate = wxPyBeginAllowThreads();
27046 (arg1)->base_SetZoom(arg2);
27047
27048 wxPyEndAllowThreads(__tstate);
27049 if (PyErr_Occurred()) SWIG_fail;
27050 }
27051 Py_INCREF(Py_None); resultobj = Py_None;
27052 return resultobj;
27053 fail:
27054 return NULL;
27055}
27056
27057
c32bde28 27058static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27059 PyObject *resultobj;
27060 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27061 bool arg2 ;
27062 bool result;
27063 PyObject * obj0 = 0 ;
27064 PyObject * obj1 = 0 ;
27065 char *kwnames[] = {
27066 (char *) "self",(char *) "interactive", NULL
27067 };
27068
27069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27071 if (SWIG_arg_fail(1)) SWIG_fail;
27072 {
27073 arg2 = (bool)(SWIG_As_bool(obj1));
27074 if (SWIG_arg_fail(2)) SWIG_fail;
27075 }
d55e5bfc
RD
27076 {
27077 PyThreadState* __tstate = wxPyBeginAllowThreads();
27078 result = (bool)(arg1)->base_Print(arg2);
27079
27080 wxPyEndAllowThreads(__tstate);
27081 if (PyErr_Occurred()) SWIG_fail;
27082 }
27083 {
27084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27085 }
27086 return resultobj;
27087 fail:
27088 return NULL;
27089}
27090
27091
c32bde28 27092static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27093 PyObject *resultobj;
27094 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27095 PyObject * obj0 = 0 ;
27096 char *kwnames[] = {
27097 (char *) "self", NULL
27098 };
27099
27100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
27101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27102 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27103 {
27104 PyThreadState* __tstate = wxPyBeginAllowThreads();
27105 (arg1)->base_DetermineScaling();
27106
27107 wxPyEndAllowThreads(__tstate);
27108 if (PyErr_Occurred()) SWIG_fail;
27109 }
27110 Py_INCREF(Py_None); resultobj = Py_None;
27111 return resultobj;
27112 fail:
27113 return NULL;
27114}
27115
27116
c32bde28 27117static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27118 PyObject *obj;
27119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27120 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27121 Py_INCREF(obj);
27122 return Py_BuildValue((char *)"");
27123}
c32bde28 27124static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27125 PyObject *resultobj;
27126 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27127 wxFrame *arg2 = (wxFrame *) 0 ;
27128 wxString *arg3 = 0 ;
27129 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27130 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27131 wxSize const &arg5_defvalue = wxDefaultSize ;
27132 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27133 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27134 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27135 wxString *arg7 = (wxString *) &arg7_defvalue ;
27136 wxPyPreviewFrame *result;
ae8162c8 27137 bool temp3 = false ;
d55e5bfc
RD
27138 wxPoint temp4 ;
27139 wxSize temp5 ;
ae8162c8 27140 bool temp7 = false ;
d55e5bfc
RD
27141 PyObject * obj0 = 0 ;
27142 PyObject * obj1 = 0 ;
27143 PyObject * obj2 = 0 ;
27144 PyObject * obj3 = 0 ;
27145 PyObject * obj4 = 0 ;
27146 PyObject * obj5 = 0 ;
27147 PyObject * obj6 = 0 ;
27148 char *kwnames[] = {
27149 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27150 };
27151
27152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27154 if (SWIG_arg_fail(1)) SWIG_fail;
27155 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27156 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27157 {
27158 arg3 = wxString_in_helper(obj2);
27159 if (arg3 == NULL) SWIG_fail;
ae8162c8 27160 temp3 = true;
d55e5bfc
RD
27161 }
27162 if (obj3) {
27163 {
27164 arg4 = &temp4;
27165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27166 }
27167 }
27168 if (obj4) {
27169 {
27170 arg5 = &temp5;
27171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27172 }
27173 }
27174 if (obj5) {
093d3ff1
RD
27175 {
27176 arg6 = (long)(SWIG_As_long(obj5));
27177 if (SWIG_arg_fail(6)) SWIG_fail;
27178 }
d55e5bfc
RD
27179 }
27180 if (obj6) {
27181 {
27182 arg7 = wxString_in_helper(obj6);
27183 if (arg7 == NULL) SWIG_fail;
ae8162c8 27184 temp7 = true;
d55e5bfc
RD
27185 }
27186 }
27187 {
0439c23b 27188 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27189 PyThreadState* __tstate = wxPyBeginAllowThreads();
27190 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27191
27192 wxPyEndAllowThreads(__tstate);
110da5b0 27193 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27194 }
27195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
27196 {
27197 if (temp3)
27198 delete arg3;
27199 }
27200 {
27201 if (temp7)
27202 delete arg7;
27203 }
27204 return resultobj;
27205 fail:
27206 {
27207 if (temp3)
27208 delete arg3;
27209 }
27210 {
27211 if (temp7)
27212 delete arg7;
27213 }
27214 return NULL;
27215}
27216
27217
c32bde28 27218static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27219 PyObject *resultobj;
27220 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27221 PyObject *arg2 = (PyObject *) 0 ;
27222 PyObject *arg3 = (PyObject *) 0 ;
27223 PyObject * obj0 = 0 ;
27224 PyObject * obj1 = 0 ;
27225 PyObject * obj2 = 0 ;
27226 char *kwnames[] = {
27227 (char *) "self",(char *) "self",(char *) "_class", NULL
27228 };
27229
27230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27232 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27233 arg2 = obj1;
27234 arg3 = obj2;
27235 {
27236 PyThreadState* __tstate = wxPyBeginAllowThreads();
27237 (arg1)->_setCallbackInfo(arg2,arg3);
27238
27239 wxPyEndAllowThreads(__tstate);
27240 if (PyErr_Occurred()) SWIG_fail;
27241 }
27242 Py_INCREF(Py_None); resultobj = Py_None;
27243 return resultobj;
27244 fail:
27245 return NULL;
27246}
27247
27248
c32bde28 27249static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27250 PyObject *resultobj;
27251 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27252 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27253 PyObject * obj0 = 0 ;
27254 PyObject * obj1 = 0 ;
27255 char *kwnames[] = {
27256 (char *) "self",(char *) "canvas", NULL
27257 };
27258
27259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27261 if (SWIG_arg_fail(1)) SWIG_fail;
27262 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27263 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27264 {
27265 PyThreadState* __tstate = wxPyBeginAllowThreads();
27266 (arg1)->SetPreviewCanvas(arg2);
27267
27268 wxPyEndAllowThreads(__tstate);
27269 if (PyErr_Occurred()) SWIG_fail;
27270 }
27271 Py_INCREF(Py_None); resultobj = Py_None;
27272 return resultobj;
27273 fail:
27274 return NULL;
27275}
27276
27277
c32bde28 27278static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27279 PyObject *resultobj;
27280 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27281 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27282 PyObject * obj0 = 0 ;
27283 PyObject * obj1 = 0 ;
27284 char *kwnames[] = {
27285 (char *) "self",(char *) "bar", NULL
27286 };
27287
27288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27290 if (SWIG_arg_fail(1)) SWIG_fail;
27291 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27292 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27293 {
27294 PyThreadState* __tstate = wxPyBeginAllowThreads();
27295 (arg1)->SetControlBar(arg2);
27296
27297 wxPyEndAllowThreads(__tstate);
27298 if (PyErr_Occurred()) SWIG_fail;
27299 }
27300 Py_INCREF(Py_None); resultobj = Py_None;
27301 return resultobj;
27302 fail:
27303 return NULL;
27304}
27305
27306
c32bde28 27307static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27308 PyObject *resultobj;
27309 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27310 PyObject * obj0 = 0 ;
27311 char *kwnames[] = {
27312 (char *) "self", NULL
27313 };
27314
27315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27317 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27318 {
27319 PyThreadState* __tstate = wxPyBeginAllowThreads();
27320 (arg1)->base_Initialize();
27321
27322 wxPyEndAllowThreads(__tstate);
27323 if (PyErr_Occurred()) SWIG_fail;
27324 }
27325 Py_INCREF(Py_None); resultobj = Py_None;
27326 return resultobj;
27327 fail:
27328 return NULL;
27329}
27330
27331
c32bde28 27332static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27333 PyObject *resultobj;
27334 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27335 PyObject * obj0 = 0 ;
27336 char *kwnames[] = {
27337 (char *) "self", NULL
27338 };
27339
27340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
27341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27342 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27343 {
27344 PyThreadState* __tstate = wxPyBeginAllowThreads();
27345 (arg1)->base_CreateCanvas();
27346
27347 wxPyEndAllowThreads(__tstate);
27348 if (PyErr_Occurred()) SWIG_fail;
27349 }
27350 Py_INCREF(Py_None); resultobj = Py_None;
27351 return resultobj;
27352 fail:
27353 return NULL;
27354}
27355
27356
c32bde28 27357static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27358 PyObject *resultobj;
27359 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27360 PyObject * obj0 = 0 ;
27361 char *kwnames[] = {
27362 (char *) "self", NULL
27363 };
27364
27365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
27366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27367 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27368 {
27369 PyThreadState* __tstate = wxPyBeginAllowThreads();
27370 (arg1)->base_CreateControlBar();
27371
27372 wxPyEndAllowThreads(__tstate);
27373 if (PyErr_Occurred()) SWIG_fail;
27374 }
27375 Py_INCREF(Py_None); resultobj = Py_None;
27376 return resultobj;
27377 fail:
27378 return NULL;
27379}
27380
27381
c32bde28 27382static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27383 PyObject *obj;
27384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27385 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27386 Py_INCREF(obj);
27387 return Py_BuildValue((char *)"");
27388}
c32bde28 27389static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27390 PyObject *resultobj;
27391 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27392 long arg2 ;
27393 wxWindow *arg3 = (wxWindow *) 0 ;
27394 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27395 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27396 wxSize const &arg5_defvalue = wxDefaultSize ;
27397 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27398 long arg6 = (long) 0 ;
27399 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27400 wxString *arg7 = (wxString *) &arg7_defvalue ;
27401 wxPyPreviewControlBar *result;
27402 wxPoint temp4 ;
27403 wxSize temp5 ;
ae8162c8 27404 bool temp7 = false ;
d55e5bfc
RD
27405 PyObject * obj0 = 0 ;
27406 PyObject * obj1 = 0 ;
27407 PyObject * obj2 = 0 ;
27408 PyObject * obj3 = 0 ;
27409 PyObject * obj4 = 0 ;
27410 PyObject * obj5 = 0 ;
27411 PyObject * obj6 = 0 ;
27412 char *kwnames[] = {
27413 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27414 };
27415
27416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27418 if (SWIG_arg_fail(1)) SWIG_fail;
27419 {
27420 arg2 = (long)(SWIG_As_long(obj1));
27421 if (SWIG_arg_fail(2)) SWIG_fail;
27422 }
27423 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27424 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27425 if (obj3) {
27426 {
27427 arg4 = &temp4;
27428 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27429 }
27430 }
27431 if (obj4) {
27432 {
27433 arg5 = &temp5;
27434 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27435 }
27436 }
27437 if (obj5) {
093d3ff1
RD
27438 {
27439 arg6 = (long)(SWIG_As_long(obj5));
27440 if (SWIG_arg_fail(6)) SWIG_fail;
27441 }
d55e5bfc
RD
27442 }
27443 if (obj6) {
27444 {
27445 arg7 = wxString_in_helper(obj6);
27446 if (arg7 == NULL) SWIG_fail;
ae8162c8 27447 temp7 = true;
d55e5bfc
RD
27448 }
27449 }
27450 {
0439c23b 27451 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27452 PyThreadState* __tstate = wxPyBeginAllowThreads();
27453 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27454
27455 wxPyEndAllowThreads(__tstate);
110da5b0 27456 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27457 }
27458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27459 {
27460 if (temp7)
27461 delete arg7;
27462 }
27463 return resultobj;
27464 fail:
27465 {
27466 if (temp7)
27467 delete arg7;
27468 }
27469 return NULL;
27470}
27471
27472
c32bde28 27473static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27474 PyObject *resultobj;
27475 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27476 PyObject *arg2 = (PyObject *) 0 ;
27477 PyObject *arg3 = (PyObject *) 0 ;
27478 PyObject * obj0 = 0 ;
27479 PyObject * obj1 = 0 ;
27480 PyObject * obj2 = 0 ;
27481 char *kwnames[] = {
27482 (char *) "self",(char *) "self",(char *) "_class", NULL
27483 };
27484
27485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27487 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27488 arg2 = obj1;
27489 arg3 = obj2;
27490 {
27491 PyThreadState* __tstate = wxPyBeginAllowThreads();
27492 (arg1)->_setCallbackInfo(arg2,arg3);
27493
27494 wxPyEndAllowThreads(__tstate);
27495 if (PyErr_Occurred()) SWIG_fail;
27496 }
27497 Py_INCREF(Py_None); resultobj = Py_None;
27498 return resultobj;
27499 fail:
27500 return NULL;
27501}
27502
27503
c32bde28 27504static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27505 PyObject *resultobj;
27506 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27507 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27508 PyObject * obj0 = 0 ;
27509 PyObject * obj1 = 0 ;
27510 char *kwnames[] = {
27511 (char *) "self",(char *) "preview", NULL
27512 };
27513
27514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27516 if (SWIG_arg_fail(1)) SWIG_fail;
27517 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27518 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27519 {
27520 PyThreadState* __tstate = wxPyBeginAllowThreads();
27521 (arg1)->SetPrintPreview(arg2);
27522
27523 wxPyEndAllowThreads(__tstate);
27524 if (PyErr_Occurred()) SWIG_fail;
27525 }
27526 Py_INCREF(Py_None); resultobj = Py_None;
27527 return resultobj;
27528 fail:
27529 return NULL;
27530}
27531
27532
c32bde28 27533static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27534 PyObject *resultobj;
27535 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27536 PyObject * obj0 = 0 ;
27537 char *kwnames[] = {
27538 (char *) "self", NULL
27539 };
27540
27541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
27542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27543 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27544 {
27545 PyThreadState* __tstate = wxPyBeginAllowThreads();
27546 (arg1)->base_CreateButtons();
27547
27548 wxPyEndAllowThreads(__tstate);
27549 if (PyErr_Occurred()) SWIG_fail;
27550 }
27551 Py_INCREF(Py_None); resultobj = Py_None;
27552 return resultobj;
27553 fail:
27554 return NULL;
27555}
27556
27557
c32bde28 27558static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27559 PyObject *resultobj;
27560 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27561 int arg2 ;
27562 PyObject * obj0 = 0 ;
27563 PyObject * obj1 = 0 ;
27564 char *kwnames[] = {
27565 (char *) "self",(char *) "zoom", NULL
27566 };
27567
27568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27570 if (SWIG_arg_fail(1)) SWIG_fail;
27571 {
27572 arg2 = (int)(SWIG_As_int(obj1));
27573 if (SWIG_arg_fail(2)) SWIG_fail;
27574 }
d55e5bfc
RD
27575 {
27576 PyThreadState* __tstate = wxPyBeginAllowThreads();
27577 (arg1)->base_SetZoomControl(arg2);
27578
27579 wxPyEndAllowThreads(__tstate);
27580 if (PyErr_Occurred()) SWIG_fail;
27581 }
27582 Py_INCREF(Py_None); resultobj = Py_None;
27583 return resultobj;
27584 fail:
27585 return NULL;
27586}
27587
27588
c32bde28 27589static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27590 PyObject *obj;
27591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27592 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27593 Py_INCREF(obj);
27594 return Py_BuildValue((char *)"");
27595}
27596static PyMethodDef SwigMethods[] = {
093d3ff1
RD
27597 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27601 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27605 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27610 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27617 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27620 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27621 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27630 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27636 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27648 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27660 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27672 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 27679 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27680 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27685 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27689 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27693 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27698 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27715 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27745 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27752 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27775 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27783 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27795 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27801 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27810 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27816 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27821 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27827 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27831 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27849 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27875 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27883 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27892 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27894 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27903 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27906 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27913 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27931 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27935 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27940 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27944 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27946 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27962 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27965 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27967 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27971 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27980 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27989 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27995 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
28010 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
28017 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
28021 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28047 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28073 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28099 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28100 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28145 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28146 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28164 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28168 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28172 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28177 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28182 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28183 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28206 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28208 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28216 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28220 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28222 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28224 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28233 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28240 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28244 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28245 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28246 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28247 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28251 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28256 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28258 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28262 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28264 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28266 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28267 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28271 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28272 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28273 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28274 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28275 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28276 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28277 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28278 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28279 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28280 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28281 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28282 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28283 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28284 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28285 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28286 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28287 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28288 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28289 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28290 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28291 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28292 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28293 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28294 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28295 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28296 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28297 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28298 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28299 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28300 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28301 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28302 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28303 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28304 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28305 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28306 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28307 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28308 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28309 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28310 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28311 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28312 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28313 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28314 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28315 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28316 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28317 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28318 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28319 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28320 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28321 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
c32bde28 28322 { NULL, NULL, 0, NULL }
d55e5bfc
RD
28323};
28324
28325
28326/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28327
28328static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28329 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28330}
28331static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28332 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28333}
28334static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28335 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28336}
28337static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28338 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28339}
28340static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28341 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28342}
28343static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28344 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28345}
28346static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28347 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28348}
28349static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28350 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28351}
28352static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28353 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28354}
28355static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28356 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28357}
28358static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28359 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28360}
28361static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28362 return (void *)((wxEvent *) ((wxPyEvent *) x));
28363}
28364static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28365 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28366}
28367static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28368 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28369}
28370static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28371 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28372}
28373static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28374 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28375}
28376static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28377 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28378}
28379static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28380 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28381}
28382static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28383 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28384}
28385static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28386 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28387}
28388static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28389 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28390}
28391static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28392 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28393}
28394static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28395 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28396}
28397static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28398 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28399}
28400static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28401 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28402}
28403static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28404 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28405}
28406static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28407 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28408}
28409static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28410 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28411}
28412static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28413 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28414}
28415static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28416 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28417}
28418static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28419 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28420}
28421static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28422 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28423}
28424static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28425 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28426}
28427static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28428 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28429}
28430static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28431 return (void *)((wxEvent *) ((wxShowEvent *) x));
28432}
28433static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28434 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28435}
28436static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28437 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28438}
28439static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28440 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28441}
28442static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28443 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28444}
28445static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28446 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28447}
28448static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28449 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28450}
28451static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28452 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28453}
28454static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28455 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28456}
c1cb24a4
RD
28457static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28458 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28459}
d55e5bfc
RD
28460static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28461 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28462}
28463static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28464 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28465}
28466static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28467 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28468}
28469static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28470 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28471}
28472static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28473 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28474}
28475static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28476 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28477}
28478static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28479 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28480}
c1cb24a4
RD
28481static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28482 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28483}
d55e5bfc
RD
28484static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28485 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28486}
28487static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28488 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28489}
28490static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28491 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28492}
28493static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28494 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28495}
28496static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28497 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28498}
28499static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28500 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28501}
28502static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28503 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28504}
28505static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28506 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28507}
28508static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28509 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28510}
28511static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28512 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28513}
28514static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28515 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28516}
28517static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28518 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28519}
28520static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28521 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28522}
28523static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28524 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28525}
28526static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28527 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28528}
28529static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28530 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28531}
28532static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28533 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28534}
28535static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28536 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28537}
28538static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28539 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28540}
28541static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28542 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28543}
28544static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28545 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28546}
28547static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28548 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28549}
28550static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28551 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28552}
28553static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28554 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28555}
28556static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28557 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28558}
28559static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28560 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28561}
28562static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28563 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28564}
28565static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28566 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28567}
28568static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28569 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28570}
28571static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28572 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28573}
28574static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28575 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28576}
28577static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28578 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28579}
28580static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28581 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28582}
28583static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28584 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28585}
5e483524
RD
28586static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28587 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28588}
28589static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28590 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28591}
d55e5bfc
RD
28592static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28593 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28594}
28595static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28596 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28597}
28598static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28599 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28600}
c1cb24a4
RD
28601static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28602 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28603}
d55e5bfc
RD
28604static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28605 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28606}
28607static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28608 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28609}
28610static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28611 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28612}
28613static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28614 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28615}
28616static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28617 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28618}
28619static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28620 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28621}
28622static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28623 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28624}
28625static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28626 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28627}
28628static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28629 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28630}
28631static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28632 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28633}
28634static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28635 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28636}
28637static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28638 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28639}
28640static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28642}
28643static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28644 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28645}
28646static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28647 return (void *)((wxObject *) ((wxSizerItem *) x));
28648}
28649static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28650 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28651}
28652static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28653 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28654}
28655static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28656 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28657}
28658static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28659 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28660}
28661static void *_p_wxSizerTo_p_wxObject(void *x) {
28662 return (void *)((wxObject *) ((wxSizer *) x));
28663}
28664static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28665 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28666}
28667static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28668 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28669}
28670static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28671 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28672}
28673static void *_p_wxEventTo_p_wxObject(void *x) {
28674 return (void *)((wxObject *) ((wxEvent *) x));
28675}
28676static void *_p_wxFontDataTo_p_wxObject(void *x) {
28677 return (void *)((wxObject *) ((wxFontData *) x));
28678}
28679static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28680 return (void *)((wxObject *) ((wxPrintData *) x));
28681}
28682static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28683 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28684}
28685static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28686 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28687}
28688static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28689 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28690}
28691static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28692 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28693}
5e483524
RD
28694static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28695 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28696}
28697static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28698 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28699}
28700static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28701 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28702}
28703static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28704 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28705}
28706static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28707 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28708}
28709static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28710 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28711}
28712static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28713 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28714}
28715static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28716 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28717}
28718static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28720}
28721static void *_p_wxControlTo_p_wxObject(void *x) {
28722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28723}
28724static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28725 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28726}
28727static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28728 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28729}
28730static void *_p_wxFSFileTo_p_wxObject(void *x) {
28731 return (void *)((wxObject *) ((wxFSFile *) x));
28732}
28733static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28734 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28735}
28736static void *_p_wxPySizerTo_p_wxObject(void *x) {
28737 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28738}
28739static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28741}
28742static void *_p_wxColourDataTo_p_wxObject(void *x) {
28743 return (void *)((wxObject *) ((wxColourData *) x));
28744}
28745static void *_p_wxPyEventTo_p_wxObject(void *x) {
28746 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28747}
28748static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28749 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28750}
28751static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28753}
28754static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28756}
28757static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28759}
28760static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28762}
28763static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28765}
28766static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28768}
c1cb24a4
RD
28769static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28771}
d55e5bfc
RD
28772static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28774}
28775static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28777}
28778static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28780}
28781static void *_p_wxShowEventTo_p_wxObject(void *x) {
28782 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28783}
28784static void *_p_wxPrinterTo_p_wxObject(void *x) {
28785 return (void *)((wxObject *) ((wxPrinter *) x));
28786}
28787static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28788 return (void *)((wxObject *) ((wxMenuItem *) x));
28789}
28790static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28791 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28792}
28793static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28794 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28795}
28796static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28797 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28798}
28799static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28800 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28801}
28802static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28803 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28804}
28805static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28806 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28807}
28808static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28809 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28810}
28811static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28812 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28813}
28814static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28815 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28816}
28817static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28818 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28819}
28820static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28821 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28822}
28823static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28824 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28825}
28826static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28827 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28828}
28829static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28830 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28831}
28832static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28833 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28834}
28835static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28836 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28837}
28838static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28839 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28840}
28841static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28842 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28843}
28844static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28845 return (void *)((wxObject *) ((wxImageHandler *) x));
28846}
28847static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28848 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28849}
28850static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28851 return (void *)((wxObject *) ((wxEvtHandler *) x));
28852}
28853static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28854 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28855}
28856static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28858}
28859static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28860 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28861}
62d32a5f
RD
28862static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28863 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28864}
d55e5bfc
RD
28865static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28866 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28867}
28868static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28870}
28871static void *_p_wxImageTo_p_wxObject(void *x) {
28872 return (void *)((wxObject *) ((wxImage *) x));
28873}
28874static void *_p_wxFrameTo_p_wxObject(void *x) {
28875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28876}
28877static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28878 return (void *)((wxObject *) ((wxPyPrintout *) x));
28879}
28880static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28881 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28882}
28883static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28884 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28885}
28886static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28888}
28889static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28891}
28892static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28893 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28894}
28895static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28896 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28897}
28898static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28899 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28900}
28901static void *_p_wxWindowTo_p_wxObject(void *x) {
28902 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28903}
28904static void *_p_wxMenuTo_p_wxObject(void *x) {
28905 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28906}
28907static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28909}
28910static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28912}
28913static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28915}
28916static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28918}
28919static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28921}
28922static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28924}
28925static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28927}
28928static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28930}
28931static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28932 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28933}
28934static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28936}
28937static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28939}
28940static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28942}
28943static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28945}
28946static void *_p_wxSashEventTo_p_wxObject(void *x) {
28947 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28948}
28949static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28950 return (void *)((wxObject *) ((wxPrintPreview *) x));
28951}
28952static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28953 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28954}
28955static void *_p_wxPanelTo_p_wxObject(void *x) {
28956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28957}
28958static void *_p_wxDialogTo_p_wxObject(void *x) {
28959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28960}
28961static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28963}
28964static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28966}
28967static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28968 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28969}
28970static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 28971 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
28972}
28973static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
c1cb24a4 28974 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
28975}
28976static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28977 return (void *)((wxObject *) ((wxFileSystem *) x));
28978}
28979static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28980 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28981}
28982static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28983 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28984}
28985static void *_p_wxPyAppTo_p_wxObject(void *x) {
28986 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28987}
28988static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28989 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28990}
28991static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28992 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28993}
28994static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28995 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28996}
28997static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28998 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28999}
29000static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29001 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29002}
29003static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
29004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
29005}
29006static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
29007 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29008}
29009static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29010 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29011}
29012static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29013 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29014}
29015static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29016 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29017}
29018static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29020}
29021static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
29022 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
29023}
29024static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
29025 return (void *)((wxObject *) ((wxPrintDialogData *) x));
29026}
29027static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29028 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29029}
29030static void *_p_wxValidatorTo_p_wxObject(void *x) {
29031 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29032}
29033static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
29034 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29035}
29036static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
29037 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
29038}
29039static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
29040 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29041}
29042static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29043 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29044}
29045static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29046 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29047}
29048static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29049 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29050}
29051static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29052 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29053}
29054static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29055 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29056}
29057static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29058 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29059}
29060static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29061 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29062}
29063static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29064 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29065}
29066static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29067 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29068}
d55e5bfc
RD
29069static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29070 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29071}
29072static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29073 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29074}
29075static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29076 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29077}
d55e5bfc
RD
29078static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29079 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29080}
29081static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29082 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29083}
c1cb24a4
RD
29084static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29085 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29086}
d55e5bfc
RD
29087static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29088 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29089}
29090static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29091 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29092}
29093static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29094 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29095}
29096static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29097 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29098}
c1cb24a4
RD
29099static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29100 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29101}
d55e5bfc
RD
29102static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29103 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29104}
29105static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29106 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29107}
29108static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29109 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29110}
29111static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29112 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29113}
29114static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29115 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29116}
29117static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29118 return (void *)((wxWindow *) ((wxMenuBar *) x));
29119}
29120static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29121 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29122}
29123static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29124 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29125}
29126static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29127 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29128}
c1cb24a4
RD
29129static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29130 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29131}
d55e5bfc
RD
29132static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29133 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29134}
29135static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29136 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29137}
29138static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29139 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29140}
29141static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29142 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29143}
29144static void *_p_wxPanelTo_p_wxWindow(void *x) {
29145 return (void *)((wxWindow *) ((wxPanel *) x));
29146}
29147static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29148 return (void *)((wxWindow *) ((wxStatusBar *) x));
29149}
d55e5bfc
RD
29150static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29151 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29152}
29153static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29154 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29155}
29156static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29157 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29158}
29159static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29160 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29161}
29162static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29163 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29164}
29165static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29166 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29167}
29168static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29169 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29170}
29171static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29172 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29173}
29174static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29175 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29176}
29177static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29178 return (void *)((wxWindow *) ((wxSashWindow *) x));
29179}
c1cb24a4
RD
29180static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29181 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29182}
d55e5bfc
RD
29183static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29184 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29185}
29186static void *_p_wxControlTo_p_wxWindow(void *x) {
29187 return (void *)((wxWindow *) ((wxControl *) x));
29188}
29189static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29190 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29191}
29192static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29193 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29194}
29195static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29196 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29197}
29198static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29199 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29200}
29201static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29202 return (void *)((wxWindow *) ((wxPyWindow *) x));
29203}
29204static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29205 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29206}
29207static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29208 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29209}
29210static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29211 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29212}
29213static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29214 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29215}
29216static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29217 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29218}
29219static void *_p_wxFrameTo_p_wxWindow(void *x) {
29220 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29221}
29222static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29223 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29224}
29225static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29226 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29227}
29228static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29229 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29230}
29231static void *_p_wxDialogTo_p_wxWindow(void *x) {
29232 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29233}
d55e5bfc
RD
29234static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29235 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29236}
29237static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29238 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29239}
29240static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29241 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29242}
29243static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29244 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29245}
29246static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29247 return (void *)((wxDialog *) ((wxColourDialog *) x));
29248}
29249static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29250 return (void *)((wxDialog *) ((wxDirDialog *) x));
29251}
29252static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29253 return (void *)((wxDialog *) ((wxFontDialog *) x));
29254}
d55e5bfc
RD
29255static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29256 return (void *)((wxDialog *) ((wxFileDialog *) x));
29257}
29258static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29259 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29260}
29261static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29262 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29263}
29264static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29265 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29266}
c1cb24a4
RD
29267static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29268 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29269}
d55e5bfc
RD
29270static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29271 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29272}
29273static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29274 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29275}
29276static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29277 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29278}
29279static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29280 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29281}
29282static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29283 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29284}
29285static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29286 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29287}
29288static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29289 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29290}
29291static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29292 return (void *)((wxPanel *) ((wxPyPanel *) x));
29293}
29294static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29295 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29296}
29297static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29298 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29299}
29300static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29301 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29302}
29303static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29304 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29305}
29306static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29307 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29308}
29309static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29310 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29311}
29312static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29313 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29314}
29315static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29316 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29317}
29318static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29319 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29320}
29321static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29322 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29323}
29324static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29325 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29326}
29327static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29328 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29329}
29330static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29331 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29332}
29333static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29334 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29335}
29336static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29337 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29338}
29339static 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}};
29340static 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}};
29341static 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}};
29342static 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}};
29343static 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
RD
29344static 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}};
29345static 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_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 29346static 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 29347static 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 29348static 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
29349static 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}};
29350static 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}};
29351static 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}};
29352static 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}};
29353static 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}};
29354static 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}};
29355static 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
29356static 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}};
29357static 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
29358static 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}};
29359static 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}};
29360static 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}};
29361static 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}};
29362static 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 29363static 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
29364static 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}};
29365static 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}};
29366static 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}};
29367static 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 29368static 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 29369static 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 29370static 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
29371static 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}};
29372static 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}};
29373static 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 29374static 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
29375static 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}};
29376static 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}};
29377static 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
29378static 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}};
29379static 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 29380static 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 29381static 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
29382static 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}};
29383static 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}};
29384static 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}};
29385static 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 29386static 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
29387static 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}};
29388static 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}};
29389static 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}};
29390static 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}};
29391static 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}};
29392static 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 29393static 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
29394static 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}};
29395static 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}};
29396static 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}};
62d32a5f 29397static 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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_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_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_wxIconizeEvent", _p_wxIconizeEventTo_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_wxTIFFHandler", _p_wxTIFFHandlerTo_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_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 29398static 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
29399static 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}};
29400static 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}};
29401static 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 29402static 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
29403static 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}};
29404static 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}};
29405static 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}};
29406static 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
29407static 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}};
29408static 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 29409static 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 29410static 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 29411static 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 29412static 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
29413static 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}};
29414static 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}};
29415static 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}};
29416static 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
29417static 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}};
29418static 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 29419static 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 29420static 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 29421static 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
29422static 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}};
29423static 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 29424static 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 29425static 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
29426static 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}};
29427static 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}};
29428static 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}};
d55e5bfc
RD
29429static 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_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}};
29430static 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}};
29431static 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}};
29432static 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}};
29433static 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}};
29434static 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}};
29435static 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}};
29436
29437static swig_type_info *swig_types_initial[] = {
29438_swigt__p_wxQueryLayoutInfoEvent,
29439_swigt__p_wxPreviewFrame,
29440_swigt__p_wxPyPreviewFrame,
29441_swigt__p_wxPyPanel,
29442_swigt__p_wxMenu,
d55e5bfc
RD
29443_swigt__p_wxFontData,
29444_swigt__p_wxEvent,
f5b96ee1 29445_swigt__p_wxPrintData,
d55e5bfc 29446_swigt__p_wxTaskBarIcon,
5e483524 29447_swigt__p_wxPyTaskBarIcon,
d55e5bfc
RD
29448_swigt__p_wxIconBundle,
29449_swigt__p_wxLayoutAlgorithm,
29450_swigt__p_wxFindDialogEvent,
29451_swigt__p_wxPreviewCanvas,
29452_swigt__p_wxFont,
29453_swigt__p_wxSplitterEvent,
29454_swigt__p_wxRegion,
093d3ff1
RD
29455_swigt__ptrdiff_t,
29456_swigt__std__ptrdiff_t,
d55e5bfc
RD
29457_swigt__p_wxFindReplaceData,
29458_swigt__p_int,
29459_swigt__p_wxSize,
29460_swigt__p_wxDC,
29461_swigt__p_wxIcon,
f20a2e1f 29462_swigt__p_wxVisualAttributes,
d55e5bfc
RD
29463_swigt__p_wxMDIChildFrame,
29464_swigt__p_wxColourData,
29465_swigt__p_wxNotifyEvent,
29466_swigt__p_wxPyWindow,
093d3ff1 29467_swigt__p_form_ops_t,
d55e5bfc 29468_swigt__p_wxSplashScreen,
c1cb24a4 29469_swigt__p_wxPasswordEntryDialog,
d55e5bfc
RD
29470_swigt__p_wxSingleChoiceDialog,
29471_swigt__p_wxMultiChoiceDialog,
29472_swigt__p_wxFileDialog,
c1cb24a4 29473_swigt__p_wxTextEntryDialog,
093d3ff1
RD
29474_swigt__p_wxMessageDialog,
29475_swigt__p_wxProgressDialog,
29476_swigt__p_wxFindReplaceDialog,
d55e5bfc
RD
29477_swigt__p_wxPrinter,
29478_swigt__p_wxArrayInt,
093d3ff1 29479_swigt__p_wxDuplexMode,
d55e5bfc
RD
29480_swigt__p_wxEvtHandler,
29481_swigt__p_wxCalculateLayoutEvent,
29482_swigt__p_wxPyHtmlListBox,
29483_swigt__p_wxPyVListBox,
29484_swigt__p_wxRect,
62d32a5f 29485_swigt__p_wxStdDialogButtonSizer,
d55e5bfc
RD
29486_swigt__p_char,
29487_swigt__p_wxMiniFrame,
29488_swigt__p_wxFrame,
29489_swigt__p_wxPyPrintout,
29490_swigt__p_wxTaskBarIconEvent,
29491_swigt__p_wxScrollWinEvent,
093d3ff1 29492_swigt__p_wxPaperSize,
d55e5bfc
RD
29493_swigt__p_wxStatusBar,
29494_swigt__p_wxMDIParentFrame,
29495_swigt__p_wxPoint,
29496_swigt__p_wxObject,
093d3ff1 29497_swigt__p_unsigned_long,
d55e5bfc
RD
29498_swigt__p_wxTipWindow,
29499_swigt__p_wxSashLayoutWindow,
29500_swigt__p_wxSplitterWindow,
f20a2e1f 29501_swigt__p_wxSplashScreenWindow,
d55e5bfc
RD
29502_swigt__p_wxPyVScrolledWindow,
29503_swigt__p_wxPyPopupTransientWindow,
29504_swigt__p_wxPopupWindow,
29505_swigt__p_wxSashWindow,
29506_swigt__p_wxTopLevelWindow,
29507_swigt__p_wxWindow,
29508_swigt__p_wxScrolledWindow,
d55e5bfc 29509_swigt__p_wxMenuBar,
093d3ff1 29510_swigt__p_wxMDIClientWindow,
5e483524 29511_swigt__p_wxPyScrolledWindow,
d55e5bfc
RD
29512_swigt__p_wxPrintPreview,
29513_swigt__p_wxSashEvent,
29514_swigt__p_wxString,
29515_swigt__p_wxPyPrintPreview,
d55e5bfc
RD
29516_swigt__p_wxDirDialog,
29517_swigt__p_wxColourDialog,
29518_swigt__p_wxDialog,
29519_swigt__p_wxPanel,
093d3ff1 29520_swigt__p_wxFontDialog,
d55e5bfc
RD
29521_swigt__p_wxPageSetupDialog,
29522_swigt__p_wxPrintDialog,
c24da6d6 29523_swigt__p_wxFileSystem,
d55e5bfc 29524_swigt__p_wxBitmap,
093d3ff1
RD
29525_swigt__unsigned_int,
29526_swigt__p_unsigned_int,
29527_swigt__p_unsigned_char,
d55e5bfc
RD
29528_swigt__p_wxCommandEvent,
29529_swigt__p_wxPreviewControlBar,
29530_swigt__p_wxPyPreviewControlBar,
29531_swigt__p_wxColour,
29532_swigt__p_wxToolBar,
29533_swigt__p_wxPageSetupDialogData,
29534_swigt__p_wxPrintDialogData,
295350
29536};
29537
29538
29539/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29540
29541static swig_const_info swig_const_table[] = {
c32bde28 29542{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
29543
29544#ifdef __cplusplus
29545}
29546#endif
29547
093d3ff1
RD
29548
29549#ifdef __cplusplus
29550extern "C" {
29551#endif
29552
29553 /* Python-specific SWIG API */
29554#define SWIG_newvarlink() SWIG_Python_newvarlink()
29555#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29556#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29557
29558 /* -----------------------------------------------------------------------------
29559 * global variable support code.
29560 * ----------------------------------------------------------------------------- */
29561
29562 typedef struct swig_globalvar {
29563 char *name; /* Name of global variable */
29564 PyObject *(*get_attr)(); /* Return the current value */
29565 int (*set_attr)(PyObject *); /* Set the value */
29566 struct swig_globalvar *next;
29567 } swig_globalvar;
29568
29569 typedef struct swig_varlinkobject {
29570 PyObject_HEAD
29571 swig_globalvar *vars;
29572 } swig_varlinkobject;
29573
29574 static PyObject *
29575 swig_varlink_repr(swig_varlinkobject *v) {
29576 v = v;
29577 return PyString_FromString("<Swig global variables>");
29578 }
29579
29580 static int
29581 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29582 swig_globalvar *var;
29583 flags = flags;
29584 fprintf(fp,"Swig global variables { ");
29585 for (var = v->vars; var; var=var->next) {
29586 fprintf(fp,"%s", var->name);
29587 if (var->next) fprintf(fp,", ");
29588 }
29589 fprintf(fp," }\n");
29590 return 0;
29591 }
29592
29593 static PyObject *
29594 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29595 swig_globalvar *var = v->vars;
29596 while (var) {
29597 if (strcmp(var->name,n) == 0) {
29598 return (*var->get_attr)();
29599 }
29600 var = var->next;
29601 }
29602 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29603 return NULL;
29604 }
29605
29606 static int
29607 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29608 swig_globalvar *var = v->vars;
29609 while (var) {
29610 if (strcmp(var->name,n) == 0) {
29611 return (*var->set_attr)(p);
29612 }
29613 var = var->next;
29614 }
29615 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29616 return 1;
29617 }
29618
29619 static PyTypeObject varlinktype = {
29620 PyObject_HEAD_INIT(0)
29621 0, /* Number of items in variable part (ob_size) */
29622 (char *)"swigvarlink", /* Type name (tp_name) */
29623 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29624 0, /* Itemsize (tp_itemsize) */
29625 0, /* Deallocator (tp_dealloc) */
29626 (printfunc) swig_varlink_print, /* Print (tp_print) */
29627 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29628 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29629 0, /* tp_compare */
29630 (reprfunc) swig_varlink_repr, /* tp_repr */
29631 0, /* tp_as_number */
29632 0, /* tp_as_sequence */
29633 0, /* tp_as_mapping */
29634 0, /* tp_hash */
29635 0, /* tp_call */
29636 0, /* tp_str */
29637 0, /* tp_getattro */
29638 0, /* tp_setattro */
29639 0, /* tp_as_buffer */
29640 0, /* tp_flags */
29641 0, /* tp_doc */
29642#if PY_VERSION_HEX >= 0x02000000
29643 0, /* tp_traverse */
29644 0, /* tp_clear */
29645#endif
29646#if PY_VERSION_HEX >= 0x02010000
29647 0, /* tp_richcompare */
29648 0, /* tp_weaklistoffset */
29649#endif
29650#if PY_VERSION_HEX >= 0x02020000
29651 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29652#endif
29653#if PY_VERSION_HEX >= 0x02030000
29654 0, /* tp_del */
29655#endif
29656#ifdef COUNT_ALLOCS
29657 0,0,0,0 /* tp_alloc -> tp_next */
29658#endif
29659 };
29660
29661 /* Create a variable linking object for use later */
29662 static PyObject *
29663 SWIG_Python_newvarlink(void) {
29664 swig_varlinkobject *result = 0;
29665 result = PyMem_NEW(swig_varlinkobject,1);
29666 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29667 result->ob_type = &varlinktype;
29668 result->vars = 0;
29669 result->ob_refcnt = 0;
29670 Py_XINCREF((PyObject *) result);
29671 return ((PyObject*) result);
29672 }
29673
29674 static void
29675 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29676 swig_varlinkobject *v;
29677 swig_globalvar *gv;
29678 v= (swig_varlinkobject *) p;
29679 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29680 gv->name = (char *) malloc(strlen(name)+1);
29681 strcpy(gv->name,name);
29682 gv->get_attr = get_attr;
29683 gv->set_attr = set_attr;
29684 gv->next = v->vars;
29685 v->vars = gv;
29686 }
29687
29688 /* -----------------------------------------------------------------------------
29689 * constants/methods manipulation
29690 * ----------------------------------------------------------------------------- */
29691
29692 /* Install Constants */
29693 static void
29694 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29695 PyObject *obj = 0;
29696 size_t i;
29697 for (i = 0; constants[i].type; i++) {
29698 switch(constants[i].type) {
29699 case SWIG_PY_INT:
29700 obj = PyInt_FromLong(constants[i].lvalue);
29701 break;
29702 case SWIG_PY_FLOAT:
29703 obj = PyFloat_FromDouble(constants[i].dvalue);
29704 break;
29705 case SWIG_PY_STRING:
29706 if (constants[i].pvalue) {
29707 obj = PyString_FromString((char *) constants[i].pvalue);
29708 } else {
29709 Py_INCREF(Py_None);
29710 obj = Py_None;
29711 }
29712 break;
29713 case SWIG_PY_POINTER:
29714 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29715 break;
29716 case SWIG_PY_BINARY:
29717 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29718 break;
29719 default:
29720 obj = 0;
29721 break;
29722 }
29723 if (obj) {
29724 PyDict_SetItemString(d,constants[i].name,obj);
29725 Py_DECREF(obj);
29726 }
29727 }
29728 }
29729
29730 /* -----------------------------------------------------------------------------*/
29731 /* Fix SwigMethods to carry the callback ptrs when needed */
29732 /* -----------------------------------------------------------------------------*/
29733
29734 static void
29735 SWIG_Python_FixMethods(PyMethodDef *methods,
29736 swig_const_info *const_table,
29737 swig_type_info **types,
29738 swig_type_info **types_initial) {
29739 size_t i;
29740 for (i = 0; methods[i].ml_name; ++i) {
29741 char *c = methods[i].ml_doc;
29742 if (c && (c = strstr(c, "swig_ptr: "))) {
29743 int j;
29744 swig_const_info *ci = 0;
29745 char *name = c + 10;
29746 for (j = 0; const_table[j].type; j++) {
29747 if (strncmp(const_table[j].name, name,
29748 strlen(const_table[j].name)) == 0) {
29749 ci = &(const_table[j]);
29750 break;
29751 }
29752 }
29753 if (ci) {
29754 size_t shift = (ci->ptype) - types;
29755 swig_type_info *ty = types_initial[shift];
29756 size_t ldoc = (c - methods[i].ml_doc);
29757 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29758 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29759 char *buff = ndoc;
29760 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29761 strncpy(buff, methods[i].ml_doc, ldoc);
29762 buff += ldoc;
29763 strncpy(buff, "swig_ptr: ", 10);
29764 buff += 10;
29765 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29766 methods[i].ml_doc = ndoc;
29767 }
29768 }
29769 }
29770 }
29771
29772 /* -----------------------------------------------------------------------------*
29773 * Initialize type list
29774 * -----------------------------------------------------------------------------*/
29775
29776#if PY_MAJOR_VERSION < 2
29777 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29778 is copied out of Python/modsupport.c in python version 2.3.4 */
29779 static int
29780 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29781 {
29782 PyObject *dict;
29783 if (!PyModule_Check(m)) {
29784 PyErr_SetString(PyExc_TypeError,
29785 "PyModule_AddObject() needs module as first arg");
29786 return -1;
29787 }
29788 if (!o) {
29789 PyErr_SetString(PyExc_TypeError,
29790 "PyModule_AddObject() needs non-NULL value");
29791 return -1;
29792 }
29793
29794 dict = PyModule_GetDict(m);
29795 if (dict == NULL) {
29796 /* Internal error -- modules must have a dict! */
29797 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29798 PyModule_GetName(m));
29799 return -1;
29800 }
29801 if (PyDict_SetItemString(dict, name, o))
29802 return -1;
29803 Py_DECREF(o);
29804 return 0;
29805 }
29806#endif
29807
29808 static swig_type_info **
29809 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29810 static PyMethodDef swig_empty_runtime_method_table[] = {
29811 {
29812 NULL, NULL, 0, NULL
29813 }
29814 };/* Sentinel */
29815
29816 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
29817 swig_empty_runtime_method_table);
29818 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
29819 if (pointer && module) {
29820 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
29821 }
29822 return type_list_handle;
29823 }
29824
29825 static swig_type_info **
29826 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
29827 swig_type_info **type_pointer;
29828
29829 /* first check if module already created */
29830 type_pointer = SWIG_Python_GetTypeListHandle();
29831 if (type_pointer) {
29832 return type_pointer;
29833 } else {
29834 /* create a new module and variable */
29835 return SWIG_Python_SetTypeListHandle(type_list_handle);
29836 }
29837 }
29838
29839#ifdef __cplusplus
29840}
29841#endif
29842
29843/* -----------------------------------------------------------------------------*
29844 * Partial Init method
29845 * -----------------------------------------------------------------------------*/
29846
29847#ifdef SWIG_LINK_RUNTIME
29848#ifdef __cplusplus
29849extern "C"
29850#endif
29851SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29852#endif
29853
d55e5bfc
RD
29854#ifdef __cplusplus
29855extern "C"
29856#endif
29857SWIGEXPORT(void) SWIG_init(void) {
29858 static PyObject *SWIG_globals = 0;
29859 static int typeinit = 0;
29860 PyObject *m, *d;
29861 int i;
29862 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
29863
29864 /* Fix SwigMethods to carry the callback ptrs when needed */
29865 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
29866
d55e5bfc
RD
29867 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29868 d = PyModule_GetDict(m);
29869
29870 if (!typeinit) {
093d3ff1
RD
29871#ifdef SWIG_LINK_RUNTIME
29872 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
29873#else
29874# ifndef SWIG_STATIC_RUNTIME
29875 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
29876# endif
29877#endif
d55e5bfc
RD
29878 for (i = 0; swig_types_initial[i]; i++) {
29879 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29880 }
29881 typeinit = 1;
29882 }
093d3ff1
RD
29883 SWIG_InstallConstants(d,swig_const_table);
29884
29885 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29886 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
29887 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
29888 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
29889 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
29890 {
29891 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
29892 }
29893 {
29894 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
29895 }
29896 {
29897 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
29898 }
29899 {
29900 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
29901 }
29902 {
29903 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
29904 }
29905 {
29906 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
29907 }
29908 {
29909 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
29910 }
29911 {
29912 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
29913 }
29914 {
29915 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
29916 }
29917 {
29918 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
29919 }
29920 {
29921 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
29922 }
29923 {
29924 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
29925 }
29926 {
29927 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
29928 }
29929 {
29930 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
29931 }
29932 {
29933 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
29934 }
29935 {
29936 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
29937 }
29938 {
29939 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
29940 }
29941 {
29942 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
29943 }
29944 {
29945 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
29946 }
29947 {
29948 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
29949 }
29950 {
29951 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
29952 }
29953 {
29954 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
29955 }
29956 {
29957 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
29958 }
29959 {
29960 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
29961 }
29962 {
29963 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
29964 }
29965 {
29966 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
29967 }
29968 {
29969 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
29970 }
29971 {
29972 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
29973 }
29974 {
29975 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
29976 }
29977 {
29978 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
29979 }
29980 {
29981 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
29982 }
29983 {
29984 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
29985 }
29986 {
29987 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
29988 }
29989 {
29990 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
29991 }
29992 {
29993 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
29994 }
29995 {
29996 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
29997 }
29998 {
29999 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
30000 }
30001 {
30002 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
30003 }
30004 {
30005 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
30006 }
30007 {
30008 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
30009 }
30010 {
30011 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
30012 }
30013 {
30014 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
30015 }
30016 {
30017 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
30018 }
d55e5bfc 30019 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
093d3ff1
RD
30020 {
30021 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
30022 }
30023 {
30024 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
30025 }
30026 {
30027 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
30028 }
30029 {
30030 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
30031 }
30032 {
30033 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
30034 }
30035 {
30036 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
30037 }
30038 {
30039 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
30040 }
30041 {
30042 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
30043 }
30044 {
30045 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
30046 }
30047 {
30048 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
30049 }
30050 {
30051 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
30052 }
30053 {
30054 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
30055 }
30056 {
30057 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
30058 }
30059 {
30060 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
30061 }
d55e5bfc
RD
30062 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30063 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30064 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30065 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
30066 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30067 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
093d3ff1
RD
30068 {
30069 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
30070 }
30071 {
30072 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
30073 }
30074 {
30075 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
30076 }
30077 {
30078 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
30079 }
30080 {
30081 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
30082 }
30083 {
30084 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
30085 }
30086 {
30087 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
30088 }
30089 {
30090 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
30091 }
30092 {
30093 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
30094 }
30095 {
30096 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
30097 }
30098 {
30099 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
30100 }
30101 {
30102 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
30103 }
30104 {
30105 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
30106 }
30107 {
30108 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
30109 }
30110 {
30111 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
30112 }
d55e5bfc 30113 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
093d3ff1
RD
30114 {
30115 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
30116 }
30117 {
30118 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
30119 }
30120 {
30121 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
30122 }
30123 {
30124 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
30125 }
30126 {
30127 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
30128 }
30129 {
30130 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
30131 }
30132 {
30133 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
30134 }
30135 {
30136 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
30137 }
30138 {
30139 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
30140 }
30141 {
30142 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
30143 }
30144 {
30145 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
30146 }
d55e5bfc
RD
30147 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30148 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
30149 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
30150
30151 // Map renamed classes back to their common name for OOR
30152 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30153 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30154 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30155
30156 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30157 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30158 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30159 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30160 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30161 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30162 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
30163 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30164 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30165 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30166 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30167 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30168 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
093d3ff1
RD
30169 {
30170 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30171 }
30172 {
30173 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30174 }
c1cb24a4 30175 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
093d3ff1
RD
30176 {
30177 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30178 }
30179 {
30180 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30181 }
30182 {
30183 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30184 }
30185 {
30186 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30187 }
30188 {
30189 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30190 }
30191 {
30192 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30193 }
30194 {
30195 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30196 }
d55e5bfc
RD
30197 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30198 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30199 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30200 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30201 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
093d3ff1
RD
30202 {
30203 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30204 }
30205 {
30206 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30207 }
30208 {
30209 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30210 }
30211 {
30212 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30213 }
30214 {
30215 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30216 }
30217 {
30218 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30219 }
30220 {
30221 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30222 }
30223 {
30224 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30225 }
d55e5bfc
RD
30226 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30227 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
093d3ff1
RD
30228 {
30229 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30230 }
30231 {
30232 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30233 }
30234 {
30235 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30236 }
30237 {
30238 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30239 }
30240 {
30241 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30242 }
30243 {
30244 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30245 }
30246 {
30247 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30248 }
30249 {
30250 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30251 }
30252 {
30253 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30254 }
30255 {
30256 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30257 }
30258 {
30259 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30260 }
30261 {
30262 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30263 }
30264 {
30265 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30266 }
30267 {
30268 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30269 }
30270 {
30271 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30272 }
30273 {
30274 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30275 }
30276 {
30277 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30278 }
30279 {
30280 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30281 }
30282 {
30283 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30284 }
30285 {
30286 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30287 }
30288 {
30289 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30290 }
30291 {
30292 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30293 }
30294 {
30295 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30296 }
30297 {
30298 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30299 }
30300 {
30301 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30302 }
30303 {
30304 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30305 }
30306 {
30307 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30308 }
30309 {
30310 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30311 }
30312 {
30313 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30314 }
30315 {
30316 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30317 }
30318 {
30319 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30320 }
30321 {
30322 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30323 }
30324 {
30325 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30326 }
30327 {
30328 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30329 }
30330 {
30331 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30332 }
30333 {
30334 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30335 }
30336 {
30337 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30338 }
30339 {
30340 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30341 }
30342 {
30343 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30344 }
d55e5bfc
RD
30345
30346 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30347
30348}
30349