]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_windows_wrap.cpp
Version
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
093d3ff1 3 * Version 1.3.24
d14a1e28
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
d14a1e28
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};
d14a1e28
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
d14a1e28 37
c9c7117a 38
093d3ff1 39#include <Python.h>
d14a1e28
RD
40
41/***********************************************************************
093d3ff1 42 * swigrun.swg
d14a1e28 43 *
093d3ff1
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d14a1e28
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"
d14a1e28 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)
d14a1e28 58#else
093d3ff1 59#define SWIG_TYPE_TABLE_NAME
d14a1e28
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
d14a1e28 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
d14a1e28
RD
85#endif
86
d14a1e28
RD
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 {
cc6dd355 95 const char *name;
d14a1e28
RD
96 swig_converter_func converter;
97 const char *str;
cc6dd355 98 void *clientdata;
d14a1e28
RD
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}
d14a1e28 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}
d14a1e28 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}
d14a1e28
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.
d14a1e28 441 *
093d3ff1 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d14a1e28 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.
d14a1e28
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
d14a1e28
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
d14a1e28 465
093d3ff1 466/*************************************************************************/
d14a1e28 467
d14a1e28 468
093d3ff1 469/* The static type info list */
d14a1e28 470
093d3ff1
RD
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
d14a1e28 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}
d14a1e28 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}
d14a1e28 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}
d14a1e28 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}
d14a1e28 502
d14a1e28
RD
503#ifdef __cplusplus
504}
505#endif
506
093d3ff1
RD
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
d14a1e28 510
093d3ff1
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
c32bde28 514
093d3ff1
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
d14a1e28 518
093d3ff1
RD
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
d14a1e28 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
d14a1e28
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 * ----------------------------------------------------------------------------- */
d14a1e28 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;
d14a1e28 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
994141e6 576
994141e6 577#ifdef __cplusplus
093d3ff1
RD
578}
579#endif
994141e6 580
15afbcd0 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 ************************************************************************/
15afbcd0 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
994141e6 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)
994141e6 601
994141e6 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
994141e6 614
093d3ff1
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d14a1e28
RD
618
619
093d3ff1
RD
620#ifdef __cplusplus
621extern "C" {
622#endif
d14a1e28 623
093d3ff1
RD
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
d14a1e28 627
093d3ff1
RD
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
15afbcd0 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 * ----------------------------------------------------------------------------- */
15afbcd0 637
093d3ff1
RD
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
994141e6 643
093d3ff1 644/* Declarations for objects of type PySwigObject */
994141e6 645
093d3ff1
RD
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
994141e6 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 }
15afbcd0 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}
15afbcd0 665
093d3ff1
RD
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
15afbcd0 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;
15afbcd0
RD
672}
673
093d3ff1
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
15afbcd0 676{
093d3ff1 677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
15afbcd0
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}
15afbcd0 691
093d3ff1
RD
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
994141e6 694{
093d3ff1
RD
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
994141e6
RD
698}
699
093d3ff1
RD
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
15afbcd0 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);
15afbcd0
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}
15afbcd0 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}
d14a1e28 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}
d14a1e28 832
093d3ff1
RD
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
994141e6 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)
994141e6 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 }
15afbcd0
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}
15afbcd0 879
093d3ff1
RD
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
15afbcd0 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);
15afbcd0 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);
994141e6
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 };
d14a1e28 949
093d3ff1
RD
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
d14a1e28 955
093d3ff1
RD
956 return &PySwigPacked_Type;
957}
d14a1e28 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}
d14a1e28 974
093d3ff1
RD
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d14a1e28 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}
d14a1e28 983
093d3ff1
RD
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
d14a1e28 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}
d14a1e28 995
093d3ff1
RD
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
d14a1e28 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)
d14a1e28 1005
093d3ff1 1006#endif
d14a1e28 1007
093d3ff1 1008#endif
d14a1e28 1009
093d3ff1
RD
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
d14a1e28 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}
d14a1e28 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}
d14a1e28 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}
d14a1e28 1084
093d3ff1
RD
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
d14a1e28 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}
d14a1e28 1097
d14a1e28 1098
093d3ff1
RD
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
d14a1e28 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 }
d14a1e28 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
d14a1e28 1155
093d3ff1 1156type_check:
d14a1e28 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 }
d14a1e28 1165
093d3ff1
RD
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
d14a1e28 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}
d14a1e28 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}
d14a1e28 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;
d14a1e28 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;
d14a1e28 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]
e505d15e
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 /*@/opt/swig/share/swig/1.3.24/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 /*@/opt/swig/share/swig/1.3.24/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 /*@/opt/swig/share/swig/1.3.24/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); }
d14a1e28
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)
15afbcd0 1820{
c32bde28
RD
1821 long v = 0;
1822 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1823 SWIG_type_error("unsigned number", obj);
15afbcd0 1824 }
c32bde28
RD
1825 else if (val)
1826 *val = (unsigned long)v;
1827 return 1;
15afbcd0
RD
1828}
1829
1830
093d3ff1 1831SWIGINTERNSHORT unsigned long
c32bde28 1832SWIG_As_unsigned_SS_long(PyObject* obj)
15afbcd0 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));
15afbcd0 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);
15afbcd0
RD
1849}
1850
1851
093d3ff1 1852SWIGINTERNSHORT PyObject*
c32bde28 1853 SWIG_From_unsigned_SS_long(unsigned long value)
994141e6 1854{
15afbcd0
RD
1855 return (value > LONG_MAX) ?
1856 PyLong_FromUnsignedLong(value)
093d3ff1 1857 : PyInt_FromLong((long)(value));
994141e6
RD
1858}
1859
1860
d14a1e28 1861#include <wx/vlbox.h>
d14a1e28 1862
b2dc1044 1863 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
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 }
d14a1e28
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
d14a1e28
RD
2002
2003class wxTaskBarIcon : public wxEvtHandler
2004{
2005public:
39f61e25 2006 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28 2007};
09c21d3b 2008
d14a1e28
RD
2009
2010class wxTaskBarIconEvent : public wxEvent
2011{
2012public:
2013 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
39f61e25 2014 { wxPyRaiseNotImplemented(); }
d14a1e28 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; }
d14a1e28
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
d14a1e28
RD
2068#endif
2069
093d3ff1 2070static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
74a57fcd 2071 self->RemoveIcon();
5e483524 2072 delete self;
74a57fcd 2073 }
b2dc1044
RD
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){
d14a1e28
RD
2081 wxArrayString arr;
2082 self->GetFilenames(arr);
2083 return wxArrayString2PyList_helper(arr);
2084 }
093d3ff1 2085static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d14a1e28
RD
2086 wxArrayString arr;
2087 self->GetPaths(arr);
2088 return wxArrayString2PyList_helper(arr);
2089 }
093d3ff1 2090static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d14a1e28
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){
d14a1e28
RD
2094 return new wxSingleChoiceDialog(parent, message, caption,
2095 choices, choices_array, NULL, style, pos);
2096 }
d3b6e4ff 2097 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d14a1e28
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
db3e571a 2114 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d14a1e28
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
db3e571a 2140 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 2141 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 2142 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 2143
51b83b37
RD
2144 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2145
d14a1e28
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
db3e571a 2175IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1cb4a8aa 2176IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
db3e571a 2177IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
2178
2179IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d14a1e28
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
db3e571a
RD
2194 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2195
d14a1e28
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
db3e571a 2221 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 2222 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 2223 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 2224
51b83b37
RD
2225 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2226
d14a1e28
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
db3e571a 2256IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1cb4a8aa 2257IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
db3e571a 2258IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1cb4a8aa 2259
51b83b37
RD
2260IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2261
1cb4a8aa
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
db3e571a 2275 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1cb4a8aa
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
db3e571a 2301 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 2302 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 2303 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1cb4a8aa 2304
51b83b37
RD
2305 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2306
1cb4a8aa
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
db3e571a 2336IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1cb4a8aa 2337IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
db3e571a
RD
2338IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2339
51b83b37 2340IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d14a1e28
RD
2341
2342
2343#include "wx/wxPython/printfw.h"
2344
d14a1e28 2345
33b885b9
RD
2346 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2347 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
d14a1e28
RD
2348
2349
a68b8331 2350IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d14a1e28
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;
d14a1e28
RD
2355 bool found;
2356
4f89f6a3 2357 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
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;
d14a1e28
RD
2366
2367 val = PyTuple_GetItem(result, 1);
2368 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 2369 else hadErr = true;
d14a1e28
RD
2370
2371 val = PyTuple_GetItem(result, 2);
2372 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 2373 else hadErr = true;
d14a1e28
RD
2374
2375 val = PyTuple_GetItem(result, 3);
2376 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 2377 else hadErr = true;
d14a1e28
RD
2378 }
2379 else
ae8162c8 2380 hadErr = true;
d14a1e28
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 }
4f89f6a3 2388 wxPyEndBlockThreads(blocked);
d14a1e28
RD
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); \
d14a1e28
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); \
d14a1e28
RD
2434 }
2435
2436
2437
2438
2439class wxPyPrintPreview : public wxPrintPreview
2440{
2441 DECLARE_CLASS(wxPyPrintPreview)
2442public:
4276dc52
RD
2443 wxPyPrintPreview(wxPyPrintout* printout,
2444 wxPyPrintout* printoutForPrinting,
2445 wxPrintDialogData* data=NULL)
2446 : wxPrintPreview(printout, printoutForPrinting, data)
2447 {}
d14a1e28
RD
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) {
d14a1e28
RD
2543 PyObject *resultobj;
2544 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2545 int arg2 = (int) (int)-1 ;
d14a1e28
RD
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 ;
d14a1e28 2557 PyObject * obj0 = 0 ;
994141e6 2558 PyObject * obj1 = 0 ;
d14a1e28
RD
2559 PyObject * obj2 = 0 ;
2560 PyObject * obj3 = 0 ;
994141e6 2561 PyObject * obj4 = 0 ;
d14a1e28
RD
2562 PyObject * obj5 = 0 ;
2563 char *kwnames[] = {
2564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2565 };
2566
994141e6 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;
994141e6 2570 if (obj1) {
093d3ff1
RD
2571 {
2572 arg2 = (int const)(SWIG_As_int(obj1));
2573 if (SWIG_arg_fail(2)) SWIG_fail;
2574 }
994141e6 2575 }
d14a1e28
RD
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 }
994141e6 2588 if (obj4) {
093d3ff1
RD
2589 {
2590 arg5 = (long)(SWIG_As_long(obj4));
2591 if (SWIG_arg_fail(5)) SWIG_fail;
2592 }
994141e6 2593 }
d14a1e28
RD
2594 if (obj5) {
2595 {
2596 arg6 = wxString_in_helper(obj5);
2597 if (arg6 == NULL) SWIG_fail;
ae8162c8 2598 temp6 = true;
d14a1e28
RD
2599 }
2600 }
2601 {
e3b71cb8 2602 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
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;
d14a1e28 2608 }
b0f7404b 2609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
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) {
d14a1e28
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 {
e3b71cb8 2633 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 result = (wxPanel *)new wxPanel();
2636
2637 wxPyEndAllowThreads(__tstate);
110da5b0 2638 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2639 }
b0f7404b 2640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
RD
2641 return resultobj;
2642 fail:
2643 return NULL;
2644}
2645
2646
c32bde28 2647static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2648 PyObject *resultobj;
2649 wxPanel *arg1 = (wxPanel *) 0 ;
2650 wxWindow *arg2 = (wxWindow *) 0 ;
cfe5e918 2651 int arg3 = (int) (int)-1 ;
d14a1e28
RD
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 ;
d14a1e28
RD
2663 PyObject * obj0 = 0 ;
2664 PyObject * obj1 = 0 ;
994141e6 2665 PyObject * obj2 = 0 ;
d14a1e28
RD
2666 PyObject * obj3 = 0 ;
2667 PyObject * obj4 = 0 ;
994141e6 2668 PyObject * obj5 = 0 ;
d14a1e28
RD
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
cfe5e918 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;
cfe5e918 2679 if (obj2) {
093d3ff1
RD
2680 {
2681 arg3 = (int const)(SWIG_As_int(obj2));
2682 if (SWIG_arg_fail(3)) SWIG_fail;
2683 }
cfe5e918 2684 }
d14a1e28
RD
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 }
994141e6 2697 if (obj5) {
093d3ff1
RD
2698 {
2699 arg6 = (long)(SWIG_As_long(obj5));
2700 if (SWIG_arg_fail(6)) SWIG_fail;
2701 }
994141e6 2702 }
d14a1e28
RD
2703 if (obj6) {
2704 {
2705 arg7 = wxString_in_helper(obj6);
2706 if (arg7 == NULL) SWIG_fail;
ae8162c8 2707 temp7 = true;
d14a1e28
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 }
4f89f6a3
RD
2717 {
2718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2719 }
d14a1e28
RD
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) {
d14a1e28
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;
d14a1e28
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
5cbf236d
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;
5cbf236d
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;
5cbf236d
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) {
22bfe96c 2810 PyObject *resultobj;
093d3ff1 2811 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
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 }
22bfe96c
RD
2824 }
2825 {
e3b71cb8 2826 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2829
2830 wxPyEndAllowThreads(__tstate);
110da5b0 2831 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
2832 }
2833 {
2834 wxVisualAttributes * resultptr;
093d3ff1 2835 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
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) {
d14a1e28
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) {
d14a1e28
RD
2852 PyObject *resultobj;
2853 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2854 int arg2 = (int) (int)-1 ;
d14a1e28
RD
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 ;
d14a1e28 2866 PyObject * obj0 = 0 ;
994141e6 2867 PyObject * obj1 = 0 ;
d14a1e28
RD
2868 PyObject * obj2 = 0 ;
2869 PyObject * obj3 = 0 ;
994141e6 2870 PyObject * obj4 = 0 ;
d14a1e28
RD
2871 PyObject * obj5 = 0 ;
2872 char *kwnames[] = {
2873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2874 };
2875
994141e6 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;
994141e6 2879 if (obj1) {
093d3ff1
RD
2880 {
2881 arg2 = (int const)(SWIG_As_int(obj1));
2882 if (SWIG_arg_fail(2)) SWIG_fail;
2883 }
994141e6 2884 }
d14a1e28
RD
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 }
994141e6 2897 if (obj4) {
093d3ff1
RD
2898 {
2899 arg5 = (long)(SWIG_As_long(obj4));
2900 if (SWIG_arg_fail(5)) SWIG_fail;
2901 }
994141e6 2902 }
d14a1e28
RD
2903 if (obj5) {
2904 {
2905 arg6 = wxString_in_helper(obj5);
2906 if (arg6 == NULL) SWIG_fail;
ae8162c8 2907 temp6 = true;
d14a1e28
RD
2908 }
2909 }
2910 {
e3b71cb8 2911 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
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;
d14a1e28 2917 }
b0f7404b 2918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
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) {
d14a1e28
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 {
e3b71cb8 2942 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2943 PyThreadState* __tstate = wxPyBeginAllowThreads();
2944 result = (wxScrolledWindow *)new wxScrolledWindow();
2945
2946 wxPyEndAllowThreads(__tstate);
110da5b0 2947 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2948 }
b0f7404b 2949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
2950 return resultobj;
2951 fail:
2952 return NULL;
2953}
2954
2955
c32bde28 2956static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2957 PyObject *resultobj;
2958 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2959 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2960 int arg3 = (int) (int)-1 ;
d14a1e28
RD
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 ;
d14a1e28
RD
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
994141e6 2974 PyObject * obj2 = 0 ;
d14a1e28
RD
2975 PyObject * obj3 = 0 ;
2976 PyObject * obj4 = 0 ;
994141e6 2977 PyObject * obj5 = 0 ;
d14a1e28
RD
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
994141e6 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;
994141e6 2988 if (obj2) {
093d3ff1
RD
2989 {
2990 arg3 = (int const)(SWIG_As_int(obj2));
2991 if (SWIG_arg_fail(3)) SWIG_fail;
2992 }
994141e6 2993 }
d14a1e28
RD
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 }
994141e6 3006 if (obj5) {
093d3ff1
RD
3007 {
3008 arg6 = (long)(SWIG_As_long(obj5));
3009 if (SWIG_arg_fail(6)) SWIG_fail;
3010 }
994141e6 3011 }
d14a1e28
RD
3012 if (obj6) {
3013 {
3014 arg7 = wxString_in_helper(obj6);
3015 if (arg7 == NULL) SWIG_fail;
ae8162c8 3016 temp7 = true;
d14a1e28
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 }
4f89f6a3
RD
3026 {
3027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3028 }
d14a1e28
RD
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) {
d14a1e28
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 ;
d14a1e28 3053 PyObject * obj0 = 0 ;
994141e6
RD
3054 PyObject * obj1 = 0 ;
3055 PyObject * obj2 = 0 ;
3056 PyObject * obj3 = 0 ;
3057 PyObject * obj4 = 0 ;
3058 PyObject * obj5 = 0 ;
3059 PyObject * obj6 = 0 ;
d14a1e28
RD
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
994141e6 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 }
994141e6 3084 if (obj5) {
093d3ff1
RD
3085 {
3086 arg6 = (int)(SWIG_As_int(obj5));
3087 if (SWIG_arg_fail(6)) SWIG_fail;
3088 }
994141e6
RD
3089 }
3090 if (obj6) {
093d3ff1
RD
3091 {
3092 arg7 = (int)(SWIG_As_int(obj6));
3093 if (SWIG_arg_fail(7)) SWIG_fail;
3094 }
994141e6 3095 }
d14a1e28 3096 if (obj7) {
093d3ff1
RD
3097 {
3098 arg8 = (bool)(SWIG_As_bool(obj7));
3099 if (SWIG_arg_fail(8)) SWIG_fail;
3100 }
d14a1e28
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) {
d14a1e28
RD
3117 PyObject *resultobj;
3118 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3119 int arg2 ;
3120 int arg3 ;
3121 PyObject * obj0 = 0 ;
994141e6
RD
3122 PyObject * obj1 = 0 ;
3123 PyObject * obj2 = 0 ;
d14a1e28
RD
3124 char *kwnames[] = {
3125 (char *) "self",(char *) "x",(char *) "y", NULL
3126 };
3127
994141e6 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 }
d14a1e28
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) {
d14a1e28
RD
3154 PyObject *resultobj;
3155 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3156 int arg2 ;
3157 int result;
3158 PyObject * obj0 = 0 ;
994141e6 3159 PyObject * obj1 = 0 ;
d14a1e28
RD
3160 char *kwnames[] = {
3161 (char *) "self",(char *) "orient", NULL
3162 };
3163
994141e6 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 }
d14a1e28
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 }
d14a1e28
RD
3181 return resultobj;
3182 fail:
3183 return NULL;
3184}
3185
3186
c32bde28 3187static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3188 PyObject *resultobj;
3189 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3190 int arg2 ;
3191 int arg3 ;
3192 PyObject * obj0 = 0 ;
994141e6
RD
3193 PyObject * obj1 = 0 ;
3194 PyObject * obj2 = 0 ;
d14a1e28
RD
3195 char *kwnames[] = {
3196 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3197 };
3198
994141e6 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 }
d14a1e28
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) {
d14a1e28
RD
3225 PyObject *resultobj;
3226 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3227 int arg2 ;
3228 int arg3 ;
3229 PyObject * obj0 = 0 ;
994141e6
RD
3230 PyObject * obj1 = 0 ;
3231 PyObject * obj2 = 0 ;
d14a1e28
RD
3232 char *kwnames[] = {
3233 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3234 };
3235
994141e6 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 }
d14a1e28
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) {
d14a1e28
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 ;
d14a1e28 3268 int temp3 ;
c32bde28 3269 int res3 = 0 ;
d14a1e28
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;
d14a1e28 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;
d14a1e28
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)));
d14a1e28
RD
3292 return resultobj;
3293 fail:
3294 return NULL;
3295}
3296
3297
c32bde28 3298static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
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 }
d14a1e28
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) {
d14a1e28
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 ;
d14a1e28 3342 int temp3 ;
c32bde28 3343 int res3 = 0 ;
d14a1e28
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;
d14a1e28 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;
d14a1e28
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)));
d14a1e28
RD
3366 return resultobj;
3367 fail:
3368 return NULL;
3369}
3370
3371
c32bde28 3372static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3373 PyObject *resultobj;
3374 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3375 double arg2 ;
3376 double arg3 ;
3377 PyObject * obj0 = 0 ;
994141e6
RD
3378 PyObject * obj1 = 0 ;
3379 PyObject * obj2 = 0 ;
d14a1e28
RD
3380 char *kwnames[] = {
3381 (char *) "self",(char *) "xs",(char *) "ys", NULL
3382 };
3383
994141e6 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 }
d14a1e28
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) {
d14a1e28
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;
d14a1e28
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 }
d14a1e28
RD
3431 return resultobj;
3432 fail:
3433 return NULL;
3434}
3435
3436
c32bde28 3437static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
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;
d14a1e28
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 }
d14a1e28
RD
3459 return resultobj;
3460 fail:
3461 return NULL;
3462}
3463
3464
c32bde28 3465static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
3466 PyObject *resultobj;
3467 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3468 wxPoint *arg2 = 0 ;
3469 wxPoint result;
3470 wxPoint temp2 ;
d14a1e28 3471 PyObject * obj0 = 0 ;
322913ce 3472 PyObject * obj1 = 0 ;
d14a1e28 3473
322913ce 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;
322913ce
RD
3477 {
3478 arg2 = &temp2;
3479 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3480 }
d14a1e28
RD
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3483 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
d14a1e28 3488 {
322913ce 3489 wxPoint * resultptr;
093d3ff1 3490 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 3491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3492 }
3493 return resultobj;
3494 fail:
3495 return NULL;
3496}
3497
3498
c32bde28 3499static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
3500 PyObject *resultobj;
3501 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3502 int arg2 ;
3503 int arg3 ;
3504 int *arg4 = (int *) 0 ;
3505 int *arg5 = (int *) 0 ;
3506 int temp4 ;
c32bde28 3507 int res4 = 0 ;
322913ce 3508 int temp5 ;
c32bde28 3509 int res5 = 0 ;
d14a1e28 3510 PyObject * obj0 = 0 ;
994141e6
RD
3511 PyObject * obj1 = 0 ;
3512 PyObject * obj2 = 0 ;
d14a1e28 3513
c32bde28
RD
3514 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3515 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 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 }
d14a1e28
RD
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3529 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
3530
3531 wxPyEndAllowThreads(__tstate);
3532 if (PyErr_Occurred()) SWIG_fail;
3533 }
322913ce 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)));
d14a1e28
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;
15afbcd0 3558 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
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) {
322913ce 3570 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
d14a1e28
RD
3571 }
3572 }
3573 }
3574 if (argc == 3) {
3575 int _v;
3576 {
3577 void *ptr;
15afbcd0 3578 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3579 _v = 0;
3580 PyErr_Clear();
3581 } else {
3582 _v = 1;
3583 }
3584 }
3585 if (_v) {
c32bde28 3586 _v = SWIG_Check_int(argv[1]);
d14a1e28 3587 if (_v) {
c32bde28 3588 _v = SWIG_Check_int(argv[2]);
d14a1e28 3589 if (_v) {
322913ce 3590 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
d14a1e28
RD
3591 }
3592 }
3593 }
3594 }
3595
093d3ff1 3596 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
d14a1e28
RD
3597 return NULL;
3598}
3599
3600
c32bde28 3601static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
3602 PyObject *resultobj;
3603 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3604 wxPoint *arg2 = 0 ;
3605 wxPoint result;
3606 wxPoint temp2 ;
d14a1e28 3607 PyObject * obj0 = 0 ;
322913ce 3608 PyObject * obj1 = 0 ;
d14a1e28 3609
322913ce 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;
322913ce
RD
3613 {
3614 arg2 = &temp2;
3615 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3616 }
d14a1e28
RD
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3619 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
d14a1e28 3624 {
322913ce 3625 wxPoint * resultptr;
093d3ff1 3626 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 3627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3628 }
3629 return resultobj;
3630 fail:
3631 return NULL;
3632}
3633
3634
c32bde28 3635static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
3636 PyObject *resultobj;
3637 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3638 int arg2 ;
3639 int arg3 ;
3640 int *arg4 = (int *) 0 ;
3641 int *arg5 = (int *) 0 ;
3642 int temp4 ;
c32bde28 3643 int res4 = 0 ;
322913ce 3644 int temp5 ;
c32bde28 3645 int res5 = 0 ;
d14a1e28 3646 PyObject * obj0 = 0 ;
994141e6
RD
3647 PyObject * obj1 = 0 ;
3648 PyObject * obj2 = 0 ;
d14a1e28 3649
c32bde28
RD
3650 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3651 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 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 }
d14a1e28
RD
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3665 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
322913ce 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)));
d14a1e28
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;
15afbcd0 3694 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
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) {
322913ce 3706 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
d14a1e28
RD
3707 }
3708 }
3709 }
3710 if (argc == 3) {
3711 int _v;
3712 {
3713 void *ptr;
15afbcd0 3714 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3715 _v = 0;
3716 PyErr_Clear();
3717 } else {
3718 _v = 1;
3719 }
3720 }
3721 if (_v) {
c32bde28 3722 _v = SWIG_Check_int(argv[1]);
d14a1e28 3723 if (_v) {
c32bde28 3724 _v = SWIG_Check_int(argv[2]);
d14a1e28 3725 if (_v) {
322913ce 3726 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
d14a1e28
RD
3727 }
3728 }
3729 }
3730 }
3731
093d3ff1 3732 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
d14a1e28
RD
3733 return NULL;
3734}
3735
3736
c32bde28 3737static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
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;
d14a1e28
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) {
d14a1e28
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;
d14a1e28
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 }
d14a1e28
RD
3794 return resultobj;
3795 fail:
3796 return NULL;
3797}
3798
3799
c32bde28 3800static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
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;
d14a1e28
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) {
d14a1e28
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;
d14a1e28
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);
d14a1e28
RD
3850 }
3851 return resultobj;
3852 fail:
3853 return NULL;
3854}
3855
3856
c32bde28 3857static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
f5b96ee1
RD
3858 PyObject *resultobj;
3859 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3860 wxDC *arg2 = 0 ;
3861 PyObject * obj0 = 0 ;
3862 PyObject * obj1 = 0 ;
3863 char *kwnames[] = {
3864 (char *) "self",(char *) "dc", NULL
3865 };
3866
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3869 if (SWIG_arg_fail(1)) SWIG_fail;
3870 {
3871 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3872 if (SWIG_arg_fail(2)) SWIG_fail;
3873 if (arg2 == NULL) {
3874 SWIG_null_ref("wxDC");
3875 }
3876 if (SWIG_arg_fail(2)) SWIG_fail;
f5b96ee1
RD
3877 }
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 (arg1)->DoPrepareDC(*arg2);
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 Py_INCREF(Py_None); resultobj = Py_None;
3886 return resultobj;
3887 fail:
3888 return NULL;
3889}
3890
3891
c32bde28 3892static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 3893 PyObject *resultobj;
093d3ff1 3894 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
3895 wxVisualAttributes result;
3896 PyObject * obj0 = 0 ;
3897 char *kwnames[] = {
3898 (char *) "variant", NULL
3899 };
3900
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3902 if (obj0) {
093d3ff1
RD
3903 {
3904 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3905 if (SWIG_arg_fail(1)) SWIG_fail;
3906 }
22bfe96c
RD
3907 }
3908 {
e3b71cb8 3909 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
3910 PyThreadState* __tstate = wxPyBeginAllowThreads();
3911 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3912
3913 wxPyEndAllowThreads(__tstate);
110da5b0 3914 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
3915 }
3916 {
3917 wxVisualAttributes * resultptr;
093d3ff1 3918 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
3919 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3920 }
3921 return resultobj;
3922 fail:
3923 return NULL;
3924}
3925
3926
c32bde28 3927static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3928 PyObject *obj;
3929 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3930 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
3931 Py_INCREF(obj);
3932 return Py_BuildValue((char *)"");
3933}
c32bde28 3934static int _wrap_FrameNameStr_set(PyObject *) {
b2dc1044
RD
3935 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
3936 return 1;
3937}
3938
3939
093d3ff1 3940static PyObject *_wrap_FrameNameStr_get(void) {
b2dc1044
RD
3941 PyObject *pyobj;
3942
3943 {
3944#if wxUSE_UNICODE
3945 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3946#else
3947 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3948#endif
3949 }
3950 return pyobj;
3951}
3952
3953
c32bde28 3954static int _wrap_DialogNameStr_set(PyObject *) {
b2dc1044
RD
3955 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
3956 return 1;
3957}
3958
3959
093d3ff1 3960static PyObject *_wrap_DialogNameStr_get(void) {
b2dc1044
RD
3961 PyObject *pyobj;
3962
3963 {
3964#if wxUSE_UNICODE
3965 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
3966#else
3967 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
3968#endif
3969 }
3970 return pyobj;
3971}
3972
3973
c32bde28 3974static int _wrap_StatusLineNameStr_set(PyObject *) {
b2dc1044
RD
3975 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
3976 return 1;
3977}
3978
3979
093d3ff1 3980static PyObject *_wrap_StatusLineNameStr_get(void) {
b2dc1044
RD
3981 PyObject *pyobj;
3982
3983 {
3984#if wxUSE_UNICODE
3985 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
3986#else
3987 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
3988#endif
3989 }
3990 return pyobj;
3991}
3992
3993
c32bde28 3994static int _wrap_ToolBarNameStr_set(PyObject *) {
b2dc1044
RD
3995 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
3996 return 1;
3997}
3998
3999
093d3ff1 4000static PyObject *_wrap_ToolBarNameStr_get(void) {
b2dc1044
RD
4001 PyObject *pyobj;
4002
4003 {
4004#if wxUSE_UNICODE
4005 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4006#else
4007 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4008#endif
4009 }
4010 return pyobj;
4011}
4012
4013
c32bde28 4014static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4015 PyObject *resultobj;
4016 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4017 bool arg2 = (bool) true ;
d14a1e28
RD
4018 PyObject * obj0 = 0 ;
4019 PyObject * obj1 = 0 ;
4020 char *kwnames[] = {
4021 (char *) "self",(char *) "maximize", NULL
4022 };
4023
4024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4026 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4027 if (obj1) {
093d3ff1
RD
4028 {
4029 arg2 = (bool)(SWIG_As_bool(obj1));
4030 if (SWIG_arg_fail(2)) SWIG_fail;
4031 }
d14a1e28
RD
4032 }
4033 {
4034 PyThreadState* __tstate = wxPyBeginAllowThreads();
4035 (arg1)->Maximize(arg2);
4036
4037 wxPyEndAllowThreads(__tstate);
4038 if (PyErr_Occurred()) SWIG_fail;
4039 }
4040 Py_INCREF(Py_None); resultobj = Py_None;
4041 return resultobj;
4042 fail:
4043 return NULL;
4044}
4045
4046
c32bde28 4047static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4048 PyObject *resultobj;
4049 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4050 PyObject * obj0 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "self", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
4056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4057 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4058 {
4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
4060 (arg1)->Restore();
4061
4062 wxPyEndAllowThreads(__tstate);
4063 if (PyErr_Occurred()) SWIG_fail;
4064 }
4065 Py_INCREF(Py_None); resultobj = Py_None;
4066 return resultobj;
4067 fail:
4068 return NULL;
4069}
4070
4071
c32bde28 4072static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4073 PyObject *resultobj;
4074 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4075 bool arg2 = (bool) true ;
d14a1e28
RD
4076 PyObject * obj0 = 0 ;
4077 PyObject * obj1 = 0 ;
4078 char *kwnames[] = {
4079 (char *) "self",(char *) "iconize", NULL
4080 };
4081
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4084 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4085 if (obj1) {
093d3ff1
RD
4086 {
4087 arg2 = (bool)(SWIG_As_bool(obj1));
4088 if (SWIG_arg_fail(2)) SWIG_fail;
4089 }
d14a1e28
RD
4090 }
4091 {
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 (arg1)->Iconize(arg2);
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 Py_INCREF(Py_None); resultobj = Py_None;
4099 return resultobj;
4100 fail:
4101 return NULL;
4102}
4103
4104
c32bde28 4105static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4106 PyObject *resultobj;
4107 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4108 bool result;
4109 PyObject * obj0 = 0 ;
4110 char *kwnames[] = {
4111 (char *) "self", NULL
4112 };
4113
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4116 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4120
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4f89f6a3
RD
4124 {
4125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4126 }
d14a1e28
RD
4127 return resultobj;
4128 fail:
4129 return NULL;
4130}
4131
4132
c32bde28 4133static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4134 PyObject *resultobj;
4135 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4136 bool result;
4137 PyObject * obj0 = 0 ;
4138 char *kwnames[] = {
4139 (char *) "self", NULL
4140 };
4141
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4144 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4148
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4f89f6a3
RD
4152 {
4153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4154 }
d14a1e28
RD
4155 return resultobj;
4156 fail:
4157 return NULL;
4158}
4159
4160
c32bde28 4161static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4162 PyObject *resultobj;
4163 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4164 wxIcon result;
4165 PyObject * obj0 = 0 ;
4166 char *kwnames[] = {
4167 (char *) "self", NULL
4168 };
4169
4170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
4171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4172 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4173 {
4174 PyThreadState* __tstate = wxPyBeginAllowThreads();
4175 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4176
4177 wxPyEndAllowThreads(__tstate);
4178 if (PyErr_Occurred()) SWIG_fail;
4179 }
4180 {
4181 wxIcon * resultptr;
093d3ff1 4182 resultptr = new wxIcon((wxIcon &)(result));
15afbcd0 4183 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
4184 }
4185 return resultobj;
4186 fail:
4187 return NULL;
4188}
4189
4190
c32bde28 4191static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4192 PyObject *resultobj;
4193 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4194 wxIcon *arg2 = 0 ;
4195 PyObject * obj0 = 0 ;
4196 PyObject * obj1 = 0 ;
4197 char *kwnames[] = {
4198 (char *) "self",(char *) "icon", NULL
4199 };
4200
4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4203 if (SWIG_arg_fail(1)) SWIG_fail;
4204 {
4205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4206 if (SWIG_arg_fail(2)) SWIG_fail;
4207 if (arg2 == NULL) {
4208 SWIG_null_ref("wxIcon");
4209 }
4210 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4211 }
4212 {
4213 PyThreadState* __tstate = wxPyBeginAllowThreads();
4214 (arg1)->SetIcon((wxIcon const &)*arg2);
4215
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 }
4219 Py_INCREF(Py_None); resultobj = Py_None;
4220 return resultobj;
4221 fail:
4222 return NULL;
4223}
4224
4225
c32bde28 4226static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4227 PyObject *resultobj;
4228 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4229 wxIconBundle *arg2 = 0 ;
4230 PyObject * obj0 = 0 ;
4231 PyObject * obj1 = 0 ;
4232 char *kwnames[] = {
4233 (char *) "self",(char *) "icons", NULL
4234 };
4235
4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4238 if (SWIG_arg_fail(1)) SWIG_fail;
4239 {
4240 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4241 if (SWIG_arg_fail(2)) SWIG_fail;
4242 if (arg2 == NULL) {
4243 SWIG_null_ref("wxIconBundle");
4244 }
4245 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4246 }
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 Py_INCREF(Py_None); resultobj = Py_None;
4255 return resultobj;
4256 fail:
4257 return NULL;
4258}
4259
4260
c32bde28 4261static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4262 PyObject *resultobj;
4263 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4264 bool arg2 ;
4265 long arg3 = (long) wxFULLSCREEN_ALL ;
4266 bool result;
4267 PyObject * obj0 = 0 ;
4268 PyObject * obj1 = 0 ;
994141e6 4269 PyObject * obj2 = 0 ;
d14a1e28
RD
4270 char *kwnames[] = {
4271 (char *) "self",(char *) "show",(char *) "style", NULL
4272 };
4273
994141e6 4274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4276 if (SWIG_arg_fail(1)) SWIG_fail;
4277 {
4278 arg2 = (bool)(SWIG_As_bool(obj1));
4279 if (SWIG_arg_fail(2)) SWIG_fail;
4280 }
994141e6 4281 if (obj2) {
093d3ff1
RD
4282 {
4283 arg3 = (long)(SWIG_As_long(obj2));
4284 if (SWIG_arg_fail(3)) SWIG_fail;
4285 }
994141e6 4286 }
d14a1e28
RD
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4290
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4f89f6a3
RD
4294 {
4295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4296 }
d14a1e28
RD
4297 return resultobj;
4298 fail:
4299 return NULL;
4300}
4301
4302
c32bde28 4303static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4304 PyObject *resultobj;
4305 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4306 bool result;
4307 PyObject * obj0 = 0 ;
4308 char *kwnames[] = {
4309 (char *) "self", NULL
4310 };
4311
4312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
4313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4314 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4315 {
4316 PyThreadState* __tstate = wxPyBeginAllowThreads();
4317 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4318
4319 wxPyEndAllowThreads(__tstate);
4320 if (PyErr_Occurred()) SWIG_fail;
4321 }
4f89f6a3
RD
4322 {
4323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4324 }
d14a1e28
RD
4325 return resultobj;
4326 fail:
4327 return NULL;
4328}
4329
4330
c32bde28 4331static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4332 PyObject *resultobj;
4333 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4334 wxString *arg2 = 0 ;
ae8162c8 4335 bool temp2 = false ;
d14a1e28
RD
4336 PyObject * obj0 = 0 ;
4337 PyObject * obj1 = 0 ;
4338 char *kwnames[] = {
4339 (char *) "self",(char *) "title", NULL
4340 };
4341
4342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4344 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4345 {
4346 arg2 = wxString_in_helper(obj1);
4347 if (arg2 == NULL) SWIG_fail;
ae8162c8 4348 temp2 = true;
d14a1e28
RD
4349 }
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 (arg1)->SetTitle((wxString const &)*arg2);
4353
4354 wxPyEndAllowThreads(__tstate);
4355 if (PyErr_Occurred()) SWIG_fail;
4356 }
4357 Py_INCREF(Py_None); resultobj = Py_None;
4358 {
4359 if (temp2)
4360 delete arg2;
4361 }
4362 return resultobj;
4363 fail:
4364 {
4365 if (temp2)
4366 delete arg2;
4367 }
4368 return NULL;
4369}
4370
4371
c32bde28 4372static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4373 PyObject *resultobj;
4374 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4375 wxString result;
4376 PyObject * obj0 = 0 ;
4377 char *kwnames[] = {
4378 (char *) "self", NULL
4379 };
4380
4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
4382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4383 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4384 {
4385 PyThreadState* __tstate = wxPyBeginAllowThreads();
4386 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4387
4388 wxPyEndAllowThreads(__tstate);
4389 if (PyErr_Occurred()) SWIG_fail;
4390 }
4391 {
4392#if wxUSE_UNICODE
4393 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4394#else
4395 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4396#endif
4397 }
4398 return resultobj;
4399 fail:
4400 return NULL;
4401}
4402
4403
c32bde28 4404static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4405 PyObject *resultobj;
4406 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4407 wxRegion *arg2 = 0 ;
4408 bool result;
4409 PyObject * obj0 = 0 ;
4410 PyObject * obj1 = 0 ;
4411 char *kwnames[] = {
4412 (char *) "self",(char *) "region", NULL
4413 };
4414
4415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4417 if (SWIG_arg_fail(1)) SWIG_fail;
4418 {
4419 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4420 if (SWIG_arg_fail(2)) SWIG_fail;
4421 if (arg2 == NULL) {
4422 SWIG_null_ref("wxRegion");
4423 }
4424 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4425 }
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4429
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4f89f6a3
RD
4433 {
4434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4435 }
d14a1e28
RD
4436 return resultobj;
4437 fail:
4438 return NULL;
4439}
4440
4441
c32bde28
RD
4442static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4443 PyObject *resultobj;
4444 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4445 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4446 PyObject * obj0 = 0 ;
4447 PyObject * obj1 = 0 ;
4448 char *kwnames[] = {
4449 (char *) "self",(char *) "flags", NULL
4450 };
4451
4452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4454 if (SWIG_arg_fail(1)) SWIG_fail;
c32bde28 4455 if (obj1) {
093d3ff1
RD
4456 {
4457 arg2 = (int)(SWIG_As_int(obj1));
4458 if (SWIG_arg_fail(2)) SWIG_fail;
4459 }
c32bde28
RD
4460 }
4461 {
4462 PyThreadState* __tstate = wxPyBeginAllowThreads();
4463 (arg1)->RequestUserAttention(arg2);
4464
4465 wxPyEndAllowThreads(__tstate);
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
4468 Py_INCREF(Py_None); resultobj = Py_None;
4469 return resultobj;
4470 fail:
4471 return NULL;
4472}
4473
4474
b6294124
RD
4475static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4476 PyObject *resultobj;
4477 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4478 bool result;
4479 PyObject * obj0 = 0 ;
4480 char *kwnames[] = {
4481 (char *) "self", NULL
4482 };
4483
4484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
4485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4486 if (SWIG_arg_fail(1)) SWIG_fail;
b6294124
RD
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 result = (bool)(arg1)->IsActive();
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 {
4495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4496 }
4497 return resultobj;
4498 fail:
4499 return NULL;
4500}
4501
4502
84f85550
RD
4503static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj;
4505 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4506 bool arg2 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 char *kwnames[] = {
4510 (char *) "self",(char *) "on", NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4515 if (SWIG_arg_fail(1)) SWIG_fail;
4516 {
4517 arg2 = (bool)(SWIG_As_bool(obj1));
4518 if (SWIG_arg_fail(2)) SWIG_fail;
4519 }
84f85550
RD
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 Py_INCREF(Py_None); resultobj = Py_None;
4528 return resultobj;
4529 fail:
4530 return NULL;
4531}
4532
4533
4534static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4535 PyObject *resultobj;
4536 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4537 bool result;
4538 PyObject * obj0 = 0 ;
4539 char *kwnames[] = {
4540 (char *) "self", NULL
4541 };
4542
4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
093d3ff1
RD
4544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4545 if (SWIG_arg_fail(1)) SWIG_fail;
84f85550
RD
4546 {
4547 PyThreadState* __tstate = wxPyBeginAllowThreads();
4548 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4549
4550 wxPyEndAllowThreads(__tstate);
4551 if (PyErr_Occurred()) SWIG_fail;
4552 }
4553 {
4554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4555 }
4556 return resultobj;
4557 fail:
4558 return NULL;
4559}
4560
4561
c32bde28 4562static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4563 PyObject *obj;
4564 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4565 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4566 Py_INCREF(obj);
4567 return Py_BuildValue((char *)"");
4568}
c32bde28 4569static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4570 PyObject *resultobj;
4571 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4572 int arg2 = (int) (int)-1 ;
4573 wxString const &arg3_defvalue = wxPyEmptyString ;
4574 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
4575 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4576 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4577 wxSize const &arg5_defvalue = wxDefaultSize ;
4578 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4579 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4580 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4581 wxString *arg7 = (wxString *) &arg7_defvalue ;
4582 wxFrame *result;
ae8162c8 4583 bool temp3 = false ;
d14a1e28
RD
4584 wxPoint temp4 ;
4585 wxSize temp5 ;
ae8162c8 4586 bool temp7 = false ;
d14a1e28 4587 PyObject * obj0 = 0 ;
994141e6 4588 PyObject * obj1 = 0 ;
d14a1e28
RD
4589 PyObject * obj2 = 0 ;
4590 PyObject * obj3 = 0 ;
4591 PyObject * obj4 = 0 ;
994141e6 4592 PyObject * obj5 = 0 ;
d14a1e28
RD
4593 PyObject * obj6 = 0 ;
4594 char *kwnames[] = {
4595 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4596 };
4597
248ed943 4598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
4599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4600 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 4601 if (obj1) {
093d3ff1
RD
4602 {
4603 arg2 = (int const)(SWIG_As_int(obj1));
4604 if (SWIG_arg_fail(2)) SWIG_fail;
4605 }
248ed943
RD
4606 }
4607 if (obj2) {
4608 {
4609 arg3 = wxString_in_helper(obj2);
4610 if (arg3 == NULL) SWIG_fail;
ae8162c8 4611 temp3 = true;
248ed943 4612 }
d14a1e28
RD
4613 }
4614 if (obj3) {
4615 {
4616 arg4 = &temp4;
4617 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4618 }
4619 }
4620 if (obj4) {
4621 {
4622 arg5 = &temp5;
4623 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4624 }
4625 }
994141e6 4626 if (obj5) {
093d3ff1
RD
4627 {
4628 arg6 = (long)(SWIG_As_long(obj5));
4629 if (SWIG_arg_fail(6)) SWIG_fail;
4630 }
994141e6 4631 }
d14a1e28
RD
4632 if (obj6) {
4633 {
4634 arg7 = wxString_in_helper(obj6);
4635 if (arg7 == NULL) SWIG_fail;
ae8162c8 4636 temp7 = true;
d14a1e28
RD
4637 }
4638 }
4639 {
e3b71cb8 4640 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4643
4644 wxPyEndAllowThreads(__tstate);
110da5b0 4645 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4646 }
b0f7404b 4647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d14a1e28
RD
4648 {
4649 if (temp3)
4650 delete arg3;
4651 }
4652 {
4653 if (temp7)
4654 delete arg7;
4655 }
4656 return resultobj;
4657 fail:
4658 {
4659 if (temp3)
4660 delete arg3;
4661 }
4662 {
4663 if (temp7)
4664 delete arg7;
4665 }
4666 return NULL;
4667}
4668
4669
c32bde28 4670static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4671 PyObject *resultobj;
4672 wxFrame *result;
4673 char *kwnames[] = {
4674 NULL
4675 };
4676
4677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4678 {
e3b71cb8 4679 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 result = (wxFrame *)new wxFrame();
4682
4683 wxPyEndAllowThreads(__tstate);
110da5b0 4684 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4685 }
b0f7404b 4686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d14a1e28
RD
4687 return resultobj;
4688 fail:
4689 return NULL;
4690}
4691
4692
c32bde28 4693static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4694 PyObject *resultobj;
4695 wxFrame *arg1 = (wxFrame *) 0 ;
4696 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4697 int arg3 = (int) (int)-1 ;
4698 wxString const &arg4_defvalue = wxPyEmptyString ;
4699 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
4700 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4701 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4702 wxSize const &arg6_defvalue = wxDefaultSize ;
4703 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4704 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4705 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4706 wxString *arg8 = (wxString *) &arg8_defvalue ;
4707 bool result;
ae8162c8 4708 bool temp4 = false ;
d14a1e28
RD
4709 wxPoint temp5 ;
4710 wxSize temp6 ;
ae8162c8 4711 bool temp8 = false ;
d14a1e28
RD
4712 PyObject * obj0 = 0 ;
4713 PyObject * obj1 = 0 ;
994141e6 4714 PyObject * obj2 = 0 ;
d14a1e28
RD
4715 PyObject * obj3 = 0 ;
4716 PyObject * obj4 = 0 ;
4717 PyObject * obj5 = 0 ;
994141e6 4718 PyObject * obj6 = 0 ;
d14a1e28
RD
4719 PyObject * obj7 = 0 ;
4720 char *kwnames[] = {
4721 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4722 };
4723
248ed943 4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
4725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4726 if (SWIG_arg_fail(1)) SWIG_fail;
4727 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4728 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 4729 if (obj2) {
093d3ff1
RD
4730 {
4731 arg3 = (int const)(SWIG_As_int(obj2));
4732 if (SWIG_arg_fail(3)) SWIG_fail;
4733 }
248ed943
RD
4734 }
4735 if (obj3) {
4736 {
4737 arg4 = wxString_in_helper(obj3);
4738 if (arg4 == NULL) SWIG_fail;
ae8162c8 4739 temp4 = true;
248ed943 4740 }
d14a1e28
RD
4741 }
4742 if (obj4) {
4743 {
4744 arg5 = &temp5;
4745 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4746 }
4747 }
4748 if (obj5) {
4749 {
4750 arg6 = &temp6;
4751 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4752 }
4753 }
994141e6 4754 if (obj6) {
093d3ff1
RD
4755 {
4756 arg7 = (long)(SWIG_As_long(obj6));
4757 if (SWIG_arg_fail(7)) SWIG_fail;
4758 }
994141e6 4759 }
d14a1e28
RD
4760 if (obj7) {
4761 {
4762 arg8 = wxString_in_helper(obj7);
4763 if (arg8 == NULL) SWIG_fail;
ae8162c8 4764 temp8 = true;
d14a1e28
RD
4765 }
4766 }
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4f89f6a3
RD
4774 {
4775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4776 }
d14a1e28
RD
4777 {
4778 if (temp4)
4779 delete arg4;
4780 }
4781 {
4782 if (temp8)
4783 delete arg8;
4784 }
4785 return resultobj;
4786 fail:
4787 {
4788 if (temp4)
4789 delete arg4;
4790 }
4791 {
4792 if (temp8)
4793 delete arg8;
4794 }
4795 return NULL;
4796}
4797
4798
c32bde28 4799static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4800 PyObject *resultobj;
4801 wxFrame *arg1 = (wxFrame *) 0 ;
4802 wxPoint result;
4803 PyObject * obj0 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
093d3ff1
RD
4809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4810 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4814
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 {
4819 wxPoint * resultptr;
093d3ff1 4820 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 4821 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
4822 }
4823 return resultobj;
4824 fail:
4825 return NULL;
4826}
4827
4828
c32bde28 4829static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4830 PyObject *resultobj;
4831 wxFrame *arg1 = (wxFrame *) 0 ;
4832 PyObject * obj0 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
4838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4839 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 (arg1)->SendSizeEvent();
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
4847 Py_INCREF(Py_None); resultobj = Py_None;
4848 return resultobj;
4849 fail:
4850 return NULL;
4851}
4852
4853
c32bde28 4854static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4855 PyObject *resultobj;
4856 wxFrame *arg1 = (wxFrame *) 0 ;
4857 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4858 PyObject * obj0 = 0 ;
4859 PyObject * obj1 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self",(char *) "menubar", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4866 if (SWIG_arg_fail(1)) SWIG_fail;
4867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4868 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 (arg1)->SetMenuBar(arg2);
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 Py_INCREF(Py_None); resultobj = Py_None;
4877 return resultobj;
4878 fail:
4879 return NULL;
4880}
4881
4882
c32bde28 4883static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4884 PyObject *resultobj;
4885 wxFrame *arg1 = (wxFrame *) 0 ;
4886 wxMenuBar *result;
4887 PyObject * obj0 = 0 ;
4888 char *kwnames[] = {
4889 (char *) "self", NULL
4890 };
4891
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
4893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4894 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4895 {
4896 PyThreadState* __tstate = wxPyBeginAllowThreads();
4897 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4898
4899 wxPyEndAllowThreads(__tstate);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 {
412d302d 4903 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
4904 }
4905 return resultobj;
4906 fail:
4907 return NULL;
4908}
4909
4910
c32bde28 4911static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4912 PyObject *resultobj;
4913 wxFrame *arg1 = (wxFrame *) 0 ;
4914 int arg2 ;
4915 bool result;
4916 PyObject * obj0 = 0 ;
994141e6 4917 PyObject * obj1 = 0 ;
d14a1e28
RD
4918 char *kwnames[] = {
4919 (char *) "self",(char *) "winid", NULL
4920 };
4921
994141e6 4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4924 if (SWIG_arg_fail(1)) SWIG_fail;
4925 {
4926 arg2 = (int)(SWIG_As_int(obj1));
4927 if (SWIG_arg_fail(2)) SWIG_fail;
4928 }
d14a1e28
RD
4929 {
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 result = (bool)(arg1)->ProcessCommand(arg2);
4932
4933 wxPyEndAllowThreads(__tstate);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 }
4f89f6a3
RD
4936 {
4937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4938 }
d14a1e28
RD
4939 return resultobj;
4940 fail:
4941 return NULL;
4942}
4943
4944
c32bde28 4945static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4946 PyObject *resultobj;
4947 wxFrame *arg1 = (wxFrame *) 0 ;
4948 int arg2 = (int) 1 ;
4276dc52 4949 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
e811c8ce 4950 int arg4 = (int) 0 ;
d14a1e28
RD
4951 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4952 wxString *arg5 = (wxString *) &arg5_defvalue ;
4953 wxStatusBar *result;
ae8162c8 4954 bool temp5 = false ;
d14a1e28 4955 PyObject * obj0 = 0 ;
994141e6
RD
4956 PyObject * obj1 = 0 ;
4957 PyObject * obj2 = 0 ;
4958 PyObject * obj3 = 0 ;
d14a1e28
RD
4959 PyObject * obj4 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
4962 };
4963
994141e6 4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
4965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4966 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 4967 if (obj1) {
093d3ff1
RD
4968 {
4969 arg2 = (int)(SWIG_As_int(obj1));
4970 if (SWIG_arg_fail(2)) SWIG_fail;
4971 }
994141e6
RD
4972 }
4973 if (obj2) {
093d3ff1
RD
4974 {
4975 arg3 = (long)(SWIG_As_long(obj2));
4976 if (SWIG_arg_fail(3)) SWIG_fail;
4977 }
994141e6
RD
4978 }
4979 if (obj3) {
093d3ff1
RD
4980 {
4981 arg4 = (int)(SWIG_As_int(obj3));
4982 if (SWIG_arg_fail(4)) SWIG_fail;
4983 }
994141e6 4984 }
d14a1e28
RD
4985 if (obj4) {
4986 {
4987 arg5 = wxString_in_helper(obj4);
4988 if (arg5 == NULL) SWIG_fail;
ae8162c8 4989 temp5 = true;
d14a1e28
RD
4990 }
4991 }
4992 {
4993 PyThreadState* __tstate = wxPyBeginAllowThreads();
4994 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
4995
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 {
412d302d 5000 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5001 }
5002 {
5003 if (temp5)
5004 delete arg5;
5005 }
5006 return resultobj;
5007 fail:
5008 {
5009 if (temp5)
5010 delete arg5;
5011 }
5012 return NULL;
5013}
5014
5015
c32bde28 5016static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5017 PyObject *resultobj;
5018 wxFrame *arg1 = (wxFrame *) 0 ;
5019 wxStatusBar *result;
5020 PyObject * obj0 = 0 ;
5021 char *kwnames[] = {
5022 (char *) "self", NULL
5023 };
5024
5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5027 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5028 {
5029 PyThreadState* __tstate = wxPyBeginAllowThreads();
5030 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5031
5032 wxPyEndAllowThreads(__tstate);
5033 if (PyErr_Occurred()) SWIG_fail;
5034 }
5035 {
412d302d 5036 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5037 }
5038 return resultobj;
5039 fail:
5040 return NULL;
5041}
5042
5043
c32bde28 5044static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5045 PyObject *resultobj;
5046 wxFrame *arg1 = (wxFrame *) 0 ;
5047 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5048 PyObject * obj0 = 0 ;
5049 PyObject * obj1 = 0 ;
5050 char *kwnames[] = {
5051 (char *) "self",(char *) "statBar", NULL
5052 };
5053
5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5056 if (SWIG_arg_fail(1)) SWIG_fail;
5057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5058 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 (arg1)->SetStatusBar(arg2);
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) SWIG_fail;
5065 }
5066 Py_INCREF(Py_None); resultobj = Py_None;
5067 return resultobj;
5068 fail:
5069 return NULL;
5070}
5071
5072
c32bde28 5073static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5074 PyObject *resultobj;
5075 wxFrame *arg1 = (wxFrame *) 0 ;
5076 wxString *arg2 = 0 ;
5077 int arg3 = (int) 0 ;
ae8162c8 5078 bool temp2 = false ;
d14a1e28
RD
5079 PyObject * obj0 = 0 ;
5080 PyObject * obj1 = 0 ;
994141e6 5081 PyObject * obj2 = 0 ;
d14a1e28
RD
5082 char *kwnames[] = {
5083 (char *) "self",(char *) "text",(char *) "number", NULL
5084 };
5085
994141e6 5086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5088 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5089 {
5090 arg2 = wxString_in_helper(obj1);
5091 if (arg2 == NULL) SWIG_fail;
ae8162c8 5092 temp2 = true;
d14a1e28 5093 }
994141e6 5094 if (obj2) {
093d3ff1
RD
5095 {
5096 arg3 = (int)(SWIG_As_int(obj2));
5097 if (SWIG_arg_fail(3)) SWIG_fail;
5098 }
994141e6 5099 }
d14a1e28
RD
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 Py_INCREF(Py_None); resultobj = Py_None;
5108 {
5109 if (temp2)
5110 delete arg2;
5111 }
5112 return resultobj;
5113 fail:
5114 {
5115 if (temp2)
5116 delete arg2;
5117 }
5118 return NULL;
5119}
5120
5121
c32bde28 5122static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5123 PyObject *resultobj;
5124 wxFrame *arg1 = (wxFrame *) 0 ;
5125 int arg2 ;
5126 int *arg3 = (int *) 0 ;
5127 PyObject * obj0 = 0 ;
5128 PyObject * obj1 = 0 ;
5129 char *kwnames[] = {
5130 (char *) "self",(char *) "widths", NULL
5131 };
5132
5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5135 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5136 {
5137 arg2 = PyList_Size(obj1);
5138 arg3 = int_LIST_helper(obj1);
5139 if (arg3 == NULL) SWIG_fail;
5140 }
5141 {
5142 PyThreadState* __tstate = wxPyBeginAllowThreads();
5143 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5144
5145 wxPyEndAllowThreads(__tstate);
5146 if (PyErr_Occurred()) SWIG_fail;
5147 }
5148 Py_INCREF(Py_None); resultobj = Py_None;
5149 {
5150 if (arg3) delete [] arg3;
5151 }
5152 return resultobj;
5153 fail:
5154 {
5155 if (arg3) delete [] arg3;
5156 }
5157 return NULL;
5158}
5159
5160
c32bde28 5161static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5162 PyObject *resultobj;
5163 wxFrame *arg1 = (wxFrame *) 0 ;
5164 wxString *arg2 = 0 ;
5165 int arg3 = (int) 0 ;
ae8162c8 5166 bool temp2 = false ;
d14a1e28
RD
5167 PyObject * obj0 = 0 ;
5168 PyObject * obj1 = 0 ;
994141e6 5169 PyObject * obj2 = 0 ;
d14a1e28
RD
5170 char *kwnames[] = {
5171 (char *) "self",(char *) "text",(char *) "number", NULL
5172 };
5173
994141e6 5174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5176 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5177 {
5178 arg2 = wxString_in_helper(obj1);
5179 if (arg2 == NULL) SWIG_fail;
ae8162c8 5180 temp2 = true;
d14a1e28 5181 }
994141e6 5182 if (obj2) {
093d3ff1
RD
5183 {
5184 arg3 = (int)(SWIG_As_int(obj2));
5185 if (SWIG_arg_fail(3)) SWIG_fail;
5186 }
994141e6 5187 }
d14a1e28
RD
5188 {
5189 PyThreadState* __tstate = wxPyBeginAllowThreads();
5190 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5191
5192 wxPyEndAllowThreads(__tstate);
5193 if (PyErr_Occurred()) SWIG_fail;
5194 }
5195 Py_INCREF(Py_None); resultobj = Py_None;
5196 {
5197 if (temp2)
5198 delete arg2;
5199 }
5200 return resultobj;
5201 fail:
5202 {
5203 if (temp2)
5204 delete arg2;
5205 }
5206 return NULL;
5207}
5208
5209
c32bde28 5210static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5211 PyObject *resultobj;
5212 wxFrame *arg1 = (wxFrame *) 0 ;
5213 int arg2 = (int) 0 ;
5214 PyObject * obj0 = 0 ;
994141e6 5215 PyObject * obj1 = 0 ;
d14a1e28
RD
5216 char *kwnames[] = {
5217 (char *) "self",(char *) "number", NULL
5218 };
5219
994141e6 5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5222 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 5223 if (obj1) {
093d3ff1
RD
5224 {
5225 arg2 = (int)(SWIG_As_int(obj1));
5226 if (SWIG_arg_fail(2)) SWIG_fail;
5227 }
994141e6 5228 }
d14a1e28
RD
5229 {
5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
5231 (arg1)->PopStatusText(arg2);
5232
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 Py_INCREF(Py_None); resultobj = Py_None;
5237 return resultobj;
5238 fail:
5239 return NULL;
5240}
5241
5242
c32bde28 5243static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5244 PyObject *resultobj;
5245 wxFrame *arg1 = (wxFrame *) 0 ;
5246 int arg2 ;
5247 PyObject * obj0 = 0 ;
994141e6 5248 PyObject * obj1 = 0 ;
d14a1e28
RD
5249 char *kwnames[] = {
5250 (char *) "self",(char *) "n", NULL
5251 };
5252
994141e6 5253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5255 if (SWIG_arg_fail(1)) SWIG_fail;
5256 {
5257 arg2 = (int)(SWIG_As_int(obj1));
5258 if (SWIG_arg_fail(2)) SWIG_fail;
5259 }
d14a1e28
RD
5260 {
5261 PyThreadState* __tstate = wxPyBeginAllowThreads();
5262 (arg1)->SetStatusBarPane(arg2);
5263
5264 wxPyEndAllowThreads(__tstate);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 Py_INCREF(Py_None); resultobj = Py_None;
5268 return resultobj;
5269 fail:
5270 return NULL;
5271}
5272
5273
c32bde28 5274static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5275 PyObject *resultobj;
5276 wxFrame *arg1 = (wxFrame *) 0 ;
5277 int result;
5278 PyObject * obj0 = 0 ;
5279 char *kwnames[] = {
5280 (char *) "self", NULL
5281 };
5282
5283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
093d3ff1
RD
5284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5285 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5286 {
5287 PyThreadState* __tstate = wxPyBeginAllowThreads();
5288 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5289
5290 wxPyEndAllowThreads(__tstate);
5291 if (PyErr_Occurred()) SWIG_fail;
5292 }
093d3ff1
RD
5293 {
5294 resultobj = SWIG_From_int((int)(result));
5295 }
d14a1e28
RD
5296 return resultobj;
5297 fail:
5298 return NULL;
5299}
5300
5301
c32bde28 5302static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5303 PyObject *resultobj;
5304 wxFrame *arg1 = (wxFrame *) 0 ;
5305 long arg2 = (long) -1 ;
e811c8ce 5306 int arg3 = (int) -1 ;
d14a1e28
RD
5307 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5308 wxString *arg4 = (wxString *) &arg4_defvalue ;
5309 wxToolBar *result;
ae8162c8 5310 bool temp4 = false ;
d14a1e28 5311 PyObject * obj0 = 0 ;
994141e6
RD
5312 PyObject * obj1 = 0 ;
5313 PyObject * obj2 = 0 ;
d14a1e28
RD
5314 PyObject * obj3 = 0 ;
5315 char *kwnames[] = {
5316 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5317 };
5318
994141e6 5319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
5320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5321 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 5322 if (obj1) {
093d3ff1
RD
5323 {
5324 arg2 = (long)(SWIG_As_long(obj1));
5325 if (SWIG_arg_fail(2)) SWIG_fail;
5326 }
994141e6
RD
5327 }
5328 if (obj2) {
093d3ff1
RD
5329 {
5330 arg3 = (int)(SWIG_As_int(obj2));
5331 if (SWIG_arg_fail(3)) SWIG_fail;
5332 }
994141e6 5333 }
d14a1e28
RD
5334 if (obj3) {
5335 {
5336 arg4 = wxString_in_helper(obj3);
5337 if (arg4 == NULL) SWIG_fail;
ae8162c8 5338 temp4 = true;
d14a1e28
RD
5339 }
5340 }
5341 {
5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
5343 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5344
5345 wxPyEndAllowThreads(__tstate);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 {
412d302d 5349 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5350 }
5351 {
5352 if (temp4)
5353 delete arg4;
5354 }
5355 return resultobj;
5356 fail:
5357 {
5358 if (temp4)
5359 delete arg4;
5360 }
5361 return NULL;
5362}
5363
5364
c32bde28 5365static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5366 PyObject *resultobj;
5367 wxFrame *arg1 = (wxFrame *) 0 ;
5368 wxToolBar *result;
5369 PyObject * obj0 = 0 ;
5370 char *kwnames[] = {
5371 (char *) "self", NULL
5372 };
5373
5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5376 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 {
412d302d 5385 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5386 }
5387 return resultobj;
5388 fail:
5389 return NULL;
5390}
5391
5392
c32bde28 5393static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5394 PyObject *resultobj;
5395 wxFrame *arg1 = (wxFrame *) 0 ;
5396 wxToolBar *arg2 = (wxToolBar *) 0 ;
5397 PyObject * obj0 = 0 ;
5398 PyObject * obj1 = 0 ;
5399 char *kwnames[] = {
5400 (char *) "self",(char *) "toolbar", NULL
5401 };
5402
5403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5405 if (SWIG_arg_fail(1)) SWIG_fail;
5406 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5407 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 (arg1)->SetToolBar(arg2);
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 Py_INCREF(Py_None); resultobj = Py_None;
5416 return resultobj;
5417 fail:
5418 return NULL;
5419}
5420
5421
c32bde28 5422static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5423 PyObject *resultobj;
5424 wxFrame *arg1 = (wxFrame *) 0 ;
5425 wxString *arg2 = 0 ;
5426 bool arg3 ;
ae8162c8 5427 bool temp2 = false ;
d14a1e28
RD
5428 PyObject * obj0 = 0 ;
5429 PyObject * obj1 = 0 ;
5430 PyObject * obj2 = 0 ;
5431 char *kwnames[] = {
5432 (char *) "self",(char *) "text",(char *) "show", NULL
5433 };
5434
5435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5437 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5438 {
5439 arg2 = wxString_in_helper(obj1);
5440 if (arg2 == NULL) SWIG_fail;
ae8162c8 5441 temp2 = true;
d14a1e28 5442 }
093d3ff1
RD
5443 {
5444 arg3 = (bool)(SWIG_As_bool(obj2));
5445 if (SWIG_arg_fail(3)) SWIG_fail;
5446 }
d14a1e28
RD
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5450
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 Py_INCREF(Py_None); resultobj = Py_None;
5455 {
5456 if (temp2)
5457 delete arg2;
5458 }
5459 return resultobj;
5460 fail:
5461 {
5462 if (temp2)
5463 delete arg2;
5464 }
5465 return NULL;
5466}
5467
5468
c32bde28 5469static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5470 PyObject *resultobj;
5471 wxFrame *arg1 = (wxFrame *) 0 ;
5472 wxMenu *arg2 = (wxMenu *) NULL ;
5473 PyObject * obj0 = 0 ;
5474 PyObject * obj1 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "self",(char *) "menu", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5481 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5482 if (obj1) {
093d3ff1
RD
5483 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5484 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5485 }
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 (arg1)->DoMenuUpdates(arg2);
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 Py_INCREF(Py_None); resultobj = Py_None;
5494 return resultobj;
5495 fail:
5496 return NULL;
5497}
5498
5499
c32bde28 5500static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 5501 PyObject *resultobj;
093d3ff1 5502 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
5503 wxVisualAttributes result;
5504 PyObject * obj0 = 0 ;
5505 char *kwnames[] = {
5506 (char *) "variant", NULL
5507 };
5508
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5510 if (obj0) {
093d3ff1
RD
5511 {
5512 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5513 if (SWIG_arg_fail(1)) SWIG_fail;
5514 }
22bfe96c
RD
5515 }
5516 {
e3b71cb8 5517 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5520
5521 wxPyEndAllowThreads(__tstate);
110da5b0 5522 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5523 }
5524 {
5525 wxVisualAttributes * resultptr;
093d3ff1 5526 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
5527 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5528 }
5529 return resultobj;
5530 fail:
5531 return NULL;
5532}
5533
5534
c32bde28 5535static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5536 PyObject *obj;
5537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5538 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5539 Py_INCREF(obj);
5540 return Py_BuildValue((char *)"");
5541}
c32bde28 5542static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5543 PyObject *resultobj;
5544 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5545 int arg2 = (int) (int)-1 ;
5546 wxString const &arg3_defvalue = wxPyEmptyString ;
5547 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
5548 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5549 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5550 wxSize const &arg5_defvalue = wxDefaultSize ;
5551 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5552 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5553 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5554 wxString *arg7 = (wxString *) &arg7_defvalue ;
5555 wxDialog *result;
ae8162c8 5556 bool temp3 = false ;
d14a1e28
RD
5557 wxPoint temp4 ;
5558 wxSize temp5 ;
ae8162c8 5559 bool temp7 = false ;
d14a1e28 5560 PyObject * obj0 = 0 ;
994141e6 5561 PyObject * obj1 = 0 ;
d14a1e28
RD
5562 PyObject * obj2 = 0 ;
5563 PyObject * obj3 = 0 ;
5564 PyObject * obj4 = 0 ;
994141e6 5565 PyObject * obj5 = 0 ;
d14a1e28
RD
5566 PyObject * obj6 = 0 ;
5567 char *kwnames[] = {
5568 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5569 };
5570
248ed943 5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5573 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5574 if (obj1) {
093d3ff1
RD
5575 {
5576 arg2 = (int const)(SWIG_As_int(obj1));
5577 if (SWIG_arg_fail(2)) SWIG_fail;
5578 }
248ed943
RD
5579 }
5580 if (obj2) {
5581 {
5582 arg3 = wxString_in_helper(obj2);
5583 if (arg3 == NULL) SWIG_fail;
ae8162c8 5584 temp3 = true;
248ed943 5585 }
d14a1e28
RD
5586 }
5587 if (obj3) {
5588 {
5589 arg4 = &temp4;
5590 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5591 }
5592 }
5593 if (obj4) {
5594 {
5595 arg5 = &temp5;
5596 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5597 }
5598 }
994141e6 5599 if (obj5) {
093d3ff1
RD
5600 {
5601 arg6 = (long)(SWIG_As_long(obj5));
5602 if (SWIG_arg_fail(6)) SWIG_fail;
5603 }
994141e6 5604 }
d14a1e28
RD
5605 if (obj6) {
5606 {
5607 arg7 = wxString_in_helper(obj6);
5608 if (arg7 == NULL) SWIG_fail;
ae8162c8 5609 temp7 = true;
d14a1e28
RD
5610 }
5611 }
5612 {
e3b71cb8 5613 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
5615 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5616
5617 wxPyEndAllowThreads(__tstate);
110da5b0 5618 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5619 }
b0f7404b 5620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
5621 {
5622 if (temp3)
5623 delete arg3;
5624 }
5625 {
5626 if (temp7)
5627 delete arg7;
5628 }
5629 return resultobj;
5630 fail:
5631 {
5632 if (temp3)
5633 delete arg3;
5634 }
5635 {
5636 if (temp7)
5637 delete arg7;
5638 }
5639 return NULL;
5640}
5641
5642
c32bde28 5643static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5644 PyObject *resultobj;
5645 wxDialog *result;
5646 char *kwnames[] = {
5647 NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5651 {
e3b71cb8 5652 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 result = (wxDialog *)new wxDialog();
5655
5656 wxPyEndAllowThreads(__tstate);
110da5b0 5657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5658 }
b0f7404b 5659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
5660 return resultobj;
5661 fail:
5662 return NULL;
5663}
5664
5665
c32bde28 5666static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5667 PyObject *resultobj;
5668 wxDialog *arg1 = (wxDialog *) 0 ;
5669 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5670 int arg3 = (int) (int)-1 ;
5671 wxString const &arg4_defvalue = wxPyEmptyString ;
5672 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
5673 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5674 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5675 wxSize const &arg6_defvalue = wxDefaultSize ;
5676 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5677 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5678 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5679 wxString *arg8 = (wxString *) &arg8_defvalue ;
5680 bool result;
ae8162c8 5681 bool temp4 = false ;
d14a1e28
RD
5682 wxPoint temp5 ;
5683 wxSize temp6 ;
ae8162c8 5684 bool temp8 = false ;
d14a1e28
RD
5685 PyObject * obj0 = 0 ;
5686 PyObject * obj1 = 0 ;
994141e6 5687 PyObject * obj2 = 0 ;
d14a1e28
RD
5688 PyObject * obj3 = 0 ;
5689 PyObject * obj4 = 0 ;
5690 PyObject * obj5 = 0 ;
994141e6 5691 PyObject * obj6 = 0 ;
d14a1e28
RD
5692 PyObject * obj7 = 0 ;
5693 char *kwnames[] = {
5694 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5695 };
5696
248ed943 5697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5699 if (SWIG_arg_fail(1)) SWIG_fail;
5700 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5701 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5702 if (obj2) {
093d3ff1
RD
5703 {
5704 arg3 = (int const)(SWIG_As_int(obj2));
5705 if (SWIG_arg_fail(3)) SWIG_fail;
5706 }
248ed943
RD
5707 }
5708 if (obj3) {
5709 {
5710 arg4 = wxString_in_helper(obj3);
5711 if (arg4 == NULL) SWIG_fail;
ae8162c8 5712 temp4 = true;
248ed943 5713 }
d14a1e28
RD
5714 }
5715 if (obj4) {
5716 {
5717 arg5 = &temp5;
5718 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5719 }
5720 }
5721 if (obj5) {
5722 {
5723 arg6 = &temp6;
5724 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5725 }
5726 }
994141e6 5727 if (obj6) {
093d3ff1
RD
5728 {
5729 arg7 = (long)(SWIG_As_long(obj6));
5730 if (SWIG_arg_fail(7)) SWIG_fail;
5731 }
994141e6 5732 }
d14a1e28
RD
5733 if (obj7) {
5734 {
5735 arg8 = wxString_in_helper(obj7);
5736 if (arg8 == NULL) SWIG_fail;
ae8162c8 5737 temp8 = true;
d14a1e28
RD
5738 }
5739 }
5740 {
5741 PyThreadState* __tstate = wxPyBeginAllowThreads();
5742 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5743
5744 wxPyEndAllowThreads(__tstate);
5745 if (PyErr_Occurred()) SWIG_fail;
5746 }
4f89f6a3
RD
5747 {
5748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5749 }
d14a1e28
RD
5750 {
5751 if (temp4)
5752 delete arg4;
5753 }
5754 {
5755 if (temp8)
5756 delete arg8;
5757 }
5758 return resultobj;
5759 fail:
5760 {
5761 if (temp4)
5762 delete arg4;
5763 }
5764 {
5765 if (temp8)
5766 delete arg8;
5767 }
5768 return NULL;
5769}
5770
5771
c32bde28 5772static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5773 PyObject *resultobj;
5774 wxDialog *arg1 = (wxDialog *) 0 ;
5775 int arg2 ;
5776 PyObject * obj0 = 0 ;
994141e6 5777 PyObject * obj1 = 0 ;
d14a1e28
RD
5778 char *kwnames[] = {
5779 (char *) "self",(char *) "returnCode", NULL
5780 };
5781
994141e6 5782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5784 if (SWIG_arg_fail(1)) SWIG_fail;
5785 {
5786 arg2 = (int)(SWIG_As_int(obj1));
5787 if (SWIG_arg_fail(2)) SWIG_fail;
5788 }
d14a1e28
RD
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 (arg1)->SetReturnCode(arg2);
5792
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 Py_INCREF(Py_None); resultobj = Py_None;
5797 return resultobj;
5798 fail:
5799 return NULL;
5800}
5801
5802
c32bde28 5803static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5804 PyObject *resultobj;
5805 wxDialog *arg1 = (wxDialog *) 0 ;
5806 int result;
5807 PyObject * obj0 = 0 ;
5808 char *kwnames[] = {
5809 (char *) "self", NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
5813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5814 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5815 {
5816 PyThreadState* __tstate = wxPyBeginAllowThreads();
5817 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5818
5819 wxPyEndAllowThreads(__tstate);
5820 if (PyErr_Occurred()) SWIG_fail;
5821 }
093d3ff1
RD
5822 {
5823 resultobj = SWIG_From_int((int)(result));
5824 }
d14a1e28
RD
5825 return resultobj;
5826 fail:
5827 return NULL;
5828}
5829
5830
c32bde28 5831static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5832 PyObject *resultobj;
5833 wxDialog *arg1 = (wxDialog *) 0 ;
5834 wxString *arg2 = 0 ;
5835 wxSizer *result;
ae8162c8 5836 bool temp2 = false ;
d14a1e28
RD
5837 PyObject * obj0 = 0 ;
5838 PyObject * obj1 = 0 ;
5839 char *kwnames[] = {
5840 (char *) "self",(char *) "message", NULL
5841 };
5842
5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5845 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5846 {
5847 arg2 = wxString_in_helper(obj1);
5848 if (arg2 == NULL) SWIG_fail;
ae8162c8 5849 temp2 = true;
d14a1e28
RD
5850 }
5851 {
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5854
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 {
412d302d 5859 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
5860 }
5861 {
5862 if (temp2)
5863 delete arg2;
5864 }
5865 return resultobj;
5866 fail:
5867 {
5868 if (temp2)
5869 delete arg2;
5870 }
5871 return NULL;
5872}
5873
5874
c32bde28 5875static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5876 PyObject *resultobj;
5877 wxDialog *arg1 = (wxDialog *) 0 ;
5878 long arg2 ;
5879 wxSizer *result;
5880 PyObject * obj0 = 0 ;
994141e6 5881 PyObject * obj1 = 0 ;
d14a1e28
RD
5882 char *kwnames[] = {
5883 (char *) "self",(char *) "flags", NULL
5884 };
5885
994141e6 5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5888 if (SWIG_arg_fail(1)) SWIG_fail;
5889 {
5890 arg2 = (long)(SWIG_As_long(obj1));
5891 if (SWIG_arg_fail(2)) SWIG_fail;
5892 }
d14a1e28
RD
5893 {
5894 PyThreadState* __tstate = wxPyBeginAllowThreads();
5895 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5896
5897 wxPyEndAllowThreads(__tstate);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 }
5900 {
412d302d 5901 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
5902 }
5903 return resultobj;
5904 fail:
5905 return NULL;
5906}
5907
5908
e505d15e
RD
5909static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5910 PyObject *resultobj;
5911 wxDialog *arg1 = (wxDialog *) 0 ;
5912 long arg2 ;
5913 wxStdDialogButtonSizer *result;
5914 PyObject * obj0 = 0 ;
5915 PyObject * obj1 = 0 ;
5916 char *kwnames[] = {
5917 (char *) "self",(char *) "flags", NULL
5918 };
5919
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5922 if (SWIG_arg_fail(1)) SWIG_fail;
5923 {
5924 arg2 = (long)(SWIG_As_long(obj1));
5925 if (SWIG_arg_fail(2)) SWIG_fail;
5926 }
5927 {
5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
5929 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
5930
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
5935 return resultobj;
5936 fail:
5937 return NULL;
5938}
5939
5940
c32bde28 5941static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5942 PyObject *resultobj;
5943 wxDialog *arg1 = (wxDialog *) 0 ;
5944 bool result;
5945 PyObject * obj0 = 0 ;
5946 char *kwnames[] = {
5947 (char *) "self", NULL
5948 };
5949
5950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
5951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5952 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 result = (bool)((wxDialog const *)arg1)->IsModal();
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
4f89f6a3
RD
5960 {
5961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5962 }
d14a1e28
RD
5963 return resultobj;
5964 fail:
5965 return NULL;
5966}
5967
5968
c32bde28 5969static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5970 PyObject *resultobj;
5971 wxDialog *arg1 = (wxDialog *) 0 ;
5972 int result;
5973 PyObject * obj0 = 0 ;
5974 char *kwnames[] = {
5975 (char *) "self", NULL
5976 };
5977
5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
5979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5980 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 result = (int)(arg1)->ShowModal();
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
093d3ff1
RD
5988 {
5989 resultobj = SWIG_From_int((int)(result));
5990 }
d14a1e28
RD
5991 return resultobj;
5992 fail:
5993 return NULL;
5994}
5995
5996
c32bde28 5997static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5998 PyObject *resultobj;
5999 wxDialog *arg1 = (wxDialog *) 0 ;
6000 int arg2 ;
6001 PyObject * obj0 = 0 ;
994141e6 6002 PyObject * obj1 = 0 ;
d14a1e28
RD
6003 char *kwnames[] = {
6004 (char *) "self",(char *) "retCode", NULL
6005 };
6006
994141e6 6007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6009 if (SWIG_arg_fail(1)) SWIG_fail;
6010 {
6011 arg2 = (int)(SWIG_As_int(obj1));
6012 if (SWIG_arg_fail(2)) SWIG_fail;
6013 }
d14a1e28
RD
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 (arg1)->EndModal(arg2);
6017
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 Py_INCREF(Py_None); resultobj = Py_None;
6022 return resultobj;
6023 fail:
6024 return NULL;
6025}
6026
6027
c32bde28 6028static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 6029 PyObject *resultobj;
093d3ff1 6030 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6031 wxVisualAttributes result;
6032 PyObject * obj0 = 0 ;
6033 char *kwnames[] = {
6034 (char *) "variant", NULL
6035 };
6036
6037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6038 if (obj0) {
093d3ff1
RD
6039 {
6040 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6041 if (SWIG_arg_fail(1)) SWIG_fail;
6042 }
22bfe96c
RD
6043 }
6044 {
e3b71cb8 6045 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6046 PyThreadState* __tstate = wxPyBeginAllowThreads();
6047 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6048
6049 wxPyEndAllowThreads(__tstate);
110da5b0 6050 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6051 }
6052 {
6053 wxVisualAttributes * resultptr;
093d3ff1 6054 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
6055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6056 }
6057 return resultobj;
6058 fail:
6059 return NULL;
6060}
6061
6062
c32bde28 6063static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6064 PyObject *obj;
6065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6066 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6067 Py_INCREF(obj);
6068 return Py_BuildValue((char *)"");
6069}
c32bde28 6070static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6071 PyObject *resultobj;
6072 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6073 int arg2 = (int) (int)-1 ;
6074 wxString const &arg3_defvalue = wxPyEmptyString ;
6075 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
6076 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6077 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6078 wxSize const &arg5_defvalue = wxDefaultSize ;
6079 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6080 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6081 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6082 wxString *arg7 = (wxString *) &arg7_defvalue ;
6083 wxMiniFrame *result;
ae8162c8 6084 bool temp3 = false ;
d14a1e28
RD
6085 wxPoint temp4 ;
6086 wxSize temp5 ;
ae8162c8 6087 bool temp7 = false ;
d14a1e28 6088 PyObject * obj0 = 0 ;
994141e6 6089 PyObject * obj1 = 0 ;
d14a1e28
RD
6090 PyObject * obj2 = 0 ;
6091 PyObject * obj3 = 0 ;
6092 PyObject * obj4 = 0 ;
994141e6 6093 PyObject * obj5 = 0 ;
d14a1e28
RD
6094 PyObject * obj6 = 0 ;
6095 char *kwnames[] = {
6096 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6097 };
6098
248ed943 6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6101 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6102 if (obj1) {
093d3ff1
RD
6103 {
6104 arg2 = (int const)(SWIG_As_int(obj1));
6105 if (SWIG_arg_fail(2)) SWIG_fail;
6106 }
248ed943
RD
6107 }
6108 if (obj2) {
6109 {
6110 arg3 = wxString_in_helper(obj2);
6111 if (arg3 == NULL) SWIG_fail;
ae8162c8 6112 temp3 = true;
248ed943 6113 }
d14a1e28
RD
6114 }
6115 if (obj3) {
6116 {
6117 arg4 = &temp4;
6118 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6119 }
6120 }
6121 if (obj4) {
6122 {
6123 arg5 = &temp5;
6124 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6125 }
6126 }
994141e6 6127 if (obj5) {
093d3ff1
RD
6128 {
6129 arg6 = (long)(SWIG_As_long(obj5));
6130 if (SWIG_arg_fail(6)) SWIG_fail;
6131 }
994141e6 6132 }
d14a1e28
RD
6133 if (obj6) {
6134 {
6135 arg7 = wxString_in_helper(obj6);
6136 if (arg7 == NULL) SWIG_fail;
ae8162c8 6137 temp7 = true;
d14a1e28
RD
6138 }
6139 }
6140 {
e3b71cb8 6141 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6144
6145 wxPyEndAllowThreads(__tstate);
110da5b0 6146 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6147 }
15afbcd0 6148 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
6149 {
6150 if (temp3)
6151 delete arg3;
6152 }
6153 {
6154 if (temp7)
6155 delete arg7;
6156 }
6157 return resultobj;
6158 fail:
6159 {
6160 if (temp3)
6161 delete arg3;
6162 }
6163 {
6164 if (temp7)
6165 delete arg7;
6166 }
6167 return NULL;
6168}
6169
6170
c32bde28 6171static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6172 PyObject *resultobj;
6173 wxMiniFrame *result;
6174 char *kwnames[] = {
6175 NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6179 {
e3b71cb8 6180 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 result = (wxMiniFrame *)new wxMiniFrame();
6183
6184 wxPyEndAllowThreads(__tstate);
110da5b0 6185 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6186 }
15afbcd0 6187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
6188 return resultobj;
6189 fail:
6190 return NULL;
6191}
6192
6193
c32bde28 6194static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6195 PyObject *resultobj;
6196 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6197 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6198 int arg3 = (int) (int)-1 ;
6199 wxString const &arg4_defvalue = wxPyEmptyString ;
6200 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
6201 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6202 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6203 wxSize const &arg6_defvalue = wxDefaultSize ;
6204 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6205 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6206 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6207 wxString *arg8 = (wxString *) &arg8_defvalue ;
6208 bool result;
ae8162c8 6209 bool temp4 = false ;
d14a1e28
RD
6210 wxPoint temp5 ;
6211 wxSize temp6 ;
ae8162c8 6212 bool temp8 = false ;
d14a1e28
RD
6213 PyObject * obj0 = 0 ;
6214 PyObject * obj1 = 0 ;
994141e6 6215 PyObject * obj2 = 0 ;
d14a1e28
RD
6216 PyObject * obj3 = 0 ;
6217 PyObject * obj4 = 0 ;
6218 PyObject * obj5 = 0 ;
994141e6 6219 PyObject * obj6 = 0 ;
d14a1e28
RD
6220 PyObject * obj7 = 0 ;
6221 char *kwnames[] = {
6222 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6223 };
6224
248ed943 6225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6227 if (SWIG_arg_fail(1)) SWIG_fail;
6228 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6229 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6230 if (obj2) {
093d3ff1
RD
6231 {
6232 arg3 = (int const)(SWIG_As_int(obj2));
6233 if (SWIG_arg_fail(3)) SWIG_fail;
6234 }
248ed943
RD
6235 }
6236 if (obj3) {
6237 {
6238 arg4 = wxString_in_helper(obj3);
6239 if (arg4 == NULL) SWIG_fail;
ae8162c8 6240 temp4 = true;
248ed943 6241 }
d14a1e28
RD
6242 }
6243 if (obj4) {
6244 {
6245 arg5 = &temp5;
6246 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6247 }
6248 }
6249 if (obj5) {
6250 {
6251 arg6 = &temp6;
6252 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6253 }
6254 }
994141e6 6255 if (obj6) {
093d3ff1
RD
6256 {
6257 arg7 = (long)(SWIG_As_long(obj6));
6258 if (SWIG_arg_fail(7)) SWIG_fail;
6259 }
994141e6 6260 }
d14a1e28
RD
6261 if (obj7) {
6262 {
6263 arg8 = wxString_in_helper(obj7);
6264 if (arg8 == NULL) SWIG_fail;
ae8162c8 6265 temp8 = true;
d14a1e28
RD
6266 }
6267 }
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
4f89f6a3
RD
6275 {
6276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6277 }
d14a1e28
RD
6278 {
6279 if (temp4)
6280 delete arg4;
6281 }
6282 {
6283 if (temp8)
6284 delete arg8;
6285 }
6286 return resultobj;
6287 fail:
6288 {
6289 if (temp4)
6290 delete arg4;
6291 }
6292 {
6293 if (temp8)
6294 delete arg8;
6295 }
6296 return NULL;
6297}
6298
6299
c32bde28 6300static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6301 PyObject *obj;
6302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6303 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6304 Py_INCREF(obj);
6305 return Py_BuildValue((char *)"");
6306}
c32bde28 6307static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6308 PyObject *resultobj;
6309 wxBitmap *arg1 = 0 ;
6310 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 6311 int arg3 ;
d14a1e28
RD
6312 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6313 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6314 wxSize const &arg5_defvalue = wxDefaultSize ;
6315 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6316 long arg6 = (long) wxNO_BORDER ;
6317 wxSplashScreenWindow *result;
6318 wxPoint temp4 ;
6319 wxSize temp5 ;
6320 PyObject * obj0 = 0 ;
6321 PyObject * obj1 = 0 ;
994141e6 6322 PyObject * obj2 = 0 ;
d14a1e28
RD
6323 PyObject * obj3 = 0 ;
6324 PyObject * obj4 = 0 ;
994141e6 6325 PyObject * obj5 = 0 ;
d14a1e28
RD
6326 char *kwnames[] = {
6327 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6328 };
6329
994141e6 6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6331 {
6332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6333 if (SWIG_arg_fail(1)) SWIG_fail;
6334 if (arg1 == NULL) {
6335 SWIG_null_ref("wxBitmap");
6336 }
6337 if (SWIG_arg_fail(1)) SWIG_fail;
6338 }
6339 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6340 if (SWIG_arg_fail(2)) SWIG_fail;
6341 {
6342 arg3 = (int)(SWIG_As_int(obj2));
6343 if (SWIG_arg_fail(3)) SWIG_fail;
6344 }
d14a1e28
RD
6345 if (obj3) {
6346 {
6347 arg4 = &temp4;
6348 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6349 }
6350 }
6351 if (obj4) {
6352 {
6353 arg5 = &temp5;
6354 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6355 }
6356 }
994141e6 6357 if (obj5) {
093d3ff1
RD
6358 {
6359 arg6 = (long)(SWIG_As_long(obj5));
6360 if (SWIG_arg_fail(6)) SWIG_fail;
6361 }
994141e6 6362 }
d14a1e28 6363 {
e3b71cb8 6364 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6367
6368 wxPyEndAllowThreads(__tstate);
110da5b0 6369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6370 }
15afbcd0 6371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
d14a1e28
RD
6372 return resultobj;
6373 fail:
6374 return NULL;
6375}
6376
6377
c32bde28 6378static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6379 PyObject *resultobj;
6380 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6381 wxBitmap *arg2 = 0 ;
6382 PyObject * obj0 = 0 ;
6383 PyObject * obj1 = 0 ;
6384 char *kwnames[] = {
6385 (char *) "self",(char *) "bitmap", NULL
6386 };
6387
6388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6390 if (SWIG_arg_fail(1)) SWIG_fail;
6391 {
6392 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6393 if (SWIG_arg_fail(2)) SWIG_fail;
6394 if (arg2 == NULL) {
6395 SWIG_null_ref("wxBitmap");
6396 }
6397 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6398 }
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
6401 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6402
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 Py_INCREF(Py_None); resultobj = Py_None;
6407 return resultobj;
6408 fail:
6409 return NULL;
6410}
6411
6412
c32bde28 6413static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6414 PyObject *resultobj;
6415 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6416 wxBitmap *result;
6417 PyObject * obj0 = 0 ;
6418 char *kwnames[] = {
6419 (char *) "self", NULL
6420 };
6421
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
6423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6424 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 {
6428 wxBitmap &_result_ref = (arg1)->GetBitmap();
6429 result = (wxBitmap *) &_result_ref;
6430 }
6431
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
4276dc52
RD
6435 {
6436 wxBitmap* resultptr = new wxBitmap(*result);
6437 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6438 }
d14a1e28
RD
6439 return resultobj;
6440 fail:
6441 return NULL;
6442}
6443
6444
c32bde28 6445static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6446 PyObject *obj;
6447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6448 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6449 Py_INCREF(obj);
6450 return Py_BuildValue((char *)"");
6451}
c32bde28 6452static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6453 PyObject *resultobj;
6454 wxBitmap *arg1 = 0 ;
6455 long arg2 ;
6456 int arg3 ;
6457 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 6458 int arg5 = (int) -1 ;
d14a1e28
RD
6459 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6460 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6461 wxSize const &arg7_defvalue = wxDefaultSize ;
6462 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6463 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6464 wxSplashScreen *result;
6465 wxPoint temp6 ;
6466 wxSize temp7 ;
6467 PyObject * obj0 = 0 ;
994141e6
RD
6468 PyObject * obj1 = 0 ;
6469 PyObject * obj2 = 0 ;
d14a1e28 6470 PyObject * obj3 = 0 ;
994141e6 6471 PyObject * obj4 = 0 ;
d14a1e28
RD
6472 PyObject * obj5 = 0 ;
6473 PyObject * obj6 = 0 ;
994141e6 6474 PyObject * obj7 = 0 ;
d14a1e28
RD
6475 char *kwnames[] = {
6476 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6477 };
6478
248ed943 6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6480 {
6481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6482 if (SWIG_arg_fail(1)) SWIG_fail;
6483 if (arg1 == NULL) {
6484 SWIG_null_ref("wxBitmap");
6485 }
6486 if (SWIG_arg_fail(1)) SWIG_fail;
6487 }
6488 {
6489 arg2 = (long)(SWIG_As_long(obj1));
6490 if (SWIG_arg_fail(2)) SWIG_fail;
6491 }
6492 {
6493 arg3 = (int)(SWIG_As_int(obj2));
6494 if (SWIG_arg_fail(3)) SWIG_fail;
6495 }
6496 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6497 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 6498 if (obj4) {
093d3ff1
RD
6499 {
6500 arg5 = (int)(SWIG_As_int(obj4));
6501 if (SWIG_arg_fail(5)) SWIG_fail;
6502 }
248ed943 6503 }
d14a1e28
RD
6504 if (obj5) {
6505 {
6506 arg6 = &temp6;
6507 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6508 }
6509 }
6510 if (obj6) {
6511 {
6512 arg7 = &temp7;
6513 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6514 }
6515 }
994141e6 6516 if (obj7) {
093d3ff1
RD
6517 {
6518 arg8 = (long)(SWIG_As_long(obj7));
6519 if (SWIG_arg_fail(8)) SWIG_fail;
6520 }
994141e6 6521 }
d14a1e28 6522 {
e3b71cb8 6523 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6526
6527 wxPyEndAllowThreads(__tstate);
110da5b0 6528 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6529 }
15afbcd0 6530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
d14a1e28
RD
6531 return resultobj;
6532 fail:
6533 return NULL;
6534}
6535
6536
c32bde28 6537static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6538 PyObject *resultobj;
6539 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6540 long result;
6541 PyObject * obj0 = 0 ;
6542 char *kwnames[] = {
6543 (char *) "self", NULL
6544 };
6545
6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
6547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6548 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6552
6553 wxPyEndAllowThreads(__tstate);
6554 if (PyErr_Occurred()) SWIG_fail;
6555 }
093d3ff1
RD
6556 {
6557 resultobj = SWIG_From_long((long)(result));
6558 }
d14a1e28
RD
6559 return resultobj;
6560 fail:
6561 return NULL;
6562}
6563
6564
c32bde28 6565static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6566 PyObject *resultobj;
6567 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6568 wxSplashScreenWindow *result;
6569 PyObject * obj0 = 0 ;
6570 char *kwnames[] = {
6571 (char *) "self", NULL
6572 };
6573
6574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6576 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
15afbcd0 6584 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
d14a1e28
RD
6585 return resultobj;
6586 fail:
6587 return NULL;
6588}
6589
6590
c32bde28 6591static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6592 PyObject *resultobj;
6593 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6594 int result;
6595 PyObject * obj0 = 0 ;
6596 char *kwnames[] = {
6597 (char *) "self", NULL
6598 };
6599
6600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
093d3ff1
RD
6601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6602 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6603 {
6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
6605 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6606
6607 wxPyEndAllowThreads(__tstate);
6608 if (PyErr_Occurred()) SWIG_fail;
6609 }
093d3ff1
RD
6610 {
6611 resultobj = SWIG_From_int((int)(result));
6612 }
d14a1e28
RD
6613 return resultobj;
6614 fail:
6615 return NULL;
6616}
6617
6618
c32bde28 6619static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6620 PyObject *obj;
6621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6622 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6623 Py_INCREF(obj);
6624 return Py_BuildValue((char *)"");
6625}
c32bde28 6626static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6627 PyObject *resultobj;
6628 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 6629 int arg2 = (int) -1 ;
4276dc52 6630 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
d14a1e28
RD
6631 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6632 wxString *arg4 = (wxString *) &arg4_defvalue ;
6633 wxStatusBar *result;
ae8162c8 6634 bool temp4 = false ;
d14a1e28 6635 PyObject * obj0 = 0 ;
994141e6
RD
6636 PyObject * obj1 = 0 ;
6637 PyObject * obj2 = 0 ;
d14a1e28
RD
6638 PyObject * obj3 = 0 ;
6639 char *kwnames[] = {
6640 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6641 };
6642
994141e6 6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6645 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 6646 if (obj1) {
093d3ff1
RD
6647 {
6648 arg2 = (int)(SWIG_As_int(obj1));
6649 if (SWIG_arg_fail(2)) SWIG_fail;
6650 }
994141e6
RD
6651 }
6652 if (obj2) {
093d3ff1
RD
6653 {
6654 arg3 = (long)(SWIG_As_long(obj2));
6655 if (SWIG_arg_fail(3)) SWIG_fail;
6656 }
994141e6 6657 }
d14a1e28
RD
6658 if (obj3) {
6659 {
6660 arg4 = wxString_in_helper(obj3);
6661 if (arg4 == NULL) SWIG_fail;
ae8162c8 6662 temp4 = true;
d14a1e28
RD
6663 }
6664 }
6665 {
e3b71cb8 6666 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6669
6670 wxPyEndAllowThreads(__tstate);
110da5b0 6671 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6672 }
b0f7404b 6673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d14a1e28
RD
6674 {
6675 if (temp4)
6676 delete arg4;
6677 }
6678 return resultobj;
6679 fail:
6680 {
6681 if (temp4)
6682 delete arg4;
6683 }
6684 return NULL;
6685}
6686
6687
c32bde28 6688static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6689 PyObject *resultobj;
6690 wxStatusBar *result;
6691 char *kwnames[] = {
6692 NULL
6693 };
6694
6695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6696 {
e3b71cb8 6697 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = (wxStatusBar *)new wxStatusBar();
6700
6701 wxPyEndAllowThreads(__tstate);
110da5b0 6702 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6703 }
b0f7404b 6704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d14a1e28
RD
6705 return resultobj;
6706 fail:
6707 return NULL;
6708}
6709
6710
c32bde28 6711static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6712 PyObject *resultobj;
6713 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6714 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6715 int arg3 = (int) -1 ;
d14a1e28
RD
6716 long arg4 = (long) wxST_SIZEGRIP ;
6717 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6718 wxString *arg5 = (wxString *) &arg5_defvalue ;
6719 bool result;
ae8162c8 6720 bool temp5 = false ;
d14a1e28
RD
6721 PyObject * obj0 = 0 ;
6722 PyObject * obj1 = 0 ;
994141e6
RD
6723 PyObject * obj2 = 0 ;
6724 PyObject * obj3 = 0 ;
d14a1e28
RD
6725 PyObject * obj4 = 0 ;
6726 char *kwnames[] = {
6727 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6728 };
6729
248ed943 6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6732 if (SWIG_arg_fail(1)) SWIG_fail;
6733 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6734 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6735 if (obj2) {
093d3ff1
RD
6736 {
6737 arg3 = (int)(SWIG_As_int(obj2));
6738 if (SWIG_arg_fail(3)) SWIG_fail;
6739 }
248ed943 6740 }
994141e6 6741 if (obj3) {
093d3ff1
RD
6742 {
6743 arg4 = (long)(SWIG_As_long(obj3));
6744 if (SWIG_arg_fail(4)) SWIG_fail;
6745 }
994141e6 6746 }
d14a1e28
RD
6747 if (obj4) {
6748 {
6749 arg5 = wxString_in_helper(obj4);
6750 if (arg5 == NULL) SWIG_fail;
ae8162c8 6751 temp5 = true;
d14a1e28
RD
6752 }
6753 }
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
4f89f6a3
RD
6761 {
6762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6763 }
d14a1e28
RD
6764 {
6765 if (temp5)
6766 delete arg5;
6767 }
6768 return resultobj;
6769 fail:
6770 {
6771 if (temp5)
6772 delete arg5;
6773 }
6774 return NULL;
6775}
6776
6777
c32bde28 6778static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6779 PyObject *resultobj;
6780 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6781 int arg2 = (int) 1 ;
6782 PyObject * obj0 = 0 ;
994141e6 6783 PyObject * obj1 = 0 ;
d14a1e28
RD
6784 char *kwnames[] = {
6785 (char *) "self",(char *) "number", NULL
6786 };
6787
994141e6 6788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6790 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 6791 if (obj1) {
093d3ff1
RD
6792 {
6793 arg2 = (int)(SWIG_As_int(obj1));
6794 if (SWIG_arg_fail(2)) SWIG_fail;
6795 }
994141e6 6796 }
d14a1e28
RD
6797 {
6798 PyThreadState* __tstate = wxPyBeginAllowThreads();
6799 (arg1)->SetFieldsCount(arg2);
6800
6801 wxPyEndAllowThreads(__tstate);
6802 if (PyErr_Occurred()) SWIG_fail;
6803 }
6804 Py_INCREF(Py_None); resultobj = Py_None;
6805 return resultobj;
6806 fail:
6807 return NULL;
6808}
6809
6810
c32bde28 6811static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6812 PyObject *resultobj;
6813 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6814 int result;
6815 PyObject * obj0 = 0 ;
6816 char *kwnames[] = {
6817 (char *) "self", NULL
6818 };
6819
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
6821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6822 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6823 {
6824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6825 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6826
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
093d3ff1
RD
6830 {
6831 resultobj = SWIG_From_int((int)(result));
6832 }
d14a1e28
RD
6833 return resultobj;
6834 fail:
6835 return NULL;
6836}
6837
6838
c32bde28 6839static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6840 PyObject *resultobj;
6841 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6842 wxString *arg2 = 0 ;
6843 int arg3 = (int) 0 ;
ae8162c8 6844 bool temp2 = false ;
d14a1e28
RD
6845 PyObject * obj0 = 0 ;
6846 PyObject * obj1 = 0 ;
994141e6 6847 PyObject * obj2 = 0 ;
d14a1e28
RD
6848 char *kwnames[] = {
6849 (char *) "self",(char *) "text",(char *) "number", NULL
6850 };
6851
994141e6 6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6854 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6855 {
6856 arg2 = wxString_in_helper(obj1);
6857 if (arg2 == NULL) SWIG_fail;
ae8162c8 6858 temp2 = true;
d14a1e28 6859 }
994141e6 6860 if (obj2) {
093d3ff1
RD
6861 {
6862 arg3 = (int)(SWIG_As_int(obj2));
6863 if (SWIG_arg_fail(3)) SWIG_fail;
6864 }
994141e6 6865 }
d14a1e28
RD
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 Py_INCREF(Py_None); resultobj = Py_None;
6874 {
6875 if (temp2)
6876 delete arg2;
6877 }
6878 return resultobj;
6879 fail:
6880 {
6881 if (temp2)
6882 delete arg2;
6883 }
6884 return NULL;
6885}
6886
6887
c32bde28 6888static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6889 PyObject *resultobj;
6890 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6891 int arg2 = (int) 0 ;
6892 wxString result;
6893 PyObject * obj0 = 0 ;
994141e6 6894 PyObject * obj1 = 0 ;
d14a1e28
RD
6895 char *kwnames[] = {
6896 (char *) "self",(char *) "number", NULL
6897 };
6898
994141e6 6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6901 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 6902 if (obj1) {
093d3ff1
RD
6903 {
6904 arg2 = (int)(SWIG_As_int(obj1));
6905 if (SWIG_arg_fail(2)) SWIG_fail;
6906 }
994141e6 6907 }
d14a1e28
RD
6908 {
6909 PyThreadState* __tstate = wxPyBeginAllowThreads();
6910 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6911
6912 wxPyEndAllowThreads(__tstate);
6913 if (PyErr_Occurred()) SWIG_fail;
6914 }
6915 {
6916#if wxUSE_UNICODE
6917 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6918#else
6919 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6920#endif
6921 }
6922 return resultobj;
6923 fail:
6924 return NULL;
6925}
6926
6927
c32bde28 6928static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6929 PyObject *resultobj;
6930 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6931 wxString *arg2 = 0 ;
6932 int arg3 = (int) 0 ;
ae8162c8 6933 bool temp2 = false ;
d14a1e28
RD
6934 PyObject * obj0 = 0 ;
6935 PyObject * obj1 = 0 ;
994141e6 6936 PyObject * obj2 = 0 ;
d14a1e28
RD
6937 char *kwnames[] = {
6938 (char *) "self",(char *) "text",(char *) "number", NULL
6939 };
6940
994141e6 6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6943 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6944 {
6945 arg2 = wxString_in_helper(obj1);
6946 if (arg2 == NULL) SWIG_fail;
ae8162c8 6947 temp2 = true;
d14a1e28 6948 }
994141e6 6949 if (obj2) {
093d3ff1
RD
6950 {
6951 arg3 = (int)(SWIG_As_int(obj2));
6952 if (SWIG_arg_fail(3)) SWIG_fail;
6953 }
994141e6 6954 }
d14a1e28
RD
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6958
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 Py_INCREF(Py_None); resultobj = Py_None;
6963 {
6964 if (temp2)
6965 delete arg2;
6966 }
6967 return resultobj;
6968 fail:
6969 {
6970 if (temp2)
6971 delete arg2;
6972 }
6973 return NULL;
6974}
6975
6976
c32bde28 6977static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6978 PyObject *resultobj;
6979 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6980 int arg2 = (int) 0 ;
6981 PyObject * obj0 = 0 ;
994141e6 6982 PyObject * obj1 = 0 ;
d14a1e28
RD
6983 char *kwnames[] = {
6984 (char *) "self",(char *) "number", NULL
6985 };
6986
994141e6 6987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6989 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 6990 if (obj1) {
093d3ff1
RD
6991 {
6992 arg2 = (int)(SWIG_As_int(obj1));
6993 if (SWIG_arg_fail(2)) SWIG_fail;
6994 }
994141e6 6995 }
d14a1e28
RD
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 (arg1)->PopStatusText(arg2);
6999
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 Py_INCREF(Py_None); resultobj = Py_None;
7004 return resultobj;
7005 fail:
7006 return NULL;
7007}
7008
7009
c32bde28 7010static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7011 PyObject *resultobj;
7012 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7013 int arg2 ;
7014 int *arg3 = (int *) 0 ;
7015 PyObject * obj0 = 0 ;
7016 PyObject * obj1 = 0 ;
7017 char *kwnames[] = {
7018 (char *) "self",(char *) "widths", NULL
7019 };
7020
7021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7023 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7024 {
7025 arg2 = PyList_Size(obj1);
7026 arg3 = int_LIST_helper(obj1);
7027 if (arg3 == NULL) SWIG_fail;
7028 }
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 Py_INCREF(Py_None); resultobj = Py_None;
7037 {
7038 if (arg3) delete [] arg3;
7039 }
7040 return resultobj;
7041 fail:
7042 {
7043 if (arg3) delete [] arg3;
7044 }
7045 return NULL;
7046}
7047
7048
c32bde28 7049static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
f16ab95d
RD
7050 PyObject *resultobj;
7051 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7052 int arg2 ;
7053 int *arg3 = (int *) 0 ;
7054 PyObject * obj0 = 0 ;
7055 PyObject * obj1 = 0 ;
7056 char *kwnames[] = {
7057 (char *) "self",(char *) "styles", NULL
7058 };
7059
7060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7062 if (SWIG_arg_fail(1)) SWIG_fail;
f16ab95d
RD
7063 {
7064 arg2 = PyList_Size(obj1);
7065 arg3 = int_LIST_helper(obj1);
7066 if (arg3 == NULL) SWIG_fail;
7067 }
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7071
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 Py_INCREF(Py_None); resultobj = Py_None;
7076 {
7077 if (arg3) delete [] arg3;
7078 }
7079 return resultobj;
7080 fail:
7081 {
7082 if (arg3) delete [] arg3;
7083 }
7084 return NULL;
7085}
7086
7087
c32bde28 7088static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7089 PyObject *resultobj;
7090 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7091 int arg2 ;
7722248d 7092 wxRect result;
d14a1e28 7093 PyObject * obj0 = 0 ;
994141e6 7094 PyObject * obj1 = 0 ;
d14a1e28 7095 char *kwnames[] = {
7722248d 7096 (char *) "self",(char *) "i", NULL
d14a1e28
RD
7097 };
7098
994141e6 7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7101 if (SWIG_arg_fail(1)) SWIG_fail;
7102 {
7103 arg2 = (int)(SWIG_As_int(obj1));
7104 if (SWIG_arg_fail(2)) SWIG_fail;
7105 }
d14a1e28
RD
7106 {
7107 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 7108 result = wxStatusBar_GetFieldRect(arg1,arg2);
d14a1e28
RD
7109
7110 wxPyEndAllowThreads(__tstate);
7111 if (PyErr_Occurred()) SWIG_fail;
7112 }
7722248d
RD
7113 {
7114 wxRect * resultptr;
093d3ff1 7115 resultptr = new wxRect((wxRect &)(result));
15afbcd0 7116 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7722248d 7117 }
d14a1e28
RD
7118 return resultobj;
7119 fail:
7120 return NULL;
7121}
7122
7123
c32bde28 7124static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7125 PyObject *resultobj;
7126 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7127 int arg2 ;
7128 PyObject * obj0 = 0 ;
994141e6 7129 PyObject * obj1 = 0 ;
d14a1e28
RD
7130 char *kwnames[] = {
7131 (char *) "self",(char *) "height", NULL
7132 };
7133
994141e6 7134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7136 if (SWIG_arg_fail(1)) SWIG_fail;
7137 {
7138 arg2 = (int)(SWIG_As_int(obj1));
7139 if (SWIG_arg_fail(2)) SWIG_fail;
7140 }
d14a1e28
RD
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
7143 (arg1)->SetMinHeight(arg2);
7144
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 Py_INCREF(Py_None); resultobj = Py_None;
7149 return resultobj;
7150 fail:
7151 return NULL;
7152}
7153
7154
c32bde28 7155static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7156 PyObject *resultobj;
7157 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7158 int result;
7159 PyObject * obj0 = 0 ;
7160 char *kwnames[] = {
7161 (char *) "self", NULL
7162 };
7163
7164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
093d3ff1
RD
7165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7166 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7167 {
7168 PyThreadState* __tstate = wxPyBeginAllowThreads();
7169 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7170
7171 wxPyEndAllowThreads(__tstate);
7172 if (PyErr_Occurred()) SWIG_fail;
7173 }
093d3ff1
RD
7174 {
7175 resultobj = SWIG_From_int((int)(result));
7176 }
d14a1e28
RD
7177 return resultobj;
7178 fail:
7179 return NULL;
7180}
7181
7182
c32bde28 7183static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7184 PyObject *resultobj;
7185 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7186 int result;
7187 PyObject * obj0 = 0 ;
7188 char *kwnames[] = {
7189 (char *) "self", NULL
7190 };
7191
7192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
093d3ff1
RD
7193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7194 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7198
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
093d3ff1
RD
7202 {
7203 resultobj = SWIG_From_int((int)(result));
7204 }
d14a1e28
RD
7205 return resultobj;
7206 fail:
7207 return NULL;
7208}
7209
7210
c32bde28 7211static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 7212 PyObject *resultobj;
093d3ff1 7213 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
7214 wxVisualAttributes result;
7215 PyObject * obj0 = 0 ;
7216 char *kwnames[] = {
7217 (char *) "variant", NULL
7218 };
7219
7220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7221 if (obj0) {
093d3ff1
RD
7222 {
7223 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7224 if (SWIG_arg_fail(1)) SWIG_fail;
7225 }
22bfe96c
RD
7226 }
7227 {
e3b71cb8 7228 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7231
7232 wxPyEndAllowThreads(__tstate);
110da5b0 7233 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
7234 }
7235 {
7236 wxVisualAttributes * resultptr;
093d3ff1 7237 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
7238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7239 }
7240 return resultobj;
7241 fail:
7242 return NULL;
7243}
7244
7245
c32bde28 7246static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7247 PyObject *obj;
7248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7249 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7250 Py_INCREF(obj);
7251 return Py_BuildValue((char *)"");
7252}
c32bde28 7253static int _wrap_SplitterNameStr_set(PyObject *) {
b2dc1044
RD
7254 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7255 return 1;
7256}
7257
7258
093d3ff1 7259static PyObject *_wrap_SplitterNameStr_get(void) {
b2dc1044
RD
7260 PyObject *pyobj;
7261
7262 {
7263#if wxUSE_UNICODE
7264 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7265#else
7266 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7267#endif
7268 }
7269 return pyobj;
7270}
7271
7272
c32bde28 7273static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7274 PyObject *resultobj;
7275 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 7276 int arg2 = (int) -1 ;
d14a1e28
RD
7277 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7278 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7279 wxSize const &arg4_defvalue = wxDefaultSize ;
7280 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7281 long arg5 = (long) wxSP_3D ;
7282 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7283 wxString *arg6 = (wxString *) &arg6_defvalue ;
7284 wxSplitterWindow *result;
7285 wxPoint temp3 ;
7286 wxSize temp4 ;
ae8162c8 7287 bool temp6 = false ;
d14a1e28 7288 PyObject * obj0 = 0 ;
994141e6 7289 PyObject * obj1 = 0 ;
d14a1e28
RD
7290 PyObject * obj2 = 0 ;
7291 PyObject * obj3 = 0 ;
994141e6 7292 PyObject * obj4 = 0 ;
d14a1e28
RD
7293 PyObject * obj5 = 0 ;
7294 char *kwnames[] = {
994141e6 7295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
7296 };
7297
74a57fcd 7298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7300 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd 7301 if (obj1) {
093d3ff1
RD
7302 {
7303 arg2 = (int)(SWIG_As_int(obj1));
7304 if (SWIG_arg_fail(2)) SWIG_fail;
7305 }
74a57fcd 7306 }
d14a1e28
RD
7307 if (obj2) {
7308 {
7309 arg3 = &temp3;
7310 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7311 }
7312 }
7313 if (obj3) {
7314 {
7315 arg4 = &temp4;
7316 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7317 }
7318 }
15afbcd0 7319 if (obj4) {
093d3ff1
RD
7320 {
7321 arg5 = (long)(SWIG_As_long(obj4));
7322 if (SWIG_arg_fail(5)) SWIG_fail;
7323 }
994141e6 7324 }
d14a1e28
RD
7325 if (obj5) {
7326 {
7327 arg6 = wxString_in_helper(obj5);
7328 if (arg6 == NULL) SWIG_fail;
ae8162c8 7329 temp6 = true;
d14a1e28
RD
7330 }
7331 }
7332 {
e3b71cb8 7333 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7334 PyThreadState* __tstate = wxPyBeginAllowThreads();
7335 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7336
7337 wxPyEndAllowThreads(__tstate);
110da5b0 7338 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7339 }
15afbcd0 7340 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
7341 {
7342 if (temp6)
7343 delete arg6;
7344 }
7345 return resultobj;
7346 fail:
7347 {
7348 if (temp6)
7349 delete arg6;
7350 }
7351 return NULL;
7352}
7353
7354
c32bde28 7355static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7356 PyObject *resultobj;
7357 wxSplitterWindow *result;
7358 char *kwnames[] = {
7359 NULL
7360 };
7361
7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7363 {
e3b71cb8 7364 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7366 result = (wxSplitterWindow *)new wxSplitterWindow();
7367
7368 wxPyEndAllowThreads(__tstate);
110da5b0 7369 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7370 }
15afbcd0 7371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
7372 return resultobj;
7373 fail:
7374 return NULL;
7375}
7376
7377
c32bde28 7378static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7379 PyObject *resultobj;
7380 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7381 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 7382 int arg3 = (int) -1 ;
d14a1e28
RD
7383 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7384 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7385 wxSize const &arg5_defvalue = wxDefaultSize ;
7386 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7387 long arg6 = (long) wxSP_3D ;
7388 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7389 wxString *arg7 = (wxString *) &arg7_defvalue ;
7390 bool result;
7391 wxPoint temp4 ;
7392 wxSize temp5 ;
ae8162c8 7393 bool temp7 = false ;
d14a1e28
RD
7394 PyObject * obj0 = 0 ;
7395 PyObject * obj1 = 0 ;
994141e6 7396 PyObject * obj2 = 0 ;
d14a1e28
RD
7397 PyObject * obj3 = 0 ;
7398 PyObject * obj4 = 0 ;
994141e6 7399 PyObject * obj5 = 0 ;
d14a1e28
RD
7400 PyObject * obj6 = 0 ;
7401 char *kwnames[] = {
994141e6 7402 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
7403 };
7404
74a57fcd 7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7407 if (SWIG_arg_fail(1)) SWIG_fail;
7408 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7409 if (SWIG_arg_fail(2)) SWIG_fail;
74a57fcd 7410 if (obj2) {
093d3ff1
RD
7411 {
7412 arg3 = (int)(SWIG_As_int(obj2));
7413 if (SWIG_arg_fail(3)) SWIG_fail;
7414 }
74a57fcd 7415 }
d14a1e28
RD
7416 if (obj3) {
7417 {
7418 arg4 = &temp4;
7419 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7420 }
7421 }
7422 if (obj4) {
7423 {
7424 arg5 = &temp5;
7425 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7426 }
7427 }
994141e6 7428 if (obj5) {
093d3ff1
RD
7429 {
7430 arg6 = (long)(SWIG_As_long(obj5));
7431 if (SWIG_arg_fail(6)) SWIG_fail;
7432 }
994141e6 7433 }
d14a1e28
RD
7434 if (obj6) {
7435 {
7436 arg7 = wxString_in_helper(obj6);
7437 if (arg7 == NULL) SWIG_fail;
ae8162c8 7438 temp7 = true;
d14a1e28
RD
7439 }
7440 }
7441 {
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7444
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
4f89f6a3
RD
7448 {
7449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7450 }
d14a1e28
RD
7451 {
7452 if (temp7)
7453 delete arg7;
7454 }
7455 return resultobj;
7456 fail:
7457 {
7458 if (temp7)
7459 delete arg7;
7460 }
7461 return NULL;
7462}
7463
7464
c32bde28 7465static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7466 PyObject *resultobj;
7467 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7468 wxWindow *result;
7469 PyObject * obj0 = 0 ;
7470 char *kwnames[] = {
7471 (char *) "self", NULL
7472 };
7473
7474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
093d3ff1
RD
7475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7476 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7477 {
7478 PyThreadState* __tstate = wxPyBeginAllowThreads();
7479 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7480
7481 wxPyEndAllowThreads(__tstate);
7482 if (PyErr_Occurred()) SWIG_fail;
7483 }
7484 {
412d302d 7485 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7486 }
7487 return resultobj;
7488 fail:
7489 return NULL;
7490}
7491
7492
c32bde28 7493static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7494 PyObject *resultobj;
7495 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7496 wxWindow *result;
7497 PyObject * obj0 = 0 ;
7498 char *kwnames[] = {
7499 (char *) "self", NULL
7500 };
7501
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
093d3ff1
RD
7503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7504 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 {
412d302d 7513 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7514 }
7515 return resultobj;
7516 fail:
7517 return NULL;
7518}
7519
7520
c32bde28 7521static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7522 PyObject *resultobj;
7523 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7524 int arg2 ;
7525 PyObject * obj0 = 0 ;
994141e6 7526 PyObject * obj1 = 0 ;
d14a1e28
RD
7527 char *kwnames[] = {
7528 (char *) "self",(char *) "mode", NULL
7529 };
7530
994141e6 7531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7533 if (SWIG_arg_fail(1)) SWIG_fail;
7534 {
7535 arg2 = (int)(SWIG_As_int(obj1));
7536 if (SWIG_arg_fail(2)) SWIG_fail;
7537 }
d14a1e28
RD
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 (arg1)->SetSplitMode(arg2);
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 Py_INCREF(Py_None); resultobj = Py_None;
7546 return resultobj;
7547 fail:
7548 return NULL;
7549}
7550
7551
c32bde28 7552static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7553 PyObject *resultobj;
7554 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
093d3ff1 7555 wxSplitMode result;
d14a1e28
RD
7556 PyObject * obj0 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "self", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
7562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7563 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7564 {
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7566 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
d14a1e28
RD
7567
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
093d3ff1 7571 resultobj = SWIG_From_int((result));
d14a1e28
RD
7572 return resultobj;
7573 fail:
7574 return NULL;
7575}
7576
7577
c32bde28 7578static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7579 PyObject *resultobj;
7580 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7581 wxWindow *arg2 = (wxWindow *) 0 ;
7582 PyObject * obj0 = 0 ;
7583 PyObject * obj1 = 0 ;
7584 char *kwnames[] = {
7585 (char *) "self",(char *) "window", NULL
7586 };
7587
7588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7590 if (SWIG_arg_fail(1)) SWIG_fail;
7591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7592 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 (arg1)->Initialize(arg2);
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 Py_INCREF(Py_None); resultobj = Py_None;
7601 return resultobj;
7602 fail:
7603 return NULL;
7604}
7605
7606
c32bde28 7607static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7608 PyObject *resultobj;
7609 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7610 wxWindow *arg2 = (wxWindow *) 0 ;
7611 wxWindow *arg3 = (wxWindow *) 0 ;
7612 int arg4 = (int) 0 ;
7613 bool result;
7614 PyObject * obj0 = 0 ;
7615 PyObject * obj1 = 0 ;
7616 PyObject * obj2 = 0 ;
994141e6 7617 PyObject * obj3 = 0 ;
d14a1e28
RD
7618 char *kwnames[] = {
7619 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7620 };
7621
994141e6 7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7624 if (SWIG_arg_fail(1)) SWIG_fail;
7625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7626 if (SWIG_arg_fail(2)) SWIG_fail;
7627 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7628 if (SWIG_arg_fail(3)) SWIG_fail;
994141e6 7629 if (obj3) {
093d3ff1
RD
7630 {
7631 arg4 = (int)(SWIG_As_int(obj3));
7632 if (SWIG_arg_fail(4)) SWIG_fail;
7633 }
994141e6 7634 }
d14a1e28
RD
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
4f89f6a3
RD
7642 {
7643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7644 }
d14a1e28
RD
7645 return resultobj;
7646 fail:
7647 return NULL;
7648}
7649
7650
c32bde28 7651static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7652 PyObject *resultobj;
7653 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7654 wxWindow *arg2 = (wxWindow *) 0 ;
7655 wxWindow *arg3 = (wxWindow *) 0 ;
7656 int arg4 = (int) 0 ;
7657 bool result;
7658 PyObject * obj0 = 0 ;
7659 PyObject * obj1 = 0 ;
7660 PyObject * obj2 = 0 ;
994141e6 7661 PyObject * obj3 = 0 ;
d14a1e28
RD
7662 char *kwnames[] = {
7663 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7664 };
7665
994141e6 7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7668 if (SWIG_arg_fail(1)) SWIG_fail;
7669 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7670 if (SWIG_arg_fail(2)) SWIG_fail;
7671 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7672 if (SWIG_arg_fail(3)) SWIG_fail;
994141e6 7673 if (obj3) {
093d3ff1
RD
7674 {
7675 arg4 = (int)(SWIG_As_int(obj3));
7676 if (SWIG_arg_fail(4)) SWIG_fail;
7677 }
994141e6 7678 }
d14a1e28
RD
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
4f89f6a3
RD
7686 {
7687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7688 }
d14a1e28
RD
7689 return resultobj;
7690 fail:
7691 return NULL;
7692}
7693
7694
c32bde28 7695static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7696 PyObject *resultobj;
7697 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7698 wxWindow *arg2 = (wxWindow *) NULL ;
7699 bool result;
7700 PyObject * obj0 = 0 ;
7701 PyObject * obj1 = 0 ;
7702 char *kwnames[] = {
7703 (char *) "self",(char *) "toRemove", NULL
7704 };
7705
7706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7708 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7709 if (obj1) {
093d3ff1
RD
7710 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7711 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7712 }
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 result = (bool)(arg1)->Unsplit(arg2);
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
4f89f6a3
RD
7720 {
7721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7722 }
d14a1e28
RD
7723 return resultobj;
7724 fail:
7725 return NULL;
7726}
7727
7728
c32bde28 7729static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7730 PyObject *resultobj;
7731 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7732 wxWindow *arg2 = (wxWindow *) 0 ;
7733 wxWindow *arg3 = (wxWindow *) 0 ;
7734 bool result;
7735 PyObject * obj0 = 0 ;
7736 PyObject * obj1 = 0 ;
7737 PyObject * obj2 = 0 ;
7738 char *kwnames[] = {
7739 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7744 if (SWIG_arg_fail(1)) SWIG_fail;
7745 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7746 if (SWIG_arg_fail(2)) SWIG_fail;
7747 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7748 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
7749 {
7750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7751 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7752
7753 wxPyEndAllowThreads(__tstate);
7754 if (PyErr_Occurred()) SWIG_fail;
7755 }
4f89f6a3
RD
7756 {
7757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7758 }
d14a1e28
RD
7759 return resultobj;
7760 fail:
7761 return NULL;
7762}
7763
7764
c32bde28 7765static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
d00d1b88
RD
7766 PyObject *resultobj;
7767 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7768 PyObject * obj0 = 0 ;
7769 char *kwnames[] = {
7770 (char *) "self", NULL
7771 };
7772
7773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7775 if (SWIG_arg_fail(1)) SWIG_fail;
d00d1b88
RD
7776 {
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 (arg1)->UpdateSize();
7779
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 Py_INCREF(Py_None); resultobj = Py_None;
7784 return resultobj;
7785 fail:
7786 return NULL;
7787}
7788
7789
c32bde28 7790static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7791 PyObject *resultobj;
7792 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7793 bool result;
7794 PyObject * obj0 = 0 ;
7795 char *kwnames[] = {
7796 (char *) "self", NULL
7797 };
7798
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
093d3ff1
RD
7800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7801 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7802 {
7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
7804 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7805
7806 wxPyEndAllowThreads(__tstate);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
4f89f6a3
RD
7809 {
7810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7811 }
d14a1e28
RD
7812 return resultobj;
7813 fail:
7814 return NULL;
7815}
7816
7817
c32bde28 7818static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7819 PyObject *resultobj;
7820 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7821 int arg2 ;
7822 PyObject * obj0 = 0 ;
994141e6 7823 PyObject * obj1 = 0 ;
d14a1e28
RD
7824 char *kwnames[] = {
7825 (char *) "self",(char *) "width", NULL
7826 };
7827
994141e6 7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7830 if (SWIG_arg_fail(1)) SWIG_fail;
7831 {
7832 arg2 = (int)(SWIG_As_int(obj1));
7833 if (SWIG_arg_fail(2)) SWIG_fail;
7834 }
d14a1e28
RD
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 (arg1)->SetSashSize(arg2);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 Py_INCREF(Py_None); resultobj = Py_None;
7843 return resultobj;
7844 fail:
7845 return NULL;
7846}
7847
7848
c32bde28 7849static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7850 PyObject *resultobj;
7851 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7852 int arg2 ;
7853 PyObject * obj0 = 0 ;
994141e6 7854 PyObject * obj1 = 0 ;
d14a1e28
RD
7855 char *kwnames[] = {
7856 (char *) "self",(char *) "width", NULL
7857 };
7858
994141e6 7859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7861 if (SWIG_arg_fail(1)) SWIG_fail;
7862 {
7863 arg2 = (int)(SWIG_As_int(obj1));
7864 if (SWIG_arg_fail(2)) SWIG_fail;
7865 }
d14a1e28
RD
7866 {
7867 PyThreadState* __tstate = wxPyBeginAllowThreads();
7868 (arg1)->SetBorderSize(arg2);
7869
7870 wxPyEndAllowThreads(__tstate);
7871 if (PyErr_Occurred()) SWIG_fail;
7872 }
7873 Py_INCREF(Py_None); resultobj = Py_None;
7874 return resultobj;
7875 fail:
7876 return NULL;
7877}
7878
7879
c32bde28 7880static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7881 PyObject *resultobj;
7882 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7883 int result;
7884 PyObject * obj0 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "self", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7891 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7892 {
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7895
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
093d3ff1
RD
7899 {
7900 resultobj = SWIG_From_int((int)(result));
7901 }
d14a1e28
RD
7902 return resultobj;
7903 fail:
7904 return NULL;
7905}
7906
7907
c32bde28 7908static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7909 PyObject *resultobj;
7910 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7911 int result;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7919 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
093d3ff1
RD
7927 {
7928 resultobj = SWIG_From_int((int)(result));
7929 }
d14a1e28
RD
7930 return resultobj;
7931 fail:
7932 return NULL;
7933}
7934
7935
c32bde28 7936static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7937 PyObject *resultobj;
7938 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7939 int arg2 ;
ae8162c8 7940 bool arg3 = (bool) true ;
d14a1e28 7941 PyObject * obj0 = 0 ;
994141e6 7942 PyObject * obj1 = 0 ;
d14a1e28
RD
7943 PyObject * obj2 = 0 ;
7944 char *kwnames[] = {
7945 (char *) "self",(char *) "position",(char *) "redraw", NULL
7946 };
7947
994141e6 7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7950 if (SWIG_arg_fail(1)) SWIG_fail;
7951 {
7952 arg2 = (int)(SWIG_As_int(obj1));
7953 if (SWIG_arg_fail(2)) SWIG_fail;
7954 }
d14a1e28 7955 if (obj2) {
093d3ff1
RD
7956 {
7957 arg3 = (bool)(SWIG_As_bool(obj2));
7958 if (SWIG_arg_fail(3)) SWIG_fail;
7959 }
d14a1e28
RD
7960 }
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 (arg1)->SetSashPosition(arg2,arg3);
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 Py_INCREF(Py_None); resultobj = Py_None;
7969 return resultobj;
7970 fail:
7971 return NULL;
7972}
7973
7974
c32bde28 7975static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7976 PyObject *resultobj;
7977 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7978 int result;
7979 PyObject * obj0 = 0 ;
7980 char *kwnames[] = {
7981 (char *) "self", NULL
7982 };
7983
7984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
7985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7986 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7987 {
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
7990
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
093d3ff1
RD
7994 {
7995 resultobj = SWIG_From_int((int)(result));
7996 }
d14a1e28
RD
7997 return resultobj;
7998 fail:
7999 return NULL;
8000}
8001
8002
5cbf236d
RD
8003static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8004 PyObject *resultobj;
8005 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8006 double arg2 ;
8007 PyObject * obj0 = 0 ;
8008 PyObject * obj1 = 0 ;
8009 char *kwnames[] = {
8010 (char *) "self",(char *) "gravity", NULL
8011 };
8012
8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8015 if (SWIG_arg_fail(1)) SWIG_fail;
8016 {
8017 arg2 = (double)(SWIG_As_double(obj1));
8018 if (SWIG_arg_fail(2)) SWIG_fail;
8019 }
5cbf236d
RD
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 (arg1)->SetSashGravity(arg2);
8023
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 Py_INCREF(Py_None); resultobj = Py_None;
8028 return resultobj;
8029 fail:
8030 return NULL;
8031}
8032
8033
8034static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj;
8036 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8037 double result;
8038 PyObject * obj0 = 0 ;
8039 char *kwnames[] = {
8040 (char *) "self", NULL
8041 };
8042
8043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
093d3ff1
RD
8044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8045 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
8046 {
8047 PyThreadState* __tstate = wxPyBeginAllowThreads();
8048 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8049
8050 wxPyEndAllowThreads(__tstate);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 }
093d3ff1
RD
8053 {
8054 resultobj = SWIG_From_double((double)(result));
8055 }
5cbf236d
RD
8056 return resultobj;
8057 fail:
8058 return NULL;
8059}
8060
8061
c32bde28 8062static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8063 PyObject *resultobj;
8064 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8065 int arg2 ;
8066 PyObject * obj0 = 0 ;
994141e6 8067 PyObject * obj1 = 0 ;
d14a1e28
RD
8068 char *kwnames[] = {
8069 (char *) "self",(char *) "min", NULL
8070 };
8071
994141e6 8072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8074 if (SWIG_arg_fail(1)) SWIG_fail;
8075 {
8076 arg2 = (int)(SWIG_As_int(obj1));
8077 if (SWIG_arg_fail(2)) SWIG_fail;
8078 }
d14a1e28
RD
8079 {
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 (arg1)->SetMinimumPaneSize(arg2);
8082
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) SWIG_fail;
8085 }
8086 Py_INCREF(Py_None); resultobj = Py_None;
8087 return resultobj;
8088 fail:
8089 return NULL;
8090}
8091
8092
c32bde28 8093static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8094 PyObject *resultobj;
8095 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8096 int result;
8097 PyObject * obj0 = 0 ;
8098 char *kwnames[] = {
8099 (char *) "self", NULL
8100 };
8101
8102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8104 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8108
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
093d3ff1
RD
8112 {
8113 resultobj = SWIG_From_int((int)(result));
8114 }
d14a1e28
RD
8115 return resultobj;
8116 fail:
8117 return NULL;
8118}
8119
8120
c32bde28 8121static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8122 PyObject *resultobj;
8123 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8124 int arg2 ;
8125 int arg3 ;
8126 int arg4 = (int) 5 ;
8127 bool result;
8128 PyObject * obj0 = 0 ;
994141e6
RD
8129 PyObject * obj1 = 0 ;
8130 PyObject * obj2 = 0 ;
8131 PyObject * obj3 = 0 ;
d14a1e28
RD
8132 char *kwnames[] = {
8133 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8134 };
8135
994141e6 8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8138 if (SWIG_arg_fail(1)) SWIG_fail;
8139 {
8140 arg2 = (int)(SWIG_As_int(obj1));
8141 if (SWIG_arg_fail(2)) SWIG_fail;
8142 }
8143 {
8144 arg3 = (int)(SWIG_As_int(obj2));
8145 if (SWIG_arg_fail(3)) SWIG_fail;
8146 }
994141e6 8147 if (obj3) {
093d3ff1
RD
8148 {
8149 arg4 = (int)(SWIG_As_int(obj3));
8150 if (SWIG_arg_fail(4)) SWIG_fail;
8151 }
994141e6 8152 }
d14a1e28
RD
8153 {
8154 PyThreadState* __tstate = wxPyBeginAllowThreads();
8155 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8156
8157 wxPyEndAllowThreads(__tstate);
8158 if (PyErr_Occurred()) SWIG_fail;
8159 }
4f89f6a3
RD
8160 {
8161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8162 }
d14a1e28
RD
8163 return resultobj;
8164 fail:
8165 return NULL;
8166}
8167
8168
c32bde28 8169static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8170 PyObject *resultobj;
8171 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8172 PyObject * obj0 = 0 ;
8173 char *kwnames[] = {
8174 (char *) "self", NULL
8175 };
8176
8177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
8178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8179 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8180 {
8181 PyThreadState* __tstate = wxPyBeginAllowThreads();
8182 (arg1)->SizeWindows();
8183
8184 wxPyEndAllowThreads(__tstate);
8185 if (PyErr_Occurred()) SWIG_fail;
8186 }
8187 Py_INCREF(Py_None); resultobj = Py_None;
8188 return resultobj;
8189 fail:
8190 return NULL;
8191}
8192
8193
c32bde28 8194static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8195 PyObject *resultobj;
8196 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8197 bool arg2 ;
8198 PyObject * obj0 = 0 ;
8199 PyObject * obj1 = 0 ;
8200 char *kwnames[] = {
8201 (char *) "self",(char *) "needUpdating", NULL
8202 };
8203
8204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8206 if (SWIG_arg_fail(1)) SWIG_fail;
8207 {
8208 arg2 = (bool)(SWIG_As_bool(obj1));
8209 if (SWIG_arg_fail(2)) SWIG_fail;
8210 }
d14a1e28
RD
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 (arg1)->SetNeedUpdating(arg2);
8214
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 Py_INCREF(Py_None); resultobj = Py_None;
8219 return resultobj;
8220 fail:
8221 return NULL;
8222}
8223
8224
c32bde28 8225static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8226 PyObject *resultobj;
8227 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8228 bool result;
8229 PyObject * obj0 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "self", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
093d3ff1
RD
8235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8236 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8240
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
4f89f6a3
RD
8244 {
8245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8246 }
d14a1e28
RD
8247 return resultobj;
8248 fail:
8249 return NULL;
8250}
8251
8252
c32bde28 8253static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 8254 PyObject *resultobj;
093d3ff1 8255 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
8256 wxVisualAttributes result;
8257 PyObject * obj0 = 0 ;
8258 char *kwnames[] = {
8259 (char *) "variant", NULL
8260 };
8261
8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8263 if (obj0) {
093d3ff1
RD
8264 {
8265 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8266 if (SWIG_arg_fail(1)) SWIG_fail;
8267 }
22bfe96c
RD
8268 }
8269 {
e3b71cb8 8270 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
8271 PyThreadState* __tstate = wxPyBeginAllowThreads();
8272 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8273
8274 wxPyEndAllowThreads(__tstate);
110da5b0 8275 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
8276 }
8277 {
8278 wxVisualAttributes * resultptr;
093d3ff1 8279 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
8280 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8281 }
8282 return resultobj;
8283 fail:
8284 return NULL;
8285}
8286
8287
c32bde28 8288static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8289 PyObject *obj;
8290 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8291 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8292 Py_INCREF(obj);
8293 return Py_BuildValue((char *)"");
8294}
c32bde28 8295static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8296 PyObject *resultobj;
8297 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8298 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8299 wxSplitterEvent *result;
994141e6 8300 PyObject * obj0 = 0 ;
d14a1e28
RD
8301 PyObject * obj1 = 0 ;
8302 char *kwnames[] = {
8303 (char *) "type",(char *) "splitter", NULL
8304 };
8305
994141e6
RD
8306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8307 if (obj0) {
093d3ff1
RD
8308 {
8309 arg1 = (wxEventType)(SWIG_As_int(obj0));
8310 if (SWIG_arg_fail(1)) SWIG_fail;
8311 }
994141e6 8312 }
d14a1e28 8313 if (obj1) {
093d3ff1
RD
8314 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8315 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8316 }
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8320
8321 wxPyEndAllowThreads(__tstate);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
15afbcd0 8324 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
d14a1e28
RD
8325 return resultobj;
8326 fail:
8327 return NULL;
8328}
8329
8330
c32bde28 8331static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8332 PyObject *resultobj;
8333 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8334 int arg2 ;
8335 PyObject * obj0 = 0 ;
994141e6 8336 PyObject * obj1 = 0 ;
d14a1e28
RD
8337 char *kwnames[] = {
8338 (char *) "self",(char *) "pos", NULL
8339 };
8340
994141e6 8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8343 if (SWIG_arg_fail(1)) SWIG_fail;
8344 {
8345 arg2 = (int)(SWIG_As_int(obj1));
8346 if (SWIG_arg_fail(2)) SWIG_fail;
8347 }
d14a1e28
RD
8348 {
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 (arg1)->SetSashPosition(arg2);
8351
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 Py_INCREF(Py_None); resultobj = Py_None;
8356 return resultobj;
8357 fail:
8358 return NULL;
8359}
8360
8361
c32bde28 8362static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8363 PyObject *resultobj;
8364 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8365 int result;
8366 PyObject * obj0 = 0 ;
8367 char *kwnames[] = {
8368 (char *) "self", NULL
8369 };
8370
8371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8373 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8374 {
8375 PyThreadState* __tstate = wxPyBeginAllowThreads();
8376 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8377
8378 wxPyEndAllowThreads(__tstate);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 }
093d3ff1
RD
8381 {
8382 resultobj = SWIG_From_int((int)(result));
8383 }
d14a1e28
RD
8384 return resultobj;
8385 fail:
8386 return NULL;
8387}
8388
8389
c32bde28 8390static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8391 PyObject *resultobj;
8392 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8393 wxWindow *result;
8394 PyObject * obj0 = 0 ;
8395 char *kwnames[] = {
8396 (char *) "self", NULL
8397 };
8398
8399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
093d3ff1
RD
8400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8401 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 {
412d302d 8410 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
8411 }
8412 return resultobj;
8413 fail:
8414 return NULL;
8415}
8416
8417
c32bde28 8418static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8419 PyObject *resultobj;
8420 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8421 int result;
8422 PyObject * obj0 = 0 ;
8423 char *kwnames[] = {
8424 (char *) "self", NULL
8425 };
8426
8427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
8428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8429 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8430 {
8431 PyThreadState* __tstate = wxPyBeginAllowThreads();
8432 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8433
8434 wxPyEndAllowThreads(__tstate);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
093d3ff1
RD
8437 {
8438 resultobj = SWIG_From_int((int)(result));
8439 }
d14a1e28
RD
8440 return resultobj;
8441 fail:
8442 return NULL;
8443}
8444
8445
c32bde28 8446static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8447 PyObject *resultobj;
8448 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8449 int result;
8450 PyObject * obj0 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
8456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8457 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8458 {
8459 PyThreadState* __tstate = wxPyBeginAllowThreads();
8460 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8461
8462 wxPyEndAllowThreads(__tstate);
8463 if (PyErr_Occurred()) SWIG_fail;
8464 }
093d3ff1
RD
8465 {
8466 resultobj = SWIG_From_int((int)(result));
8467 }
d14a1e28
RD
8468 return resultobj;
8469 fail:
8470 return NULL;
8471}
8472
8473
c32bde28 8474static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8475 PyObject *obj;
8476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8477 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8478 Py_INCREF(obj);
8479 return Py_BuildValue((char *)"");
8480}
c32bde28 8481static int _wrap_SashNameStr_set(PyObject *) {
b2dc1044
RD
8482 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8483 return 1;
8484}
8485
8486
093d3ff1 8487static PyObject *_wrap_SashNameStr_get(void) {
b2dc1044
RD
8488 PyObject *pyobj;
8489
8490 {
8491#if wxUSE_UNICODE
8492 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8493#else
8494 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8495#endif
8496 }
8497 return pyobj;
8498}
8499
8500
c32bde28 8501static int _wrap_SashLayoutNameStr_set(PyObject *) {
b2dc1044
RD
8502 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8503 return 1;
8504}
8505
8506
093d3ff1 8507static PyObject *_wrap_SashLayoutNameStr_get(void) {
b2dc1044
RD
8508 PyObject *pyobj;
8509
8510 {
8511#if wxUSE_UNICODE
8512 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8513#else
8514 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8515#endif
8516 }
8517 return pyobj;
8518}
8519
8520
c32bde28 8521static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8522 PyObject *resultobj;
8523 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8524 int arg2 = (int) -1 ;
d14a1e28
RD
8525 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8526 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8527 wxSize const &arg4_defvalue = wxDefaultSize ;
8528 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8529 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8530 wxString const &arg6_defvalue = wxPySashNameStr ;
8531 wxString *arg6 = (wxString *) &arg6_defvalue ;
8532 wxSashWindow *result;
8533 wxPoint temp3 ;
8534 wxSize temp4 ;
ae8162c8 8535 bool temp6 = false ;
d14a1e28 8536 PyObject * obj0 = 0 ;
994141e6 8537 PyObject * obj1 = 0 ;
d14a1e28
RD
8538 PyObject * obj2 = 0 ;
8539 PyObject * obj3 = 0 ;
994141e6 8540 PyObject * obj4 = 0 ;
d14a1e28
RD
8541 PyObject * obj5 = 0 ;
8542 char *kwnames[] = {
8543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8544 };
8545
248ed943 8546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
8547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8548 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8549 if (obj1) {
093d3ff1
RD
8550 {
8551 arg2 = (int)(SWIG_As_int(obj1));
8552 if (SWIG_arg_fail(2)) SWIG_fail;
8553 }
248ed943 8554 }
d14a1e28
RD
8555 if (obj2) {
8556 {
8557 arg3 = &temp3;
8558 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8559 }
8560 }
8561 if (obj3) {
8562 {
8563 arg4 = &temp4;
8564 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8565 }
8566 }
994141e6 8567 if (obj4) {
093d3ff1
RD
8568 {
8569 arg5 = (long)(SWIG_As_long(obj4));
8570 if (SWIG_arg_fail(5)) SWIG_fail;
8571 }
994141e6 8572 }
d14a1e28
RD
8573 if (obj5) {
8574 {
8575 arg6 = wxString_in_helper(obj5);
8576 if (arg6 == NULL) SWIG_fail;
ae8162c8 8577 temp6 = true;
d14a1e28
RD
8578 }
8579 }
8580 {
e3b71cb8 8581 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8584
8585 wxPyEndAllowThreads(__tstate);
110da5b0 8586 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8587 }
15afbcd0 8588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
8589 {
8590 if (temp6)
8591 delete arg6;
8592 }
8593 return resultobj;
8594 fail:
8595 {
8596 if (temp6)
8597 delete arg6;
8598 }
8599 return NULL;
8600}
8601
8602
c32bde28 8603static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8604 PyObject *resultobj;
8605 wxSashWindow *result;
8606 char *kwnames[] = {
8607 NULL
8608 };
8609
8610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8611 {
e3b71cb8 8612 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 result = (wxSashWindow *)new wxSashWindow();
8615
8616 wxPyEndAllowThreads(__tstate);
110da5b0 8617 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8618 }
15afbcd0 8619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
8620 return resultobj;
8621 fail:
8622 return NULL;
8623}
8624
8625
c32bde28 8626static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8627 PyObject *resultobj;
8628 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8629 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8630 int arg3 = (int) -1 ;
d14a1e28
RD
8631 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8632 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8633 wxSize const &arg5_defvalue = wxDefaultSize ;
8634 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8635 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8636 wxString const &arg7_defvalue = wxPySashNameStr ;
8637 wxString *arg7 = (wxString *) &arg7_defvalue ;
8638 bool result;
8639 wxPoint temp4 ;
8640 wxSize temp5 ;
ae8162c8 8641 bool temp7 = false ;
d14a1e28
RD
8642 PyObject * obj0 = 0 ;
8643 PyObject * obj1 = 0 ;
994141e6 8644 PyObject * obj2 = 0 ;
d14a1e28
RD
8645 PyObject * obj3 = 0 ;
8646 PyObject * obj4 = 0 ;
994141e6 8647 PyObject * obj5 = 0 ;
d14a1e28
RD
8648 PyObject * obj6 = 0 ;
8649 char *kwnames[] = {
8650 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8651 };
8652
248ed943 8653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
8654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8655 if (SWIG_arg_fail(1)) SWIG_fail;
8656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8657 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8658 if (obj2) {
093d3ff1
RD
8659 {
8660 arg3 = (int)(SWIG_As_int(obj2));
8661 if (SWIG_arg_fail(3)) SWIG_fail;
8662 }
248ed943 8663 }
d14a1e28
RD
8664 if (obj3) {
8665 {
8666 arg4 = &temp4;
8667 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8668 }
8669 }
8670 if (obj4) {
8671 {
8672 arg5 = &temp5;
8673 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8674 }
8675 }
994141e6 8676 if (obj5) {
093d3ff1
RD
8677 {
8678 arg6 = (long)(SWIG_As_long(obj5));
8679 if (SWIG_arg_fail(6)) SWIG_fail;
8680 }
994141e6 8681 }
d14a1e28
RD
8682 if (obj6) {
8683 {
8684 arg7 = wxString_in_helper(obj6);
8685 if (arg7 == NULL) SWIG_fail;
ae8162c8 8686 temp7 = true;
d14a1e28
RD
8687 }
8688 }
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
4f89f6a3
RD
8696 {
8697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8698 }
d14a1e28
RD
8699 {
8700 if (temp7)
8701 delete arg7;
8702 }
8703 return resultobj;
8704 fail:
8705 {
8706 if (temp7)
8707 delete arg7;
8708 }
8709 return NULL;
8710}
8711
8712
c32bde28 8713static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8714 PyObject *resultobj;
8715 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8716 wxSashEdgePosition arg2 ;
d14a1e28
RD
8717 bool arg3 ;
8718 PyObject * obj0 = 0 ;
994141e6 8719 PyObject * obj1 = 0 ;
d14a1e28
RD
8720 PyObject * obj2 = 0 ;
8721 char *kwnames[] = {
8722 (char *) "self",(char *) "edge",(char *) "sash", NULL
8723 };
8724
994141e6 8725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8727 if (SWIG_arg_fail(1)) SWIG_fail;
8728 {
8729 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8730 if (SWIG_arg_fail(2)) SWIG_fail;
8731 }
8732 {
8733 arg3 = (bool)(SWIG_As_bool(obj2));
8734 if (SWIG_arg_fail(3)) SWIG_fail;
8735 }
d14a1e28
RD
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 Py_INCREF(Py_None); resultobj = Py_None;
8744 return resultobj;
8745 fail:
8746 return NULL;
8747}
8748
8749
c32bde28 8750static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8751 PyObject *resultobj;
8752 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8753 wxSashEdgePosition arg2 ;
d14a1e28
RD
8754 bool result;
8755 PyObject * obj0 = 0 ;
994141e6 8756 PyObject * obj1 = 0 ;
d14a1e28
RD
8757 char *kwnames[] = {
8758 (char *) "self",(char *) "edge", NULL
8759 };
8760
994141e6 8761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8763 if (SWIG_arg_fail(1)) SWIG_fail;
8764 {
8765 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8766 if (SWIG_arg_fail(2)) SWIG_fail;
8767 }
d14a1e28
RD
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8771
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
4f89f6a3
RD
8775 {
8776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8777 }
d14a1e28
RD
8778 return resultobj;
8779 fail:
8780 return NULL;
8781}
8782
8783
c32bde28 8784static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8785 PyObject *resultobj;
8786 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8787 wxSashEdgePosition arg2 ;
d14a1e28
RD
8788 bool arg3 ;
8789 PyObject * obj0 = 0 ;
994141e6 8790 PyObject * obj1 = 0 ;
d14a1e28
RD
8791 PyObject * obj2 = 0 ;
8792 char *kwnames[] = {
8793 (char *) "self",(char *) "edge",(char *) "border", NULL
8794 };
8795
994141e6 8796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8798 if (SWIG_arg_fail(1)) SWIG_fail;
8799 {
8800 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8801 if (SWIG_arg_fail(2)) SWIG_fail;
8802 }
8803 {
8804 arg3 = (bool)(SWIG_As_bool(obj2));
8805 if (SWIG_arg_fail(3)) SWIG_fail;
8806 }
d14a1e28
RD
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
8809 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8810
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
8814 Py_INCREF(Py_None); resultobj = Py_None;
8815 return resultobj;
8816 fail:
8817 return NULL;
8818}
8819
8820
c32bde28 8821static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8822 PyObject *resultobj;
8823 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8824 wxSashEdgePosition arg2 ;
d14a1e28
RD
8825 bool result;
8826 PyObject * obj0 = 0 ;
994141e6 8827 PyObject * obj1 = 0 ;
d14a1e28
RD
8828 char *kwnames[] = {
8829 (char *) "self",(char *) "edge", NULL
8830 };
8831
994141e6 8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8834 if (SWIG_arg_fail(1)) SWIG_fail;
8835 {
8836 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8837 if (SWIG_arg_fail(2)) SWIG_fail;
8838 }
d14a1e28
RD
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8842
8843 wxPyEndAllowThreads(__tstate);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 }
4f89f6a3
RD
8846 {
8847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8848 }
d14a1e28
RD
8849 return resultobj;
8850 fail:
8851 return NULL;
8852}
8853
8854
c32bde28 8855static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8856 PyObject *resultobj;
8857 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8858 wxSashEdgePosition arg2 ;
d14a1e28
RD
8859 int result;
8860 PyObject * obj0 = 0 ;
994141e6 8861 PyObject * obj1 = 0 ;
d14a1e28
RD
8862 char *kwnames[] = {
8863 (char *) "self",(char *) "edge", NULL
8864 };
8865
994141e6 8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8868 if (SWIG_arg_fail(1)) SWIG_fail;
8869 {
8870 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8871 if (SWIG_arg_fail(2)) SWIG_fail;
8872 }
d14a1e28
RD
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
093d3ff1
RD
8880 {
8881 resultobj = SWIG_From_int((int)(result));
8882 }
d14a1e28
RD
8883 return resultobj;
8884 fail:
8885 return NULL;
8886}
8887
8888
c32bde28 8889static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8890 PyObject *resultobj;
8891 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8892 int arg2 ;
8893 PyObject * obj0 = 0 ;
994141e6 8894 PyObject * obj1 = 0 ;
d14a1e28
RD
8895 char *kwnames[] = {
8896 (char *) "self",(char *) "width", NULL
8897 };
8898
994141e6 8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8901 if (SWIG_arg_fail(1)) SWIG_fail;
8902 {
8903 arg2 = (int)(SWIG_As_int(obj1));
8904 if (SWIG_arg_fail(2)) SWIG_fail;
8905 }
d14a1e28
RD
8906 {
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 (arg1)->SetDefaultBorderSize(arg2);
8909
8910 wxPyEndAllowThreads(__tstate);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 Py_INCREF(Py_None); resultobj = Py_None;
8914 return resultobj;
8915 fail:
8916 return NULL;
8917}
8918
8919
c32bde28 8920static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8921 PyObject *resultobj;
8922 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8923 int result;
8924 PyObject * obj0 = 0 ;
8925 char *kwnames[] = {
8926 (char *) "self", NULL
8927 };
8928
8929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8931 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8932 {
8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
8934 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
8935
8936 wxPyEndAllowThreads(__tstate);
8937 if (PyErr_Occurred()) SWIG_fail;
8938 }
093d3ff1
RD
8939 {
8940 resultobj = SWIG_From_int((int)(result));
8941 }
d14a1e28
RD
8942 return resultobj;
8943 fail:
8944 return NULL;
8945}
8946
8947
c32bde28 8948static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8949 PyObject *resultobj;
8950 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8951 int arg2 ;
8952 PyObject * obj0 = 0 ;
994141e6 8953 PyObject * obj1 = 0 ;
d14a1e28
RD
8954 char *kwnames[] = {
8955 (char *) "self",(char *) "width", NULL
8956 };
8957
994141e6 8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8960 if (SWIG_arg_fail(1)) SWIG_fail;
8961 {
8962 arg2 = (int)(SWIG_As_int(obj1));
8963 if (SWIG_arg_fail(2)) SWIG_fail;
8964 }
d14a1e28
RD
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
8967 (arg1)->SetExtraBorderSize(arg2);
8968
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 Py_INCREF(Py_None); resultobj = Py_None;
8973 return resultobj;
8974 fail:
8975 return NULL;
8976}
8977
8978
c32bde28 8979static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8980 PyObject *resultobj;
8981 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8982 int result;
8983 PyObject * obj0 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "self", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8990 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8991 {
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
8994
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
093d3ff1
RD
8998 {
8999 resultobj = SWIG_From_int((int)(result));
9000 }
d14a1e28
RD
9001 return resultobj;
9002 fail:
9003 return NULL;
9004}
9005
9006
c32bde28 9007static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9008 PyObject *resultobj;
9009 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9010 int arg2 ;
9011 PyObject * obj0 = 0 ;
994141e6 9012 PyObject * obj1 = 0 ;
d14a1e28
RD
9013 char *kwnames[] = {
9014 (char *) "self",(char *) "min", NULL
9015 };
9016
994141e6 9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9019 if (SWIG_arg_fail(1)) SWIG_fail;
9020 {
9021 arg2 = (int)(SWIG_As_int(obj1));
9022 if (SWIG_arg_fail(2)) SWIG_fail;
9023 }
d14a1e28
RD
9024 {
9025 PyThreadState* __tstate = wxPyBeginAllowThreads();
9026 (arg1)->SetMinimumSizeX(arg2);
9027
9028 wxPyEndAllowThreads(__tstate);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 }
9031 Py_INCREF(Py_None); resultobj = Py_None;
9032 return resultobj;
9033 fail:
9034 return NULL;
9035}
9036
9037
c32bde28 9038static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9039 PyObject *resultobj;
9040 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9041 int arg2 ;
9042 PyObject * obj0 = 0 ;
994141e6 9043 PyObject * obj1 = 0 ;
d14a1e28
RD
9044 char *kwnames[] = {
9045 (char *) "self",(char *) "min", NULL
9046 };
9047
994141e6 9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9050 if (SWIG_arg_fail(1)) SWIG_fail;
9051 {
9052 arg2 = (int)(SWIG_As_int(obj1));
9053 if (SWIG_arg_fail(2)) SWIG_fail;
9054 }
d14a1e28
RD
9055 {
9056 PyThreadState* __tstate = wxPyBeginAllowThreads();
9057 (arg1)->SetMinimumSizeY(arg2);
9058
9059 wxPyEndAllowThreads(__tstate);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 }
9062 Py_INCREF(Py_None); resultobj = Py_None;
9063 return resultobj;
9064 fail:
9065 return NULL;
9066}
9067
9068
c32bde28 9069static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9070 PyObject *resultobj;
9071 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9072 int result;
9073 PyObject * obj0 = 0 ;
9074 char *kwnames[] = {
9075 (char *) "self", NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9080 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9084
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
093d3ff1
RD
9088 {
9089 resultobj = SWIG_From_int((int)(result));
9090 }
d14a1e28
RD
9091 return resultobj;
9092 fail:
9093 return NULL;
9094}
9095
9096
c32bde28 9097static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9098 PyObject *resultobj;
9099 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9100 int result;
9101 PyObject * obj0 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "self", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9108 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9109 {
9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
9111 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9112
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) SWIG_fail;
9115 }
093d3ff1
RD
9116 {
9117 resultobj = SWIG_From_int((int)(result));
9118 }
d14a1e28
RD
9119 return resultobj;
9120 fail:
9121 return NULL;
9122}
9123
9124
c32bde28 9125static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9126 PyObject *resultobj;
9127 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9128 int arg2 ;
9129 PyObject * obj0 = 0 ;
994141e6 9130 PyObject * obj1 = 0 ;
d14a1e28
RD
9131 char *kwnames[] = {
9132 (char *) "self",(char *) "max", NULL
9133 };
9134
994141e6 9135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9137 if (SWIG_arg_fail(1)) SWIG_fail;
9138 {
9139 arg2 = (int)(SWIG_As_int(obj1));
9140 if (SWIG_arg_fail(2)) SWIG_fail;
9141 }
d14a1e28
RD
9142 {
9143 PyThreadState* __tstate = wxPyBeginAllowThreads();
9144 (arg1)->SetMaximumSizeX(arg2);
9145
9146 wxPyEndAllowThreads(__tstate);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 Py_INCREF(Py_None); resultobj = Py_None;
9150 return resultobj;
9151 fail:
9152 return NULL;
9153}
9154
9155
c32bde28 9156static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9157 PyObject *resultobj;
9158 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9159 int arg2 ;
9160 PyObject * obj0 = 0 ;
994141e6 9161 PyObject * obj1 = 0 ;
d14a1e28
RD
9162 char *kwnames[] = {
9163 (char *) "self",(char *) "max", NULL
9164 };
9165
994141e6 9166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9168 if (SWIG_arg_fail(1)) SWIG_fail;
9169 {
9170 arg2 = (int)(SWIG_As_int(obj1));
9171 if (SWIG_arg_fail(2)) SWIG_fail;
9172 }
d14a1e28
RD
9173 {
9174 PyThreadState* __tstate = wxPyBeginAllowThreads();
9175 (arg1)->SetMaximumSizeY(arg2);
9176
9177 wxPyEndAllowThreads(__tstate);
9178 if (PyErr_Occurred()) SWIG_fail;
9179 }
9180 Py_INCREF(Py_None); resultobj = Py_None;
9181 return resultobj;
9182 fail:
9183 return NULL;
9184}
9185
9186
c32bde28 9187static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9188 PyObject *resultobj;
9189 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9190 int result;
9191 PyObject * obj0 = 0 ;
9192 char *kwnames[] = {
9193 (char *) "self", NULL
9194 };
9195
9196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9198 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9202
9203 wxPyEndAllowThreads(__tstate);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
093d3ff1
RD
9206 {
9207 resultobj = SWIG_From_int((int)(result));
9208 }
d14a1e28
RD
9209 return resultobj;
9210 fail:
9211 return NULL;
9212}
9213
9214
c32bde28 9215static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9216 PyObject *resultobj;
9217 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9218 int result;
9219 PyObject * obj0 = 0 ;
9220 char *kwnames[] = {
9221 (char *) "self", NULL
9222 };
9223
9224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9226 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9227 {
9228 PyThreadState* __tstate = wxPyBeginAllowThreads();
9229 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9230
9231 wxPyEndAllowThreads(__tstate);
9232 if (PyErr_Occurred()) SWIG_fail;
9233 }
093d3ff1
RD
9234 {
9235 resultobj = SWIG_From_int((int)(result));
9236 }
d14a1e28
RD
9237 return resultobj;
9238 fail:
9239 return NULL;
9240}
9241
9242
c32bde28 9243static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9244 PyObject *resultobj;
9245 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9246 int arg2 ;
9247 int arg3 ;
9248 int arg4 = (int) 2 ;
093d3ff1 9249 wxSashEdgePosition result;
d14a1e28 9250 PyObject * obj0 = 0 ;
994141e6
RD
9251 PyObject * obj1 = 0 ;
9252 PyObject * obj2 = 0 ;
9253 PyObject * obj3 = 0 ;
d14a1e28
RD
9254 char *kwnames[] = {
9255 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9256 };
9257
994141e6 9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) 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;
9261 {
9262 arg2 = (int)(SWIG_As_int(obj1));
9263 if (SWIG_arg_fail(2)) SWIG_fail;
9264 }
9265 {
9266 arg3 = (int)(SWIG_As_int(obj2));
9267 if (SWIG_arg_fail(3)) SWIG_fail;
9268 }
994141e6 9269 if (obj3) {
093d3ff1
RD
9270 {
9271 arg4 = (int)(SWIG_As_int(obj3));
9272 if (SWIG_arg_fail(4)) SWIG_fail;
9273 }
994141e6 9274 }
d14a1e28
RD
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9277 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
d14a1e28
RD
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
093d3ff1 9282 resultobj = SWIG_From_int((result));
d14a1e28
RD
9283 return resultobj;
9284 fail:
9285 return NULL;
9286}
9287
9288
c32bde28 9289static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9290 PyObject *resultobj;
9291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9292 PyObject * obj0 = 0 ;
9293 char *kwnames[] = {
9294 (char *) "self", NULL
9295 };
9296
9297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
9298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9299 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 (arg1)->SizeWindows();
9303
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 Py_INCREF(Py_None); resultobj = Py_None;
9308 return resultobj;
9309 fail:
9310 return NULL;
9311}
9312
9313
c32bde28 9314static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9315 PyObject *obj;
9316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9317 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9318 Py_INCREF(obj);
9319 return Py_BuildValue((char *)"");
9320}
c32bde28 9321static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9322 PyObject *resultobj;
9323 int arg1 = (int) 0 ;
093d3ff1 9324 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
d14a1e28 9325 wxSashEvent *result;
994141e6
RD
9326 PyObject * obj0 = 0 ;
9327 PyObject * obj1 = 0 ;
d14a1e28
RD
9328 char *kwnames[] = {
9329 (char *) "id",(char *) "edge", NULL
9330 };
9331
994141e6
RD
9332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9333 if (obj0) {
093d3ff1
RD
9334 {
9335 arg1 = (int)(SWIG_As_int(obj0));
9336 if (SWIG_arg_fail(1)) SWIG_fail;
9337 }
994141e6
RD
9338 }
9339 if (obj1) {
093d3ff1
RD
9340 {
9341 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9342 if (SWIG_arg_fail(2)) SWIG_fail;
9343 }
994141e6 9344 }
d14a1e28
RD
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9348
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
15afbcd0 9352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
d14a1e28
RD
9353 return resultobj;
9354 fail:
9355 return NULL;
9356}
9357
9358
c32bde28 9359static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9360 PyObject *resultobj;
9361 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9362 wxSashEdgePosition arg2 ;
d14a1e28 9363 PyObject * obj0 = 0 ;
994141e6 9364 PyObject * obj1 = 0 ;
d14a1e28
RD
9365 char *kwnames[] = {
9366 (char *) "self",(char *) "edge", NULL
9367 };
9368
994141e6 9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9371 if (SWIG_arg_fail(1)) SWIG_fail;
9372 {
9373 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9374 if (SWIG_arg_fail(2)) SWIG_fail;
9375 }
d14a1e28
RD
9376 {
9377 PyThreadState* __tstate = wxPyBeginAllowThreads();
9378 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9379
9380 wxPyEndAllowThreads(__tstate);
9381 if (PyErr_Occurred()) SWIG_fail;
9382 }
9383 Py_INCREF(Py_None); resultobj = Py_None;
9384 return resultobj;
9385 fail:
9386 return NULL;
9387}
9388
9389
c32bde28 9390static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9391 PyObject *resultobj;
9392 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9393 wxSashEdgePosition result;
d14a1e28
RD
9394 PyObject * obj0 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
093d3ff1
RD
9400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9404 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
d14a1e28
RD
9405
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
093d3ff1 9409 resultobj = SWIG_From_int((result));
d14a1e28
RD
9410 return resultobj;
9411 fail:
9412 return NULL;
9413}
9414
9415
c32bde28 9416static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9417 PyObject *resultobj;
9418 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9419 wxRect *arg2 = 0 ;
9420 wxRect temp2 ;
9421 PyObject * obj0 = 0 ;
9422 PyObject * obj1 = 0 ;
9423 char *kwnames[] = {
9424 (char *) "self",(char *) "rect", NULL
9425 };
9426
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9429 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9430 {
9431 arg2 = &temp2;
9432 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9433 }
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 (arg1)->SetDragRect((wxRect const &)*arg2);
9437
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 Py_INCREF(Py_None); resultobj = Py_None;
9442 return resultobj;
9443 fail:
9444 return NULL;
9445}
9446
9447
c32bde28 9448static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9449 PyObject *resultobj;
9450 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9451 wxRect result;
9452 PyObject * obj0 = 0 ;
9453 char *kwnames[] = {
9454 (char *) "self", NULL
9455 };
9456
9457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
9458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9460 {
9461 PyThreadState* __tstate = wxPyBeginAllowThreads();
9462 result = ((wxSashEvent const *)arg1)->GetDragRect();
9463
9464 wxPyEndAllowThreads(__tstate);
9465 if (PyErr_Occurred()) SWIG_fail;
9466 }
9467 {
9468 wxRect * resultptr;
093d3ff1 9469 resultptr = new wxRect((wxRect &)(result));
15afbcd0 9470 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
9471 }
9472 return resultobj;
9473 fail:
9474 return NULL;
9475}
9476
9477
c32bde28 9478static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9479 PyObject *resultobj;
9480 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9481 wxSashDragStatus arg2 ;
d14a1e28 9482 PyObject * obj0 = 0 ;
994141e6 9483 PyObject * obj1 = 0 ;
d14a1e28
RD
9484 char *kwnames[] = {
9485 (char *) "self",(char *) "status", NULL
9486 };
9487
994141e6 9488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9490 if (SWIG_arg_fail(1)) SWIG_fail;
9491 {
9492 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9493 if (SWIG_arg_fail(2)) SWIG_fail;
9494 }
d14a1e28
RD
9495 {
9496 PyThreadState* __tstate = wxPyBeginAllowThreads();
9497 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9498
9499 wxPyEndAllowThreads(__tstate);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
9502 Py_INCREF(Py_None); resultobj = Py_None;
9503 return resultobj;
9504 fail:
9505 return NULL;
9506}
9507
9508
c32bde28 9509static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9510 PyObject *resultobj;
9511 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9512 wxSashDragStatus result;
d14a1e28
RD
9513 PyObject * obj0 = 0 ;
9514 char *kwnames[] = {
9515 (char *) "self", NULL
9516 };
9517
9518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
093d3ff1
RD
9519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9520 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9523 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
d14a1e28
RD
9524
9525 wxPyEndAllowThreads(__tstate);
9526 if (PyErr_Occurred()) SWIG_fail;
9527 }
093d3ff1 9528 resultobj = SWIG_From_int((result));
d14a1e28
RD
9529 return resultobj;
9530 fail:
9531 return NULL;
9532}
9533
9534
c32bde28 9535static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9536 PyObject *obj;
9537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9538 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9539 Py_INCREF(obj);
9540 return Py_BuildValue((char *)"");
9541}
c32bde28 9542static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 9543 PyObject *resultobj;
e811c8ce 9544 int arg1 = (int) 0 ;
d14a1e28 9545 wxQueryLayoutInfoEvent *result;
994141e6 9546 PyObject * obj0 = 0 ;
d14a1e28
RD
9547 char *kwnames[] = {
9548 (char *) "id", NULL
9549 };
9550
994141e6
RD
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9552 if (obj0) {
093d3ff1
RD
9553 {
9554 arg1 = (int)(SWIG_As_int(obj0));
9555 if (SWIG_arg_fail(1)) SWIG_fail;
9556 }
994141e6 9557 }
d14a1e28
RD
9558 {
9559 PyThreadState* __tstate = wxPyBeginAllowThreads();
9560 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9561
9562 wxPyEndAllowThreads(__tstate);
9563 if (PyErr_Occurred()) SWIG_fail;
9564 }
15afbcd0 9565 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
d14a1e28
RD
9566 return resultobj;
9567 fail:
9568 return NULL;
9569}
9570
9571
c32bde28 9572static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9573 PyObject *resultobj;
9574 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9575 int arg2 ;
9576 PyObject * obj0 = 0 ;
994141e6 9577 PyObject * obj1 = 0 ;
d14a1e28
RD
9578 char *kwnames[] = {
9579 (char *) "self",(char *) "length", NULL
9580 };
9581
994141e6 9582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9584 if (SWIG_arg_fail(1)) SWIG_fail;
9585 {
9586 arg2 = (int)(SWIG_As_int(obj1));
9587 if (SWIG_arg_fail(2)) SWIG_fail;
9588 }
d14a1e28
RD
9589 {
9590 PyThreadState* __tstate = wxPyBeginAllowThreads();
9591 (arg1)->SetRequestedLength(arg2);
9592
9593 wxPyEndAllowThreads(__tstate);
9594 if (PyErr_Occurred()) SWIG_fail;
9595 }
9596 Py_INCREF(Py_None); resultobj = Py_None;
9597 return resultobj;
9598 fail:
9599 return NULL;
9600}
9601
9602
c32bde28 9603static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9604 PyObject *resultobj;
9605 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9606 int result;
9607 PyObject * obj0 = 0 ;
9608 char *kwnames[] = {
9609 (char *) "self", NULL
9610 };
9611
9612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
9613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9614 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9615 {
9616 PyThreadState* __tstate = wxPyBeginAllowThreads();
9617 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9618
9619 wxPyEndAllowThreads(__tstate);
9620 if (PyErr_Occurred()) SWIG_fail;
9621 }
093d3ff1
RD
9622 {
9623 resultobj = SWIG_From_int((int)(result));
9624 }
d14a1e28
RD
9625 return resultobj;
9626 fail:
9627 return NULL;
9628}
9629
9630
c32bde28 9631static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9632 PyObject *resultobj;
9633 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9634 int arg2 ;
9635 PyObject * obj0 = 0 ;
994141e6 9636 PyObject * obj1 = 0 ;
d14a1e28
RD
9637 char *kwnames[] = {
9638 (char *) "self",(char *) "flags", NULL
9639 };
9640
994141e6 9641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9643 if (SWIG_arg_fail(1)) SWIG_fail;
9644 {
9645 arg2 = (int)(SWIG_As_int(obj1));
9646 if (SWIG_arg_fail(2)) SWIG_fail;
9647 }
d14a1e28
RD
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 (arg1)->SetFlags(arg2);
9651
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 }
9655 Py_INCREF(Py_None); resultobj = Py_None;
9656 return resultobj;
9657 fail:
9658 return NULL;
9659}
9660
9661
c32bde28 9662static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9663 PyObject *resultobj;
9664 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9665 int result;
9666 PyObject * obj0 = 0 ;
9667 char *kwnames[] = {
9668 (char *) "self", NULL
9669 };
9670
9671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9673 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
093d3ff1
RD
9681 {
9682 resultobj = SWIG_From_int((int)(result));
9683 }
d14a1e28
RD
9684 return resultobj;
9685 fail:
9686 return NULL;
9687}
9688
9689
c32bde28 9690static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9691 PyObject *resultobj;
9692 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9693 wxSize *arg2 = 0 ;
9694 wxSize temp2 ;
9695 PyObject * obj0 = 0 ;
9696 PyObject * obj1 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self",(char *) "size", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9703 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9704 {
9705 arg2 = &temp2;
9706 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9707 }
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 (arg1)->SetSize((wxSize const &)*arg2);
9711
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
9715 Py_INCREF(Py_None); resultobj = Py_None;
9716 return resultobj;
9717 fail:
9718 return NULL;
9719}
9720
9721
c32bde28 9722static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9723 PyObject *resultobj;
9724 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9725 wxSize result;
9726 PyObject * obj0 = 0 ;
9727 char *kwnames[] = {
9728 (char *) "self", NULL
9729 };
9730
9731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9733 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9734 {
9735 PyThreadState* __tstate = wxPyBeginAllowThreads();
9736 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9737
9738 wxPyEndAllowThreads(__tstate);
9739 if (PyErr_Occurred()) SWIG_fail;
9740 }
9741 {
9742 wxSize * resultptr;
093d3ff1 9743 resultptr = new wxSize((wxSize &)(result));
15afbcd0 9744 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
9745 }
9746 return resultobj;
9747 fail:
9748 return NULL;
9749}
9750
9751
c32bde28 9752static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9753 PyObject *resultobj;
9754 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9755 wxLayoutOrientation arg2 ;
d14a1e28 9756 PyObject * obj0 = 0 ;
994141e6 9757 PyObject * obj1 = 0 ;
d14a1e28
RD
9758 char *kwnames[] = {
9759 (char *) "self",(char *) "orient", NULL
9760 };
9761
994141e6 9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9764 if (SWIG_arg_fail(1)) SWIG_fail;
9765 {
9766 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9767 if (SWIG_arg_fail(2)) SWIG_fail;
9768 }
d14a1e28
RD
9769 {
9770 PyThreadState* __tstate = wxPyBeginAllowThreads();
9771 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9772
9773 wxPyEndAllowThreads(__tstate);
9774 if (PyErr_Occurred()) SWIG_fail;
9775 }
9776 Py_INCREF(Py_None); resultobj = Py_None;
9777 return resultobj;
9778 fail:
9779 return NULL;
9780}
9781
9782
c32bde28 9783static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9784 PyObject *resultobj;
9785 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9786 wxLayoutOrientation result;
d14a1e28
RD
9787 PyObject * obj0 = 0 ;
9788 char *kwnames[] = {
9789 (char *) "self", NULL
9790 };
9791
9792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
9793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9794 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9795 {
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9797 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
d14a1e28
RD
9798
9799 wxPyEndAllowThreads(__tstate);
9800 if (PyErr_Occurred()) SWIG_fail;
9801 }
093d3ff1 9802 resultobj = SWIG_From_int((result));
d14a1e28
RD
9803 return resultobj;
9804 fail:
9805 return NULL;
9806}
9807
9808
c32bde28 9809static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9810 PyObject *resultobj;
9811 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9812 wxLayoutAlignment arg2 ;
d14a1e28 9813 PyObject * obj0 = 0 ;
994141e6 9814 PyObject * obj1 = 0 ;
d14a1e28
RD
9815 char *kwnames[] = {
9816 (char *) "self",(char *) "align", NULL
9817 };
9818
994141e6 9819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9821 if (SWIG_arg_fail(1)) SWIG_fail;
9822 {
9823 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9824 if (SWIG_arg_fail(2)) SWIG_fail;
9825 }
d14a1e28
RD
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
9833 Py_INCREF(Py_None); resultobj = Py_None;
9834 return resultobj;
9835 fail:
9836 return NULL;
9837}
9838
9839
c32bde28 9840static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9841 PyObject *resultobj;
9842 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9843 wxLayoutAlignment result;
d14a1e28
RD
9844 PyObject * obj0 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9851 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9854 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
d14a1e28
RD
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
093d3ff1 9859 resultobj = SWIG_From_int((result));
d14a1e28
RD
9860 return resultobj;
9861 fail:
9862 return NULL;
9863}
9864
9865
c32bde28 9866static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9867 PyObject *obj;
9868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9869 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9870 Py_INCREF(obj);
9871 return Py_BuildValue((char *)"");
9872}
c32bde28 9873static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 9874 PyObject *resultobj;
e811c8ce 9875 int arg1 = (int) 0 ;
d14a1e28 9876 wxCalculateLayoutEvent *result;
994141e6 9877 PyObject * obj0 = 0 ;
d14a1e28
RD
9878 char *kwnames[] = {
9879 (char *) "id", NULL
9880 };
9881
994141e6
RD
9882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9883 if (obj0) {
093d3ff1
RD
9884 {
9885 arg1 = (int)(SWIG_As_int(obj0));
9886 if (SWIG_arg_fail(1)) SWIG_fail;
9887 }
994141e6 9888 }
d14a1e28
RD
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9892
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
15afbcd0 9896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
d14a1e28
RD
9897 return resultobj;
9898 fail:
9899 return NULL;
9900}
9901
9902
c32bde28 9903static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9904 PyObject *resultobj;
9905 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9906 int arg2 ;
9907 PyObject * obj0 = 0 ;
994141e6 9908 PyObject * obj1 = 0 ;
d14a1e28
RD
9909 char *kwnames[] = {
9910 (char *) "self",(char *) "flags", NULL
9911 };
9912
994141e6 9913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9915 if (SWIG_arg_fail(1)) SWIG_fail;
9916 {
9917 arg2 = (int)(SWIG_As_int(obj1));
9918 if (SWIG_arg_fail(2)) SWIG_fail;
9919 }
d14a1e28
RD
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 (arg1)->SetFlags(arg2);
9923
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 Py_INCREF(Py_None); resultobj = Py_None;
9928 return resultobj;
9929 fail:
9930 return NULL;
9931}
9932
9933
c32bde28 9934static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9935 PyObject *resultobj;
9936 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9937 int result;
9938 PyObject * obj0 = 0 ;
9939 char *kwnames[] = {
9940 (char *) "self", NULL
9941 };
9942
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9945 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9946 {
9947 PyThreadState* __tstate = wxPyBeginAllowThreads();
9948 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
9949
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
093d3ff1
RD
9953 {
9954 resultobj = SWIG_From_int((int)(result));
9955 }
d14a1e28
RD
9956 return resultobj;
9957 fail:
9958 return NULL;
9959}
9960
9961
c32bde28 9962static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9963 PyObject *resultobj;
9964 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9965 wxRect *arg2 = 0 ;
9966 wxRect temp2 ;
9967 PyObject * obj0 = 0 ;
9968 PyObject * obj1 = 0 ;
9969 char *kwnames[] = {
9970 (char *) "self",(char *) "rect", NULL
9971 };
9972
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9975 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9976 {
9977 arg2 = &temp2;
9978 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9979 }
9980 {
9981 PyThreadState* __tstate = wxPyBeginAllowThreads();
9982 (arg1)->SetRect((wxRect const &)*arg2);
9983
9984 wxPyEndAllowThreads(__tstate);
9985 if (PyErr_Occurred()) SWIG_fail;
9986 }
9987 Py_INCREF(Py_None); resultobj = Py_None;
9988 return resultobj;
9989 fail:
9990 return NULL;
9991}
9992
9993
c32bde28 9994static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9995 PyObject *resultobj;
9996 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9997 wxRect result;
9998 PyObject * obj0 = 0 ;
9999 char *kwnames[] = {
10000 (char *) "self", NULL
10001 };
10002
10003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
10004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10005 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10006 {
10007 PyThreadState* __tstate = wxPyBeginAllowThreads();
10008 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10009
10010 wxPyEndAllowThreads(__tstate);
10011 if (PyErr_Occurred()) SWIG_fail;
10012 }
10013 {
10014 wxRect * resultptr;
093d3ff1 10015 resultptr = new wxRect((wxRect &)(result));
15afbcd0 10016 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
10017 }
10018 return resultobj;
10019 fail:
10020 return NULL;
10021}
10022
10023
c32bde28 10024static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10025 PyObject *obj;
10026 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10027 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10028 Py_INCREF(obj);
10029 return Py_BuildValue((char *)"");
10030}
c32bde28 10031static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10032 PyObject *resultobj;
10033 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 10034 int arg2 = (int) -1 ;
d14a1e28
RD
10035 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10036 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10037 wxSize const &arg4_defvalue = wxDefaultSize ;
10038 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10039 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10040 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10041 wxString *arg6 = (wxString *) &arg6_defvalue ;
10042 wxSashLayoutWindow *result;
10043 wxPoint temp3 ;
10044 wxSize temp4 ;
ae8162c8 10045 bool temp6 = false ;
d14a1e28 10046 PyObject * obj0 = 0 ;
994141e6 10047 PyObject * obj1 = 0 ;
d14a1e28
RD
10048 PyObject * obj2 = 0 ;
10049 PyObject * obj3 = 0 ;
994141e6 10050 PyObject * obj4 = 0 ;
d14a1e28
RD
10051 PyObject * obj5 = 0 ;
10052 char *kwnames[] = {
10053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10054 };
10055
248ed943 10056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
10057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10058 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 10059 if (obj1) {
093d3ff1
RD
10060 {
10061 arg2 = (int)(SWIG_As_int(obj1));
10062 if (SWIG_arg_fail(2)) SWIG_fail;
10063 }
248ed943 10064 }
d14a1e28
RD
10065 if (obj2) {
10066 {
10067 arg3 = &temp3;
10068 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10069 }
10070 }
10071 if (obj3) {
10072 {
10073 arg4 = &temp4;
10074 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10075 }
10076 }
994141e6 10077 if (obj4) {
093d3ff1
RD
10078 {
10079 arg5 = (long)(SWIG_As_long(obj4));
10080 if (SWIG_arg_fail(5)) SWIG_fail;
10081 }
994141e6 10082 }
d14a1e28
RD
10083 if (obj5) {
10084 {
10085 arg6 = wxString_in_helper(obj5);
10086 if (arg6 == NULL) SWIG_fail;
ae8162c8 10087 temp6 = true;
d14a1e28
RD
10088 }
10089 }
10090 {
e3b71cb8 10091 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10092 PyThreadState* __tstate = wxPyBeginAllowThreads();
10093 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10094
10095 wxPyEndAllowThreads(__tstate);
110da5b0 10096 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10097 }
15afbcd0 10098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
10099 {
10100 if (temp6)
10101 delete arg6;
10102 }
10103 return resultobj;
10104 fail:
10105 {
10106 if (temp6)
10107 delete arg6;
10108 }
10109 return NULL;
10110}
10111
10112
c32bde28 10113static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10114 PyObject *resultobj;
10115 wxSashLayoutWindow *result;
10116 char *kwnames[] = {
10117 NULL
10118 };
10119
10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10121 {
e3b71cb8 10122 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10125
10126 wxPyEndAllowThreads(__tstate);
110da5b0 10127 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10128 }
15afbcd0 10129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
10130 return resultobj;
10131 fail:
10132 return NULL;
10133}
10134
10135
c32bde28 10136static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10137 PyObject *resultobj;
10138 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10139 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 10140 int arg3 = (int) -1 ;
d14a1e28
RD
10141 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10142 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10143 wxSize const &arg5_defvalue = wxDefaultSize ;
10144 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10145 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10146 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10147 wxString *arg7 = (wxString *) &arg7_defvalue ;
10148 bool result;
10149 wxPoint temp4 ;
10150 wxSize temp5 ;
ae8162c8 10151 bool temp7 = false ;
d14a1e28
RD
10152 PyObject * obj0 = 0 ;
10153 PyObject * obj1 = 0 ;
994141e6 10154 PyObject * obj2 = 0 ;
d14a1e28
RD
10155 PyObject * obj3 = 0 ;
10156 PyObject * obj4 = 0 ;
994141e6 10157 PyObject * obj5 = 0 ;
d14a1e28
RD
10158 PyObject * obj6 = 0 ;
10159 char *kwnames[] = {
10160 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10161 };
10162
248ed943 10163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
10164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10165 if (SWIG_arg_fail(1)) SWIG_fail;
10166 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10167 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 10168 if (obj2) {
093d3ff1
RD
10169 {
10170 arg3 = (int)(SWIG_As_int(obj2));
10171 if (SWIG_arg_fail(3)) SWIG_fail;
10172 }
248ed943 10173 }
d14a1e28
RD
10174 if (obj3) {
10175 {
10176 arg4 = &temp4;
10177 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10178 }
10179 }
10180 if (obj4) {
10181 {
10182 arg5 = &temp5;
10183 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10184 }
10185 }
994141e6 10186 if (obj5) {
093d3ff1
RD
10187 {
10188 arg6 = (long)(SWIG_As_long(obj5));
10189 if (SWIG_arg_fail(6)) SWIG_fail;
10190 }
994141e6 10191 }
d14a1e28
RD
10192 if (obj6) {
10193 {
10194 arg7 = wxString_in_helper(obj6);
10195 if (arg7 == NULL) SWIG_fail;
ae8162c8 10196 temp7 = true;
d14a1e28
RD
10197 }
10198 }
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
4f89f6a3
RD
10206 {
10207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10208 }
d14a1e28
RD
10209 {
10210 if (temp7)
10211 delete arg7;
10212 }
10213 return resultobj;
10214 fail:
10215 {
10216 if (temp7)
10217 delete arg7;
10218 }
10219 return NULL;
10220}
10221
10222
c32bde28 10223static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10224 PyObject *resultobj;
10225 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10226 wxLayoutAlignment result;
d14a1e28
RD
10227 PyObject * obj0 = 0 ;
10228 char *kwnames[] = {
10229 (char *) "self", NULL
10230 };
10231
10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
10233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10234 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10235 {
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10237 result = (wxLayoutAlignment)(arg1)->GetAlignment();
d14a1e28
RD
10238
10239 wxPyEndAllowThreads(__tstate);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
093d3ff1 10242 resultobj = SWIG_From_int((result));
d14a1e28
RD
10243 return resultobj;
10244 fail:
10245 return NULL;
10246}
10247
10248
c32bde28 10249static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10250 PyObject *resultobj;
10251 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10252 wxLayoutOrientation result;
d14a1e28
RD
10253 PyObject * obj0 = 0 ;
10254 char *kwnames[] = {
10255 (char *) "self", NULL
10256 };
10257
10258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
10259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10260 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10263 result = (wxLayoutOrientation)(arg1)->GetOrientation();
d14a1e28
RD
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
093d3ff1 10268 resultobj = SWIG_From_int((result));
d14a1e28
RD
10269 return resultobj;
10270 fail:
10271 return NULL;
10272}
10273
10274
c32bde28 10275static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10276 PyObject *resultobj;
10277 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10278 wxLayoutAlignment arg2 ;
d14a1e28 10279 PyObject * obj0 = 0 ;
994141e6 10280 PyObject * obj1 = 0 ;
d14a1e28
RD
10281 char *kwnames[] = {
10282 (char *) "self",(char *) "alignment", NULL
10283 };
10284
994141e6 10285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10287 if (SWIG_arg_fail(1)) SWIG_fail;
10288 {
10289 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10290 if (SWIG_arg_fail(2)) SWIG_fail;
10291 }
d14a1e28
RD
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 Py_INCREF(Py_None); resultobj = Py_None;
10300 return resultobj;
10301 fail:
10302 return NULL;
10303}
10304
10305
c32bde28 10306static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10307 PyObject *resultobj;
10308 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10309 wxSize *arg2 = 0 ;
10310 wxSize temp2 ;
10311 PyObject * obj0 = 0 ;
10312 PyObject * obj1 = 0 ;
10313 char *kwnames[] = {
10314 (char *) "self",(char *) "size", NULL
10315 };
10316
10317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10319 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10320 {
10321 arg2 = &temp2;
10322 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10323 }
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 Py_INCREF(Py_None); resultobj = Py_None;
10332 return resultobj;
10333 fail:
10334 return NULL;
10335}
10336
10337
c32bde28 10338static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10339 PyObject *resultobj;
10340 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10341 wxLayoutOrientation arg2 ;
d14a1e28 10342 PyObject * obj0 = 0 ;
994141e6 10343 PyObject * obj1 = 0 ;
d14a1e28
RD
10344 char *kwnames[] = {
10345 (char *) "self",(char *) "orientation", NULL
10346 };
10347
994141e6 10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10350 if (SWIG_arg_fail(1)) SWIG_fail;
10351 {
10352 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10353 if (SWIG_arg_fail(2)) SWIG_fail;
10354 }
d14a1e28
RD
10355 {
10356 PyThreadState* __tstate = wxPyBeginAllowThreads();
10357 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10358
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 Py_INCREF(Py_None); resultobj = Py_None;
10363 return resultobj;
10364 fail:
10365 return NULL;
10366}
10367
10368
c32bde28 10369static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10370 PyObject *obj;
10371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10372 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10373 Py_INCREF(obj);
10374 return Py_BuildValue((char *)"");
10375}
c32bde28 10376static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10377 PyObject *resultobj;
10378 wxLayoutAlgorithm *result;
10379 char *kwnames[] = {
10380 NULL
10381 };
10382
10383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
15afbcd0 10391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
d14a1e28
RD
10392 return resultobj;
10393 fail:
10394 return NULL;
10395}
10396
10397
c32bde28 10398static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10399 PyObject *resultobj;
10400 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10401 PyObject * obj0 = 0 ;
10402 char *kwnames[] = {
10403 (char *) "self", NULL
10404 };
10405
10406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
093d3ff1
RD
10407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10408 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 delete arg1;
10412
10413 wxPyEndAllowThreads(__tstate);
10414 if (PyErr_Occurred()) SWIG_fail;
10415 }
10416 Py_INCREF(Py_None); resultobj = Py_None;
10417 return resultobj;
10418 fail:
10419 return NULL;
10420}
10421
10422
c32bde28 10423static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10424 PyObject *resultobj;
10425 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10426 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10427 wxRect *arg3 = (wxRect *) NULL ;
10428 bool result;
10429 PyObject * obj0 = 0 ;
10430 PyObject * obj1 = 0 ;
10431 PyObject * obj2 = 0 ;
10432 char *kwnames[] = {
10433 (char *) "self",(char *) "frame",(char *) "rect", NULL
10434 };
10435
10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10438 if (SWIG_arg_fail(1)) SWIG_fail;
10439 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10440 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10441 if (obj2) {
093d3ff1
RD
10442 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10443 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10444 }
10445 {
10446 PyThreadState* __tstate = wxPyBeginAllowThreads();
10447 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10448
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
4f89f6a3
RD
10452 {
10453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10454 }
d14a1e28
RD
10455 return resultobj;
10456 fail:
10457 return NULL;
10458}
10459
10460
c32bde28 10461static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10462 PyObject *resultobj;
10463 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10464 wxFrame *arg2 = (wxFrame *) 0 ;
10465 wxWindow *arg3 = (wxWindow *) NULL ;
10466 bool result;
10467 PyObject * obj0 = 0 ;
10468 PyObject * obj1 = 0 ;
10469 PyObject * obj2 = 0 ;
10470 char *kwnames[] = {
10471 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10472 };
10473
10474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10476 if (SWIG_arg_fail(1)) SWIG_fail;
10477 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10478 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10479 if (obj2) {
093d3ff1
RD
10480 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10481 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10482 }
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10486
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
4f89f6a3
RD
10490 {
10491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10492 }
d14a1e28
RD
10493 return resultobj;
10494 fail:
10495 return NULL;
10496}
10497
10498
c32bde28 10499static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10500 PyObject *resultobj;
10501 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10502 wxWindow *arg2 = (wxWindow *) 0 ;
10503 wxWindow *arg3 = (wxWindow *) NULL ;
10504 bool result;
10505 PyObject * obj0 = 0 ;
10506 PyObject * obj1 = 0 ;
10507 PyObject * obj2 = 0 ;
10508 char *kwnames[] = {
10509 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10510 };
10511
10512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10514 if (SWIG_arg_fail(1)) SWIG_fail;
10515 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10516 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10517 if (obj2) {
093d3ff1
RD
10518 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10519 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10520 }
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
4f89f6a3
RD
10528 {
10529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10530 }
d14a1e28
RD
10531 return resultobj;
10532 fail:
10533 return NULL;
10534}
10535
10536
c32bde28 10537static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10538 PyObject *obj;
10539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10540 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10541 Py_INCREF(obj);
10542 return Py_BuildValue((char *)"");
10543}
c32bde28 10544static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10545 PyObject *resultobj;
10546 wxWindow *arg1 = (wxWindow *) 0 ;
10547 int arg2 = (int) wxBORDER_NONE ;
10548 wxPopupWindow *result;
10549 PyObject * obj0 = 0 ;
994141e6 10550 PyObject * obj1 = 0 ;
d14a1e28
RD
10551 char *kwnames[] = {
10552 (char *) "parent",(char *) "flags", NULL
10553 };
10554
994141e6 10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10557 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 10558 if (obj1) {
093d3ff1
RD
10559 {
10560 arg2 = (int)(SWIG_As_int(obj1));
10561 if (SWIG_arg_fail(2)) SWIG_fail;
10562 }
994141e6 10563 }
d14a1e28 10564 {
e3b71cb8 10565 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10568
10569 wxPyEndAllowThreads(__tstate);
110da5b0 10570 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10571 }
15afbcd0 10572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
10573 return resultobj;
10574 fail:
10575 return NULL;
10576}
10577
10578
c32bde28 10579static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10580 PyObject *resultobj;
10581 wxPopupWindow *result;
10582 char *kwnames[] = {
10583 NULL
10584 };
10585
10586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10587 {
e3b71cb8 10588 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 result = (wxPopupWindow *)new wxPopupWindow();
10591
10592 wxPyEndAllowThreads(__tstate);
110da5b0 10593 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10594 }
15afbcd0 10595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
10596 return resultobj;
10597 fail:
10598 return NULL;
10599}
10600
10601
c32bde28 10602static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10603 PyObject *resultobj;
10604 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10605 wxWindow *arg2 = (wxWindow *) 0 ;
10606 int arg3 = (int) wxBORDER_NONE ;
10607 bool result;
10608 PyObject * obj0 = 0 ;
10609 PyObject * obj1 = 0 ;
994141e6 10610 PyObject * obj2 = 0 ;
d14a1e28
RD
10611 char *kwnames[] = {
10612 (char *) "self",(char *) "parent",(char *) "flags", NULL
10613 };
10614
994141e6 10615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10617 if (SWIG_arg_fail(1)) SWIG_fail;
10618 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10619 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 10620 if (obj2) {
093d3ff1
RD
10621 {
10622 arg3 = (int)(SWIG_As_int(obj2));
10623 if (SWIG_arg_fail(3)) SWIG_fail;
10624 }
994141e6 10625 }
d14a1e28
RD
10626 {
10627 PyThreadState* __tstate = wxPyBeginAllowThreads();
10628 result = (bool)(arg1)->Create(arg2,arg3);
10629
10630 wxPyEndAllowThreads(__tstate);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 }
4f89f6a3
RD
10633 {
10634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10635 }
d14a1e28
RD
10636 return resultobj;
10637 fail:
10638 return NULL;
10639}
10640
10641
c32bde28 10642static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10643 PyObject *resultobj;
10644 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10645 wxPoint *arg2 = 0 ;
10646 wxSize *arg3 = 0 ;
10647 wxPoint temp2 ;
10648 wxSize temp3 ;
10649 PyObject * obj0 = 0 ;
10650 PyObject * obj1 = 0 ;
10651 PyObject * obj2 = 0 ;
10652 char *kwnames[] = {
10653 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10654 };
10655
10656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10658 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10659 {
10660 arg2 = &temp2;
10661 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10662 }
10663 {
10664 arg3 = &temp3;
10665 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10666 }
10667 {
10668 PyThreadState* __tstate = wxPyBeginAllowThreads();
10669 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10670
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 Py_INCREF(Py_None); resultobj = Py_None;
10675 return resultobj;
10676 fail:
10677 return NULL;
10678}
10679
10680
c32bde28 10681static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10682 PyObject *obj;
10683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10684 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10685 Py_INCREF(obj);
10686 return Py_BuildValue((char *)"");
10687}
c32bde28 10688static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10689 PyObject *resultobj;
10690 wxWindow *arg1 = (wxWindow *) 0 ;
10691 int arg2 = (int) wxBORDER_NONE ;
10692 wxPyPopupTransientWindow *result;
10693 PyObject * obj0 = 0 ;
994141e6 10694 PyObject * obj1 = 0 ;
d14a1e28
RD
10695 char *kwnames[] = {
10696 (char *) "parent",(char *) "style", NULL
10697 };
10698
994141e6 10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10701 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 10702 if (obj1) {
093d3ff1
RD
10703 {
10704 arg2 = (int)(SWIG_As_int(obj1));
10705 if (SWIG_arg_fail(2)) SWIG_fail;
10706 }
994141e6 10707 }
d14a1e28 10708 {
e3b71cb8 10709 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10710 PyThreadState* __tstate = wxPyBeginAllowThreads();
10711 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10712
10713 wxPyEndAllowThreads(__tstate);
110da5b0 10714 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10715 }
15afbcd0 10716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
10717 return resultobj;
10718 fail:
10719 return NULL;
10720}
10721
10722
c32bde28 10723static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10724 PyObject *resultobj;
10725 wxPyPopupTransientWindow *result;
10726 char *kwnames[] = {
10727 NULL
10728 };
10729
10730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10731 {
e3b71cb8 10732 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10733 PyThreadState* __tstate = wxPyBeginAllowThreads();
10734 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10735
10736 wxPyEndAllowThreads(__tstate);
110da5b0 10737 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10738 }
15afbcd0 10739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
10740 return resultobj;
10741 fail:
10742 return NULL;
10743}
10744
10745
c32bde28 10746static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10747 PyObject *resultobj;
10748 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10749 PyObject *arg2 = (PyObject *) 0 ;
10750 PyObject *arg3 = (PyObject *) 0 ;
10751 PyObject * obj0 = 0 ;
10752 PyObject * obj1 = 0 ;
10753 PyObject * obj2 = 0 ;
10754 char *kwnames[] = {
10755 (char *) "self",(char *) "self",(char *) "_class", NULL
10756 };
10757
10758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10760 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10761 arg2 = obj1;
10762 arg3 = obj2;
10763 {
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 (arg1)->_setCallbackInfo(arg2,arg3);
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 Py_INCREF(Py_None); resultobj = Py_None;
10771 return resultobj;
10772 fail:
10773 return NULL;
10774}
10775
10776
c32bde28 10777static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10778 PyObject *resultobj;
10779 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10780 wxWindow *arg2 = (wxWindow *) NULL ;
10781 PyObject * obj0 = 0 ;
10782 PyObject * obj1 = 0 ;
10783 char *kwnames[] = {
10784 (char *) "self",(char *) "focus", NULL
10785 };
10786
10787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10789 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 10790 if (obj1) {
093d3ff1
RD
10791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10792 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10793 }
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 (arg1)->Popup(arg2);
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 Py_INCREF(Py_None); resultobj = Py_None;
10802 return resultobj;
10803 fail:
10804 return NULL;
10805}
10806
10807
c32bde28 10808static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10809 PyObject *resultobj;
10810 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10811 PyObject * obj0 = 0 ;
10812 char *kwnames[] = {
10813 (char *) "self", NULL
10814 };
10815
10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
093d3ff1
RD
10817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10818 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 (arg1)->Dismiss();
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 Py_INCREF(Py_None); resultobj = Py_None;
10827 return resultobj;
10828 fail:
10829 return NULL;
10830}
10831
10832
c32bde28 10833static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10834 PyObject *obj;
10835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10836 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10837 Py_INCREF(obj);
10838 return Py_BuildValue((char *)"");
10839}
c32bde28 10840static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10841 PyObject *resultobj;
10842 wxWindow *arg1 = (wxWindow *) 0 ;
fd3f2efe 10843 wxString *arg2 = 0 ;
e811c8ce 10844 int arg3 = (int) 100 ;
d14a1e28
RD
10845 wxRect *arg4 = (wxRect *) NULL ;
10846 wxTipWindow *result;
ae8162c8 10847 bool temp2 = false ;
d14a1e28
RD
10848 PyObject * obj0 = 0 ;
10849 PyObject * obj1 = 0 ;
994141e6 10850 PyObject * obj2 = 0 ;
d14a1e28
RD
10851 PyObject * obj3 = 0 ;
10852 char *kwnames[] = {
10853 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10854 };
10855
994141e6 10856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10858 if (SWIG_arg_fail(1)) SWIG_fail;
fd3f2efe
RD
10859 {
10860 arg2 = wxString_in_helper(obj1);
10861 if (arg2 == NULL) SWIG_fail;
ae8162c8 10862 temp2 = true;
fd3f2efe 10863 }
994141e6 10864 if (obj2) {
093d3ff1
RD
10865 {
10866 arg3 = (int)(SWIG_As_int(obj2));
10867 if (SWIG_arg_fail(3)) SWIG_fail;
10868 }
994141e6 10869 }
d14a1e28 10870 if (obj3) {
093d3ff1
RD
10871 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10872 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
10873 }
10874 {
e3b71cb8 10875 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 10876 PyThreadState* __tstate = wxPyBeginAllowThreads();
fd3f2efe 10877 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
10878
10879 wxPyEndAllowThreads(__tstate);
110da5b0 10880 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10881 }
15afbcd0 10882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
fd3f2efe
RD
10883 {
10884 if (temp2)
10885 delete arg2;
10886 }
d14a1e28
RD
10887 return resultobj;
10888 fail:
fd3f2efe
RD
10889 {
10890 if (temp2)
10891 delete arg2;
10892 }
d14a1e28
RD
10893 return NULL;
10894}
10895
10896
c32bde28 10897static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10898 PyObject *resultobj;
10899 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10900 wxRect *arg2 = 0 ;
10901 wxRect temp2 ;
10902 PyObject * obj0 = 0 ;
10903 PyObject * obj1 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "self",(char *) "rectBound", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10910 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10911 {
10912 arg2 = &temp2;
10913 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10914 }
10915 {
10916 PyThreadState* __tstate = wxPyBeginAllowThreads();
10917 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10918
10919 wxPyEndAllowThreads(__tstate);
10920 if (PyErr_Occurred()) SWIG_fail;
10921 }
10922 Py_INCREF(Py_None); resultobj = Py_None;
10923 return resultobj;
10924 fail:
10925 return NULL;
10926}
10927
10928
c32bde28 10929static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10930 PyObject *resultobj;
10931 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10932 PyObject * obj0 = 0 ;
10933 char *kwnames[] = {
10934 (char *) "self", NULL
10935 };
10936
10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
10938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10939 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10940 {
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 (arg1)->Close();
10943
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 Py_INCREF(Py_None); resultobj = Py_None;
10948 return resultobj;
10949 fail:
10950 return NULL;
10951}
10952
10953
c32bde28 10954static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10955 PyObject *obj;
10956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10957 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
10958 Py_INCREF(obj);
10959 return Py_BuildValue((char *)"");
10960}
c32bde28 10961static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10962 PyObject *resultobj;
10963 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10964 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
10965 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10966 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10967 wxSize const &arg4_defvalue = wxDefaultSize ;
10968 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10969 long arg5 = (long) 0 ;
10970 wxString const &arg6_defvalue = wxPyPanelNameStr ;
10971 wxString *arg6 = (wxString *) &arg6_defvalue ;
10972 wxPyVScrolledWindow *result;
10973 wxPoint temp3 ;
10974 wxSize temp4 ;
ae8162c8 10975 bool temp6 = false ;
d14a1e28 10976 PyObject * obj0 = 0 ;
994141e6 10977 PyObject * obj1 = 0 ;
d14a1e28
RD
10978 PyObject * obj2 = 0 ;
10979 PyObject * obj3 = 0 ;
994141e6 10980 PyObject * obj4 = 0 ;
d14a1e28
RD
10981 PyObject * obj5 = 0 ;
10982 char *kwnames[] = {
10983 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10984 };
10985
994141e6 10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
10987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10988 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 10989 if (obj1) {
093d3ff1
RD
10990 {
10991 arg2 = (int)(SWIG_As_int(obj1));
10992 if (SWIG_arg_fail(2)) SWIG_fail;
10993 }
994141e6 10994 }
d14a1e28
RD
10995 if (obj2) {
10996 {
10997 arg3 = &temp3;
10998 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10999 }
11000 }
11001 if (obj3) {
11002 {
11003 arg4 = &temp4;
11004 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11005 }
11006 }
994141e6 11007 if (obj4) {
093d3ff1
RD
11008 {
11009 arg5 = (long)(SWIG_As_long(obj4));
11010 if (SWIG_arg_fail(5)) SWIG_fail;
11011 }
994141e6 11012 }
d14a1e28
RD
11013 if (obj5) {
11014 {
11015 arg6 = wxString_in_helper(obj5);
11016 if (arg6 == NULL) SWIG_fail;
ae8162c8 11017 temp6 = true;
d14a1e28
RD
11018 }
11019 }
11020 {
e3b71cb8 11021 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11024
11025 wxPyEndAllowThreads(__tstate);
110da5b0 11026 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11027 }
15afbcd0 11028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
11029 {
11030 if (temp6)
11031 delete arg6;
11032 }
11033 return resultobj;
11034 fail:
11035 {
11036 if (temp6)
11037 delete arg6;
11038 }
11039 return NULL;
11040}
11041
11042
c32bde28 11043static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11044 PyObject *resultobj;
11045 wxPyVScrolledWindow *result;
11046 char *kwnames[] = {
11047 NULL
11048 };
11049
11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11051 {
e3b71cb8 11052 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11055
11056 wxPyEndAllowThreads(__tstate);
110da5b0 11057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11058 }
15afbcd0 11059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
11060 return resultobj;
11061 fail:
11062 return NULL;
11063}
11064
11065
c32bde28 11066static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11067 PyObject *resultobj;
11068 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11069 PyObject *arg2 = (PyObject *) 0 ;
11070 PyObject *arg3 = (PyObject *) 0 ;
11071 PyObject * obj0 = 0 ;
11072 PyObject * obj1 = 0 ;
11073 PyObject * obj2 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "self",(char *) "self",(char *) "_class", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11080 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11081 arg2 = obj1;
11082 arg3 = obj2;
11083 {
11084 PyThreadState* __tstate = wxPyBeginAllowThreads();
11085 (arg1)->_setCallbackInfo(arg2,arg3);
11086
11087 wxPyEndAllowThreads(__tstate);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 Py_INCREF(Py_None); resultobj = Py_None;
11091 return resultobj;
11092 fail:
11093 return NULL;
11094}
11095
11096
c32bde28 11097static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11098 PyObject *resultobj;
11099 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11100 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11101 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
11102 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11103 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11104 wxSize const &arg5_defvalue = wxDefaultSize ;
11105 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11106 long arg6 = (long) 0 ;
11107 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11108 wxString *arg7 = (wxString *) &arg7_defvalue ;
11109 bool result;
11110 wxPoint temp4 ;
11111 wxSize temp5 ;
ae8162c8 11112 bool temp7 = false ;
d14a1e28
RD
11113 PyObject * obj0 = 0 ;
11114 PyObject * obj1 = 0 ;
994141e6 11115 PyObject * obj2 = 0 ;
d14a1e28
RD
11116 PyObject * obj3 = 0 ;
11117 PyObject * obj4 = 0 ;
994141e6 11118 PyObject * obj5 = 0 ;
d14a1e28
RD
11119 PyObject * obj6 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11122 };
11123
994141e6 11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail;
11127 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11128 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 11129 if (obj2) {
093d3ff1
RD
11130 {
11131 arg3 = (int)(SWIG_As_int(obj2));
11132 if (SWIG_arg_fail(3)) SWIG_fail;
11133 }
994141e6 11134 }
d14a1e28
RD
11135 if (obj3) {
11136 {
11137 arg4 = &temp4;
11138 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11139 }
11140 }
11141 if (obj4) {
11142 {
11143 arg5 = &temp5;
11144 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11145 }
11146 }
994141e6 11147 if (obj5) {
093d3ff1
RD
11148 {
11149 arg6 = (long)(SWIG_As_long(obj5));
11150 if (SWIG_arg_fail(6)) SWIG_fail;
11151 }
994141e6 11152 }
d14a1e28
RD
11153 if (obj6) {
11154 {
11155 arg7 = wxString_in_helper(obj6);
11156 if (arg7 == NULL) SWIG_fail;
ae8162c8 11157 temp7 = true;
d14a1e28
RD
11158 }
11159 }
11160 {
11161 PyThreadState* __tstate = wxPyBeginAllowThreads();
11162 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11163
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
4f89f6a3
RD
11167 {
11168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11169 }
d14a1e28
RD
11170 {
11171 if (temp7)
11172 delete arg7;
11173 }
11174 return resultobj;
11175 fail:
11176 {
11177 if (temp7)
11178 delete arg7;
11179 }
11180 return NULL;
11181}
11182
11183
c32bde28 11184static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11185 PyObject *resultobj;
11186 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11187 size_t arg2 ;
11188 PyObject * obj0 = 0 ;
11189 PyObject * obj1 = 0 ;
11190 char *kwnames[] = {
11191 (char *) "self",(char *) "count", NULL
11192 };
11193
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail;
11197 {
11198 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11199 if (SWIG_arg_fail(2)) SWIG_fail;
11200 }
d14a1e28
RD
11201 {
11202 PyThreadState* __tstate = wxPyBeginAllowThreads();
11203 (arg1)->SetLineCount(arg2);
11204
11205 wxPyEndAllowThreads(__tstate);
11206 if (PyErr_Occurred()) SWIG_fail;
11207 }
11208 Py_INCREF(Py_None); resultobj = Py_None;
11209 return resultobj;
11210 fail:
11211 return NULL;
11212}
11213
11214
c32bde28 11215static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11216 PyObject *resultobj;
11217 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11218 size_t arg2 ;
11219 bool result;
11220 PyObject * obj0 = 0 ;
11221 PyObject * obj1 = 0 ;
11222 char *kwnames[] = {
11223 (char *) "self",(char *) "line", NULL
11224 };
11225
11226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11228 if (SWIG_arg_fail(1)) SWIG_fail;
11229 {
11230 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11231 if (SWIG_arg_fail(2)) SWIG_fail;
11232 }
d14a1e28
RD
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
11235 result = (bool)(arg1)->ScrollToLine(arg2);
11236
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
4f89f6a3
RD
11240 {
11241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11242 }
d14a1e28
RD
11243 return resultobj;
11244 fail:
11245 return NULL;
11246}
11247
11248
c32bde28 11249static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11250 PyObject *resultobj;
11251 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11252 int arg2 ;
11253 bool result;
11254 PyObject * obj0 = 0 ;
994141e6 11255 PyObject * obj1 = 0 ;
d14a1e28
RD
11256 char *kwnames[] = {
11257 (char *) "self",(char *) "lines", NULL
11258 };
11259
994141e6 11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11262 if (SWIG_arg_fail(1)) SWIG_fail;
11263 {
11264 arg2 = (int)(SWIG_As_int(obj1));
11265 if (SWIG_arg_fail(2)) SWIG_fail;
11266 }
d14a1e28
RD
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
11269 result = (bool)(arg1)->ScrollLines(arg2);
11270
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
4f89f6a3
RD
11274 {
11275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11276 }
d14a1e28
RD
11277 return resultobj;
11278 fail:
11279 return NULL;
11280}
11281
11282
c32bde28 11283static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11284 PyObject *resultobj;
11285 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11286 int arg2 ;
11287 bool result;
11288 PyObject * obj0 = 0 ;
994141e6 11289 PyObject * obj1 = 0 ;
d14a1e28
RD
11290 char *kwnames[] = {
11291 (char *) "self",(char *) "pages", NULL
11292 };
11293
994141e6 11294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11296 if (SWIG_arg_fail(1)) SWIG_fail;
11297 {
11298 arg2 = (int)(SWIG_As_int(obj1));
11299 if (SWIG_arg_fail(2)) SWIG_fail;
11300 }
d14a1e28
RD
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 result = (bool)(arg1)->ScrollPages(arg2);
11304
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
4f89f6a3
RD
11308 {
11309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11310 }
d14a1e28
RD
11311 return resultobj;
11312 fail:
11313 return NULL;
11314}
11315
11316
c32bde28 11317static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11318 PyObject *resultobj;
11319 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11320 size_t arg2 ;
11321 PyObject * obj0 = 0 ;
11322 PyObject * obj1 = 0 ;
11323 char *kwnames[] = {
11324 (char *) "self",(char *) "line", NULL
11325 };
11326
11327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11329 if (SWIG_arg_fail(1)) SWIG_fail;
11330 {
11331 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11332 if (SWIG_arg_fail(2)) SWIG_fail;
11333 }
d14a1e28
RD
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 (arg1)->RefreshLine(arg2);
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
11341 Py_INCREF(Py_None); resultobj = Py_None;
11342 return resultobj;
11343 fail:
11344 return NULL;
11345}
11346
11347
c32bde28 11348static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11349 PyObject *resultobj;
11350 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11351 size_t arg2 ;
11352 size_t arg3 ;
11353 PyObject * obj0 = 0 ;
11354 PyObject * obj1 = 0 ;
11355 PyObject * obj2 = 0 ;
11356 char *kwnames[] = {
11357 (char *) "self",(char *) "from",(char *) "to", NULL
11358 };
11359
11360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11362 if (SWIG_arg_fail(1)) SWIG_fail;
11363 {
11364 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11365 if (SWIG_arg_fail(2)) SWIG_fail;
11366 }
11367 {
11368 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11369 if (SWIG_arg_fail(3)) SWIG_fail;
11370 }
d14a1e28
RD
11371 {
11372 PyThreadState* __tstate = wxPyBeginAllowThreads();
11373 (arg1)->RefreshLines(arg2,arg3);
11374
11375 wxPyEndAllowThreads(__tstate);
11376 if (PyErr_Occurred()) SWIG_fail;
11377 }
11378 Py_INCREF(Py_None); resultobj = Py_None;
11379 return resultobj;
11380 fail:
11381 return NULL;
11382}
11383
11384
c32bde28 11385static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11386 PyObject *resultobj;
11387 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
e811c8ce
RD
11388 int arg2 ;
11389 int arg3 ;
d14a1e28
RD
11390 int result;
11391 PyObject * obj0 = 0 ;
994141e6
RD
11392 PyObject * obj1 = 0 ;
11393 PyObject * obj2 = 0 ;
d14a1e28
RD
11394 char *kwnames[] = {
11395 (char *) "self",(char *) "x",(char *) "y", NULL
11396 };
11397
354693ff 11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail;
11401 {
11402 arg2 = (int)(SWIG_As_int(obj1));
11403 if (SWIG_arg_fail(2)) SWIG_fail;
11404 }
11405 {
11406 arg3 = (int)(SWIG_As_int(obj2));
11407 if (SWIG_arg_fail(3)) SWIG_fail;
11408 }
d14a1e28
RD
11409 {
11410 PyThreadState* __tstate = wxPyBeginAllowThreads();
11411 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11412
11413 wxPyEndAllowThreads(__tstate);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 }
093d3ff1
RD
11416 {
11417 resultobj = SWIG_From_int((int)(result));
11418 }
d14a1e28
RD
11419 return resultobj;
11420 fail:
11421 return NULL;
11422}
11423
11424
c32bde28 11425static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11426 PyObject *resultobj;
11427 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11428 wxPoint *arg2 = 0 ;
11429 int result;
11430 wxPoint temp2 ;
11431 PyObject * obj0 = 0 ;
11432 PyObject * obj1 = 0 ;
11433 char *kwnames[] = {
11434 (char *) "self",(char *) "pt", NULL
11435 };
11436
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11439 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11440 {
11441 arg2 = &temp2;
11442 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11443 }
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
093d3ff1
RD
11451 {
11452 resultobj = SWIG_From_int((int)(result));
11453 }
d14a1e28
RD
11454 return resultobj;
11455 fail:
11456 return NULL;
11457}
11458
11459
c32bde28 11460static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11461 PyObject *resultobj;
11462 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11463 PyObject * obj0 = 0 ;
11464 char *kwnames[] = {
11465 (char *) "self", NULL
11466 };
11467
11468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11470 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 (arg1)->RefreshAll();
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 Py_INCREF(Py_None); resultobj = Py_None;
11479 return resultobj;
11480 fail:
11481 return NULL;
11482}
11483
11484
c32bde28 11485static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11486 PyObject *resultobj;
11487 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11488 size_t result;
11489 PyObject * obj0 = 0 ;
11490 char *kwnames[] = {
11491 (char *) "self", NULL
11492 };
11493
11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
11495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11496 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11500
11501 wxPyEndAllowThreads(__tstate);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
093d3ff1
RD
11504 {
11505 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11506 }
d14a1e28
RD
11507 return resultobj;
11508 fail:
11509 return NULL;
11510}
11511
11512
c32bde28 11513static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11514 PyObject *resultobj;
11515 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11516 size_t result;
11517 PyObject * obj0 = 0 ;
11518 char *kwnames[] = {
11519 (char *) "self", NULL
11520 };
11521
11522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
11523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11524 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11528
11529 wxPyEndAllowThreads(__tstate);
11530 if (PyErr_Occurred()) SWIG_fail;
11531 }
093d3ff1
RD
11532 {
11533 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11534 }
d14a1e28
RD
11535 return resultobj;
11536 fail:
11537 return NULL;
11538}
11539
11540
c32bde28 11541static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11542 PyObject *resultobj;
11543 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11544 size_t result;
11545 PyObject * obj0 = 0 ;
11546 char *kwnames[] = {
11547 (char *) "self", NULL
11548 };
11549
11550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
11551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11552 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
11555 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11556
11557 wxPyEndAllowThreads(__tstate);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
093d3ff1
RD
11560 {
11561 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11562 }
d14a1e28
RD
11563 return resultobj;
11564 fail:
11565 return NULL;
11566}
11567
11568
c32bde28 11569static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11570 PyObject *resultobj;
11571 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11572 size_t arg2 ;
11573 bool result;
11574 PyObject * obj0 = 0 ;
11575 PyObject * obj1 = 0 ;
11576 char *kwnames[] = {
11577 (char *) "self",(char *) "line", NULL
11578 };
11579
11580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11582 if (SWIG_arg_fail(1)) SWIG_fail;
11583 {
11584 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11585 if (SWIG_arg_fail(2)) SWIG_fail;
11586 }
d14a1e28
RD
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
4f89f6a3
RD
11594 {
11595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11596 }
d14a1e28
RD
11597 return resultobj;
11598 fail:
11599 return NULL;
11600}
11601
11602
c32bde28 11603static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11604 PyObject *obj;
11605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11606 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11607 Py_INCREF(obj);
11608 return Py_BuildValue((char *)"");
11609}
c32bde28 11610static int _wrap_VListBoxNameStr_set(PyObject *) {
b2dc1044
RD
11611 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11612 return 1;
11613}
11614
11615
093d3ff1 11616static PyObject *_wrap_VListBoxNameStr_get(void) {
b2dc1044
RD
11617 PyObject *pyobj;
11618
11619 {
11620#if wxUSE_UNICODE
11621 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11622#else
11623 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11624#endif
11625 }
11626 return pyobj;
11627}
11628
11629
c32bde28 11630static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11631 PyObject *resultobj;
11632 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11633 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
11634 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11635 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11636 wxSize const &arg4_defvalue = wxDefaultSize ;
11637 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11638 long arg5 = (long) 0 ;
11639 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11640 wxString *arg6 = (wxString *) &arg6_defvalue ;
11641 wxPyVListBox *result;
11642 wxPoint temp3 ;
11643 wxSize temp4 ;
ae8162c8 11644 bool temp6 = false ;
d14a1e28 11645 PyObject * obj0 = 0 ;
994141e6 11646 PyObject * obj1 = 0 ;
d14a1e28
RD
11647 PyObject * obj2 = 0 ;
11648 PyObject * obj3 = 0 ;
994141e6 11649 PyObject * obj4 = 0 ;
d14a1e28
RD
11650 PyObject * obj5 = 0 ;
11651 char *kwnames[] = {
11652 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11653 };
11654
994141e6 11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11657 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 11658 if (obj1) {
093d3ff1
RD
11659 {
11660 arg2 = (int)(SWIG_As_int(obj1));
11661 if (SWIG_arg_fail(2)) SWIG_fail;
11662 }
994141e6 11663 }
d14a1e28
RD
11664 if (obj2) {
11665 {
11666 arg3 = &temp3;
11667 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11668 }
11669 }
11670 if (obj3) {
11671 {
11672 arg4 = &temp4;
11673 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11674 }
11675 }
994141e6 11676 if (obj4) {
093d3ff1
RD
11677 {
11678 arg5 = (long)(SWIG_As_long(obj4));
11679 if (SWIG_arg_fail(5)) SWIG_fail;
11680 }
994141e6 11681 }
d14a1e28
RD
11682 if (obj5) {
11683 {
11684 arg6 = wxString_in_helper(obj5);
11685 if (arg6 == NULL) SWIG_fail;
ae8162c8 11686 temp6 = true;
d14a1e28
RD
11687 }
11688 }
11689 {
e3b71cb8 11690 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11691 PyThreadState* __tstate = wxPyBeginAllowThreads();
11692 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11693
11694 wxPyEndAllowThreads(__tstate);
110da5b0 11695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11696 }
15afbcd0 11697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
11698 {
11699 if (temp6)
11700 delete arg6;
11701 }
11702 return resultobj;
11703 fail:
11704 {
11705 if (temp6)
11706 delete arg6;
11707 }
11708 return NULL;
11709}
11710
11711
c32bde28 11712static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11713 PyObject *resultobj;
11714 wxPyVListBox *result;
11715 char *kwnames[] = {
11716 NULL
11717 };
11718
11719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11720 {
e3b71cb8 11721 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 result = (wxPyVListBox *)new wxPyVListBox();
11724
11725 wxPyEndAllowThreads(__tstate);
110da5b0 11726 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11727 }
15afbcd0 11728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
11729 return resultobj;
11730 fail:
11731 return NULL;
11732}
11733
11734
c32bde28 11735static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11736 PyObject *resultobj;
11737 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11738 PyObject *arg2 = (PyObject *) 0 ;
11739 PyObject *arg3 = (PyObject *) 0 ;
11740 PyObject * obj0 = 0 ;
11741 PyObject * obj1 = 0 ;
11742 PyObject * obj2 = 0 ;
11743 char *kwnames[] = {
11744 (char *) "self",(char *) "self",(char *) "_class", NULL
11745 };
11746
11747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11749 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11750 arg2 = obj1;
11751 arg3 = obj2;
11752 {
11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
11754 (arg1)->_setCallbackInfo(arg2,arg3);
11755
11756 wxPyEndAllowThreads(__tstate);
11757 if (PyErr_Occurred()) SWIG_fail;
11758 }
11759 Py_INCREF(Py_None); resultobj = Py_None;
11760 return resultobj;
11761 fail:
11762 return NULL;
11763}
11764
11765
c32bde28 11766static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11767 PyObject *resultobj;
11768 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11769 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11770 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
11771 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11772 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11773 wxSize const &arg5_defvalue = wxDefaultSize ;
11774 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11775 long arg6 = (long) 0 ;
11776 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11777 wxString *arg7 = (wxString *) &arg7_defvalue ;
11778 bool result;
11779 wxPoint temp4 ;
11780 wxSize temp5 ;
ae8162c8 11781 bool temp7 = false ;
d14a1e28
RD
11782 PyObject * obj0 = 0 ;
11783 PyObject * obj1 = 0 ;
994141e6 11784 PyObject * obj2 = 0 ;
d14a1e28
RD
11785 PyObject * obj3 = 0 ;
11786 PyObject * obj4 = 0 ;
994141e6 11787 PyObject * obj5 = 0 ;
d14a1e28
RD
11788 PyObject * obj6 = 0 ;
11789 char *kwnames[] = {
11790 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11791 };
11792
994141e6 11793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11795 if (SWIG_arg_fail(1)) SWIG_fail;
11796 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11797 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 11798 if (obj2) {
093d3ff1
RD
11799 {
11800 arg3 = (int)(SWIG_As_int(obj2));
11801 if (SWIG_arg_fail(3)) SWIG_fail;
11802 }
994141e6 11803 }
d14a1e28
RD
11804 if (obj3) {
11805 {
11806 arg4 = &temp4;
11807 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11808 }
11809 }
11810 if (obj4) {
11811 {
11812 arg5 = &temp5;
11813 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11814 }
11815 }
994141e6 11816 if (obj5) {
093d3ff1
RD
11817 {
11818 arg6 = (long)(SWIG_As_long(obj5));
11819 if (SWIG_arg_fail(6)) SWIG_fail;
11820 }
994141e6 11821 }
d14a1e28
RD
11822 if (obj6) {
11823 {
11824 arg7 = wxString_in_helper(obj6);
11825 if (arg7 == NULL) SWIG_fail;
ae8162c8 11826 temp7 = true;
d14a1e28
RD
11827 }
11828 }
11829 {
11830 PyThreadState* __tstate = wxPyBeginAllowThreads();
11831 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11832
11833 wxPyEndAllowThreads(__tstate);
11834 if (PyErr_Occurred()) SWIG_fail;
11835 }
4f89f6a3
RD
11836 {
11837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11838 }
d14a1e28
RD
11839 {
11840 if (temp7)
11841 delete arg7;
11842 }
11843 return resultobj;
11844 fail:
11845 {
11846 if (temp7)
11847 delete arg7;
11848 }
11849 return NULL;
11850}
11851
11852
c32bde28 11853static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11854 PyObject *resultobj;
11855 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11856 size_t result;
11857 PyObject * obj0 = 0 ;
11858 char *kwnames[] = {
11859 (char *) "self", NULL
11860 };
11861
11862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
11863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11864 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
093d3ff1
RD
11872 {
11873 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11874 }
d14a1e28
RD
11875 return resultobj;
11876 fail:
11877 return NULL;
11878}
11879
11880
c32bde28 11881static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11882 PyObject *resultobj;
11883 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11884 bool result;
11885 PyObject * obj0 = 0 ;
11886 char *kwnames[] = {
11887 (char *) "self", NULL
11888 };
11889
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
11891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11892 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
4f89f6a3
RD
11900 {
11901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11902 }
d14a1e28
RD
11903 return resultobj;
11904 fail:
11905 return NULL;
11906}
11907
11908
c32bde28 11909static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11910 PyObject *resultobj;
11911 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11912 int result;
11913 PyObject * obj0 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
11919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
11923 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
093d3ff1
RD
11928 {
11929 resultobj = SWIG_From_int((int)(result));
11930 }
d14a1e28
RD
11931 return resultobj;
11932 fail:
11933 return NULL;
11934}
11935
11936
c32bde28 11937static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11938 PyObject *resultobj;
11939 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11940 size_t arg2 ;
11941 bool result;
11942 PyObject * obj0 = 0 ;
11943 PyObject * obj1 = 0 ;
11944 char *kwnames[] = {
11945 (char *) "self",(char *) "item", NULL
11946 };
11947
11948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11950 if (SWIG_arg_fail(1)) SWIG_fail;
11951 {
11952 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11953 if (SWIG_arg_fail(2)) SWIG_fail;
11954 }
d14a1e28
RD
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
11958
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
4f89f6a3
RD
11962 {
11963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11964 }
d14a1e28
RD
11965 return resultobj;
11966 fail:
11967 return NULL;
11968}
11969
11970
c32bde28 11971static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11972 PyObject *resultobj;
11973 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11974 size_t arg2 ;
11975 bool result;
11976 PyObject * obj0 = 0 ;
11977 PyObject * obj1 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self",(char *) "item", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11984 if (SWIG_arg_fail(1)) SWIG_fail;
11985 {
11986 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11987 if (SWIG_arg_fail(2)) SWIG_fail;
11988 }
d14a1e28
RD
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
4f89f6a3
RD
11996 {
11997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11998 }
d14a1e28
RD
11999 return resultobj;
12000 fail:
12001 return NULL;
12002}
12003
12004
c32bde28 12005static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12006 PyObject *resultobj;
12007 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12008 size_t result;
12009 PyObject * obj0 = 0 ;
12010 char *kwnames[] = {
12011 (char *) "self", NULL
12012 };
12013
12014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
12015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12016 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
093d3ff1
RD
12024 {
12025 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12026 }
d14a1e28
RD
12027 return resultobj;
12028 fail:
12029 return NULL;
12030}
12031
12032
c32bde28 12033static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12034 PyObject *resultobj;
12035 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 12036 PyObject *result;
d14a1e28 12037 PyObject * obj0 = 0 ;
d14a1e28 12038 char *kwnames[] = {
09c21d3b 12039 (char *) "self", NULL
d14a1e28
RD
12040 };
12041
09c21d3b 12042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
12043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12044 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12045 {
12046 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12047 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d14a1e28
RD
12048
12049 wxPyEndAllowThreads(__tstate);
12050 if (PyErr_Occurred()) SWIG_fail;
12051 }
09c21d3b 12052 resultobj = result;
d14a1e28
RD
12053 return resultobj;
12054 fail:
12055 return NULL;
12056}
12057
12058
c32bde28 12059static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12060 PyObject *resultobj;
12061 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
12062 unsigned long arg2 ;
12063 PyObject *result;
d14a1e28
RD
12064 PyObject * obj0 = 0 ;
12065 PyObject * obj1 = 0 ;
12066 char *kwnames[] = {
12067 (char *) "self",(char *) "cookie", NULL
12068 };
12069
12070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12072 if (SWIG_arg_fail(1)) SWIG_fail;
12073 {
12074 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
12075 if (SWIG_arg_fail(2)) SWIG_fail;
12076 }
d14a1e28
RD
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12079 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d14a1e28
RD
12080
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
09c21d3b 12084 resultobj = result;
d14a1e28
RD
12085 return resultobj;
12086 fail:
12087 return NULL;
12088}
12089
12090
c32bde28 12091static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12092 PyObject *resultobj;
12093 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12094 wxPoint result;
12095 PyObject * obj0 = 0 ;
12096 char *kwnames[] = {
12097 (char *) "self", NULL
12098 };
12099
12100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
12101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12102 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12103 {
12104 PyThreadState* __tstate = wxPyBeginAllowThreads();
12105 result = ((wxPyVListBox const *)arg1)->GetMargins();
12106
12107 wxPyEndAllowThreads(__tstate);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
12110 {
12111 wxPoint * resultptr;
093d3ff1 12112 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 12113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
12114 }
12115 return resultobj;
12116 fail:
12117 return NULL;
12118}
12119
12120
c32bde28 12121static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12122 PyObject *resultobj;
12123 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12124 wxColour *result;
12125 PyObject * obj0 = 0 ;
12126 char *kwnames[] = {
12127 (char *) "self", NULL
12128 };
12129
12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
093d3ff1
RD
12131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12132 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12133 {
12134 PyThreadState* __tstate = wxPyBeginAllowThreads();
12135 {
12136 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12137 result = (wxColour *) &_result_ref;
12138 }
12139
12140 wxPyEndAllowThreads(__tstate);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 }
15afbcd0 12143 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
12144 return resultobj;
12145 fail:
12146 return NULL;
12147}
12148
12149
c32bde28 12150static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12151 PyObject *resultobj;
12152 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12153 size_t arg2 ;
12154 PyObject * obj0 = 0 ;
12155 PyObject * obj1 = 0 ;
12156 char *kwnames[] = {
12157 (char *) "self",(char *) "count", NULL
12158 };
12159
12160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12162 if (SWIG_arg_fail(1)) SWIG_fail;
12163 {
12164 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12165 if (SWIG_arg_fail(2)) SWIG_fail;
12166 }
d14a1e28
RD
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 (arg1)->SetItemCount(arg2);
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 Py_INCREF(Py_None); resultobj = Py_None;
12175 return resultobj;
12176 fail:
12177 return NULL;
12178}
12179
12180
c32bde28 12181static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12182 PyObject *resultobj;
12183 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12184 PyObject * obj0 = 0 ;
12185 char *kwnames[] = {
12186 (char *) "self", NULL
12187 };
12188
12189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
12190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12191 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 (arg1)->Clear();
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 Py_INCREF(Py_None); resultobj = Py_None;
12200 return resultobj;
12201 fail:
12202 return NULL;
12203}
12204
12205
c32bde28 12206static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12207 PyObject *resultobj;
12208 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12209 int arg2 ;
12210 PyObject * obj0 = 0 ;
994141e6 12211 PyObject * obj1 = 0 ;
d14a1e28
RD
12212 char *kwnames[] = {
12213 (char *) "self",(char *) "selection", NULL
12214 };
12215
994141e6 12216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12218 if (SWIG_arg_fail(1)) SWIG_fail;
12219 {
12220 arg2 = (int)(SWIG_As_int(obj1));
12221 if (SWIG_arg_fail(2)) SWIG_fail;
12222 }
d14a1e28
RD
12223 {
12224 PyThreadState* __tstate = wxPyBeginAllowThreads();
12225 (arg1)->SetSelection(arg2);
12226
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 Py_INCREF(Py_None); resultobj = Py_None;
12231 return resultobj;
12232 fail:
12233 return NULL;
12234}
12235
12236
c32bde28 12237static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12238 PyObject *resultobj;
12239 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12240 size_t arg2 ;
ae8162c8 12241 bool arg3 = (bool) true ;
d14a1e28
RD
12242 bool result;
12243 PyObject * obj0 = 0 ;
12244 PyObject * obj1 = 0 ;
12245 PyObject * obj2 = 0 ;
12246 char *kwnames[] = {
12247 (char *) "self",(char *) "item",(char *) "select", NULL
12248 };
12249
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12252 if (SWIG_arg_fail(1)) SWIG_fail;
12253 {
12254 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12255 if (SWIG_arg_fail(2)) SWIG_fail;
12256 }
a41e16b6 12257 if (obj2) {
093d3ff1
RD
12258 {
12259 arg3 = (bool)(SWIG_As_bool(obj2));
12260 if (SWIG_arg_fail(3)) SWIG_fail;
12261 }
a41e16b6 12262 }
d14a1e28
RD
12263 {
12264 PyThreadState* __tstate = wxPyBeginAllowThreads();
12265 result = (bool)(arg1)->Select(arg2,arg3);
12266
12267 wxPyEndAllowThreads(__tstate);
12268 if (PyErr_Occurred()) SWIG_fail;
12269 }
4f89f6a3
RD
12270 {
12271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12272 }
d14a1e28
RD
12273 return resultobj;
12274 fail:
12275 return NULL;
12276}
12277
12278
c32bde28 12279static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12280 PyObject *resultobj;
12281 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12282 size_t arg2 ;
12283 size_t arg3 ;
12284 bool result;
12285 PyObject * obj0 = 0 ;
12286 PyObject * obj1 = 0 ;
12287 PyObject * obj2 = 0 ;
15afbcd0
RD
12288 char *kwnames[] = {
12289 (char *) "self",(char *) "from",(char *) "to", NULL
12290 };
12291
12292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12294 if (SWIG_arg_fail(1)) SWIG_fail;
12295 {
12296 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12297 if (SWIG_arg_fail(2)) SWIG_fail;
12298 }
12299 {
12300 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12301 if (SWIG_arg_fail(3)) SWIG_fail;
12302 }
d14a1e28
RD
12303 {
12304 PyThreadState* __tstate = wxPyBeginAllowThreads();
12305 result = (bool)(arg1)->SelectRange(arg2,arg3);
12306
12307 wxPyEndAllowThreads(__tstate);
12308 if (PyErr_Occurred()) SWIG_fail;
12309 }
4f89f6a3
RD
12310 {
12311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12312 }
d14a1e28
RD
12313 return resultobj;
12314 fail:
12315 return NULL;
12316}
12317
12318
c32bde28 12319static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12320 PyObject *resultobj;
12321 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12322 size_t arg2 ;
12323 PyObject * obj0 = 0 ;
12324 PyObject * obj1 = 0 ;
12325 char *kwnames[] = {
12326 (char *) "self",(char *) "item", NULL
12327 };
12328
12329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12331 if (SWIG_arg_fail(1)) SWIG_fail;
12332 {
12333 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12334 if (SWIG_arg_fail(2)) SWIG_fail;
12335 }
d14a1e28
RD
12336 {
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 (arg1)->Toggle(arg2);
12339
12340 wxPyEndAllowThreads(__tstate);
12341 if (PyErr_Occurred()) SWIG_fail;
12342 }
12343 Py_INCREF(Py_None); resultobj = Py_None;
12344 return resultobj;
12345 fail:
12346 return NULL;
12347}
12348
12349
c32bde28 12350static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12351 PyObject *resultobj;
12352 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12353 bool result;
12354 PyObject * obj0 = 0 ;
12355 char *kwnames[] = {
12356 (char *) "self", NULL
12357 };
12358
12359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 result = (bool)(arg1)->SelectAll();
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
4f89f6a3
RD
12369 {
12370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12371 }
d14a1e28
RD
12372 return resultobj;
12373 fail:
12374 return NULL;
12375}
12376
12377
c32bde28 12378static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12379 PyObject *resultobj;
12380 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12381 bool result;
12382 PyObject * obj0 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12389 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 result = (bool)(arg1)->DeselectAll();
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
4f89f6a3
RD
12397 {
12398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12399 }
d14a1e28
RD
12400 return resultobj;
12401 fail:
12402 return NULL;
12403}
12404
12405
c32bde28 12406static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12407 PyObject *resultobj;
12408 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12409 wxPoint *arg2 = 0 ;
12410 wxPoint temp2 ;
12411 PyObject * obj0 = 0 ;
12412 PyObject * obj1 = 0 ;
12413 char *kwnames[] = {
12414 (char *) "self",(char *) "pt", NULL
12415 };
12416
12417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12419 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12420 {
12421 arg2 = &temp2;
12422 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12423 }
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 (arg1)->SetMargins((wxPoint const &)*arg2);
12427
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 Py_INCREF(Py_None); resultobj = Py_None;
12432 return resultobj;
12433 fail:
12434 return NULL;
12435}
12436
12437
c32bde28 12438static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12439 PyObject *resultobj;
12440 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
e811c8ce
RD
12441 int arg2 ;
12442 int arg3 ;
d14a1e28 12443 PyObject * obj0 = 0 ;
994141e6
RD
12444 PyObject * obj1 = 0 ;
12445 PyObject * obj2 = 0 ;
d14a1e28
RD
12446 char *kwnames[] = {
12447 (char *) "self",(char *) "x",(char *) "y", NULL
12448 };
12449
994141e6 12450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12452 if (SWIG_arg_fail(1)) SWIG_fail;
12453 {
12454 arg2 = (int)(SWIG_As_int(obj1));
12455 if (SWIG_arg_fail(2)) SWIG_fail;
12456 }
12457 {
12458 arg3 = (int)(SWIG_As_int(obj2));
12459 if (SWIG_arg_fail(3)) SWIG_fail;
12460 }
d14a1e28
RD
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 (arg1)->SetMargins(arg2,arg3);
12464
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 Py_INCREF(Py_None); resultobj = Py_None;
12469 return resultobj;
12470 fail:
12471 return NULL;
12472}
12473
12474
c32bde28 12475static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12476 PyObject *resultobj;
12477 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12478 wxColour *arg2 = 0 ;
12479 wxColour temp2 ;
12480 PyObject * obj0 = 0 ;
12481 PyObject * obj1 = 0 ;
12482 char *kwnames[] = {
12483 (char *) "self",(char *) "col", NULL
12484 };
12485
12486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12488 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12489 {
12490 arg2 = &temp2;
12491 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12492 }
12493 {
12494 PyThreadState* __tstate = wxPyBeginAllowThreads();
12495 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12496
12497 wxPyEndAllowThreads(__tstate);
12498 if (PyErr_Occurred()) SWIG_fail;
12499 }
12500 Py_INCREF(Py_None); resultobj = Py_None;
12501 return resultobj;
12502 fail:
12503 return NULL;
12504}
12505
12506
c32bde28 12507static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12508 PyObject *obj;
12509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12510 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12511 Py_INCREF(obj);
12512 return Py_BuildValue((char *)"");
12513}
c32bde28 12514static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12515 PyObject *resultobj;
12516 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12517 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
12518 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12519 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12520 wxSize const &arg4_defvalue = wxDefaultSize ;
12521 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12522 long arg5 = (long) 0 ;
12523 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12524 wxString *arg6 = (wxString *) &arg6_defvalue ;
12525 wxPyHtmlListBox *result;
12526 wxPoint temp3 ;
12527 wxSize temp4 ;
ae8162c8 12528 bool temp6 = false ;
d14a1e28 12529 PyObject * obj0 = 0 ;
994141e6 12530 PyObject * obj1 = 0 ;
d14a1e28
RD
12531 PyObject * obj2 = 0 ;
12532 PyObject * obj3 = 0 ;
994141e6 12533 PyObject * obj4 = 0 ;
d14a1e28
RD
12534 PyObject * obj5 = 0 ;
12535 char *kwnames[] = {
12536 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12537 };
12538
994141e6 12539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12541 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 12542 if (obj1) {
093d3ff1
RD
12543 {
12544 arg2 = (int)(SWIG_As_int(obj1));
12545 if (SWIG_arg_fail(2)) SWIG_fail;
12546 }
994141e6 12547 }
d14a1e28
RD
12548 if (obj2) {
12549 {
12550 arg3 = &temp3;
12551 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12552 }
12553 }
12554 if (obj3) {
12555 {
12556 arg4 = &temp4;
12557 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12558 }
12559 }
994141e6 12560 if (obj4) {
093d3ff1
RD
12561 {
12562 arg5 = (long)(SWIG_As_long(obj4));
12563 if (SWIG_arg_fail(5)) SWIG_fail;
12564 }
994141e6 12565 }
d14a1e28
RD
12566 if (obj5) {
12567 {
12568 arg6 = wxString_in_helper(obj5);
12569 if (arg6 == NULL) SWIG_fail;
ae8162c8 12570 temp6 = true;
d14a1e28
RD
12571 }
12572 }
12573 {
e3b71cb8 12574 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12575 PyThreadState* __tstate = wxPyBeginAllowThreads();
12576 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12577
12578 wxPyEndAllowThreads(__tstate);
110da5b0 12579 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12580 }
15afbcd0 12581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
12582 {
12583 if (temp6)
12584 delete arg6;
12585 }
12586 return resultobj;
12587 fail:
12588 {
12589 if (temp6)
12590 delete arg6;
12591 }
12592 return NULL;
12593}
12594
12595
c32bde28 12596static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12597 PyObject *resultobj;
12598 wxPyHtmlListBox *result;
12599 char *kwnames[] = {
12600 NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12604 {
e3b71cb8 12605 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12606 PyThreadState* __tstate = wxPyBeginAllowThreads();
12607 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12608
12609 wxPyEndAllowThreads(__tstate);
110da5b0 12610 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12611 }
15afbcd0 12612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
12613 return resultobj;
12614 fail:
12615 return NULL;
12616}
12617
12618
c32bde28 12619static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12620 PyObject *resultobj;
12621 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12622 PyObject *arg2 = (PyObject *) 0 ;
12623 PyObject *arg3 = (PyObject *) 0 ;
12624 PyObject * obj0 = 0 ;
12625 PyObject * obj1 = 0 ;
12626 PyObject * obj2 = 0 ;
12627 char *kwnames[] = {
12628 (char *) "self",(char *) "self",(char *) "_class", NULL
12629 };
12630
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12633 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12634 arg2 = obj1;
12635 arg3 = obj2;
12636 {
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 (arg1)->_setCallbackInfo(arg2,arg3);
12639
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 Py_INCREF(Py_None); resultobj = Py_None;
12644 return resultobj;
12645 fail:
12646 return NULL;
12647}
12648
12649
c32bde28 12650static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12651 PyObject *resultobj;
12652 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12653 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12654 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
12655 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12656 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12657 wxSize const &arg5_defvalue = wxDefaultSize ;
12658 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12659 long arg6 = (long) 0 ;
12660 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12661 wxString *arg7 = (wxString *) &arg7_defvalue ;
12662 bool result;
12663 wxPoint temp4 ;
12664 wxSize temp5 ;
ae8162c8 12665 bool temp7 = false ;
d14a1e28
RD
12666 PyObject * obj0 = 0 ;
12667 PyObject * obj1 = 0 ;
994141e6 12668 PyObject * obj2 = 0 ;
d14a1e28
RD
12669 PyObject * obj3 = 0 ;
12670 PyObject * obj4 = 0 ;
994141e6 12671 PyObject * obj5 = 0 ;
d14a1e28
RD
12672 PyObject * obj6 = 0 ;
12673 char *kwnames[] = {
12674 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12675 };
12676
994141e6 12677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12679 if (SWIG_arg_fail(1)) SWIG_fail;
12680 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12681 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12682 if (obj2) {
093d3ff1
RD
12683 {
12684 arg3 = (int)(SWIG_As_int(obj2));
12685 if (SWIG_arg_fail(3)) SWIG_fail;
12686 }
994141e6 12687 }
d14a1e28
RD
12688 if (obj3) {
12689 {
12690 arg4 = &temp4;
12691 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12692 }
12693 }
12694 if (obj4) {
12695 {
12696 arg5 = &temp5;
12697 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12698 }
12699 }
994141e6 12700 if (obj5) {
093d3ff1
RD
12701 {
12702 arg6 = (long)(SWIG_As_long(obj5));
12703 if (SWIG_arg_fail(6)) SWIG_fail;
12704 }
994141e6 12705 }
d14a1e28
RD
12706 if (obj6) {
12707 {
12708 arg7 = wxString_in_helper(obj6);
12709 if (arg7 == NULL) SWIG_fail;
ae8162c8 12710 temp7 = true;
d14a1e28
RD
12711 }
12712 }
12713 {
12714 PyThreadState* __tstate = wxPyBeginAllowThreads();
12715 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12716
12717 wxPyEndAllowThreads(__tstate);
12718 if (PyErr_Occurred()) SWIG_fail;
12719 }
4f89f6a3
RD
12720 {
12721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12722 }
d14a1e28
RD
12723 {
12724 if (temp7)
12725 delete arg7;
12726 }
12727 return resultobj;
12728 fail:
12729 {
12730 if (temp7)
12731 delete arg7;
12732 }
12733 return NULL;
12734}
12735
12736
c32bde28 12737static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12738 PyObject *resultobj;
12739 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12740 PyObject * obj0 = 0 ;
12741 char *kwnames[] = {
12742 (char *) "self", NULL
12743 };
12744
12745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12747 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12748 {
12749 PyThreadState* __tstate = wxPyBeginAllowThreads();
12750 (arg1)->RefreshAll();
12751
12752 wxPyEndAllowThreads(__tstate);
12753 if (PyErr_Occurred()) SWIG_fail;
12754 }
12755 Py_INCREF(Py_None); resultobj = Py_None;
12756 return resultobj;
12757 fail:
12758 return NULL;
12759}
12760
12761
c32bde28 12762static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12763 PyObject *resultobj;
12764 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12765 size_t arg2 ;
12766 PyObject * obj0 = 0 ;
12767 PyObject * obj1 = 0 ;
12768 char *kwnames[] = {
12769 (char *) "self",(char *) "count", NULL
12770 };
12771
12772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12774 if (SWIG_arg_fail(1)) SWIG_fail;
12775 {
12776 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12777 if (SWIG_arg_fail(2)) SWIG_fail;
12778 }
d14a1e28
RD
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 (arg1)->SetItemCount(arg2);
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
12786 Py_INCREF(Py_None); resultobj = Py_None;
12787 return resultobj;
12788 fail:
12789 return NULL;
12790}
12791
12792
c32bde28 12793static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
7fdaaabe
RD
12794 PyObject *resultobj;
12795 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12796 wxFileSystem *result;
12797 PyObject * obj0 = 0 ;
12798 char *kwnames[] = {
12799 (char *) "self", NULL
12800 };
12801
12802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
093d3ff1
RD
12803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12804 if (SWIG_arg_fail(1)) SWIG_fail;
7fdaaabe
RD
12805 {
12806 PyThreadState* __tstate = wxPyBeginAllowThreads();
12807 {
12808 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12809 result = (wxFileSystem *) &_result_ref;
12810 }
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
12815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12816 return resultobj;
12817 fail:
12818 return NULL;
12819}
12820
12821
c32bde28 12822static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12823 PyObject *obj;
12824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12825 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12826 Py_INCREF(obj);
12827 return Py_BuildValue((char *)"");
12828}
c32bde28 12829static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12830 PyObject *resultobj;
5e483524 12831 wxPyTaskBarIcon *result;
d14a1e28
RD
12832 char *kwnames[] = {
12833 NULL
12834 };
12835
12836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12837 {
e3b71cb8 12838 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12840 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d14a1e28
RD
12841
12842 wxPyEndAllowThreads(__tstate);
110da5b0 12843 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12844 }
5e483524 12845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d14a1e28
RD
12846 return resultobj;
12847 fail:
12848 return NULL;
12849}
12850
12851
5e483524 12852static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12853 PyObject *resultobj;
5e483524
RD
12854 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12855 PyObject *arg2 = (PyObject *) 0 ;
12856 PyObject *arg3 = (PyObject *) 0 ;
12857 int arg4 ;
d14a1e28 12858 PyObject * obj0 = 0 ;
5e483524
RD
12859 PyObject * obj1 = 0 ;
12860 PyObject * obj2 = 0 ;
12861 PyObject * obj3 = 0 ;
d14a1e28 12862 char *kwnames[] = {
5e483524 12863 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d14a1e28
RD
12864 };
12865
5e483524 12866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12868 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
12869 arg2 = obj1;
12870 arg3 = obj2;
093d3ff1
RD
12871 {
12872 arg4 = (int)(SWIG_As_int(obj3));
12873 if (SWIG_arg_fail(4)) SWIG_fail;
12874 }
d14a1e28
RD
12875 {
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12877 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d14a1e28
RD
12878
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 Py_INCREF(Py_None); resultobj = Py_None;
12883 return resultobj;
12884 fail:
12885 return NULL;
12886}
12887
12888
c32bde28 12889static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd 12890 PyObject *resultobj;
5e483524 12891 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
74a57fcd
RD
12892 PyObject * obj0 = 0 ;
12893 char *kwnames[] = {
12894 (char *) "self", NULL
12895 };
12896
12897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
12898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12899 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
12900 {
12901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12902 wxPyTaskBarIcon_Destroy(arg1);
74a57fcd
RD
12903
12904 wxPyEndAllowThreads(__tstate);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 Py_INCREF(Py_None); resultobj = Py_None;
12908 return resultobj;
12909 fail:
12910 return NULL;
12911}
12912
12913
c32bde28 12914static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12915 PyObject *resultobj;
5e483524 12916 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
12917 bool result;
12918 PyObject * obj0 = 0 ;
12919 char *kwnames[] = {
12920 (char *) "self", NULL
12921 };
12922
12923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
12924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12925 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12926 {
12927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12928 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
d14a1e28
RD
12929
12930 wxPyEndAllowThreads(__tstate);
12931 if (PyErr_Occurred()) SWIG_fail;
12932 }
4f89f6a3
RD
12933 {
12934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12935 }
d14a1e28
RD
12936 return resultobj;
12937 fail:
12938 return NULL;
12939}
12940
12941
c32bde28 12942static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12943 PyObject *resultobj;
5e483524 12944 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
12945 bool result;
12946 PyObject * obj0 = 0 ;
12947 char *kwnames[] = {
12948 (char *) "self", NULL
12949 };
12950
12951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
093d3ff1
RD
12952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12953 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12956 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
d14a1e28
RD
12957
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
4f89f6a3
RD
12961 {
12962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12963 }
d14a1e28
RD
12964 return resultobj;
12965 fail:
12966 return NULL;
12967}
12968
12969
c32bde28 12970static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12971 PyObject *resultobj;
5e483524 12972 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
12973 wxIcon *arg2 = 0 ;
12974 wxString const &arg3_defvalue = wxPyEmptyString ;
12975 wxString *arg3 = (wxString *) &arg3_defvalue ;
12976 bool result;
ae8162c8 12977 bool temp3 = false ;
d14a1e28
RD
12978 PyObject * obj0 = 0 ;
12979 PyObject * obj1 = 0 ;
12980 PyObject * obj2 = 0 ;
12981 char *kwnames[] = {
12982 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12983 };
12984
12985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) 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;
12988 {
12989 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
12990 if (SWIG_arg_fail(2)) SWIG_fail;
12991 if (arg2 == NULL) {
12992 SWIG_null_ref("wxIcon");
12993 }
12994 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
12995 }
12996 if (obj2) {
12997 {
12998 arg3 = wxString_in_helper(obj2);
12999 if (arg3 == NULL) SWIG_fail;
ae8162c8 13000 temp3 = true;
d14a1e28
RD
13001 }
13002 }
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
4f89f6a3
RD
13010 {
13011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13012 }
d14a1e28
RD
13013 {
13014 if (temp3)
13015 delete arg3;
13016 }
13017 return resultobj;
13018 fail:
13019 {
13020 if (temp3)
13021 delete arg3;
13022 }
13023 return NULL;
13024}
13025
13026
c32bde28 13027static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13028 PyObject *resultobj;
5e483524 13029 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13030 bool result;
13031 PyObject * obj0 = 0 ;
13032 char *kwnames[] = {
13033 (char *) "self", NULL
13034 };
13035
13036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
13037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13038 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (bool)(arg1)->RemoveIcon();
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
4f89f6a3
RD
13046 {
13047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13048 }
d14a1e28
RD
13049 return resultobj;
13050 fail:
13051 return NULL;
13052}
13053
13054
c32bde28 13055static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13056 PyObject *resultobj;
5e483524 13057 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13058 wxMenu *arg2 = (wxMenu *) 0 ;
13059 bool result;
13060 PyObject * obj0 = 0 ;
13061 PyObject * obj1 = 0 ;
13062 char *kwnames[] = {
13063 (char *) "self",(char *) "menu", NULL
13064 };
13065
13066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13068 if (SWIG_arg_fail(1)) SWIG_fail;
13069 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13070 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13071 {
13072 PyThreadState* __tstate = wxPyBeginAllowThreads();
13073 result = (bool)(arg1)->PopupMenu(arg2);
13074
13075 wxPyEndAllowThreads(__tstate);
13076 if (PyErr_Occurred()) SWIG_fail;
13077 }
4f89f6a3
RD
13078 {
13079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13080 }
d14a1e28
RD
13081 return resultobj;
13082 fail:
13083 return NULL;
13084}
13085
13086
c32bde28 13087static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13088 PyObject *obj;
13089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 13090 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d14a1e28
RD
13091 Py_INCREF(obj);
13092 return Py_BuildValue((char *)"");
13093}
c32bde28 13094static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13095 PyObject *resultobj;
13096 wxEventType arg1 ;
13097 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13098 wxTaskBarIconEvent *result;
994141e6 13099 PyObject * obj0 = 0 ;
d14a1e28
RD
13100 PyObject * obj1 = 0 ;
13101 char *kwnames[] = {
13102 (char *) "evtType",(char *) "tbIcon", NULL
13103 };
13104
994141e6 13105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13106 {
13107 arg1 = (wxEventType)(SWIG_As_int(obj0));
13108 if (SWIG_arg_fail(1)) SWIG_fail;
13109 }
13110 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13111 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13115
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) SWIG_fail;
13118 }
15afbcd0 13119 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
d14a1e28
RD
13120 return resultobj;
13121 fail:
13122 return NULL;
13123}
13124
13125
c32bde28 13126static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13127 PyObject *obj;
13128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13129 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13130 Py_INCREF(obj);
13131 return Py_BuildValue((char *)"");
13132}
c32bde28 13133static int _wrap_FileSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
13134 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13135 return 1;
13136}
13137
13138
093d3ff1 13139static PyObject *_wrap_FileSelectorPromptStr_get(void) {
b2dc1044
RD
13140 PyObject *pyobj;
13141
13142 {
13143#if wxUSE_UNICODE
13144 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13145#else
13146 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13147#endif
13148 }
13149 return pyobj;
13150}
13151
13152
c32bde28 13153static int _wrap_DirSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
13154 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13155 return 1;
13156}
13157
13158
093d3ff1 13159static PyObject *_wrap_DirSelectorPromptStr_get(void) {
b2dc1044
RD
13160 PyObject *pyobj;
13161
13162 {
13163#if wxUSE_UNICODE
13164 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13165#else
13166 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13167#endif
13168 }
13169 return pyobj;
13170}
13171
13172
c32bde28 13173static int _wrap_DirDialogNameStr_set(PyObject *) {
b2dc1044
RD
13174 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13175 return 1;
13176}
13177
13178
093d3ff1 13179static PyObject *_wrap_DirDialogNameStr_get(void) {
b2dc1044
RD
13180 PyObject *pyobj;
13181
13182 {
13183#if wxUSE_UNICODE
13184 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13185#else
13186 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13187#endif
13188 }
13189 return pyobj;
13190}
13191
13192
c32bde28 13193static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
b2dc1044
RD
13194 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13195 return 1;
13196}
13197
13198
093d3ff1 13199static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
b2dc1044
RD
13200 PyObject *pyobj;
13201
13202 {
13203#if wxUSE_UNICODE
13204 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13205#else
13206 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13207#endif
13208 }
13209 return pyobj;
13210}
13211
13212
c32bde28 13213static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
b2dc1044
RD
13214 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13215 return 1;
13216}
13217
13218
093d3ff1 13219static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
b2dc1044
RD
13220 PyObject *pyobj;
13221
13222 {
13223#if wxUSE_UNICODE
13224 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13225#else
13226 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13227#endif
13228 }
13229 return pyobj;
13230}
13231
13232
c32bde28 13233static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
b2dc1044
RD
13234 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13235 return 1;
13236}
13237
13238
093d3ff1 13239static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
b2dc1044
RD
13240 PyObject *pyobj;
13241
13242 {
13243#if wxUSE_UNICODE
13244 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13245#else
13246 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13247#endif
13248 }
13249 return pyobj;
13250}
13251
13252
c32bde28 13253static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13254 PyObject *resultobj;
13255 wxColourData *result;
13256 char *kwnames[] = {
13257 NULL
13258 };
13259
13260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13261 {
13262 PyThreadState* __tstate = wxPyBeginAllowThreads();
13263 result = (wxColourData *)new wxColourData();
13264
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
15afbcd0 13268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
d14a1e28
RD
13269 return resultobj;
13270 fail:
13271 return NULL;
13272}
13273
13274
c32bde28 13275static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13276 PyObject *resultobj;
13277 wxColourData *arg1 = (wxColourData *) 0 ;
13278 PyObject * obj0 = 0 ;
13279 char *kwnames[] = {
13280 (char *) "self", NULL
13281 };
13282
13283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13285 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 delete arg1;
13289
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 Py_INCREF(Py_None); resultobj = Py_None;
13294 return resultobj;
13295 fail:
13296 return NULL;
13297}
13298
13299
c32bde28 13300static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13301 PyObject *resultobj;
13302 wxColourData *arg1 = (wxColourData *) 0 ;
13303 bool result;
13304 PyObject * obj0 = 0 ;
13305 char *kwnames[] = {
13306 (char *) "self", NULL
13307 };
13308
13309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
093d3ff1
RD
13310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13311 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13312 {
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 result = (bool)(arg1)->GetChooseFull();
13315
13316 wxPyEndAllowThreads(__tstate);
13317 if (PyErr_Occurred()) SWIG_fail;
13318 }
4f89f6a3
RD
13319 {
13320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13321 }
d14a1e28
RD
13322 return resultobj;
13323 fail:
13324 return NULL;
13325}
13326
13327
c32bde28 13328static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13329 PyObject *resultobj;
13330 wxColourData *arg1 = (wxColourData *) 0 ;
13331 wxColour result;
13332 PyObject * obj0 = 0 ;
13333 char *kwnames[] = {
13334 (char *) "self", NULL
13335 };
13336
13337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
13338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13339 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 result = (arg1)->GetColour();
13343
13344 wxPyEndAllowThreads(__tstate);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 }
13347 {
13348 wxColour * resultptr;
093d3ff1 13349 resultptr = new wxColour((wxColour &)(result));
15afbcd0 13350 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13351 }
13352 return resultobj;
13353 fail:
13354 return NULL;
13355}
13356
13357
c32bde28 13358static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13359 PyObject *resultobj;
13360 wxColourData *arg1 = (wxColourData *) 0 ;
13361 int arg2 ;
13362 wxColour result;
13363 PyObject * obj0 = 0 ;
994141e6 13364 PyObject * obj1 = 0 ;
d14a1e28
RD
13365 char *kwnames[] = {
13366 (char *) "self",(char *) "i", NULL
13367 };
13368
994141e6 13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13371 if (SWIG_arg_fail(1)) SWIG_fail;
13372 {
13373 arg2 = (int)(SWIG_As_int(obj1));
13374 if (SWIG_arg_fail(2)) SWIG_fail;
13375 }
d14a1e28
RD
13376 {
13377 PyThreadState* __tstate = wxPyBeginAllowThreads();
13378 result = (arg1)->GetCustomColour(arg2);
13379
13380 wxPyEndAllowThreads(__tstate);
13381 if (PyErr_Occurred()) SWIG_fail;
13382 }
13383 {
13384 wxColour * resultptr;
093d3ff1 13385 resultptr = new wxColour((wxColour &)(result));
15afbcd0 13386 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13387 }
13388 return resultobj;
13389 fail:
13390 return NULL;
13391}
13392
13393
c32bde28 13394static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13395 PyObject *resultobj;
13396 wxColourData *arg1 = (wxColourData *) 0 ;
13397 int arg2 ;
13398 PyObject * obj0 = 0 ;
994141e6 13399 PyObject * obj1 = 0 ;
d14a1e28
RD
13400 char *kwnames[] = {
13401 (char *) "self",(char *) "flag", NULL
13402 };
13403
994141e6 13404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13406 if (SWIG_arg_fail(1)) SWIG_fail;
13407 {
13408 arg2 = (int)(SWIG_As_int(obj1));
13409 if (SWIG_arg_fail(2)) SWIG_fail;
13410 }
d14a1e28
RD
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 (arg1)->SetChooseFull(arg2);
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 Py_INCREF(Py_None); resultobj = Py_None;
13419 return resultobj;
13420 fail:
13421 return NULL;
13422}
13423
13424
c32bde28 13425static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13426 PyObject *resultobj;
13427 wxColourData *arg1 = (wxColourData *) 0 ;
13428 wxColour *arg2 = 0 ;
13429 wxColour temp2 ;
13430 PyObject * obj0 = 0 ;
13431 PyObject * obj1 = 0 ;
13432 char *kwnames[] = {
13433 (char *) "self",(char *) "colour", NULL
13434 };
13435
13436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13438 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13439 {
13440 arg2 = &temp2;
13441 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13442 }
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
13445 (arg1)->SetColour((wxColour const &)*arg2);
13446
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 Py_INCREF(Py_None); resultobj = Py_None;
13451 return resultobj;
13452 fail:
13453 return NULL;
13454}
13455
13456
c32bde28 13457static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13458 PyObject *resultobj;
13459 wxColourData *arg1 = (wxColourData *) 0 ;
13460 int arg2 ;
13461 wxColour *arg3 = 0 ;
13462 wxColour temp3 ;
13463 PyObject * obj0 = 0 ;
994141e6 13464 PyObject * obj1 = 0 ;
d14a1e28
RD
13465 PyObject * obj2 = 0 ;
13466 char *kwnames[] = {
13467 (char *) "self",(char *) "i",(char *) "colour", NULL
13468 };
13469
994141e6 13470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13472 if (SWIG_arg_fail(1)) SWIG_fail;
13473 {
13474 arg2 = (int)(SWIG_As_int(obj1));
13475 if (SWIG_arg_fail(2)) SWIG_fail;
13476 }
d14a1e28
RD
13477 {
13478 arg3 = &temp3;
13479 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13480 }
13481 {
13482 PyThreadState* __tstate = wxPyBeginAllowThreads();
13483 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13484
13485 wxPyEndAllowThreads(__tstate);
13486 if (PyErr_Occurred()) SWIG_fail;
13487 }
13488 Py_INCREF(Py_None); resultobj = Py_None;
13489 return resultobj;
13490 fail:
13491 return NULL;
13492}
13493
13494
c32bde28 13495static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13496 PyObject *obj;
13497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13498 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13499 Py_INCREF(obj);
13500 return Py_BuildValue((char *)"");
13501}
c32bde28 13502static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13503 PyObject *resultobj;
13504 wxWindow *arg1 = (wxWindow *) 0 ;
13505 wxColourData *arg2 = (wxColourData *) NULL ;
13506 wxColourDialog *result;
13507 PyObject * obj0 = 0 ;
13508 PyObject * obj1 = 0 ;
13509 char *kwnames[] = {
13510 (char *) "parent",(char *) "data", NULL
13511 };
13512
13513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13515 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13516 if (obj1) {
093d3ff1
RD
13517 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13518 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13519 }
13520 {
e3b71cb8 13521 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13524
13525 wxPyEndAllowThreads(__tstate);
110da5b0 13526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13527 }
15afbcd0 13528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
d14a1e28
RD
13529 return resultobj;
13530 fail:
13531 return NULL;
13532}
13533
13534
c32bde28 13535static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13536 PyObject *resultobj;
13537 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13538 wxColourData *result;
13539 PyObject * obj0 = 0 ;
13540 char *kwnames[] = {
13541 (char *) "self", NULL
13542 };
13543
13544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13546 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13547 {
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 {
13550 wxColourData &_result_ref = (arg1)->GetColourData();
13551 result = (wxColourData *) &_result_ref;
13552 }
13553
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
15afbcd0 13557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
d14a1e28
RD
13558 return resultobj;
13559 fail:
13560 return NULL;
13561}
13562
13563
c32bde28 13564static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13565 PyObject *obj;
13566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13567 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13568 Py_INCREF(obj);
13569 return Py_BuildValue((char *)"");
13570}
c32bde28 13571static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13572 PyObject *resultobj;
13573 wxWindow *arg1 = (wxWindow *) 0 ;
13574 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13575 wxString *arg2 = (wxString *) &arg2_defvalue ;
13576 wxString const &arg3_defvalue = wxPyEmptyString ;
13577 wxString *arg3 = (wxString *) &arg3_defvalue ;
13578 long arg4 = (long) 0 ;
13579 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13580 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13581 wxSize const &arg6_defvalue = wxDefaultSize ;
13582 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13583 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13584 wxString *arg7 = (wxString *) &arg7_defvalue ;
13585 wxDirDialog *result;
ae8162c8
RD
13586 bool temp2 = false ;
13587 bool temp3 = false ;
d14a1e28
RD
13588 wxPoint temp5 ;
13589 wxSize temp6 ;
ae8162c8 13590 bool temp7 = false ;
d14a1e28
RD
13591 PyObject * obj0 = 0 ;
13592 PyObject * obj1 = 0 ;
13593 PyObject * obj2 = 0 ;
994141e6 13594 PyObject * obj3 = 0 ;
d14a1e28
RD
13595 PyObject * obj4 = 0 ;
13596 PyObject * obj5 = 0 ;
13597 PyObject * obj6 = 0 ;
13598 char *kwnames[] = {
13599 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13600 };
13601
994141e6 13602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13604 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13605 if (obj1) {
13606 {
13607 arg2 = wxString_in_helper(obj1);
13608 if (arg2 == NULL) SWIG_fail;
ae8162c8 13609 temp2 = true;
d14a1e28
RD
13610 }
13611 }
13612 if (obj2) {
13613 {
13614 arg3 = wxString_in_helper(obj2);
13615 if (arg3 == NULL) SWIG_fail;
ae8162c8 13616 temp3 = true;
d14a1e28
RD
13617 }
13618 }
994141e6 13619 if (obj3) {
093d3ff1
RD
13620 {
13621 arg4 = (long)(SWIG_As_long(obj3));
13622 if (SWIG_arg_fail(4)) SWIG_fail;
13623 }
994141e6 13624 }
d14a1e28
RD
13625 if (obj4) {
13626 {
13627 arg5 = &temp5;
13628 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13629 }
13630 }
13631 if (obj5) {
13632 {
13633 arg6 = &temp6;
13634 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13635 }
13636 }
13637 if (obj6) {
13638 {
13639 arg7 = wxString_in_helper(obj6);
13640 if (arg7 == NULL) SWIG_fail;
ae8162c8 13641 temp7 = true;
d14a1e28
RD
13642 }
13643 }
13644 {
e3b71cb8 13645 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13646 PyThreadState* __tstate = wxPyBeginAllowThreads();
13647 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13648
13649 wxPyEndAllowThreads(__tstate);
110da5b0 13650 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13651 }
15afbcd0 13652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
d14a1e28
RD
13653 {
13654 if (temp2)
13655 delete arg2;
13656 }
13657 {
13658 if (temp3)
13659 delete arg3;
13660 }
13661 {
13662 if (temp7)
13663 delete arg7;
13664 }
13665 return resultobj;
13666 fail:
13667 {
13668 if (temp2)
13669 delete arg2;
13670 }
13671 {
13672 if (temp3)
13673 delete arg3;
13674 }
13675 {
13676 if (temp7)
13677 delete arg7;
13678 }
13679 return NULL;
13680}
13681
13682
c32bde28 13683static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13684 PyObject *resultobj;
13685 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13686 wxString result;
13687 PyObject * obj0 = 0 ;
13688 char *kwnames[] = {
13689 (char *) "self", NULL
13690 };
13691
13692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
13693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13694 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13695 {
13696 PyThreadState* __tstate = wxPyBeginAllowThreads();
13697 result = (arg1)->GetPath();
13698
13699 wxPyEndAllowThreads(__tstate);
13700 if (PyErr_Occurred()) SWIG_fail;
13701 }
13702 {
13703#if wxUSE_UNICODE
13704 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13705#else
13706 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13707#endif
13708 }
13709 return resultobj;
13710 fail:
13711 return NULL;
13712}
13713
13714
c32bde28 13715static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13716 PyObject *resultobj;
13717 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13718 wxString result;
13719 PyObject * obj0 = 0 ;
13720 char *kwnames[] = {
13721 (char *) "self", NULL
13722 };
13723
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
13725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13726 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13727 {
13728 PyThreadState* __tstate = wxPyBeginAllowThreads();
13729 result = (arg1)->GetMessage();
13730
13731 wxPyEndAllowThreads(__tstate);
13732 if (PyErr_Occurred()) SWIG_fail;
13733 }
13734 {
13735#if wxUSE_UNICODE
13736 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13737#else
13738 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13739#endif
13740 }
13741 return resultobj;
13742 fail:
13743 return NULL;
13744}
13745
13746
c32bde28 13747static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13748 PyObject *resultobj;
13749 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13750 long result;
13751 PyObject * obj0 = 0 ;
13752 char *kwnames[] = {
13753 (char *) "self", NULL
13754 };
13755
13756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
13757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13758 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13759 {
13760 PyThreadState* __tstate = wxPyBeginAllowThreads();
13761 result = (long)(arg1)->GetStyle();
13762
13763 wxPyEndAllowThreads(__tstate);
13764 if (PyErr_Occurred()) SWIG_fail;
13765 }
093d3ff1
RD
13766 {
13767 resultobj = SWIG_From_long((long)(result));
13768 }
d14a1e28
RD
13769 return resultobj;
13770 fail:
13771 return NULL;
13772}
13773
13774
c32bde28 13775static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13776 PyObject *resultobj;
13777 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13778 wxString *arg2 = 0 ;
ae8162c8 13779 bool temp2 = false ;
d14a1e28
RD
13780 PyObject * obj0 = 0 ;
13781 PyObject * obj1 = 0 ;
13782 char *kwnames[] = {
13783 (char *) "self",(char *) "message", NULL
13784 };
13785
13786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) 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;
d14a1e28
RD
13789 {
13790 arg2 = wxString_in_helper(obj1);
13791 if (arg2 == NULL) SWIG_fail;
ae8162c8 13792 temp2 = true;
d14a1e28
RD
13793 }
13794 {
13795 PyThreadState* __tstate = wxPyBeginAllowThreads();
13796 (arg1)->SetMessage((wxString const &)*arg2);
13797
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
13801 Py_INCREF(Py_None); resultobj = Py_None;
13802 {
13803 if (temp2)
13804 delete arg2;
13805 }
13806 return resultobj;
13807 fail:
13808 {
13809 if (temp2)
13810 delete arg2;
13811 }
13812 return NULL;
13813}
13814
13815
c32bde28 13816static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13817 PyObject *resultobj;
13818 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13819 wxString *arg2 = 0 ;
ae8162c8 13820 bool temp2 = false ;
d14a1e28
RD
13821 PyObject * obj0 = 0 ;
13822 PyObject * obj1 = 0 ;
13823 char *kwnames[] = {
13824 (char *) "self",(char *) "path", NULL
13825 };
13826
13827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13829 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13830 {
13831 arg2 = wxString_in_helper(obj1);
13832 if (arg2 == NULL) SWIG_fail;
ae8162c8 13833 temp2 = true;
d14a1e28
RD
13834 }
13835 {
13836 PyThreadState* __tstate = wxPyBeginAllowThreads();
13837 (arg1)->SetPath((wxString const &)*arg2);
13838
13839 wxPyEndAllowThreads(__tstate);
13840 if (PyErr_Occurred()) SWIG_fail;
13841 }
13842 Py_INCREF(Py_None); resultobj = Py_None;
13843 {
13844 if (temp2)
13845 delete arg2;
13846 }
13847 return resultobj;
13848 fail:
13849 {
13850 if (temp2)
13851 delete arg2;
13852 }
13853 return NULL;
13854}
13855
13856
c32bde28 13857static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13858 PyObject *obj;
13859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13860 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13861 Py_INCREF(obj);
13862 return Py_BuildValue((char *)"");
13863}
c32bde28 13864static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13865 PyObject *resultobj;
13866 wxWindow *arg1 = (wxWindow *) 0 ;
13867 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
13868 wxString *arg2 = (wxString *) &arg2_defvalue ;
13869 wxString const &arg3_defvalue = wxPyEmptyString ;
13870 wxString *arg3 = (wxString *) &arg3_defvalue ;
13871 wxString const &arg4_defvalue = wxPyEmptyString ;
13872 wxString *arg4 = (wxString *) &arg4_defvalue ;
13873 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
13874 wxString *arg5 = (wxString *) &arg5_defvalue ;
13875 long arg6 = (long) 0 ;
13876 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13877 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13878 wxFileDialog *result;
ae8162c8
RD
13879 bool temp2 = false ;
13880 bool temp3 = false ;
13881 bool temp4 = false ;
13882 bool temp5 = false ;
d14a1e28
RD
13883 wxPoint temp7 ;
13884 PyObject * obj0 = 0 ;
13885 PyObject * obj1 = 0 ;
13886 PyObject * obj2 = 0 ;
13887 PyObject * obj3 = 0 ;
13888 PyObject * obj4 = 0 ;
994141e6 13889 PyObject * obj5 = 0 ;
d14a1e28
RD
13890 PyObject * obj6 = 0 ;
13891 char *kwnames[] = {
13892 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13893 };
13894
994141e6 13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13897 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13898 if (obj1) {
13899 {
13900 arg2 = wxString_in_helper(obj1);
13901 if (arg2 == NULL) SWIG_fail;
ae8162c8 13902 temp2 = true;
d14a1e28
RD
13903 }
13904 }
13905 if (obj2) {
13906 {
13907 arg3 = wxString_in_helper(obj2);
13908 if (arg3 == NULL) SWIG_fail;
ae8162c8 13909 temp3 = true;
d14a1e28
RD
13910 }
13911 }
13912 if (obj3) {
13913 {
13914 arg4 = wxString_in_helper(obj3);
13915 if (arg4 == NULL) SWIG_fail;
ae8162c8 13916 temp4 = true;
d14a1e28
RD
13917 }
13918 }
13919 if (obj4) {
13920 {
13921 arg5 = wxString_in_helper(obj4);
13922 if (arg5 == NULL) SWIG_fail;
ae8162c8 13923 temp5 = true;
d14a1e28
RD
13924 }
13925 }
994141e6 13926 if (obj5) {
093d3ff1
RD
13927 {
13928 arg6 = (long)(SWIG_As_long(obj5));
13929 if (SWIG_arg_fail(6)) SWIG_fail;
13930 }
994141e6 13931 }
d14a1e28
RD
13932 if (obj6) {
13933 {
13934 arg7 = &temp7;
13935 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13936 }
13937 }
13938 {
e3b71cb8 13939 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13940 PyThreadState* __tstate = wxPyBeginAllowThreads();
13941 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
13942
13943 wxPyEndAllowThreads(__tstate);
110da5b0 13944 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13945 }
15afbcd0 13946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
d14a1e28
RD
13947 {
13948 if (temp2)
13949 delete arg2;
13950 }
13951 {
13952 if (temp3)
13953 delete arg3;
13954 }
13955 {
13956 if (temp4)
13957 delete arg4;
13958 }
13959 {
13960 if (temp5)
13961 delete arg5;
13962 }
13963 return resultobj;
13964 fail:
13965 {
13966 if (temp2)
13967 delete arg2;
13968 }
13969 {
13970 if (temp3)
13971 delete arg3;
13972 }
13973 {
13974 if (temp4)
13975 delete arg4;
13976 }
13977 {
13978 if (temp5)
13979 delete arg5;
13980 }
13981 return NULL;
13982}
13983
13984
c32bde28 13985static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13986 PyObject *resultobj;
13987 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13988 wxString *arg2 = 0 ;
ae8162c8 13989 bool temp2 = false ;
d14a1e28
RD
13990 PyObject * obj0 = 0 ;
13991 PyObject * obj1 = 0 ;
13992 char *kwnames[] = {
13993 (char *) "self",(char *) "message", NULL
13994 };
13995
13996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13998 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13999 {
14000 arg2 = wxString_in_helper(obj1);
14001 if (arg2 == NULL) SWIG_fail;
ae8162c8 14002 temp2 = true;
d14a1e28
RD
14003 }
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 (arg1)->SetMessage((wxString const &)*arg2);
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 Py_INCREF(Py_None); resultobj = Py_None;
14012 {
14013 if (temp2)
14014 delete arg2;
14015 }
14016 return resultobj;
14017 fail:
14018 {
14019 if (temp2)
14020 delete arg2;
14021 }
14022 return NULL;
14023}
14024
14025
c32bde28 14026static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14027 PyObject *resultobj;
14028 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14029 wxString *arg2 = 0 ;
ae8162c8 14030 bool temp2 = false ;
d14a1e28
RD
14031 PyObject * obj0 = 0 ;
14032 PyObject * obj1 = 0 ;
14033 char *kwnames[] = {
14034 (char *) "self",(char *) "path", NULL
14035 };
14036
14037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14039 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14040 {
14041 arg2 = wxString_in_helper(obj1);
14042 if (arg2 == NULL) SWIG_fail;
ae8162c8 14043 temp2 = true;
d14a1e28
RD
14044 }
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 (arg1)->SetPath((wxString const &)*arg2);
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 Py_INCREF(Py_None); resultobj = Py_None;
14053 {
14054 if (temp2)
14055 delete arg2;
14056 }
14057 return resultobj;
14058 fail:
14059 {
14060 if (temp2)
14061 delete arg2;
14062 }
14063 return NULL;
14064}
14065
14066
c32bde28 14067static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14068 PyObject *resultobj;
14069 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14070 wxString *arg2 = 0 ;
ae8162c8 14071 bool temp2 = false ;
d14a1e28
RD
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj1 = 0 ;
14074 char *kwnames[] = {
14075 (char *) "self",(char *) "dir", NULL
14076 };
14077
14078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14080 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14081 {
14082 arg2 = wxString_in_helper(obj1);
14083 if (arg2 == NULL) SWIG_fail;
ae8162c8 14084 temp2 = true;
d14a1e28
RD
14085 }
14086 {
14087 PyThreadState* __tstate = wxPyBeginAllowThreads();
14088 (arg1)->SetDirectory((wxString const &)*arg2);
14089
14090 wxPyEndAllowThreads(__tstate);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
14093 Py_INCREF(Py_None); resultobj = Py_None;
14094 {
14095 if (temp2)
14096 delete arg2;
14097 }
14098 return resultobj;
14099 fail:
14100 {
14101 if (temp2)
14102 delete arg2;
14103 }
14104 return NULL;
14105}
14106
14107
c32bde28 14108static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14109 PyObject *resultobj;
14110 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14111 wxString *arg2 = 0 ;
ae8162c8 14112 bool temp2 = false ;
d14a1e28
RD
14113 PyObject * obj0 = 0 ;
14114 PyObject * obj1 = 0 ;
14115 char *kwnames[] = {
14116 (char *) "self",(char *) "name", NULL
14117 };
14118
14119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14121 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14122 {
14123 arg2 = wxString_in_helper(obj1);
14124 if (arg2 == NULL) SWIG_fail;
ae8162c8 14125 temp2 = true;
d14a1e28
RD
14126 }
14127 {
14128 PyThreadState* __tstate = wxPyBeginAllowThreads();
14129 (arg1)->SetFilename((wxString const &)*arg2);
14130
14131 wxPyEndAllowThreads(__tstate);
14132 if (PyErr_Occurred()) SWIG_fail;
14133 }
14134 Py_INCREF(Py_None); resultobj = Py_None;
14135 {
14136 if (temp2)
14137 delete arg2;
14138 }
14139 return resultobj;
14140 fail:
14141 {
14142 if (temp2)
14143 delete arg2;
14144 }
14145 return NULL;
14146}
14147
14148
c32bde28 14149static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14150 PyObject *resultobj;
14151 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14152 wxString *arg2 = 0 ;
ae8162c8 14153 bool temp2 = false ;
d14a1e28
RD
14154 PyObject * obj0 = 0 ;
14155 PyObject * obj1 = 0 ;
14156 char *kwnames[] = {
14157 (char *) "self",(char *) "wildCard", NULL
14158 };
14159
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14162 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14163 {
14164 arg2 = wxString_in_helper(obj1);
14165 if (arg2 == NULL) SWIG_fail;
ae8162c8 14166 temp2 = true;
d14a1e28
RD
14167 }
14168 {
14169 PyThreadState* __tstate = wxPyBeginAllowThreads();
14170 (arg1)->SetWildcard((wxString const &)*arg2);
14171
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
14175 Py_INCREF(Py_None); resultobj = Py_None;
14176 {
14177 if (temp2)
14178 delete arg2;
14179 }
14180 return resultobj;
14181 fail:
14182 {
14183 if (temp2)
14184 delete arg2;
14185 }
14186 return NULL;
14187}
14188
14189
c32bde28 14190static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14191 PyObject *resultobj;
14192 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14193 long arg2 ;
14194 PyObject * obj0 = 0 ;
994141e6 14195 PyObject * obj1 = 0 ;
d14a1e28
RD
14196 char *kwnames[] = {
14197 (char *) "self",(char *) "style", NULL
14198 };
14199
994141e6 14200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14202 if (SWIG_arg_fail(1)) SWIG_fail;
14203 {
14204 arg2 = (long)(SWIG_As_long(obj1));
14205 if (SWIG_arg_fail(2)) SWIG_fail;
14206 }
d14a1e28
RD
14207 {
14208 PyThreadState* __tstate = wxPyBeginAllowThreads();
14209 (arg1)->SetStyle(arg2);
14210
14211 wxPyEndAllowThreads(__tstate);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 Py_INCREF(Py_None); resultobj = Py_None;
14215 return resultobj;
14216 fail:
14217 return NULL;
14218}
14219
14220
c32bde28 14221static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14222 PyObject *resultobj;
14223 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14224 int arg2 ;
14225 PyObject * obj0 = 0 ;
994141e6 14226 PyObject * obj1 = 0 ;
d14a1e28
RD
14227 char *kwnames[] = {
14228 (char *) "self",(char *) "filterIndex", NULL
14229 };
14230
994141e6 14231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14233 if (SWIG_arg_fail(1)) SWIG_fail;
14234 {
14235 arg2 = (int)(SWIG_As_int(obj1));
14236 if (SWIG_arg_fail(2)) SWIG_fail;
14237 }
d14a1e28
RD
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 (arg1)->SetFilterIndex(arg2);
14241
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 Py_INCREF(Py_None); resultobj = Py_None;
14246 return resultobj;
14247 fail:
14248 return NULL;
14249}
14250
14251
c32bde28 14252static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14253 PyObject *resultobj;
14254 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14255 wxString result;
14256 PyObject * obj0 = 0 ;
14257 char *kwnames[] = {
14258 (char *) "self", NULL
14259 };
14260
14261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
14262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14263 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 result = ((wxFileDialog const *)arg1)->GetMessage();
14267
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 {
14272#if wxUSE_UNICODE
14273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14274#else
14275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14276#endif
14277 }
14278 return resultobj;
14279 fail:
14280 return NULL;
14281}
14282
14283
c32bde28 14284static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14285 PyObject *resultobj;
14286 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14287 wxString result;
14288 PyObject * obj0 = 0 ;
14289 char *kwnames[] = {
14290 (char *) "self", NULL
14291 };
14292
14293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) 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;
d14a1e28
RD
14296 {
14297 PyThreadState* __tstate = wxPyBeginAllowThreads();
14298 result = ((wxFileDialog const *)arg1)->GetPath();
14299
14300 wxPyEndAllowThreads(__tstate);
14301 if (PyErr_Occurred()) SWIG_fail;
14302 }
14303 {
14304#if wxUSE_UNICODE
14305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14306#else
14307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14308#endif
14309 }
14310 return resultobj;
14311 fail:
14312 return NULL;
14313}
14314
14315
c32bde28 14316static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14317 PyObject *resultobj;
14318 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14319 wxString result;
14320 PyObject * obj0 = 0 ;
14321 char *kwnames[] = {
14322 (char *) "self", NULL
14323 };
14324
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
093d3ff1
RD
14326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14327 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = ((wxFileDialog const *)arg1)->GetDirectory();
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 {
14336#if wxUSE_UNICODE
14337 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14338#else
14339 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14340#endif
14341 }
14342 return resultobj;
14343 fail:
14344 return NULL;
14345}
14346
14347
c32bde28 14348static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14349 PyObject *resultobj;
14350 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14351 wxString result;
14352 PyObject * obj0 = 0 ;
14353 char *kwnames[] = {
14354 (char *) "self", NULL
14355 };
14356
14357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
14358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14360 {
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 result = ((wxFileDialog const *)arg1)->GetFilename();
14363
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 {
14368#if wxUSE_UNICODE
14369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14370#else
14371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14372#endif
14373 }
14374 return resultobj;
14375 fail:
14376 return NULL;
14377}
14378
14379
c32bde28 14380static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14381 PyObject *resultobj;
14382 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14383 wxString result;
14384 PyObject * obj0 = 0 ;
14385 char *kwnames[] = {
14386 (char *) "self", NULL
14387 };
14388
14389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
093d3ff1
RD
14390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14391 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = ((wxFileDialog const *)arg1)->GetWildcard();
14395
14396 wxPyEndAllowThreads(__tstate);
14397 if (PyErr_Occurred()) SWIG_fail;
14398 }
14399 {
14400#if wxUSE_UNICODE
14401 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14402#else
14403 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14404#endif
14405 }
14406 return resultobj;
14407 fail:
14408 return NULL;
14409}
14410
14411
c32bde28 14412static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14413 PyObject *resultobj;
14414 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14415 long result;
14416 PyObject * obj0 = 0 ;
14417 char *kwnames[] = {
14418 (char *) "self", NULL
14419 };
14420
14421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
14422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14423 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14424 {
14425 PyThreadState* __tstate = wxPyBeginAllowThreads();
14426 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14427
14428 wxPyEndAllowThreads(__tstate);
14429 if (PyErr_Occurred()) SWIG_fail;
14430 }
093d3ff1
RD
14431 {
14432 resultobj = SWIG_From_long((long)(result));
14433 }
d14a1e28
RD
14434 return resultobj;
14435 fail:
14436 return NULL;
14437}
14438
14439
c32bde28 14440static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14441 PyObject *resultobj;
14442 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14443 int result;
14444 PyObject * obj0 = 0 ;
14445 char *kwnames[] = {
14446 (char *) "self", NULL
14447 };
14448
14449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
14450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14451 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
14454 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14455
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
093d3ff1
RD
14459 {
14460 resultobj = SWIG_From_int((int)(result));
14461 }
d14a1e28
RD
14462 return resultobj;
14463 fail:
14464 return NULL;
14465}
14466
14467
c32bde28 14468static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14469 PyObject *resultobj;
14470 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14471 PyObject *result;
14472 PyObject * obj0 = 0 ;
14473 char *kwnames[] = {
14474 (char *) "self", NULL
14475 };
14476
14477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
14478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14480 {
14481 PyThreadState* __tstate = wxPyBeginAllowThreads();
14482 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14483
14484 wxPyEndAllowThreads(__tstate);
14485 if (PyErr_Occurred()) SWIG_fail;
14486 }
14487 resultobj = result;
14488 return resultobj;
14489 fail:
14490 return NULL;
14491}
14492
14493
c32bde28 14494static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14495 PyObject *resultobj;
14496 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14497 PyObject *result;
14498 PyObject * obj0 = 0 ;
14499 char *kwnames[] = {
14500 (char *) "self", NULL
14501 };
14502
14503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
093d3ff1
RD
14504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14505 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14506 {
14507 PyThreadState* __tstate = wxPyBeginAllowThreads();
14508 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14509
14510 wxPyEndAllowThreads(__tstate);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 }
14513 resultobj = result;
14514 return resultobj;
14515 fail:
14516 return NULL;
14517}
14518
14519
c32bde28 14520static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14521 PyObject *obj;
14522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14523 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14524 Py_INCREF(obj);
14525 return Py_BuildValue((char *)"");
14526}
c32bde28 14527static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14528 PyObject *resultobj;
14529 wxWindow *arg1 = (wxWindow *) 0 ;
14530 wxString *arg2 = 0 ;
14531 wxString *arg3 = 0 ;
4d5c3d91 14532 int arg4 = (int) 0 ;
248ed943 14533 wxString *arg5 = (wxString *) NULL ;
d14a1e28
RD
14534 long arg6 = (long) wxCHOICEDLG_STYLE ;
14535 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14536 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14537 wxMultiChoiceDialog *result;
ae8162c8
RD
14538 bool temp2 = false ;
14539 bool temp3 = false ;
093d3ff1 14540 wxPoint temp7 ;
d14a1e28
RD
14541 PyObject * obj0 = 0 ;
14542 PyObject * obj1 = 0 ;
14543 PyObject * obj2 = 0 ;
994141e6 14544 PyObject * obj3 = 0 ;
d14a1e28 14545 PyObject * obj4 = 0 ;
994141e6 14546 PyObject * obj5 = 0 ;
d14a1e28 14547 char *kwnames[] = {
4d5c3d91 14548 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
d14a1e28
RD
14549 };
14550
4d5c3d91 14551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14553 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14554 {
14555 arg2 = wxString_in_helper(obj1);
14556 if (arg2 == NULL) SWIG_fail;
ae8162c8 14557 temp2 = true;
d14a1e28
RD
14558 }
14559 {
14560 arg3 = wxString_in_helper(obj2);
14561 if (arg3 == NULL) SWIG_fail;
ae8162c8 14562 temp3 = true;
d14a1e28 14563 }
4d5c3d91
RD
14564 if (obj3) {
14565 {
14566 arg4 = PyList_Size(obj3);
14567 arg5 = wxString_LIST_helper(obj3);
14568 if (arg5 == NULL) SWIG_fail;
14569 }
7eae615b 14570 }
4d5c3d91 14571 if (obj4) {
093d3ff1
RD
14572 {
14573 arg6 = (long)(SWIG_As_long(obj4));
14574 if (SWIG_arg_fail(6)) SWIG_fail;
14575 }
994141e6 14576 }
4d5c3d91 14577 if (obj5) {
d14a1e28 14578 {
093d3ff1 14579 arg7 = &temp7;
4d5c3d91 14580 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d14a1e28
RD
14581 }
14582 }
14583 {
e3b71cb8 14584 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14587
14588 wxPyEndAllowThreads(__tstate);
110da5b0 14589 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14590 }
15afbcd0 14591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
d14a1e28
RD
14592 {
14593 if (temp2)
14594 delete arg2;
14595 }
14596 {
14597 if (temp3)
14598 delete arg3;
14599 }
7eae615b 14600 {
4d5c3d91 14601 if (arg5) delete [] arg5;
7eae615b 14602 }
d14a1e28
RD
14603 return resultobj;
14604 fail:
14605 {
14606 if (temp2)
14607 delete arg2;
14608 }
14609 {
14610 if (temp3)
14611 delete arg3;
14612 }
7eae615b 14613 {
4d5c3d91 14614 if (arg5) delete [] arg5;
7eae615b 14615 }
d14a1e28
RD
14616 return NULL;
14617}
14618
14619
c32bde28 14620static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14621 PyObject *resultobj;
14622 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14623 wxArrayInt *arg2 = 0 ;
ae8162c8 14624 bool temp2 = false ;
d14a1e28
RD
14625 PyObject * obj0 = 0 ;
14626 PyObject * obj1 = 0 ;
14627 char *kwnames[] = {
14628 (char *) "self",(char *) "selections", NULL
14629 };
14630
14631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14633 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14634 {
14635 if (! PySequence_Check(obj1)) {
14636 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14637 SWIG_fail;
14638 }
14639 arg2 = new wxArrayInt;
ae8162c8 14640 temp2 = true;
d14a1e28
RD
14641 int i, len=PySequence_Length(obj1);
14642 for (i=0; i<len; i++) {
14643 PyObject* item = PySequence_GetItem(obj1, i);
14644 PyObject* number = PyNumber_Int(item);
14645 arg2->Add(PyInt_AS_LONG(number));
14646 Py_DECREF(item);
14647 Py_DECREF(number);
14648 }
14649 }
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14653
14654 wxPyEndAllowThreads(__tstate);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 Py_INCREF(Py_None); resultobj = Py_None;
14658 {
3adfb63b 14659 if (temp2) delete arg2;
d14a1e28
RD
14660 }
14661 return resultobj;
14662 fail:
14663 {
3adfb63b 14664 if (temp2) delete arg2;
d14a1e28
RD
14665 }
14666 return NULL;
14667}
14668
14669
c32bde28 14670static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14671 PyObject *resultobj;
14672 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14673 PyObject *result;
14674 PyObject * obj0 = 0 ;
14675 char *kwnames[] = {
14676 (char *) "self", NULL
14677 };
14678
14679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
14680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14681 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
14689 resultobj = result;
14690 return resultobj;
14691 fail:
14692 return NULL;
14693}
14694
14695
c32bde28 14696static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14697 PyObject *obj;
14698 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14699 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14700 Py_INCREF(obj);
14701 return Py_BuildValue((char *)"");
14702}
c32bde28 14703static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14704 PyObject *resultobj;
14705 wxWindow *arg1 = (wxWindow *) 0 ;
14706 wxString *arg2 = 0 ;
14707 wxString *arg3 = 0 ;
14708 int arg4 ;
14709 wxString *arg5 = (wxString *) 0 ;
14710 long arg6 = (long) wxCHOICEDLG_STYLE ;
14711 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14712 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14713 wxSingleChoiceDialog *result;
ae8162c8
RD
14714 bool temp2 = false ;
14715 bool temp3 = false ;
093d3ff1 14716 wxPoint temp7 ;
d14a1e28
RD
14717 PyObject * obj0 = 0 ;
14718 PyObject * obj1 = 0 ;
14719 PyObject * obj2 = 0 ;
14720 PyObject * obj3 = 0 ;
994141e6 14721 PyObject * obj4 = 0 ;
d14a1e28
RD
14722 PyObject * obj5 = 0 ;
14723 char *kwnames[] = {
14724 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14725 };
14726
994141e6 14727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14729 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14730 {
14731 arg2 = wxString_in_helper(obj1);
14732 if (arg2 == NULL) SWIG_fail;
ae8162c8 14733 temp2 = true;
d14a1e28
RD
14734 }
14735 {
14736 arg3 = wxString_in_helper(obj2);
14737 if (arg3 == NULL) SWIG_fail;
ae8162c8 14738 temp3 = true;
d14a1e28
RD
14739 }
14740 {
14741 arg4 = PyList_Size(obj3);
14742 arg5 = wxString_LIST_helper(obj3);
14743 if (arg5 == NULL) SWIG_fail;
14744 }
994141e6 14745 if (obj4) {
093d3ff1
RD
14746 {
14747 arg6 = (long)(SWIG_As_long(obj4));
14748 if (SWIG_arg_fail(6)) SWIG_fail;
14749 }
994141e6 14750 }
d14a1e28
RD
14751 if (obj5) {
14752 {
093d3ff1 14753 arg7 = &temp7;
d14a1e28
RD
14754 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14755 }
14756 }
14757 {
e3b71cb8 14758 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14761
14762 wxPyEndAllowThreads(__tstate);
110da5b0 14763 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14764 }
15afbcd0 14765 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
d14a1e28
RD
14766 {
14767 if (temp2)
14768 delete arg2;
14769 }
14770 {
14771 if (temp3)
14772 delete arg3;
14773 }
14774 {
14775 if (arg5) delete [] arg5;
14776 }
14777 return resultobj;
14778 fail:
14779 {
14780 if (temp2)
14781 delete arg2;
14782 }
14783 {
14784 if (temp3)
14785 delete arg3;
14786 }
14787 {
14788 if (arg5) delete [] arg5;
14789 }
14790 return NULL;
14791}
14792
14793
c32bde28 14794static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14795 PyObject *resultobj;
14796 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14797 int result;
14798 PyObject * obj0 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "self", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14805 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14806 {
14807 PyThreadState* __tstate = wxPyBeginAllowThreads();
14808 result = (int)(arg1)->GetSelection();
14809
14810 wxPyEndAllowThreads(__tstate);
14811 if (PyErr_Occurred()) SWIG_fail;
14812 }
093d3ff1
RD
14813 {
14814 resultobj = SWIG_From_int((int)(result));
14815 }
d14a1e28
RD
14816 return resultobj;
14817 fail:
14818 return NULL;
14819}
14820
14821
c32bde28 14822static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14823 PyObject *resultobj;
14824 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14825 wxString result;
14826 PyObject * obj0 = 0 ;
14827 char *kwnames[] = {
14828 (char *) "self", NULL
14829 };
14830
14831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14833 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14834 {
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 result = (arg1)->GetStringSelection();
14837
14838 wxPyEndAllowThreads(__tstate);
14839 if (PyErr_Occurred()) SWIG_fail;
14840 }
14841 {
14842#if wxUSE_UNICODE
14843 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14844#else
14845 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14846#endif
14847 }
14848 return resultobj;
14849 fail:
14850 return NULL;
14851}
14852
14853
c32bde28 14854static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14855 PyObject *resultobj;
14856 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14857 int arg2 ;
14858 PyObject * obj0 = 0 ;
994141e6 14859 PyObject * obj1 = 0 ;
d14a1e28
RD
14860 char *kwnames[] = {
14861 (char *) "self",(char *) "sel", NULL
14862 };
14863
994141e6 14864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14866 if (SWIG_arg_fail(1)) SWIG_fail;
14867 {
14868 arg2 = (int)(SWIG_As_int(obj1));
14869 if (SWIG_arg_fail(2)) SWIG_fail;
14870 }
d14a1e28
RD
14871 {
14872 PyThreadState* __tstate = wxPyBeginAllowThreads();
14873 (arg1)->SetSelection(arg2);
14874
14875 wxPyEndAllowThreads(__tstate);
14876 if (PyErr_Occurred()) SWIG_fail;
14877 }
14878 Py_INCREF(Py_None); resultobj = Py_None;
14879 return resultobj;
14880 fail:
14881 return NULL;
14882}
14883
14884
c32bde28 14885static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14886 PyObject *obj;
14887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14888 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
14889 Py_INCREF(obj);
14890 return Py_BuildValue((char *)"");
14891}
c32bde28 14892static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14893 PyObject *resultobj;
14894 wxWindow *arg1 = (wxWindow *) 0 ;
14895 wxString *arg2 = 0 ;
14896 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
14897 wxString *arg3 = (wxString *) &arg3_defvalue ;
14898 wxString const &arg4_defvalue = wxPyEmptyString ;
14899 wxString *arg4 = (wxString *) &arg4_defvalue ;
d3b6e4ff 14900 long arg5 = (long) wxTextEntryDialogStyle ;
d14a1e28
RD
14901 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14902 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14903 wxTextEntryDialog *result;
ae8162c8
RD
14904 bool temp2 = false ;
14905 bool temp3 = false ;
14906 bool temp4 = false ;
d14a1e28
RD
14907 wxPoint temp6 ;
14908 PyObject * obj0 = 0 ;
14909 PyObject * obj1 = 0 ;
14910 PyObject * obj2 = 0 ;
14911 PyObject * obj3 = 0 ;
994141e6 14912 PyObject * obj4 = 0 ;
d14a1e28
RD
14913 PyObject * obj5 = 0 ;
14914 char *kwnames[] = {
14915 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14916 };
14917
994141e6 14918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14920 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14921 {
14922 arg2 = wxString_in_helper(obj1);
14923 if (arg2 == NULL) SWIG_fail;
ae8162c8 14924 temp2 = true;
d14a1e28
RD
14925 }
14926 if (obj2) {
14927 {
14928 arg3 = wxString_in_helper(obj2);
14929 if (arg3 == NULL) SWIG_fail;
ae8162c8 14930 temp3 = true;
d14a1e28
RD
14931 }
14932 }
14933 if (obj3) {
14934 {
14935 arg4 = wxString_in_helper(obj3);
14936 if (arg4 == NULL) SWIG_fail;
ae8162c8 14937 temp4 = true;
d14a1e28
RD
14938 }
14939 }
994141e6 14940 if (obj4) {
093d3ff1
RD
14941 {
14942 arg5 = (long)(SWIG_As_long(obj4));
14943 if (SWIG_arg_fail(5)) SWIG_fail;
14944 }
994141e6 14945 }
d14a1e28
RD
14946 if (obj5) {
14947 {
14948 arg6 = &temp6;
14949 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14950 }
14951 }
14952 {
e3b71cb8 14953 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14954 PyThreadState* __tstate = wxPyBeginAllowThreads();
14955 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
14956
14957 wxPyEndAllowThreads(__tstate);
110da5b0 14958 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14959 }
15afbcd0 14960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
d14a1e28
RD
14961 {
14962 if (temp2)
14963 delete arg2;
14964 }
14965 {
14966 if (temp3)
14967 delete arg3;
14968 }
14969 {
14970 if (temp4)
14971 delete arg4;
14972 }
14973 return resultobj;
14974 fail:
14975 {
14976 if (temp2)
14977 delete arg2;
14978 }
14979 {
14980 if (temp3)
14981 delete arg3;
14982 }
14983 {
14984 if (temp4)
14985 delete arg4;
14986 }
14987 return NULL;
14988}
14989
14990
c32bde28 14991static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14992 PyObject *resultobj;
14993 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
14994 wxString result;
14995 PyObject * obj0 = 0 ;
14996 char *kwnames[] = {
14997 (char *) "self", NULL
14998 };
14999
15000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15002 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15003 {
15004 PyThreadState* __tstate = wxPyBeginAllowThreads();
15005 result = (arg1)->GetValue();
15006
15007 wxPyEndAllowThreads(__tstate);
15008 if (PyErr_Occurred()) SWIG_fail;
15009 }
15010 {
15011#if wxUSE_UNICODE
15012 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15013#else
15014 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15015#endif
15016 }
15017 return resultobj;
15018 fail:
15019 return NULL;
15020}
15021
15022
c32bde28 15023static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15024 PyObject *resultobj;
15025 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15026 wxString *arg2 = 0 ;
ae8162c8 15027 bool temp2 = false ;
d14a1e28
RD
15028 PyObject * obj0 = 0 ;
15029 PyObject * obj1 = 0 ;
15030 char *kwnames[] = {
15031 (char *) "self",(char *) "value", NULL
15032 };
15033
15034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15036 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15037 {
15038 arg2 = wxString_in_helper(obj1);
15039 if (arg2 == NULL) SWIG_fail;
ae8162c8 15040 temp2 = true;
d14a1e28
RD
15041 }
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 (arg1)->SetValue((wxString const &)*arg2);
15045
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 Py_INCREF(Py_None); resultobj = Py_None;
15050 {
15051 if (temp2)
15052 delete arg2;
15053 }
15054 return resultobj;
15055 fail:
15056 {
15057 if (temp2)
15058 delete arg2;
15059 }
15060 return NULL;
15061}
15062
15063
c32bde28 15064static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15065 PyObject *obj;
15066 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15067 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15068 Py_INCREF(obj);
15069 return Py_BuildValue((char *)"");
15070}
d3b6e4ff
RD
15071static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15072 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15073 return 1;
15074}
15075
15076
093d3ff1 15077static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
d3b6e4ff
RD
15078 PyObject *pyobj;
15079
15080 {
15081#if wxUSE_UNICODE
15082 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15083#else
15084 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15085#endif
15086 }
15087 return pyobj;
15088}
15089
15090
15091static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15092 PyObject *resultobj;
15093 wxWindow *arg1 = (wxWindow *) 0 ;
15094 wxString *arg2 = 0 ;
15095 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15096 wxString *arg3 = (wxString *) &arg3_defvalue ;
15097 wxString const &arg4_defvalue = wxPyEmptyString ;
15098 wxString *arg4 = (wxString *) &arg4_defvalue ;
15099 long arg5 = (long) wxTextEntryDialogStyle ;
15100 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15101 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15102 wxPasswordEntryDialog *result;
15103 bool temp2 = false ;
15104 bool temp3 = false ;
15105 bool temp4 = false ;
15106 wxPoint temp6 ;
15107 PyObject * obj0 = 0 ;
15108 PyObject * obj1 = 0 ;
15109 PyObject * obj2 = 0 ;
15110 PyObject * obj3 = 0 ;
15111 PyObject * obj4 = 0 ;
15112 PyObject * obj5 = 0 ;
15113 char *kwnames[] = {
15114 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15115 };
15116
15117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15119 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
15120 {
15121 arg2 = wxString_in_helper(obj1);
15122 if (arg2 == NULL) SWIG_fail;
15123 temp2 = true;
15124 }
15125 if (obj2) {
15126 {
15127 arg3 = wxString_in_helper(obj2);
15128 if (arg3 == NULL) SWIG_fail;
15129 temp3 = true;
15130 }
15131 }
15132 if (obj3) {
15133 {
15134 arg4 = wxString_in_helper(obj3);
15135 if (arg4 == NULL) SWIG_fail;
15136 temp4 = true;
15137 }
15138 }
15139 if (obj4) {
093d3ff1
RD
15140 {
15141 arg5 = (long)(SWIG_As_long(obj4));
15142 if (SWIG_arg_fail(5)) SWIG_fail;
15143 }
d3b6e4ff
RD
15144 }
15145 if (obj5) {
15146 {
15147 arg6 = &temp6;
15148 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15149 }
15150 }
15151 {
15152 PyThreadState* __tstate = wxPyBeginAllowThreads();
15153 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15154
15155 wxPyEndAllowThreads(__tstate);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 }
15158 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15159 {
15160 if (temp2)
15161 delete arg2;
15162 }
15163 {
15164 if (temp3)
15165 delete arg3;
15166 }
15167 {
15168 if (temp4)
15169 delete arg4;
15170 }
15171 return resultobj;
15172 fail:
15173 {
15174 if (temp2)
15175 delete arg2;
15176 }
15177 {
15178 if (temp3)
15179 delete arg3;
15180 }
15181 {
15182 if (temp4)
15183 delete arg4;
15184 }
15185 return NULL;
15186}
15187
15188
15189static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15190 PyObject *obj;
15191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15192 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15193 Py_INCREF(obj);
15194 return Py_BuildValue((char *)"");
15195}
c32bde28 15196static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15197 PyObject *resultobj;
15198 wxFontData *result;
15199 char *kwnames[] = {
15200 NULL
15201 };
15202
15203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 result = (wxFontData *)new wxFontData();
15207
15208 wxPyEndAllowThreads(__tstate);
15209 if (PyErr_Occurred()) SWIG_fail;
15210 }
15afbcd0 15211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
d14a1e28
RD
15212 return resultobj;
15213 fail:
15214 return NULL;
15215}
15216
15217
c32bde28 15218static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15219 PyObject *resultobj;
15220 wxFontData *arg1 = (wxFontData *) 0 ;
15221 PyObject * obj0 = 0 ;
15222 char *kwnames[] = {
15223 (char *) "self", NULL
15224 };
15225
15226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15228 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 delete arg1;
15232
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 Py_INCREF(Py_None); resultobj = Py_None;
15237 return resultobj;
15238 fail:
15239 return NULL;
15240}
15241
15242
c32bde28 15243static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15244 PyObject *resultobj;
15245 wxFontData *arg1 = (wxFontData *) 0 ;
15246 bool arg2 ;
15247 PyObject * obj0 = 0 ;
15248 PyObject * obj1 = 0 ;
15249 char *kwnames[] = {
15250 (char *) "self",(char *) "enable", NULL
15251 };
15252
15253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15255 if (SWIG_arg_fail(1)) SWIG_fail;
15256 {
15257 arg2 = (bool)(SWIG_As_bool(obj1));
15258 if (SWIG_arg_fail(2)) SWIG_fail;
15259 }
d14a1e28
RD
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 (arg1)->EnableEffects(arg2);
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 Py_INCREF(Py_None); resultobj = Py_None;
15268 return resultobj;
15269 fail:
15270 return NULL;
15271}
15272
15273
c32bde28 15274static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15275 PyObject *resultobj;
15276 wxFontData *arg1 = (wxFontData *) 0 ;
15277 bool result;
15278 PyObject * obj0 = 0 ;
15279 char *kwnames[] = {
15280 (char *) "self", NULL
15281 };
15282
15283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
093d3ff1
RD
15284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15285 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 result = (bool)(arg1)->GetAllowSymbols();
15289
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
4f89f6a3
RD
15293 {
15294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15295 }
d14a1e28
RD
15296 return resultobj;
15297 fail:
15298 return NULL;
15299}
15300
15301
c32bde28 15302static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15303 PyObject *resultobj;
15304 wxFontData *arg1 = (wxFontData *) 0 ;
15305 wxColour result;
15306 PyObject * obj0 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "self", NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
15312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15313 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15314 {
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 result = (arg1)->GetColour();
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 {
15322 wxColour * resultptr;
093d3ff1 15323 resultptr = new wxColour((wxColour &)(result));
15afbcd0 15324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
15325 }
15326 return resultobj;
15327 fail:
15328 return NULL;
15329}
15330
15331
c32bde28 15332static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15333 PyObject *resultobj;
15334 wxFontData *arg1 = (wxFontData *) 0 ;
15335 wxFont result;
15336 PyObject * obj0 = 0 ;
15337 char *kwnames[] = {
15338 (char *) "self", NULL
15339 };
15340
15341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15343 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 result = (arg1)->GetChosenFont();
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 {
15352 wxFont * resultptr;
093d3ff1 15353 resultptr = new wxFont((wxFont &)(result));
15afbcd0 15354 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
15355 }
15356 return resultobj;
15357 fail:
15358 return NULL;
15359}
15360
15361
c32bde28 15362static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15363 PyObject *resultobj;
15364 wxFontData *arg1 = (wxFontData *) 0 ;
15365 bool result;
15366 PyObject * obj0 = 0 ;
15367 char *kwnames[] = {
15368 (char *) "self", NULL
15369 };
15370
15371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
093d3ff1
RD
15372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15373 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15374 {
15375 PyThreadState* __tstate = wxPyBeginAllowThreads();
15376 result = (bool)(arg1)->GetEnableEffects();
15377
15378 wxPyEndAllowThreads(__tstate);
15379 if (PyErr_Occurred()) SWIG_fail;
15380 }
4f89f6a3
RD
15381 {
15382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15383 }
d14a1e28
RD
15384 return resultobj;
15385 fail:
15386 return NULL;
15387}
15388
15389
c32bde28 15390static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15391 PyObject *resultobj;
15392 wxFontData *arg1 = (wxFontData *) 0 ;
15393 wxFont result;
15394 PyObject * obj0 = 0 ;
15395 char *kwnames[] = {
15396 (char *) "self", NULL
15397 };
15398
15399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15401 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15402 {
15403 PyThreadState* __tstate = wxPyBeginAllowThreads();
15404 result = (arg1)->GetInitialFont();
15405
15406 wxPyEndAllowThreads(__tstate);
15407 if (PyErr_Occurred()) SWIG_fail;
15408 }
15409 {
15410 wxFont * resultptr;
093d3ff1 15411 resultptr = new wxFont((wxFont &)(result));
15afbcd0 15412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
15413 }
15414 return resultobj;
15415 fail:
15416 return NULL;
15417}
15418
15419
c32bde28 15420static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15421 PyObject *resultobj;
15422 wxFontData *arg1 = (wxFontData *) 0 ;
15423 bool result;
15424 PyObject * obj0 = 0 ;
15425 char *kwnames[] = {
15426 (char *) "self", NULL
15427 };
15428
15429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
15430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15431 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15432 {
15433 PyThreadState* __tstate = wxPyBeginAllowThreads();
15434 result = (bool)(arg1)->GetShowHelp();
15435
15436 wxPyEndAllowThreads(__tstate);
15437 if (PyErr_Occurred()) SWIG_fail;
15438 }
4f89f6a3
RD
15439 {
15440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15441 }
d14a1e28
RD
15442 return resultobj;
15443 fail:
15444 return NULL;
15445}
15446
15447
c32bde28 15448static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15449 PyObject *resultobj;
15450 wxFontData *arg1 = (wxFontData *) 0 ;
15451 bool arg2 ;
15452 PyObject * obj0 = 0 ;
15453 PyObject * obj1 = 0 ;
15454 char *kwnames[] = {
15455 (char *) "self",(char *) "allowSymbols", NULL
15456 };
15457
15458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15460 if (SWIG_arg_fail(1)) SWIG_fail;
15461 {
15462 arg2 = (bool)(SWIG_As_bool(obj1));
15463 if (SWIG_arg_fail(2)) SWIG_fail;
15464 }
d14a1e28
RD
15465 {
15466 PyThreadState* __tstate = wxPyBeginAllowThreads();
15467 (arg1)->SetAllowSymbols(arg2);
15468
15469 wxPyEndAllowThreads(__tstate);
15470 if (PyErr_Occurred()) SWIG_fail;
15471 }
15472 Py_INCREF(Py_None); resultobj = Py_None;
15473 return resultobj;
15474 fail:
15475 return NULL;
15476}
15477
15478
c32bde28 15479static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15480 PyObject *resultobj;
15481 wxFontData *arg1 = (wxFontData *) 0 ;
15482 wxFont *arg2 = 0 ;
15483 PyObject * obj0 = 0 ;
15484 PyObject * obj1 = 0 ;
15485 char *kwnames[] = {
15486 (char *) "self",(char *) "font", NULL
15487 };
15488
15489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15491 if (SWIG_arg_fail(1)) SWIG_fail;
15492 {
15493 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15494 if (SWIG_arg_fail(2)) SWIG_fail;
15495 if (arg2 == NULL) {
15496 SWIG_null_ref("wxFont");
15497 }
15498 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15499 }
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 (arg1)->SetChosenFont((wxFont const &)*arg2);
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 Py_INCREF(Py_None); resultobj = Py_None;
15508 return resultobj;
15509 fail:
15510 return NULL;
15511}
15512
15513
c32bde28 15514static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15515 PyObject *resultobj;
15516 wxFontData *arg1 = (wxFontData *) 0 ;
15517 wxColour *arg2 = 0 ;
15518 wxColour temp2 ;
15519 PyObject * obj0 = 0 ;
15520 PyObject * obj1 = 0 ;
15521 char *kwnames[] = {
15522 (char *) "self",(char *) "colour", NULL
15523 };
15524
15525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15527 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15528 {
15529 arg2 = &temp2;
15530 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15531 }
15532 {
15533 PyThreadState* __tstate = wxPyBeginAllowThreads();
15534 (arg1)->SetColour((wxColour const &)*arg2);
15535
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 Py_INCREF(Py_None); resultobj = Py_None;
15540 return resultobj;
15541 fail:
15542 return NULL;
15543}
15544
15545
c32bde28 15546static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15547 PyObject *resultobj;
15548 wxFontData *arg1 = (wxFontData *) 0 ;
15549 wxFont *arg2 = 0 ;
15550 PyObject * obj0 = 0 ;
15551 PyObject * obj1 = 0 ;
15552 char *kwnames[] = {
15553 (char *) "self",(char *) "font", NULL
15554 };
15555
15556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15558 if (SWIG_arg_fail(1)) SWIG_fail;
15559 {
15560 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15561 if (SWIG_arg_fail(2)) SWIG_fail;
15562 if (arg2 == NULL) {
15563 SWIG_null_ref("wxFont");
15564 }
15565 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15566 }
15567 {
15568 PyThreadState* __tstate = wxPyBeginAllowThreads();
15569 (arg1)->SetInitialFont((wxFont const &)*arg2);
15570
15571 wxPyEndAllowThreads(__tstate);
15572 if (PyErr_Occurred()) SWIG_fail;
15573 }
15574 Py_INCREF(Py_None); resultobj = Py_None;
15575 return resultobj;
15576 fail:
15577 return NULL;
15578}
15579
15580
c32bde28 15581static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15582 PyObject *resultobj;
15583 wxFontData *arg1 = (wxFontData *) 0 ;
15584 int arg2 ;
15585 int arg3 ;
15586 PyObject * obj0 = 0 ;
994141e6
RD
15587 PyObject * obj1 = 0 ;
15588 PyObject * obj2 = 0 ;
d14a1e28
RD
15589 char *kwnames[] = {
15590 (char *) "self",(char *) "min",(char *) "max", NULL
15591 };
15592
994141e6 15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15595 if (SWIG_arg_fail(1)) SWIG_fail;
15596 {
15597 arg2 = (int)(SWIG_As_int(obj1));
15598 if (SWIG_arg_fail(2)) SWIG_fail;
15599 }
15600 {
15601 arg3 = (int)(SWIG_As_int(obj2));
15602 if (SWIG_arg_fail(3)) SWIG_fail;
15603 }
d14a1e28
RD
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 (arg1)->SetRange(arg2,arg3);
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 Py_INCREF(Py_None); resultobj = Py_None;
15612 return resultobj;
15613 fail:
15614 return NULL;
15615}
15616
15617
c32bde28 15618static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15619 PyObject *resultobj;
15620 wxFontData *arg1 = (wxFontData *) 0 ;
15621 bool arg2 ;
15622 PyObject * obj0 = 0 ;
15623 PyObject * obj1 = 0 ;
15624 char *kwnames[] = {
15625 (char *) "self",(char *) "showHelp", NULL
15626 };
15627
15628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15630 if (SWIG_arg_fail(1)) SWIG_fail;
15631 {
15632 arg2 = (bool)(SWIG_As_bool(obj1));
15633 if (SWIG_arg_fail(2)) SWIG_fail;
15634 }
d14a1e28
RD
15635 {
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
15637 (arg1)->SetShowHelp(arg2);
15638
15639 wxPyEndAllowThreads(__tstate);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
15642 Py_INCREF(Py_None); resultobj = Py_None;
15643 return resultobj;
15644 fail:
15645 return NULL;
15646}
15647
15648
c32bde28 15649static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15650 PyObject *obj;
15651 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15652 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15653 Py_INCREF(obj);
15654 return Py_BuildValue((char *)"");
15655}
c32bde28 15656static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15657 PyObject *resultobj;
e498079e
RD
15658 wxWindow *arg1 = (wxWindow *) 0 ;
15659 wxFontData *arg2 = 0 ;
15660 wxFontDialog *result;
d14a1e28 15661 PyObject * obj0 = 0 ;
e498079e 15662 PyObject * obj1 = 0 ;
15afbcd0
RD
15663 char *kwnames[] = {
15664 (char *) "parent",(char *) "data", NULL
15665 };
d14a1e28 15666
15afbcd0 15667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15669 if (SWIG_arg_fail(1)) SWIG_fail;
15670 {
15671 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15672 if (SWIG_arg_fail(2)) SWIG_fail;
15673 if (arg2 == NULL) {
15674 SWIG_null_ref("wxFontData");
15675 }
15676 if (SWIG_arg_fail(2)) SWIG_fail;
e498079e 15677 }
d14a1e28 15678 {
e3b71cb8 15679 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 15680 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15681 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
d14a1e28
RD
15682
15683 wxPyEndAllowThreads(__tstate);
110da5b0 15684 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15685 }
15afbcd0 15686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
d14a1e28
RD
15687 return resultobj;
15688 fail:
15689 return NULL;
15690}
15691
15692
c32bde28 15693static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15694 PyObject *resultobj;
15695 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
e498079e 15696 wxFontData *result;
d14a1e28
RD
15697 PyObject * obj0 = 0 ;
15698 char *kwnames[] = {
15699 (char *) "self", NULL
15700 };
15701
e498079e 15702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15704 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15705 {
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e
RD
15707 {
15708 wxFontData &_result_ref = (arg1)->GetFontData();
15709 result = (wxFontData *) &_result_ref;
15710 }
d14a1e28
RD
15711
15712 wxPyEndAllowThreads(__tstate);
15713 if (PyErr_Occurred()) SWIG_fail;
15714 }
15afbcd0 15715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
d14a1e28
RD
15716 return resultobj;
15717 fail:
15718 return NULL;
15719}
15720
15721
c32bde28 15722static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15723 PyObject *obj;
15724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15725 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15726 Py_INCREF(obj);
15727 return Py_BuildValue((char *)"");
15728}
c32bde28 15729static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15730 PyObject *resultobj;
15731 wxWindow *arg1 = (wxWindow *) 0 ;
15732 wxString *arg2 = 0 ;
15733 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15734 wxString *arg3 = (wxString *) &arg3_defvalue ;
15735 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15736 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15737 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15738 wxMessageDialog *result;
ae8162c8
RD
15739 bool temp2 = false ;
15740 bool temp3 = false ;
d14a1e28
RD
15741 wxPoint temp5 ;
15742 PyObject * obj0 = 0 ;
15743 PyObject * obj1 = 0 ;
15744 PyObject * obj2 = 0 ;
994141e6 15745 PyObject * obj3 = 0 ;
d14a1e28
RD
15746 PyObject * obj4 = 0 ;
15747 char *kwnames[] = {
15748 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15749 };
15750
994141e6 15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
15752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15753 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15754 {
15755 arg2 = wxString_in_helper(obj1);
15756 if (arg2 == NULL) SWIG_fail;
ae8162c8 15757 temp2 = true;
d14a1e28
RD
15758 }
15759 if (obj2) {
15760 {
15761 arg3 = wxString_in_helper(obj2);
15762 if (arg3 == NULL) SWIG_fail;
ae8162c8 15763 temp3 = true;
d14a1e28
RD
15764 }
15765 }
994141e6 15766 if (obj3) {
093d3ff1
RD
15767 {
15768 arg4 = (long)(SWIG_As_long(obj3));
15769 if (SWIG_arg_fail(4)) SWIG_fail;
15770 }
994141e6 15771 }
d14a1e28
RD
15772 if (obj4) {
15773 {
15774 arg5 = &temp5;
15775 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15776 }
15777 }
15778 {
e3b71cb8 15779 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15782
15783 wxPyEndAllowThreads(__tstate);
110da5b0 15784 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15785 }
15afbcd0 15786 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
d14a1e28
RD
15787 {
15788 if (temp2)
15789 delete arg2;
15790 }
15791 {
15792 if (temp3)
15793 delete arg3;
15794 }
15795 return resultobj;
15796 fail:
15797 {
15798 if (temp2)
15799 delete arg2;
15800 }
15801 {
15802 if (temp3)
15803 delete arg3;
15804 }
15805 return NULL;
15806}
15807
15808
c32bde28 15809static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15810 PyObject *obj;
15811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15812 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15813 Py_INCREF(obj);
15814 return Py_BuildValue((char *)"");
15815}
c32bde28 15816static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15817 PyObject *resultobj;
15818 wxString *arg1 = 0 ;
15819 wxString *arg2 = 0 ;
15820 int arg3 = (int) 100 ;
15821 wxWindow *arg4 = (wxWindow *) NULL ;
15822 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15823 wxProgressDialog *result;
ae8162c8
RD
15824 bool temp1 = false ;
15825 bool temp2 = false ;
d14a1e28
RD
15826 PyObject * obj0 = 0 ;
15827 PyObject * obj1 = 0 ;
994141e6 15828 PyObject * obj2 = 0 ;
d14a1e28 15829 PyObject * obj3 = 0 ;
994141e6 15830 PyObject * obj4 = 0 ;
d14a1e28
RD
15831 char *kwnames[] = {
15832 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15833 };
15834
994141e6 15835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
15836 {
15837 arg1 = wxString_in_helper(obj0);
15838 if (arg1 == NULL) SWIG_fail;
ae8162c8 15839 temp1 = true;
d14a1e28
RD
15840 }
15841 {
15842 arg2 = wxString_in_helper(obj1);
15843 if (arg2 == NULL) SWIG_fail;
ae8162c8 15844 temp2 = true;
d14a1e28 15845 }
994141e6 15846 if (obj2) {
093d3ff1
RD
15847 {
15848 arg3 = (int)(SWIG_As_int(obj2));
15849 if (SWIG_arg_fail(3)) SWIG_fail;
15850 }
994141e6 15851 }
d14a1e28 15852 if (obj3) {
093d3ff1
RD
15853 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15854 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28 15855 }
994141e6 15856 if (obj4) {
093d3ff1
RD
15857 {
15858 arg5 = (int)(SWIG_As_int(obj4));
15859 if (SWIG_arg_fail(5)) SWIG_fail;
15860 }
994141e6 15861 }
d14a1e28 15862 {
e3b71cb8 15863 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15864 PyThreadState* __tstate = wxPyBeginAllowThreads();
15865 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15866
15867 wxPyEndAllowThreads(__tstate);
110da5b0 15868 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15869 }
15afbcd0 15870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
d14a1e28
RD
15871 {
15872 if (temp1)
15873 delete arg1;
15874 }
15875 {
15876 if (temp2)
15877 delete arg2;
15878 }
15879 return resultobj;
15880 fail:
15881 {
15882 if (temp1)
15883 delete arg1;
15884 }
15885 {
15886 if (temp2)
15887 delete arg2;
15888 }
15889 return NULL;
15890}
15891
15892
c32bde28 15893static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15894 PyObject *resultobj;
15895 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15896 int arg2 ;
15897 wxString const &arg3_defvalue = wxPyEmptyString ;
15898 wxString *arg3 = (wxString *) &arg3_defvalue ;
15899 bool result;
ae8162c8 15900 bool temp3 = false ;
d14a1e28 15901 PyObject * obj0 = 0 ;
994141e6 15902 PyObject * obj1 = 0 ;
d14a1e28
RD
15903 PyObject * obj2 = 0 ;
15904 char *kwnames[] = {
15905 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15906 };
15907
994141e6 15908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15910 if (SWIG_arg_fail(1)) SWIG_fail;
15911 {
15912 arg2 = (int)(SWIG_As_int(obj1));
15913 if (SWIG_arg_fail(2)) SWIG_fail;
15914 }
d14a1e28
RD
15915 if (obj2) {
15916 {
15917 arg3 = wxString_in_helper(obj2);
15918 if (arg3 == NULL) SWIG_fail;
ae8162c8 15919 temp3 = true;
d14a1e28
RD
15920 }
15921 }
15922 {
15923 PyThreadState* __tstate = wxPyBeginAllowThreads();
15924 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
15925
15926 wxPyEndAllowThreads(__tstate);
15927 if (PyErr_Occurred()) SWIG_fail;
15928 }
4f89f6a3
RD
15929 {
15930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15931 }
d14a1e28
RD
15932 {
15933 if (temp3)
15934 delete arg3;
15935 }
15936 return resultobj;
15937 fail:
15938 {
15939 if (temp3)
15940 delete arg3;
15941 }
15942 return NULL;
15943}
15944
15945
c32bde28 15946static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15947 PyObject *resultobj;
15948 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15949 PyObject * obj0 = 0 ;
15950 char *kwnames[] = {
15951 (char *) "self", NULL
15952 };
15953
15954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
15955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15956 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 (arg1)->Resume();
15960
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 Py_INCREF(Py_None); resultobj = Py_None;
15965 return resultobj;
15966 fail:
15967 return NULL;
15968}
15969
15970
c32bde28 15971static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15972 PyObject *obj;
15973 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15974 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
15975 Py_INCREF(obj);
15976 return Py_BuildValue((char *)"");
15977}
c32bde28 15978static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15979 PyObject *resultobj;
15980 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15981 int arg2 = (int) 0 ;
15982 wxFindDialogEvent *result;
994141e6
RD
15983 PyObject * obj0 = 0 ;
15984 PyObject * obj1 = 0 ;
d14a1e28
RD
15985 char *kwnames[] = {
15986 (char *) "commandType",(char *) "id", NULL
15987 };
15988
994141e6
RD
15989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
15990 if (obj0) {
093d3ff1
RD
15991 {
15992 arg1 = (wxEventType)(SWIG_As_int(obj0));
15993 if (SWIG_arg_fail(1)) SWIG_fail;
15994 }
994141e6
RD
15995 }
15996 if (obj1) {
093d3ff1
RD
15997 {
15998 arg2 = (int)(SWIG_As_int(obj1));
15999 if (SWIG_arg_fail(2)) SWIG_fail;
16000 }
994141e6 16001 }
d14a1e28
RD
16002 {
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16005
16006 wxPyEndAllowThreads(__tstate);
16007 if (PyErr_Occurred()) SWIG_fail;
16008 }
15afbcd0 16009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
d14a1e28
RD
16010 return resultobj;
16011 fail:
16012 return NULL;
16013}
16014
16015
c32bde28 16016static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16017 PyObject *resultobj;
16018 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16019 int result;
16020 PyObject * obj0 = 0 ;
16021 char *kwnames[] = {
16022 (char *) "self", NULL
16023 };
16024
16025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16027 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 result = (int)(arg1)->GetFlags();
16031
16032 wxPyEndAllowThreads(__tstate);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 }
093d3ff1
RD
16035 {
16036 resultobj = SWIG_From_int((int)(result));
16037 }
d14a1e28
RD
16038 return resultobj;
16039 fail:
16040 return NULL;
16041}
16042
16043
c32bde28 16044static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16045 PyObject *resultobj;
16046 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
cc6dd355 16047 wxString *result;
d14a1e28
RD
16048 PyObject * obj0 = 0 ;
16049 char *kwnames[] = {
16050 (char *) "self", NULL
16051 };
16052
16053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16055 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16056 {
16057 PyThreadState* __tstate = wxPyBeginAllowThreads();
cc6dd355
RD
16058 {
16059 wxString const &_result_ref = (arg1)->GetFindString();
16060 result = (wxString *) &_result_ref;
16061 }
d14a1e28
RD
16062
16063 wxPyEndAllowThreads(__tstate);
16064 if (PyErr_Occurred()) SWIG_fail;
16065 }
16066 {
16067#if wxUSE_UNICODE
cc6dd355 16068 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 16069#else
cc6dd355 16070 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
16071#endif
16072 }
16073 return resultobj;
16074 fail:
16075 return NULL;
16076}
16077
16078
c32bde28 16079static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16080 PyObject *resultobj;
16081 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16082 wxString *result;
16083 PyObject * obj0 = 0 ;
16084 char *kwnames[] = {
16085 (char *) "self", NULL
16086 };
16087
16088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16090 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16091 {
16092 PyThreadState* __tstate = wxPyBeginAllowThreads();
16093 {
16094 wxString const &_result_ref = (arg1)->GetReplaceString();
16095 result = (wxString *) &_result_ref;
16096 }
16097
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
cc6dd355
RD
16101 {
16102#if wxUSE_UNICODE
16103 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16104#else
16105 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16106#endif
16107 }
d14a1e28
RD
16108 return resultobj;
16109 fail:
16110 return NULL;
16111}
16112
16113
c32bde28 16114static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16115 PyObject *resultobj;
16116 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16117 wxFindReplaceDialog *result;
16118 PyObject * obj0 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
16124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16125 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16126 {
16127 PyThreadState* __tstate = wxPyBeginAllowThreads();
16128 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
15afbcd0 16133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
d14a1e28
RD
16134 return resultobj;
16135 fail:
16136 return NULL;
16137}
16138
16139
c32bde28 16140static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16141 PyObject *resultobj;
16142 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16143 int arg2 ;
16144 PyObject * obj0 = 0 ;
994141e6 16145 PyObject * obj1 = 0 ;
d14a1e28
RD
16146 char *kwnames[] = {
16147 (char *) "self",(char *) "flags", NULL
16148 };
16149
994141e6 16150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) 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;
16153 {
16154 arg2 = (int)(SWIG_As_int(obj1));
16155 if (SWIG_arg_fail(2)) SWIG_fail;
16156 }
d14a1e28
RD
16157 {
16158 PyThreadState* __tstate = wxPyBeginAllowThreads();
16159 (arg1)->SetFlags(arg2);
16160
16161 wxPyEndAllowThreads(__tstate);
16162 if (PyErr_Occurred()) SWIG_fail;
16163 }
16164 Py_INCREF(Py_None); resultobj = Py_None;
16165 return resultobj;
16166 fail:
16167 return NULL;
16168}
16169
16170
c32bde28 16171static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16172 PyObject *resultobj;
16173 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16174 wxString *arg2 = 0 ;
ae8162c8 16175 bool temp2 = false ;
d14a1e28
RD
16176 PyObject * obj0 = 0 ;
16177 PyObject * obj1 = 0 ;
16178 char *kwnames[] = {
16179 (char *) "self",(char *) "str", NULL
16180 };
16181
16182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16184 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16185 {
16186 arg2 = wxString_in_helper(obj1);
16187 if (arg2 == NULL) SWIG_fail;
ae8162c8 16188 temp2 = true;
d14a1e28
RD
16189 }
16190 {
16191 PyThreadState* __tstate = wxPyBeginAllowThreads();
16192 (arg1)->SetFindString((wxString const &)*arg2);
16193
16194 wxPyEndAllowThreads(__tstate);
16195 if (PyErr_Occurred()) SWIG_fail;
16196 }
16197 Py_INCREF(Py_None); resultobj = Py_None;
16198 {
16199 if (temp2)
16200 delete arg2;
16201 }
16202 return resultobj;
16203 fail:
16204 {
16205 if (temp2)
16206 delete arg2;
16207 }
16208 return NULL;
16209}
16210
16211
c32bde28 16212static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16213 PyObject *resultobj;
16214 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16215 wxString *arg2 = 0 ;
ae8162c8 16216 bool temp2 = false ;
d14a1e28
RD
16217 PyObject * obj0 = 0 ;
16218 PyObject * obj1 = 0 ;
16219 char *kwnames[] = {
16220 (char *) "self",(char *) "str", NULL
16221 };
16222
16223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16225 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16226 {
16227 arg2 = wxString_in_helper(obj1);
16228 if (arg2 == NULL) SWIG_fail;
ae8162c8 16229 temp2 = true;
d14a1e28
RD
16230 }
16231 {
16232 PyThreadState* __tstate = wxPyBeginAllowThreads();
16233 (arg1)->SetReplaceString((wxString const &)*arg2);
16234
16235 wxPyEndAllowThreads(__tstate);
16236 if (PyErr_Occurred()) SWIG_fail;
16237 }
16238 Py_INCREF(Py_None); resultobj = Py_None;
16239 {
16240 if (temp2)
16241 delete arg2;
16242 }
16243 return resultobj;
16244 fail:
16245 {
16246 if (temp2)
16247 delete arg2;
16248 }
16249 return NULL;
16250}
16251
16252
c32bde28 16253static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16254 PyObject *obj;
16255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16256 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16257 Py_INCREF(obj);
16258 return Py_BuildValue((char *)"");
16259}
c32bde28 16260static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16261 PyObject *resultobj;
16262 int arg1 = (int) 0 ;
16263 wxFindReplaceData *result;
994141e6 16264 PyObject * obj0 = 0 ;
d14a1e28
RD
16265 char *kwnames[] = {
16266 (char *) "flags", NULL
16267 };
16268
994141e6
RD
16269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16270 if (obj0) {
093d3ff1
RD
16271 {
16272 arg1 = (int)(SWIG_As_int(obj0));
16273 if (SWIG_arg_fail(1)) SWIG_fail;
16274 }
994141e6 16275 }
d14a1e28
RD
16276 {
16277 PyThreadState* __tstate = wxPyBeginAllowThreads();
16278 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16279
16280 wxPyEndAllowThreads(__tstate);
16281 if (PyErr_Occurred()) SWIG_fail;
16282 }
15afbcd0 16283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
d14a1e28
RD
16284 return resultobj;
16285 fail:
16286 return NULL;
16287}
16288
16289
c32bde28 16290static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16291 PyObject *resultobj;
16292 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16293 PyObject * obj0 = 0 ;
16294 char *kwnames[] = {
16295 (char *) "self", NULL
16296 };
16297
16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16300 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16301 {
16302 PyThreadState* __tstate = wxPyBeginAllowThreads();
16303 delete arg1;
16304
16305 wxPyEndAllowThreads(__tstate);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 Py_INCREF(Py_None); resultobj = Py_None;
16309 return resultobj;
16310 fail:
16311 return NULL;
16312}
16313
16314
c32bde28 16315static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16316 PyObject *resultobj;
16317 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16318 wxString *result;
16319 PyObject * obj0 = 0 ;
16320 char *kwnames[] = {
16321 (char *) "self", NULL
16322 };
16323
16324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16326 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16327 {
16328 PyThreadState* __tstate = wxPyBeginAllowThreads();
16329 {
16330 wxString const &_result_ref = (arg1)->GetFindString();
16331 result = (wxString *) &_result_ref;
16332 }
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
cc6dd355
RD
16337 {
16338#if wxUSE_UNICODE
16339 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16340#else
16341 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16342#endif
16343 }
d14a1e28
RD
16344 return resultobj;
16345 fail:
16346 return NULL;
16347}
16348
16349
c32bde28 16350static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16351 PyObject *resultobj;
16352 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16353 wxString *result;
16354 PyObject * obj0 = 0 ;
16355 char *kwnames[] = {
16356 (char *) "self", NULL
16357 };
16358
16359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 {
16365 wxString const &_result_ref = (arg1)->GetReplaceString();
16366 result = (wxString *) &_result_ref;
16367 }
16368
16369 wxPyEndAllowThreads(__tstate);
16370 if (PyErr_Occurred()) SWIG_fail;
16371 }
cc6dd355
RD
16372 {
16373#if wxUSE_UNICODE
16374 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16375#else
16376 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16377#endif
16378 }
d14a1e28
RD
16379 return resultobj;
16380 fail:
16381 return NULL;
16382}
16383
16384
c32bde28 16385static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16386 PyObject *resultobj;
16387 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16388 int result;
16389 PyObject * obj0 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self", NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16396 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16397 {
16398 PyThreadState* __tstate = wxPyBeginAllowThreads();
16399 result = (int)(arg1)->GetFlags();
16400
16401 wxPyEndAllowThreads(__tstate);
16402 if (PyErr_Occurred()) SWIG_fail;
16403 }
093d3ff1
RD
16404 {
16405 resultobj = SWIG_From_int((int)(result));
16406 }
d14a1e28
RD
16407 return resultobj;
16408 fail:
16409 return NULL;
16410}
16411
16412
c32bde28 16413static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16414 PyObject *resultobj;
16415 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16416 int arg2 ;
16417 PyObject * obj0 = 0 ;
994141e6 16418 PyObject * obj1 = 0 ;
d14a1e28
RD
16419 char *kwnames[] = {
16420 (char *) "self",(char *) "flags", NULL
16421 };
16422
994141e6 16423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16425 if (SWIG_arg_fail(1)) SWIG_fail;
16426 {
16427 arg2 = (int)(SWIG_As_int(obj1));
16428 if (SWIG_arg_fail(2)) SWIG_fail;
16429 }
d14a1e28
RD
16430 {
16431 PyThreadState* __tstate = wxPyBeginAllowThreads();
16432 (arg1)->SetFlags(arg2);
16433
16434 wxPyEndAllowThreads(__tstate);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 Py_INCREF(Py_None); resultobj = Py_None;
16438 return resultobj;
16439 fail:
16440 return NULL;
16441}
16442
16443
c32bde28 16444static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16445 PyObject *resultobj;
16446 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16447 wxString *arg2 = 0 ;
ae8162c8 16448 bool temp2 = false ;
d14a1e28
RD
16449 PyObject * obj0 = 0 ;
16450 PyObject * obj1 = 0 ;
16451 char *kwnames[] = {
16452 (char *) "self",(char *) "str", NULL
16453 };
16454
16455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16457 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16458 {
16459 arg2 = wxString_in_helper(obj1);
16460 if (arg2 == NULL) SWIG_fail;
ae8162c8 16461 temp2 = true;
d14a1e28
RD
16462 }
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 (arg1)->SetFindString((wxString const &)*arg2);
16466
16467 wxPyEndAllowThreads(__tstate);
16468 if (PyErr_Occurred()) SWIG_fail;
16469 }
16470 Py_INCREF(Py_None); resultobj = Py_None;
16471 {
16472 if (temp2)
16473 delete arg2;
16474 }
16475 return resultobj;
16476 fail:
16477 {
16478 if (temp2)
16479 delete arg2;
16480 }
16481 return NULL;
16482}
16483
16484
c32bde28 16485static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16486 PyObject *resultobj;
16487 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16488 wxString *arg2 = 0 ;
ae8162c8 16489 bool temp2 = false ;
d14a1e28
RD
16490 PyObject * obj0 = 0 ;
16491 PyObject * obj1 = 0 ;
16492 char *kwnames[] = {
16493 (char *) "self",(char *) "str", NULL
16494 };
16495
16496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16498 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16499 {
16500 arg2 = wxString_in_helper(obj1);
16501 if (arg2 == NULL) SWIG_fail;
ae8162c8 16502 temp2 = true;
d14a1e28
RD
16503 }
16504 {
16505 PyThreadState* __tstate = wxPyBeginAllowThreads();
16506 (arg1)->SetReplaceString((wxString const &)*arg2);
16507
16508 wxPyEndAllowThreads(__tstate);
16509 if (PyErr_Occurred()) SWIG_fail;
16510 }
16511 Py_INCREF(Py_None); resultobj = Py_None;
16512 {
16513 if (temp2)
16514 delete arg2;
16515 }
16516 return resultobj;
16517 fail:
16518 {
16519 if (temp2)
16520 delete arg2;
16521 }
16522 return NULL;
16523}
16524
16525
c32bde28 16526static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16527 PyObject *obj;
16528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16529 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16530 Py_INCREF(obj);
16531 return Py_BuildValue((char *)"");
16532}
c32bde28 16533static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16534 PyObject *resultobj;
16535 wxWindow *arg1 = (wxWindow *) 0 ;
16536 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16537 wxString *arg3 = 0 ;
16538 int arg4 = (int) 0 ;
16539 wxFindReplaceDialog *result;
ae8162c8 16540 bool temp3 = false ;
d14a1e28
RD
16541 PyObject * obj0 = 0 ;
16542 PyObject * obj1 = 0 ;
16543 PyObject * obj2 = 0 ;
994141e6 16544 PyObject * obj3 = 0 ;
d14a1e28
RD
16545 char *kwnames[] = {
16546 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16547 };
16548
994141e6 16549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
16550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16551 if (SWIG_arg_fail(1)) SWIG_fail;
16552 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16553 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16554 {
16555 arg3 = wxString_in_helper(obj2);
16556 if (arg3 == NULL) SWIG_fail;
ae8162c8 16557 temp3 = true;
d14a1e28 16558 }
994141e6 16559 if (obj3) {
093d3ff1
RD
16560 {
16561 arg4 = (int)(SWIG_As_int(obj3));
16562 if (SWIG_arg_fail(4)) SWIG_fail;
16563 }
994141e6 16564 }
d14a1e28 16565 {
e3b71cb8 16566 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16569
16570 wxPyEndAllowThreads(__tstate);
110da5b0 16571 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16572 }
15afbcd0 16573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
16574 {
16575 if (temp3)
16576 delete arg3;
16577 }
16578 return resultobj;
16579 fail:
16580 {
16581 if (temp3)
16582 delete arg3;
16583 }
16584 return NULL;
16585}
16586
16587
c32bde28 16588static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16589 PyObject *resultobj;
16590 wxFindReplaceDialog *result;
16591 char *kwnames[] = {
16592 NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16596 {
e3b71cb8 16597 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16600
16601 wxPyEndAllowThreads(__tstate);
110da5b0 16602 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16603 }
15afbcd0 16604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
16605 return resultobj;
16606 fail:
16607 return NULL;
16608}
16609
16610
c32bde28 16611static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16612 PyObject *resultobj;
16613 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16614 wxWindow *arg2 = (wxWindow *) 0 ;
16615 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16616 wxString *arg4 = 0 ;
16617 int arg5 = (int) 0 ;
16618 bool result;
ae8162c8 16619 bool temp4 = false ;
d14a1e28
RD
16620 PyObject * obj0 = 0 ;
16621 PyObject * obj1 = 0 ;
16622 PyObject * obj2 = 0 ;
16623 PyObject * obj3 = 0 ;
994141e6 16624 PyObject * obj4 = 0 ;
d14a1e28
RD
16625 char *kwnames[] = {
16626 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16627 };
16628
994141e6 16629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16631 if (SWIG_arg_fail(1)) SWIG_fail;
16632 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16633 if (SWIG_arg_fail(2)) SWIG_fail;
16634 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16635 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
16636 {
16637 arg4 = wxString_in_helper(obj3);
16638 if (arg4 == NULL) SWIG_fail;
ae8162c8 16639 temp4 = true;
d14a1e28 16640 }
994141e6 16641 if (obj4) {
093d3ff1
RD
16642 {
16643 arg5 = (int)(SWIG_As_int(obj4));
16644 if (SWIG_arg_fail(5)) SWIG_fail;
16645 }
994141e6 16646 }
d14a1e28
RD
16647 {
16648 PyThreadState* __tstate = wxPyBeginAllowThreads();
16649 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16650
16651 wxPyEndAllowThreads(__tstate);
16652 if (PyErr_Occurred()) SWIG_fail;
16653 }
4f89f6a3
RD
16654 {
16655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16656 }
d14a1e28
RD
16657 {
16658 if (temp4)
16659 delete arg4;
16660 }
16661 return resultobj;
16662 fail:
16663 {
16664 if (temp4)
16665 delete arg4;
16666 }
16667 return NULL;
16668}
16669
16670
c32bde28 16671static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16672 PyObject *resultobj;
16673 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16674 wxFindReplaceData *result;
16675 PyObject * obj0 = 0 ;
16676 char *kwnames[] = {
16677 (char *) "self", NULL
16678 };
16679
16680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16682 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16683 {
16684 PyThreadState* __tstate = wxPyBeginAllowThreads();
16685 result = (wxFindReplaceData *)(arg1)->GetData();
16686
16687 wxPyEndAllowThreads(__tstate);
16688 if (PyErr_Occurred()) SWIG_fail;
16689 }
15afbcd0 16690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
d14a1e28
RD
16691 return resultobj;
16692 fail:
16693 return NULL;
16694}
16695
16696
c32bde28 16697static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16698 PyObject *resultobj;
16699 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16700 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16701 PyObject * obj0 = 0 ;
16702 PyObject * obj1 = 0 ;
16703 char *kwnames[] = {
16704 (char *) "self",(char *) "data", NULL
16705 };
16706
16707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16709 if (SWIG_arg_fail(1)) SWIG_fail;
16710 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16711 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16712 {
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 (arg1)->SetData(arg2);
16715
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 Py_INCREF(Py_None); resultobj = Py_None;
16720 return resultobj;
16721 fail:
16722 return NULL;
16723}
16724
16725
c32bde28 16726static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16727 PyObject *obj;
16728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16729 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16730 Py_INCREF(obj);
16731 return Py_BuildValue((char *)"");
16732}
c32bde28 16733static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16734 PyObject *resultobj;
16735 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
16736 int arg2 = (int) (int)-1 ;
16737 wxString const &arg3_defvalue = wxPyEmptyString ;
16738 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
16739 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16740 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16741 wxSize const &arg5_defvalue = wxDefaultSize ;
16742 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16743 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16744 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16745 wxString *arg7 = (wxString *) &arg7_defvalue ;
16746 wxMDIParentFrame *result;
ae8162c8 16747 bool temp3 = false ;
d14a1e28
RD
16748 wxPoint temp4 ;
16749 wxSize temp5 ;
ae8162c8 16750 bool temp7 = false ;
d14a1e28 16751 PyObject * obj0 = 0 ;
994141e6 16752 PyObject * obj1 = 0 ;
d14a1e28
RD
16753 PyObject * obj2 = 0 ;
16754 PyObject * obj3 = 0 ;
16755 PyObject * obj4 = 0 ;
994141e6 16756 PyObject * obj5 = 0 ;
d14a1e28
RD
16757 PyObject * obj6 = 0 ;
16758 char *kwnames[] = {
16759 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16760 };
16761
248ed943 16762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
16763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16764 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 16765 if (obj1) {
093d3ff1
RD
16766 {
16767 arg2 = (int const)(SWIG_As_int(obj1));
16768 if (SWIG_arg_fail(2)) SWIG_fail;
16769 }
248ed943
RD
16770 }
16771 if (obj2) {
16772 {
16773 arg3 = wxString_in_helper(obj2);
16774 if (arg3 == NULL) SWIG_fail;
ae8162c8 16775 temp3 = true;
248ed943 16776 }
d14a1e28
RD
16777 }
16778 if (obj3) {
16779 {
16780 arg4 = &temp4;
16781 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16782 }
16783 }
16784 if (obj4) {
16785 {
16786 arg5 = &temp5;
16787 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16788 }
16789 }
994141e6 16790 if (obj5) {
093d3ff1
RD
16791 {
16792 arg6 = (long)(SWIG_As_long(obj5));
16793 if (SWIG_arg_fail(6)) SWIG_fail;
16794 }
994141e6 16795 }
d14a1e28
RD
16796 if (obj6) {
16797 {
16798 arg7 = wxString_in_helper(obj6);
16799 if (arg7 == NULL) SWIG_fail;
ae8162c8 16800 temp7 = true;
d14a1e28
RD
16801 }
16802 }
16803 {
e3b71cb8 16804 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16805 PyThreadState* __tstate = wxPyBeginAllowThreads();
16806 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16807
16808 wxPyEndAllowThreads(__tstate);
110da5b0 16809 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16810 }
15afbcd0 16811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
16812 {
16813 if (temp3)
16814 delete arg3;
16815 }
16816 {
16817 if (temp7)
16818 delete arg7;
16819 }
16820 return resultobj;
16821 fail:
16822 {
16823 if (temp3)
16824 delete arg3;
16825 }
16826 {
16827 if (temp7)
16828 delete arg7;
16829 }
16830 return NULL;
16831}
16832
16833
c32bde28 16834static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16835 PyObject *resultobj;
16836 wxMDIParentFrame *result;
16837 char *kwnames[] = {
16838 NULL
16839 };
16840
16841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16842 {
e3b71cb8 16843 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16846
16847 wxPyEndAllowThreads(__tstate);
110da5b0 16848 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16849 }
15afbcd0 16850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
16851 return resultobj;
16852 fail:
16853 return NULL;
16854}
16855
16856
c32bde28 16857static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16858 PyObject *resultobj;
16859 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16860 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
16861 int arg3 = (int) (int)-1 ;
16862 wxString const &arg4_defvalue = wxPyEmptyString ;
16863 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
16864 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16865 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16866 wxSize const &arg6_defvalue = wxDefaultSize ;
16867 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16868 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16869 wxString const &arg8_defvalue = wxPyFrameNameStr ;
16870 wxString *arg8 = (wxString *) &arg8_defvalue ;
16871 bool result;
ae8162c8 16872 bool temp4 = false ;
d14a1e28
RD
16873 wxPoint temp5 ;
16874 wxSize temp6 ;
ae8162c8 16875 bool temp8 = false ;
d14a1e28
RD
16876 PyObject * obj0 = 0 ;
16877 PyObject * obj1 = 0 ;
994141e6 16878 PyObject * obj2 = 0 ;
d14a1e28
RD
16879 PyObject * obj3 = 0 ;
16880 PyObject * obj4 = 0 ;
16881 PyObject * obj5 = 0 ;
994141e6 16882 PyObject * obj6 = 0 ;
d14a1e28
RD
16883 PyObject * obj7 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16886 };
16887
248ed943 16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
16889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16890 if (SWIG_arg_fail(1)) SWIG_fail;
16891 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16892 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 16893 if (obj2) {
093d3ff1
RD
16894 {
16895 arg3 = (int const)(SWIG_As_int(obj2));
16896 if (SWIG_arg_fail(3)) SWIG_fail;
16897 }
248ed943
RD
16898 }
16899 if (obj3) {
16900 {
16901 arg4 = wxString_in_helper(obj3);
16902 if (arg4 == NULL) SWIG_fail;
ae8162c8 16903 temp4 = true;
248ed943 16904 }
d14a1e28
RD
16905 }
16906 if (obj4) {
16907 {
16908 arg5 = &temp5;
16909 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16910 }
16911 }
16912 if (obj5) {
16913 {
16914 arg6 = &temp6;
16915 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16916 }
16917 }
994141e6 16918 if (obj6) {
093d3ff1
RD
16919 {
16920 arg7 = (long)(SWIG_As_long(obj6));
16921 if (SWIG_arg_fail(7)) SWIG_fail;
16922 }
994141e6 16923 }
d14a1e28
RD
16924 if (obj7) {
16925 {
16926 arg8 = wxString_in_helper(obj7);
16927 if (arg8 == NULL) SWIG_fail;
ae8162c8 16928 temp8 = true;
d14a1e28
RD
16929 }
16930 }
16931 {
16932 PyThreadState* __tstate = wxPyBeginAllowThreads();
16933 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
16934
16935 wxPyEndAllowThreads(__tstate);
16936 if (PyErr_Occurred()) SWIG_fail;
16937 }
4f89f6a3
RD
16938 {
16939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16940 }
d14a1e28
RD
16941 {
16942 if (temp4)
16943 delete arg4;
16944 }
16945 {
16946 if (temp8)
16947 delete arg8;
16948 }
16949 return resultobj;
16950 fail:
16951 {
16952 if (temp4)
16953 delete arg4;
16954 }
16955 {
16956 if (temp8)
16957 delete arg8;
16958 }
16959 return NULL;
16960}
16961
16962
c32bde28 16963static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16964 PyObject *resultobj;
16965 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16966 PyObject * obj0 = 0 ;
16967 char *kwnames[] = {
16968 (char *) "self", NULL
16969 };
16970
16971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
16972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16973 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16974 {
16975 PyThreadState* __tstate = wxPyBeginAllowThreads();
16976 (arg1)->ActivateNext();
16977
16978 wxPyEndAllowThreads(__tstate);
16979 if (PyErr_Occurred()) SWIG_fail;
16980 }
16981 Py_INCREF(Py_None); resultobj = Py_None;
16982 return resultobj;
16983 fail:
16984 return NULL;
16985}
16986
16987
c32bde28 16988static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16989 PyObject *resultobj;
16990 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16991 PyObject * obj0 = 0 ;
16992 char *kwnames[] = {
16993 (char *) "self", NULL
16994 };
16995
16996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
16997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16998 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16999 {
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 (arg1)->ActivatePrevious();
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 Py_INCREF(Py_None); resultobj = Py_None;
17007 return resultobj;
17008 fail:
17009 return NULL;
17010}
17011
17012
c32bde28 17013static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17014 PyObject *resultobj;
17015 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17016 PyObject * obj0 = 0 ;
17017 char *kwnames[] = {
17018 (char *) "self", NULL
17019 };
17020
17021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
093d3ff1
RD
17022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17023 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17024 {
17025 PyThreadState* __tstate = wxPyBeginAllowThreads();
17026 (arg1)->ArrangeIcons();
17027
17028 wxPyEndAllowThreads(__tstate);
17029 if (PyErr_Occurred()) SWIG_fail;
17030 }
17031 Py_INCREF(Py_None); resultobj = Py_None;
17032 return resultobj;
17033 fail:
17034 return NULL;
17035}
17036
17037
c32bde28 17038static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17039 PyObject *resultobj;
17040 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17041 PyObject * obj0 = 0 ;
17042 char *kwnames[] = {
17043 (char *) "self", NULL
17044 };
17045
17046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
093d3ff1
RD
17047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17048 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17049 {
17050 PyThreadState* __tstate = wxPyBeginAllowThreads();
17051 (arg1)->Cascade();
17052
17053 wxPyEndAllowThreads(__tstate);
17054 if (PyErr_Occurred()) SWIG_fail;
17055 }
17056 Py_INCREF(Py_None); resultobj = Py_None;
17057 return resultobj;
17058 fail:
17059 return NULL;
17060}
17061
17062
c32bde28 17063static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17064 PyObject *resultobj;
17065 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17066 wxMDIChildFrame *result;
17067 PyObject * obj0 = 0 ;
17068 char *kwnames[] = {
17069 (char *) "self", NULL
17070 };
17071
17072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
17073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17074 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17075 {
17076 PyThreadState* __tstate = wxPyBeginAllowThreads();
17077 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17078
17079 wxPyEndAllowThreads(__tstate);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 }
17082 {
412d302d 17083 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17084 }
17085 return resultobj;
17086 fail:
17087 return NULL;
17088}
17089
17090
c32bde28 17091static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17092 PyObject *resultobj;
17093 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17094 wxMDIClientWindow *result;
17095 PyObject * obj0 = 0 ;
17096 char *kwnames[] = {
17097 (char *) "self", NULL
17098 };
17099
17100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
17101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17102 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17106
17107 wxPyEndAllowThreads(__tstate);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 {
412d302d 17111 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17112 }
17113 return resultobj;
17114 fail:
17115 return NULL;
17116}
17117
17118
c32bde28 17119static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17120 PyObject *resultobj;
17121 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17122 wxWindow *result;
17123 PyObject * obj0 = 0 ;
17124 char *kwnames[] = {
17125 (char *) "self", NULL
17126 };
17127
17128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
17129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17130 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17131 {
17132 PyThreadState* __tstate = wxPyBeginAllowThreads();
17133 result = (wxWindow *)(arg1)->GetToolBar();
17134
17135 wxPyEndAllowThreads(__tstate);
17136 if (PyErr_Occurred()) SWIG_fail;
17137 }
17138 {
412d302d 17139 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17140 }
17141 return resultobj;
17142 fail:
17143 return NULL;
17144}
17145
17146
c32bde28 17147static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17148 PyObject *resultobj;
17149 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17150 PyObject * obj0 = 0 ;
17151 char *kwnames[] = {
17152 (char *) "self", NULL
17153 };
17154
17155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
093d3ff1
RD
17156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17157 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17158 {
17159 PyThreadState* __tstate = wxPyBeginAllowThreads();
17160 (arg1)->Tile();
17161
17162 wxPyEndAllowThreads(__tstate);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
17165 Py_INCREF(Py_None); resultobj = Py_None;
17166 return resultobj;
17167 fail:
17168 return NULL;
17169}
17170
17171
c32bde28 17172static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17173 PyObject *obj;
17174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17175 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17176 Py_INCREF(obj);
17177 return Py_BuildValue((char *)"");
17178}
c32bde28 17179static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17180 PyObject *resultobj;
17181 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17182 int arg2 = (int) (int)-1 ;
17183 wxString const &arg3_defvalue = wxPyEmptyString ;
17184 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
17185 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17186 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17187 wxSize const &arg5_defvalue = wxDefaultSize ;
17188 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17189 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17190 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17191 wxString *arg7 = (wxString *) &arg7_defvalue ;
17192 wxMDIChildFrame *result;
ae8162c8 17193 bool temp3 = false ;
d14a1e28
RD
17194 wxPoint temp4 ;
17195 wxSize temp5 ;
ae8162c8 17196 bool temp7 = false ;
d14a1e28 17197 PyObject * obj0 = 0 ;
994141e6 17198 PyObject * obj1 = 0 ;
d14a1e28
RD
17199 PyObject * obj2 = 0 ;
17200 PyObject * obj3 = 0 ;
17201 PyObject * obj4 = 0 ;
994141e6 17202 PyObject * obj5 = 0 ;
d14a1e28
RD
17203 PyObject * obj6 = 0 ;
17204 char *kwnames[] = {
17205 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17206 };
17207
248ed943 17208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17210 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17211 if (obj1) {
093d3ff1
RD
17212 {
17213 arg2 = (int const)(SWIG_As_int(obj1));
17214 if (SWIG_arg_fail(2)) SWIG_fail;
17215 }
248ed943
RD
17216 }
17217 if (obj2) {
17218 {
17219 arg3 = wxString_in_helper(obj2);
17220 if (arg3 == NULL) SWIG_fail;
ae8162c8 17221 temp3 = true;
248ed943 17222 }
d14a1e28
RD
17223 }
17224 if (obj3) {
17225 {
17226 arg4 = &temp4;
17227 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17228 }
17229 }
17230 if (obj4) {
17231 {
17232 arg5 = &temp5;
17233 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17234 }
17235 }
994141e6 17236 if (obj5) {
093d3ff1
RD
17237 {
17238 arg6 = (long)(SWIG_As_long(obj5));
17239 if (SWIG_arg_fail(6)) SWIG_fail;
17240 }
994141e6 17241 }
d14a1e28
RD
17242 if (obj6) {
17243 {
17244 arg7 = wxString_in_helper(obj6);
17245 if (arg7 == NULL) SWIG_fail;
ae8162c8 17246 temp7 = true;
d14a1e28
RD
17247 }
17248 }
17249 {
e3b71cb8 17250 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17251 PyThreadState* __tstate = wxPyBeginAllowThreads();
17252 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17253
17254 wxPyEndAllowThreads(__tstate);
110da5b0 17255 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17256 }
b0f7404b 17257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d14a1e28
RD
17258 {
17259 if (temp3)
17260 delete arg3;
17261 }
17262 {
17263 if (temp7)
17264 delete arg7;
17265 }
17266 return resultobj;
17267 fail:
17268 {
17269 if (temp3)
17270 delete arg3;
17271 }
17272 {
17273 if (temp7)
17274 delete arg7;
17275 }
17276 return NULL;
17277}
17278
17279
c32bde28 17280static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17281 PyObject *resultobj;
17282 wxMDIChildFrame *result;
17283 char *kwnames[] = {
17284 NULL
17285 };
17286
17287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17288 {
e3b71cb8 17289 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17290 PyThreadState* __tstate = wxPyBeginAllowThreads();
17291 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17292
17293 wxPyEndAllowThreads(__tstate);
110da5b0 17294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17295 }
b0f7404b 17296 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d14a1e28
RD
17297 return resultobj;
17298 fail:
17299 return NULL;
17300}
17301
17302
c32bde28 17303static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17304 PyObject *resultobj;
17305 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17306 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17307 int arg3 = (int) (int)-1 ;
17308 wxString const &arg4_defvalue = wxPyEmptyString ;
17309 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
17310 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17311 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17312 wxSize const &arg6_defvalue = wxDefaultSize ;
17313 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17314 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17315 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17316 wxString *arg8 = (wxString *) &arg8_defvalue ;
17317 bool result;
ae8162c8 17318 bool temp4 = false ;
d14a1e28
RD
17319 wxPoint temp5 ;
17320 wxSize temp6 ;
ae8162c8 17321 bool temp8 = false ;
d14a1e28
RD
17322 PyObject * obj0 = 0 ;
17323 PyObject * obj1 = 0 ;
994141e6 17324 PyObject * obj2 = 0 ;
d14a1e28
RD
17325 PyObject * obj3 = 0 ;
17326 PyObject * obj4 = 0 ;
17327 PyObject * obj5 = 0 ;
994141e6 17328 PyObject * obj6 = 0 ;
d14a1e28
RD
17329 PyObject * obj7 = 0 ;
17330 char *kwnames[] = {
17331 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17332 };
17333
248ed943 17334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
17335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17336 if (SWIG_arg_fail(1)) SWIG_fail;
17337 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17338 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17339 if (obj2) {
093d3ff1
RD
17340 {
17341 arg3 = (int const)(SWIG_As_int(obj2));
17342 if (SWIG_arg_fail(3)) SWIG_fail;
17343 }
248ed943
RD
17344 }
17345 if (obj3) {
17346 {
17347 arg4 = wxString_in_helper(obj3);
17348 if (arg4 == NULL) SWIG_fail;
ae8162c8 17349 temp4 = true;
248ed943 17350 }
d14a1e28
RD
17351 }
17352 if (obj4) {
17353 {
17354 arg5 = &temp5;
17355 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17356 }
17357 }
17358 if (obj5) {
17359 {
17360 arg6 = &temp6;
17361 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17362 }
17363 }
994141e6 17364 if (obj6) {
093d3ff1
RD
17365 {
17366 arg7 = (long)(SWIG_As_long(obj6));
17367 if (SWIG_arg_fail(7)) SWIG_fail;
17368 }
994141e6 17369 }
d14a1e28
RD
17370 if (obj7) {
17371 {
17372 arg8 = wxString_in_helper(obj7);
17373 if (arg8 == NULL) SWIG_fail;
ae8162c8 17374 temp8 = true;
d14a1e28
RD
17375 }
17376 }
17377 {
17378 PyThreadState* __tstate = wxPyBeginAllowThreads();
17379 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17380
17381 wxPyEndAllowThreads(__tstate);
17382 if (PyErr_Occurred()) SWIG_fail;
17383 }
4f89f6a3
RD
17384 {
17385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17386 }
d14a1e28
RD
17387 {
17388 if (temp4)
17389 delete arg4;
17390 }
17391 {
17392 if (temp8)
17393 delete arg8;
17394 }
17395 return resultobj;
17396 fail:
17397 {
17398 if (temp4)
17399 delete arg4;
17400 }
17401 {
17402 if (temp8)
17403 delete arg8;
17404 }
17405 return NULL;
17406}
17407
17408
c32bde28 17409static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17410 PyObject *resultobj;
17411 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17412 PyObject * obj0 = 0 ;
17413 char *kwnames[] = {
17414 (char *) "self", NULL
17415 };
17416
17417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
093d3ff1
RD
17418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17419 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17420 {
17421 PyThreadState* __tstate = wxPyBeginAllowThreads();
17422 (arg1)->Activate();
17423
17424 wxPyEndAllowThreads(__tstate);
17425 if (PyErr_Occurred()) SWIG_fail;
17426 }
17427 Py_INCREF(Py_None); resultobj = Py_None;
17428 return resultobj;
17429 fail:
17430 return NULL;
17431}
17432
17433
c32bde28 17434static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17435 PyObject *resultobj;
17436 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
5cbf236d 17437 bool arg2 = (bool) true ;
d14a1e28
RD
17438 PyObject * obj0 = 0 ;
17439 PyObject * obj1 = 0 ;
17440 char *kwnames[] = {
17441 (char *) "self",(char *) "maximize", NULL
17442 };
17443
5cbf236d 17444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17446 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d 17447 if (obj1) {
093d3ff1
RD
17448 {
17449 arg2 = (bool)(SWIG_As_bool(obj1));
17450 if (SWIG_arg_fail(2)) SWIG_fail;
17451 }
5cbf236d 17452 }
d14a1e28
RD
17453 {
17454 PyThreadState* __tstate = wxPyBeginAllowThreads();
17455 (arg1)->Maximize(arg2);
17456
17457 wxPyEndAllowThreads(__tstate);
17458 if (PyErr_Occurred()) SWIG_fail;
17459 }
17460 Py_INCREF(Py_None); resultobj = Py_None;
17461 return resultobj;
17462 fail:
17463 return NULL;
17464}
17465
17466
c32bde28 17467static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17468 PyObject *resultobj;
17469 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17470 PyObject * obj0 = 0 ;
17471 char *kwnames[] = {
17472 (char *) "self", NULL
17473 };
17474
17475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
17476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17477 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17478 {
17479 PyThreadState* __tstate = wxPyBeginAllowThreads();
17480 (arg1)->Restore();
17481
17482 wxPyEndAllowThreads(__tstate);
17483 if (PyErr_Occurred()) SWIG_fail;
17484 }
17485 Py_INCREF(Py_None); resultobj = Py_None;
17486 return resultobj;
17487 fail:
17488 return NULL;
17489}
17490
17491
c32bde28 17492static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17493 PyObject *obj;
17494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17495 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17496 Py_INCREF(obj);
17497 return Py_BuildValue((char *)"");
17498}
c32bde28 17499static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17500 PyObject *resultobj;
17501 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17502 long arg2 = (long) 0 ;
17503 wxMDIClientWindow *result;
17504 PyObject * obj0 = 0 ;
994141e6 17505 PyObject * obj1 = 0 ;
d14a1e28
RD
17506 char *kwnames[] = {
17507 (char *) "parent",(char *) "style", NULL
17508 };
17509
994141e6 17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17512 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 17513 if (obj1) {
093d3ff1
RD
17514 {
17515 arg2 = (long)(SWIG_As_long(obj1));
17516 if (SWIG_arg_fail(2)) SWIG_fail;
17517 }
994141e6 17518 }
d14a1e28 17519 {
e3b71cb8 17520 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17521 PyThreadState* __tstate = wxPyBeginAllowThreads();
17522 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17523
17524 wxPyEndAllowThreads(__tstate);
110da5b0 17525 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17526 }
b0f7404b 17527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d14a1e28
RD
17528 return resultobj;
17529 fail:
17530 return NULL;
17531}
17532
17533
c32bde28 17534static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17535 PyObject *resultobj;
17536 wxMDIClientWindow *result;
17537 char *kwnames[] = {
17538 NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17542 {
e3b71cb8 17543 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17544 PyThreadState* __tstate = wxPyBeginAllowThreads();
17545 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17546
17547 wxPyEndAllowThreads(__tstate);
110da5b0 17548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17549 }
b0f7404b 17550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d14a1e28
RD
17551 return resultobj;
17552 fail:
17553 return NULL;
17554}
17555
17556
c32bde28 17557static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17558 PyObject *resultobj;
17559 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17560 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17561 long arg3 = (long) 0 ;
17562 bool result;
17563 PyObject * obj0 = 0 ;
17564 PyObject * obj1 = 0 ;
994141e6 17565 PyObject * obj2 = 0 ;
d14a1e28
RD
17566 char *kwnames[] = {
17567 (char *) "self",(char *) "parent",(char *) "style", NULL
17568 };
17569
994141e6 17570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17572 if (SWIG_arg_fail(1)) SWIG_fail;
17573 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17574 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 17575 if (obj2) {
093d3ff1
RD
17576 {
17577 arg3 = (long)(SWIG_As_long(obj2));
17578 if (SWIG_arg_fail(3)) SWIG_fail;
17579 }
994141e6 17580 }
d14a1e28
RD
17581 {
17582 PyThreadState* __tstate = wxPyBeginAllowThreads();
17583 result = (bool)(arg1)->Create(arg2,arg3);
17584
17585 wxPyEndAllowThreads(__tstate);
17586 if (PyErr_Occurred()) SWIG_fail;
17587 }
4f89f6a3
RD
17588 {
17589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17590 }
d14a1e28
RD
17591 return resultobj;
17592 fail:
17593 return NULL;
17594}
17595
17596
c32bde28 17597static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17598 PyObject *obj;
17599 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17600 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17601 Py_INCREF(obj);
17602 return Py_BuildValue((char *)"");
17603}
c32bde28 17604static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17605 PyObject *resultobj;
17606 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 17607 int arg2 = (int) (int)-1 ;
d14a1e28
RD
17608 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17609 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17610 wxSize const &arg4_defvalue = wxDefaultSize ;
17611 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17612 long arg5 = (long) 0 ;
17613 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17614 wxString *arg6 = (wxString *) &arg6_defvalue ;
17615 wxPyWindow *result;
17616 wxPoint temp3 ;
17617 wxSize temp4 ;
ae8162c8 17618 bool temp6 = false ;
d14a1e28 17619 PyObject * obj0 = 0 ;
994141e6 17620 PyObject * obj1 = 0 ;
d14a1e28
RD
17621 PyObject * obj2 = 0 ;
17622 PyObject * obj3 = 0 ;
994141e6 17623 PyObject * obj4 = 0 ;
d14a1e28
RD
17624 PyObject * obj5 = 0 ;
17625 char *kwnames[] = {
17626 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17627 };
17628
248ed943 17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17631 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17632 if (obj1) {
093d3ff1
RD
17633 {
17634 arg2 = (int const)(SWIG_As_int(obj1));
17635 if (SWIG_arg_fail(2)) SWIG_fail;
17636 }
248ed943 17637 }
d14a1e28
RD
17638 if (obj2) {
17639 {
17640 arg3 = &temp3;
17641 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17642 }
17643 }
17644 if (obj3) {
17645 {
17646 arg4 = &temp4;
17647 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17648 }
17649 }
994141e6 17650 if (obj4) {
093d3ff1
RD
17651 {
17652 arg5 = (long)(SWIG_As_long(obj4));
17653 if (SWIG_arg_fail(5)) SWIG_fail;
17654 }
994141e6 17655 }
d14a1e28
RD
17656 if (obj5) {
17657 {
17658 arg6 = wxString_in_helper(obj5);
17659 if (arg6 == NULL) SWIG_fail;
ae8162c8 17660 temp6 = true;
d14a1e28
RD
17661 }
17662 }
17663 {
e3b71cb8 17664 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17667
17668 wxPyEndAllowThreads(__tstate);
110da5b0 17669 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17670 }
15afbcd0 17671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
d14a1e28
RD
17672 {
17673 if (temp6)
17674 delete arg6;
17675 }
17676 return resultobj;
17677 fail:
17678 {
17679 if (temp6)
17680 delete arg6;
17681 }
17682 return NULL;
17683}
17684
17685
c32bde28 17686static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17687 PyObject *resultobj;
17688 wxPyWindow *result;
17689 char *kwnames[] = {
17690 NULL
17691 };
17692
17693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17694 {
e3b71cb8 17695 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
17696 PyThreadState* __tstate = wxPyBeginAllowThreads();
17697 result = (wxPyWindow *)new wxPyWindow();
17698
17699 wxPyEndAllowThreads(__tstate);
110da5b0 17700 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
17701 }
17702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17703 return resultobj;
17704 fail:
17705 return NULL;
17706}
17707
17708
c32bde28 17709static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17710 PyObject *resultobj;
17711 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17712 PyObject *arg2 = (PyObject *) 0 ;
17713 PyObject *arg3 = (PyObject *) 0 ;
17714 PyObject * obj0 = 0 ;
17715 PyObject * obj1 = 0 ;
17716 PyObject * obj2 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "self",(char *) "self",(char *) "_class", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17723 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17724 arg2 = obj1;
17725 arg3 = obj2;
17726 {
17727 PyThreadState* __tstate = wxPyBeginAllowThreads();
17728 (arg1)->_setCallbackInfo(arg2,arg3);
17729
17730 wxPyEndAllowThreads(__tstate);
17731 if (PyErr_Occurred()) SWIG_fail;
17732 }
17733 Py_INCREF(Py_None); resultobj = Py_None;
17734 return resultobj;
17735 fail:
17736 return NULL;
17737}
17738
17739
c32bde28 17740static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
17741 PyObject *resultobj;
17742 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17743 wxSize *arg2 = 0 ;
17744 wxSize temp2 ;
17745 PyObject * obj0 = 0 ;
17746 PyObject * obj1 = 0 ;
17747 char *kwnames[] = {
17748 (char *) "self",(char *) "size", NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17753 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
17754 {
17755 arg2 = &temp2;
17756 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17757 }
17758 {
17759 PyThreadState* __tstate = wxPyBeginAllowThreads();
17760 (arg1)->SetBestSize((wxSize const &)*arg2);
17761
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 Py_INCREF(Py_None); resultobj = Py_None;
17766 return resultobj;
17767 fail:
17768 return NULL;
17769}
17770
17771
c32bde28 17772static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17773 PyObject *resultobj;
17774 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17775 int arg2 ;
17776 int arg3 ;
17777 int arg4 ;
17778 int arg5 ;
17779 PyObject * obj0 = 0 ;
994141e6
RD
17780 PyObject * obj1 = 0 ;
17781 PyObject * obj2 = 0 ;
17782 PyObject * obj3 = 0 ;
17783 PyObject * obj4 = 0 ;
d14a1e28
RD
17784 char *kwnames[] = {
17785 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17786 };
17787
994141e6 17788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
17789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17790 if (SWIG_arg_fail(1)) SWIG_fail;
17791 {
17792 arg2 = (int)(SWIG_As_int(obj1));
17793 if (SWIG_arg_fail(2)) SWIG_fail;
17794 }
17795 {
17796 arg3 = (int)(SWIG_As_int(obj2));
17797 if (SWIG_arg_fail(3)) SWIG_fail;
17798 }
17799 {
17800 arg4 = (int)(SWIG_As_int(obj3));
17801 if (SWIG_arg_fail(4)) SWIG_fail;
17802 }
17803 {
17804 arg5 = (int)(SWIG_As_int(obj4));
17805 if (SWIG_arg_fail(5)) SWIG_fail;
17806 }
d14a1e28
RD
17807 {
17808 PyThreadState* __tstate = wxPyBeginAllowThreads();
17809 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17810
17811 wxPyEndAllowThreads(__tstate);
17812 if (PyErr_Occurred()) SWIG_fail;
17813 }
17814 Py_INCREF(Py_None); resultobj = Py_None;
17815 return resultobj;
17816 fail:
17817 return NULL;
17818}
17819
17820
c32bde28 17821static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17822 PyObject *resultobj;
17823 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17824 int arg2 ;
17825 int arg3 ;
17826 int arg4 ;
17827 int arg5 ;
17828 int arg6 = (int) wxSIZE_AUTO ;
17829 PyObject * obj0 = 0 ;
994141e6
RD
17830 PyObject * obj1 = 0 ;
17831 PyObject * obj2 = 0 ;
17832 PyObject * obj3 = 0 ;
17833 PyObject * obj4 = 0 ;
17834 PyObject * obj5 = 0 ;
d14a1e28
RD
17835 char *kwnames[] = {
17836 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17837 };
17838
994141e6 17839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17841 if (SWIG_arg_fail(1)) SWIG_fail;
17842 {
17843 arg2 = (int)(SWIG_As_int(obj1));
17844 if (SWIG_arg_fail(2)) SWIG_fail;
17845 }
17846 {
17847 arg3 = (int)(SWIG_As_int(obj2));
17848 if (SWIG_arg_fail(3)) SWIG_fail;
17849 }
17850 {
17851 arg4 = (int)(SWIG_As_int(obj3));
17852 if (SWIG_arg_fail(4)) SWIG_fail;
17853 }
17854 {
17855 arg5 = (int)(SWIG_As_int(obj4));
17856 if (SWIG_arg_fail(5)) SWIG_fail;
17857 }
994141e6 17858 if (obj5) {
093d3ff1
RD
17859 {
17860 arg6 = (int)(SWIG_As_int(obj5));
17861 if (SWIG_arg_fail(6)) SWIG_fail;
17862 }
994141e6 17863 }
d14a1e28
RD
17864 {
17865 PyThreadState* __tstate = wxPyBeginAllowThreads();
17866 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17867
17868 wxPyEndAllowThreads(__tstate);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 Py_INCREF(Py_None); resultobj = Py_None;
17872 return resultobj;
17873 fail:
17874 return NULL;
17875}
17876
17877
c32bde28 17878static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17879 PyObject *resultobj;
17880 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17881 int arg2 ;
17882 int arg3 ;
17883 PyObject * obj0 = 0 ;
994141e6
RD
17884 PyObject * obj1 = 0 ;
17885 PyObject * obj2 = 0 ;
d14a1e28
RD
17886 char *kwnames[] = {
17887 (char *) "self",(char *) "width",(char *) "height", NULL
17888 };
17889
994141e6 17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17892 if (SWIG_arg_fail(1)) SWIG_fail;
17893 {
17894 arg2 = (int)(SWIG_As_int(obj1));
17895 if (SWIG_arg_fail(2)) SWIG_fail;
17896 }
17897 {
17898 arg3 = (int)(SWIG_As_int(obj2));
17899 if (SWIG_arg_fail(3)) SWIG_fail;
17900 }
d14a1e28
RD
17901 {
17902 PyThreadState* __tstate = wxPyBeginAllowThreads();
17903 (arg1)->base_DoSetClientSize(arg2,arg3);
17904
17905 wxPyEndAllowThreads(__tstate);
17906 if (PyErr_Occurred()) SWIG_fail;
17907 }
17908 Py_INCREF(Py_None); resultobj = Py_None;
17909 return resultobj;
17910 fail:
17911 return NULL;
17912}
17913
17914
c32bde28 17915static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17916 PyObject *resultobj;
17917 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17918 int arg2 ;
17919 int arg3 ;
17920 PyObject * obj0 = 0 ;
994141e6
RD
17921 PyObject * obj1 = 0 ;
17922 PyObject * obj2 = 0 ;
d14a1e28 17923 char *kwnames[] = {
15afbcd0
RD
17924 (char *) "self",(char *) "x",(char *) "y", NULL
17925 };
17926
17927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17929 if (SWIG_arg_fail(1)) SWIG_fail;
17930 {
17931 arg2 = (int)(SWIG_As_int(obj1));
17932 if (SWIG_arg_fail(2)) SWIG_fail;
17933 }
17934 {
17935 arg3 = (int)(SWIG_As_int(obj2));
17936 if (SWIG_arg_fail(3)) SWIG_fail;
17937 }
d14a1e28
RD
17938 {
17939 PyThreadState* __tstate = wxPyBeginAllowThreads();
17940 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17941
17942 wxPyEndAllowThreads(__tstate);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 Py_INCREF(Py_None); resultobj = Py_None;
17946 return resultobj;
17947 fail:
17948 return NULL;
17949}
17950
17951
c32bde28 17952static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17953 PyObject *resultobj;
17954 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17955 int *arg2 = (int *) 0 ;
17956 int *arg3 = (int *) 0 ;
17957 int temp2 ;
c32bde28 17958 int res2 = 0 ;
d14a1e28 17959 int temp3 ;
c32bde28 17960 int res3 = 0 ;
d14a1e28
RD
17961 PyObject * obj0 = 0 ;
17962 char *kwnames[] = {
17963 (char *) "self", NULL
17964 };
17965
c32bde28
RD
17966 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17967 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 17968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
17969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17970 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17971 {
17972 PyThreadState* __tstate = wxPyBeginAllowThreads();
17973 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17974
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17979 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17980 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17981 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17982 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
17983 return resultobj;
17984 fail:
17985 return NULL;
17986}
17987
17988
c32bde28 17989static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17990 PyObject *resultobj;
17991 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17992 int *arg2 = (int *) 0 ;
17993 int *arg3 = (int *) 0 ;
17994 int temp2 ;
c32bde28 17995 int res2 = 0 ;
d14a1e28 17996 int temp3 ;
c32bde28 17997 int res3 = 0 ;
d14a1e28
RD
17998 PyObject * obj0 = 0 ;
17999 char *kwnames[] = {
18000 (char *) "self", NULL
18001 };
18002
c32bde28
RD
18003 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18004 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18007 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18008 {
18009 PyThreadState* __tstate = wxPyBeginAllowThreads();
18010 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18011
18012 wxPyEndAllowThreads(__tstate);
18013 if (PyErr_Occurred()) SWIG_fail;
18014 }
18015 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18016 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18017 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18018 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18019 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18020 return resultobj;
18021 fail:
18022 return NULL;
18023}
18024
18025
c32bde28 18026static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18027 PyObject *resultobj;
18028 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18029 int *arg2 = (int *) 0 ;
18030 int *arg3 = (int *) 0 ;
18031 int temp2 ;
c32bde28 18032 int res2 = 0 ;
d14a1e28 18033 int temp3 ;
c32bde28 18034 int res3 = 0 ;
d14a1e28
RD
18035 PyObject * obj0 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self", NULL
18038 };
18039
c32bde28
RD
18040 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18041 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
18043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18044 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18045 {
18046 PyThreadState* __tstate = wxPyBeginAllowThreads();
18047 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18048
18049 wxPyEndAllowThreads(__tstate);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 }
18052 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18053 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18054 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18055 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18056 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18057 return resultobj;
18058 fail:
18059 return NULL;
18060}
18061
18062
c32bde28 18063static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18064 PyObject *resultobj;
18065 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18066 wxSize result;
18067 PyObject * obj0 = 0 ;
18068 char *kwnames[] = {
18069 (char *) "self", NULL
18070 };
18071
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18074 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18078
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 {
18083 wxSize * resultptr;
093d3ff1 18084 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18085 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18086 }
18087 return resultobj;
18088 fail:
18089 return NULL;
18090}
18091
18092
c32bde28 18093static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18094 PyObject *resultobj;
18095 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18096 wxSize result;
18097 PyObject * obj0 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "self", NULL
18100 };
18101
18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18104 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18105 {
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18108
18109 wxPyEndAllowThreads(__tstate);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 {
18113 wxSize * resultptr;
093d3ff1 18114 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18115 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18116 }
18117 return resultobj;
18118 fail:
18119 return NULL;
18120}
18121
18122
c32bde28 18123static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18124 PyObject *resultobj;
18125 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18126 PyObject * obj0 = 0 ;
18127 char *kwnames[] = {
18128 (char *) "self", NULL
18129 };
18130
18131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
18132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18133 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18134 {
18135 PyThreadState* __tstate = wxPyBeginAllowThreads();
18136 (arg1)->base_InitDialog();
18137
18138 wxPyEndAllowThreads(__tstate);
18139 if (PyErr_Occurred()) SWIG_fail;
18140 }
18141 Py_INCREF(Py_None); resultobj = Py_None;
18142 return resultobj;
18143 fail:
18144 return NULL;
18145}
18146
18147
c32bde28 18148static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18149 PyObject *resultobj;
18150 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18151 bool result;
18152 PyObject * obj0 = 0 ;
18153 char *kwnames[] = {
18154 (char *) "self", NULL
18155 };
18156
18157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18159 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18160 {
18161 PyThreadState* __tstate = wxPyBeginAllowThreads();
18162 result = (bool)(arg1)->base_TransferDataToWindow();
18163
18164 wxPyEndAllowThreads(__tstate);
18165 if (PyErr_Occurred()) SWIG_fail;
18166 }
4f89f6a3
RD
18167 {
18168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18169 }
d14a1e28
RD
18170 return resultobj;
18171 fail:
18172 return NULL;
18173}
18174
18175
c32bde28 18176static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18177 PyObject *resultobj;
18178 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18179 bool result;
18180 PyObject * obj0 = 0 ;
18181 char *kwnames[] = {
18182 (char *) "self", NULL
18183 };
18184
18185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18187 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18188 {
18189 PyThreadState* __tstate = wxPyBeginAllowThreads();
18190 result = (bool)(arg1)->base_TransferDataFromWindow();
18191
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
4f89f6a3
RD
18195 {
18196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18197 }
d14a1e28
RD
18198 return resultobj;
18199 fail:
18200 return NULL;
18201}
18202
18203
c32bde28 18204static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18205 PyObject *resultobj;
18206 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18207 bool result;
18208 PyObject * obj0 = 0 ;
18209 char *kwnames[] = {
18210 (char *) "self", NULL
18211 };
18212
18213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
18214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18215 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18216 {
18217 PyThreadState* __tstate = wxPyBeginAllowThreads();
18218 result = (bool)(arg1)->base_Validate();
18219
18220 wxPyEndAllowThreads(__tstate);
18221 if (PyErr_Occurred()) SWIG_fail;
18222 }
4f89f6a3
RD
18223 {
18224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18225 }
d14a1e28
RD
18226 return resultobj;
18227 fail:
18228 return NULL;
18229}
18230
18231
c32bde28 18232static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18233 PyObject *resultobj;
18234 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18235 bool result;
18236 PyObject * obj0 = 0 ;
18237 char *kwnames[] = {
18238 (char *) "self", NULL
18239 };
18240
18241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
18242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18243 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18247
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
4f89f6a3
RD
18251 {
18252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18253 }
d14a1e28
RD
18254 return resultobj;
18255 fail:
18256 return NULL;
18257}
18258
18259
c32bde28 18260static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18261 PyObject *resultobj;
18262 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18263 bool result;
18264 PyObject * obj0 = 0 ;
18265 char *kwnames[] = {
18266 (char *) "self", NULL
18267 };
18268
18269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
18270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18271 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
4f89f6a3
RD
18279 {
18280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18281 }
d14a1e28
RD
18282 return resultobj;
18283 fail:
18284 return NULL;
18285}
18286
18287
c32bde28 18288static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18289 PyObject *resultobj;
18290 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18291 wxSize result;
18292 PyObject * obj0 = 0 ;
18293 char *kwnames[] = {
18294 (char *) "self", NULL
18295 };
18296
18297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18299 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18300 {
18301 PyThreadState* __tstate = wxPyBeginAllowThreads();
18302 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 {
18308 wxSize * resultptr;
093d3ff1 18309 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18311 }
18312 return resultobj;
18313 fail:
18314 return NULL;
18315}
18316
18317
c32bde28 18318static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18319 PyObject *resultobj;
18320 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18321 wxWindow *arg2 = (wxWindow *) 0 ;
18322 PyObject * obj0 = 0 ;
18323 PyObject * obj1 = 0 ;
18324 char *kwnames[] = {
18325 (char *) "self",(char *) "child", NULL
18326 };
18327
18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18330 if (SWIG_arg_fail(1)) SWIG_fail;
18331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18332 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
18333 {
18334 PyThreadState* __tstate = wxPyBeginAllowThreads();
18335 (arg1)->base_AddChild(arg2);
18336
18337 wxPyEndAllowThreads(__tstate);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 Py_INCREF(Py_None); resultobj = Py_None;
18341 return resultobj;
18342 fail:
18343 return NULL;
18344}
18345
18346
c32bde28 18347static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18348 PyObject *resultobj;
18349 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18350 wxWindow *arg2 = (wxWindow *) 0 ;
18351 PyObject * obj0 = 0 ;
18352 PyObject * obj1 = 0 ;
18353 char *kwnames[] = {
18354 (char *) "self",(char *) "child", NULL
18355 };
18356
18357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18359 if (SWIG_arg_fail(1)) SWIG_fail;
18360 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18361 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
18362 {
18363 PyThreadState* __tstate = wxPyBeginAllowThreads();
18364 (arg1)->base_RemoveChild(arg2);
18365
18366 wxPyEndAllowThreads(__tstate);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 }
18369 Py_INCREF(Py_None); resultobj = Py_None;
18370 return resultobj;
18371 fail:
18372 return NULL;
18373}
18374
18375
c32bde28 18376static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18377 PyObject *resultobj;
18378 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18379 bool result;
18380 PyObject * obj0 = 0 ;
18381 char *kwnames[] = {
18382 (char *) "self", NULL
18383 };
18384
18385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
18386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18387 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
18388 {
18389 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 18390 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
18391
18392 wxPyEndAllowThreads(__tstate);
18393 if (PyErr_Occurred()) SWIG_fail;
18394 }
18395 {
18396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18397 }
18398 return resultobj;
18399 fail:
18400 return NULL;
18401}
18402
18403
c32bde28 18404static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18405 PyObject *resultobj;
18406 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18407 wxColour *arg2 = 0 ;
18408 wxColour temp2 ;
18409 PyObject * obj0 = 0 ;
18410 PyObject * obj1 = 0 ;
18411 char *kwnames[] = {
18412 (char *) "self",(char *) "c", NULL
18413 };
18414
18415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18417 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
18418 {
18419 arg2 = &temp2;
18420 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18421 }
18422 {
18423 PyThreadState* __tstate = wxPyBeginAllowThreads();
18424 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18425
18426 wxPyEndAllowThreads(__tstate);
18427 if (PyErr_Occurred()) SWIG_fail;
18428 }
18429 Py_INCREF(Py_None); resultobj = Py_None;
18430 return resultobj;
18431 fail:
18432 return NULL;
18433}
18434
18435
c32bde28 18436static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
18437 PyObject *resultobj;
18438 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18439 wxVisualAttributes result;
18440 PyObject * obj0 = 0 ;
18441 char *kwnames[] = {
18442 (char *) "self", NULL
18443 };
18444
18445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",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;
db3e571a
RD
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 result = (arg1)->base_GetDefaultAttributes();
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 {
18456 wxVisualAttributes * resultptr;
093d3ff1 18457 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
db3e571a
RD
18458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18459 }
18460 return resultobj;
18461 fail:
18462 return NULL;
18463}
18464
18465
c32bde28 18466static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18467 PyObject *obj;
18468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18469 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18470 Py_INCREF(obj);
18471 return Py_BuildValue((char *)"");
18472}
c32bde28 18473static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18474 PyObject *resultobj;
18475 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 18476 int arg2 = (int) (int)-1 ;
d14a1e28
RD
18477 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18478 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18479 wxSize const &arg4_defvalue = wxDefaultSize ;
18480 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18481 long arg5 = (long) 0 ;
18482 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18483 wxString *arg6 = (wxString *) &arg6_defvalue ;
18484 wxPyPanel *result;
18485 wxPoint temp3 ;
18486 wxSize temp4 ;
ae8162c8 18487 bool temp6 = false ;
d14a1e28 18488 PyObject * obj0 = 0 ;
994141e6 18489 PyObject * obj1 = 0 ;
d14a1e28
RD
18490 PyObject * obj2 = 0 ;
18491 PyObject * obj3 = 0 ;
994141e6 18492 PyObject * obj4 = 0 ;
d14a1e28
RD
18493 PyObject * obj5 = 0 ;
18494 char *kwnames[] = {
18495 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18496 };
18497
248ed943 18498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18500 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 18501 if (obj1) {
093d3ff1
RD
18502 {
18503 arg2 = (int const)(SWIG_As_int(obj1));
18504 if (SWIG_arg_fail(2)) SWIG_fail;
18505 }
248ed943 18506 }
d14a1e28
RD
18507 if (obj2) {
18508 {
18509 arg3 = &temp3;
18510 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18511 }
18512 }
18513 if (obj3) {
18514 {
18515 arg4 = &temp4;
18516 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18517 }
18518 }
994141e6 18519 if (obj4) {
093d3ff1
RD
18520 {
18521 arg5 = (long)(SWIG_As_long(obj4));
18522 if (SWIG_arg_fail(5)) SWIG_fail;
18523 }
994141e6 18524 }
d14a1e28
RD
18525 if (obj5) {
18526 {
18527 arg6 = wxString_in_helper(obj5);
18528 if (arg6 == NULL) SWIG_fail;
ae8162c8 18529 temp6 = true;
d14a1e28
RD
18530 }
18531 }
18532 {
e3b71cb8 18533 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18536
18537 wxPyEndAllowThreads(__tstate);
110da5b0 18538 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 18539 }
15afbcd0 18540 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
d14a1e28
RD
18541 {
18542 if (temp6)
18543 delete arg6;
18544 }
18545 return resultobj;
18546 fail:
18547 {
18548 if (temp6)
18549 delete arg6;
18550 }
18551 return NULL;
18552}
18553
18554
c32bde28 18555static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18556 PyObject *resultobj;
18557 wxPyPanel *result;
18558 char *kwnames[] = {
18559 NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18563 {
e3b71cb8 18564 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
18565 PyThreadState* __tstate = wxPyBeginAllowThreads();
18566 result = (wxPyPanel *)new wxPyPanel();
18567
18568 wxPyEndAllowThreads(__tstate);
110da5b0 18569 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
18570 }
18571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18572 return resultobj;
18573 fail:
18574 return NULL;
18575}
18576
18577
c32bde28 18578static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18579 PyObject *resultobj;
18580 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18581 PyObject *arg2 = (PyObject *) 0 ;
18582 PyObject *arg3 = (PyObject *) 0 ;
18583 PyObject * obj0 = 0 ;
18584 PyObject * obj1 = 0 ;
18585 PyObject * obj2 = 0 ;
18586 char *kwnames[] = {
18587 (char *) "self",(char *) "self",(char *) "_class", NULL
18588 };
18589
18590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18592 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18593 arg2 = obj1;
18594 arg3 = obj2;
18595 {
18596 PyThreadState* __tstate = wxPyBeginAllowThreads();
18597 (arg1)->_setCallbackInfo(arg2,arg3);
18598
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 Py_INCREF(Py_None); resultobj = Py_None;
18603 return resultobj;
18604 fail:
18605 return NULL;
18606}
18607
18608
c32bde28 18609static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
18610 PyObject *resultobj;
18611 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18612 wxSize *arg2 = 0 ;
18613 wxSize temp2 ;
18614 PyObject * obj0 = 0 ;
18615 PyObject * obj1 = 0 ;
18616 char *kwnames[] = {
18617 (char *) "self",(char *) "size", NULL
18618 };
18619
18620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18622 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
18623 {
18624 arg2 = &temp2;
18625 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18626 }
18627 {
18628 PyThreadState* __tstate = wxPyBeginAllowThreads();
18629 (arg1)->SetBestSize((wxSize const &)*arg2);
18630
18631 wxPyEndAllowThreads(__tstate);
18632 if (PyErr_Occurred()) SWIG_fail;
18633 }
18634 Py_INCREF(Py_None); resultobj = Py_None;
18635 return resultobj;
18636 fail:
18637 return NULL;
18638}
18639
18640
c32bde28 18641static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18642 PyObject *resultobj;
18643 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18644 int arg2 ;
18645 int arg3 ;
18646 int arg4 ;
18647 int arg5 ;
18648 PyObject * obj0 = 0 ;
994141e6
RD
18649 PyObject * obj1 = 0 ;
18650 PyObject * obj2 = 0 ;
18651 PyObject * obj3 = 0 ;
18652 PyObject * obj4 = 0 ;
d14a1e28
RD
18653 char *kwnames[] = {
18654 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18655 };
18656
994141e6 18657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
18658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18659 if (SWIG_arg_fail(1)) SWIG_fail;
18660 {
18661 arg2 = (int)(SWIG_As_int(obj1));
18662 if (SWIG_arg_fail(2)) SWIG_fail;
18663 }
18664 {
18665 arg3 = (int)(SWIG_As_int(obj2));
18666 if (SWIG_arg_fail(3)) SWIG_fail;
18667 }
18668 {
18669 arg4 = (int)(SWIG_As_int(obj3));
18670 if (SWIG_arg_fail(4)) SWIG_fail;
18671 }
18672 {
18673 arg5 = (int)(SWIG_As_int(obj4));
18674 if (SWIG_arg_fail(5)) SWIG_fail;
18675 }
d14a1e28
RD
18676 {
18677 PyThreadState* __tstate = wxPyBeginAllowThreads();
18678 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18679
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 Py_INCREF(Py_None); resultobj = Py_None;
18684 return resultobj;
18685 fail:
18686 return NULL;
18687}
18688
18689
c32bde28 18690static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18691 PyObject *resultobj;
18692 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18693 int arg2 ;
18694 int arg3 ;
18695 int arg4 ;
18696 int arg5 ;
18697 int arg6 = (int) wxSIZE_AUTO ;
18698 PyObject * obj0 = 0 ;
994141e6
RD
18699 PyObject * obj1 = 0 ;
18700 PyObject * obj2 = 0 ;
18701 PyObject * obj3 = 0 ;
18702 PyObject * obj4 = 0 ;
18703 PyObject * obj5 = 0 ;
d14a1e28
RD
18704 char *kwnames[] = {
18705 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18706 };
18707
994141e6 18708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18710 if (SWIG_arg_fail(1)) SWIG_fail;
18711 {
18712 arg2 = (int)(SWIG_As_int(obj1));
18713 if (SWIG_arg_fail(2)) SWIG_fail;
18714 }
18715 {
18716 arg3 = (int)(SWIG_As_int(obj2));
18717 if (SWIG_arg_fail(3)) SWIG_fail;
18718 }
18719 {
18720 arg4 = (int)(SWIG_As_int(obj3));
18721 if (SWIG_arg_fail(4)) SWIG_fail;
18722 }
18723 {
18724 arg5 = (int)(SWIG_As_int(obj4));
18725 if (SWIG_arg_fail(5)) SWIG_fail;
18726 }
994141e6 18727 if (obj5) {
093d3ff1
RD
18728 {
18729 arg6 = (int)(SWIG_As_int(obj5));
18730 if (SWIG_arg_fail(6)) SWIG_fail;
18731 }
994141e6 18732 }
d14a1e28
RD
18733 {
18734 PyThreadState* __tstate = wxPyBeginAllowThreads();
18735 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18736
18737 wxPyEndAllowThreads(__tstate);
18738 if (PyErr_Occurred()) SWIG_fail;
18739 }
18740 Py_INCREF(Py_None); resultobj = Py_None;
18741 return resultobj;
18742 fail:
18743 return NULL;
18744}
18745
18746
c32bde28 18747static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18748 PyObject *resultobj;
18749 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18750 int arg2 ;
18751 int arg3 ;
18752 PyObject * obj0 = 0 ;
994141e6
RD
18753 PyObject * obj1 = 0 ;
18754 PyObject * obj2 = 0 ;
d14a1e28
RD
18755 char *kwnames[] = {
18756 (char *) "self",(char *) "width",(char *) "height", NULL
18757 };
18758
994141e6 18759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18761 if (SWIG_arg_fail(1)) SWIG_fail;
18762 {
18763 arg2 = (int)(SWIG_As_int(obj1));
18764 if (SWIG_arg_fail(2)) SWIG_fail;
18765 }
18766 {
18767 arg3 = (int)(SWIG_As_int(obj2));
18768 if (SWIG_arg_fail(3)) SWIG_fail;
18769 }
d14a1e28
RD
18770 {
18771 PyThreadState* __tstate = wxPyBeginAllowThreads();
18772 (arg1)->base_DoSetClientSize(arg2,arg3);
18773
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 Py_INCREF(Py_None); resultobj = Py_None;
18778 return resultobj;
18779 fail:
18780 return NULL;
18781}
18782
18783
c32bde28 18784static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18785 PyObject *resultobj;
18786 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18787 int arg2 ;
18788 int arg3 ;
18789 PyObject * obj0 = 0 ;
994141e6
RD
18790 PyObject * obj1 = 0 ;
18791 PyObject * obj2 = 0 ;
d14a1e28
RD
18792 char *kwnames[] = {
18793 (char *) "self",(char *) "x",(char *) "y", NULL
18794 };
18795
994141e6 18796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18798 if (SWIG_arg_fail(1)) SWIG_fail;
18799 {
18800 arg2 = (int)(SWIG_As_int(obj1));
18801 if (SWIG_arg_fail(2)) SWIG_fail;
18802 }
18803 {
18804 arg3 = (int)(SWIG_As_int(obj2));
18805 if (SWIG_arg_fail(3)) SWIG_fail;
18806 }
d14a1e28
RD
18807 {
18808 PyThreadState* __tstate = wxPyBeginAllowThreads();
18809 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18810
18811 wxPyEndAllowThreads(__tstate);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 Py_INCREF(Py_None); resultobj = Py_None;
18815 return resultobj;
18816 fail:
18817 return NULL;
18818}
18819
18820
c32bde28 18821static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18822 PyObject *resultobj;
18823 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18824 int *arg2 = (int *) 0 ;
18825 int *arg3 = (int *) 0 ;
18826 int temp2 ;
c32bde28 18827 int res2 = 0 ;
d14a1e28 18828 int temp3 ;
c32bde28 18829 int res3 = 0 ;
d14a1e28
RD
18830 PyObject * obj0 = 0 ;
18831 char *kwnames[] = {
18832 (char *) "self", NULL
18833 };
18834
c32bde28
RD
18835 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18836 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18839 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
18843
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
18847 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18848 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18849 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18850 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18851 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18852 return resultobj;
18853 fail:
18854 return NULL;
18855}
18856
18857
c32bde28 18858static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18859 PyObject *resultobj;
18860 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18861 int *arg2 = (int *) 0 ;
18862 int *arg3 = (int *) 0 ;
18863 int temp2 ;
c32bde28 18864 int res2 = 0 ;
d14a1e28 18865 int temp3 ;
c32bde28 18866 int res3 = 0 ;
d14a1e28
RD
18867 PyObject * obj0 = 0 ;
18868 char *kwnames[] = {
18869 (char *) "self", NULL
18870 };
18871
c32bde28
RD
18872 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18873 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18876 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18877 {
18878 PyThreadState* __tstate = wxPyBeginAllowThreads();
18879 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
18880
18881 wxPyEndAllowThreads(__tstate);
18882 if (PyErr_Occurred()) SWIG_fail;
18883 }
18884 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18885 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18886 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18887 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18888 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18889 return resultobj;
18890 fail:
18891 return NULL;
18892}
18893
18894
c32bde28 18895static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18896 PyObject *resultobj;
18897 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18898 int *arg2 = (int *) 0 ;
18899 int *arg3 = (int *) 0 ;
18900 int temp2 ;
c32bde28 18901 int res2 = 0 ;
d14a1e28 18902 int temp3 ;
c32bde28 18903 int res3 = 0 ;
d14a1e28
RD
18904 PyObject * obj0 = 0 ;
18905 char *kwnames[] = {
18906 (char *) "self", NULL
18907 };
18908
c32bde28
RD
18909 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18910 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
18912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18913 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18914 {
18915 PyThreadState* __tstate = wxPyBeginAllowThreads();
18916 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
18917
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
18921 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18922 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18923 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18924 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18925 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18926 return resultobj;
18927 fail:
18928 return NULL;
18929}
18930
18931
c32bde28 18932static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18933 PyObject *resultobj;
18934 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18935 wxSize result;
18936 PyObject * obj0 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18943 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 {
18952 wxSize * resultptr;
093d3ff1 18953 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18955 }
18956 return resultobj;
18957 fail:
18958 return NULL;
18959}
18960
18961
c32bde28 18962static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18963 PyObject *resultobj;
18964 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18965 wxSize result;
18966 PyObject * obj0 = 0 ;
18967 char *kwnames[] = {
18968 (char *) "self", NULL
18969 };
18970
18971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18973 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18974 {
18975 PyThreadState* __tstate = wxPyBeginAllowThreads();
18976 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
18977
18978 wxPyEndAllowThreads(__tstate);
18979 if (PyErr_Occurred()) SWIG_fail;
18980 }
18981 {
18982 wxSize * resultptr;
093d3ff1 18983 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18985 }
18986 return resultobj;
18987 fail:
18988 return NULL;
18989}
18990
18991
c32bde28 18992static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18993 PyObject *resultobj;
18994 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18995 PyObject * obj0 = 0 ;
18996 char *kwnames[] = {
18997 (char *) "self", NULL
18998 };
18999
19000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
19001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19002 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19003 {
19004 PyThreadState* __tstate = wxPyBeginAllowThreads();
19005 (arg1)->base_InitDialog();
19006
19007 wxPyEndAllowThreads(__tstate);
19008 if (PyErr_Occurred()) SWIG_fail;
19009 }
19010 Py_INCREF(Py_None); resultobj = Py_None;
19011 return resultobj;
19012 fail:
19013 return NULL;
19014}
19015
19016
c32bde28 19017static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19018 PyObject *resultobj;
19019 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19020 bool result;
19021 PyObject * obj0 = 0 ;
19022 char *kwnames[] = {
19023 (char *) "self", NULL
19024 };
19025
19026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19028 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 result = (bool)(arg1)->base_TransferDataToWindow();
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
4f89f6a3
RD
19036 {
19037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19038 }
d14a1e28
RD
19039 return resultobj;
19040 fail:
19041 return NULL;
19042}
19043
19044
c32bde28 19045static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19046 PyObject *resultobj;
19047 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19048 bool result;
19049 PyObject * obj0 = 0 ;
19050 char *kwnames[] = {
19051 (char *) "self", NULL
19052 };
19053
19054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19056 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19057 {
19058 PyThreadState* __tstate = wxPyBeginAllowThreads();
19059 result = (bool)(arg1)->base_TransferDataFromWindow();
19060
19061 wxPyEndAllowThreads(__tstate);
19062 if (PyErr_Occurred()) SWIG_fail;
19063 }
4f89f6a3
RD
19064 {
19065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19066 }
d14a1e28
RD
19067 return resultobj;
19068 fail:
19069 return NULL;
19070}
19071
19072
c32bde28 19073static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19074 PyObject *resultobj;
19075 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19076 bool result;
19077 PyObject * obj0 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
19083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19085 {
19086 PyThreadState* __tstate = wxPyBeginAllowThreads();
19087 result = (bool)(arg1)->base_Validate();
19088
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
4f89f6a3
RD
19092 {
19093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19094 }
d14a1e28
RD
19095 return resultobj;
19096 fail:
19097 return NULL;
19098}
19099
19100
c32bde28 19101static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19102 PyObject *resultobj;
19103 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19104 bool result;
19105 PyObject * obj0 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "self", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
19111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19112 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19116
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
4f89f6a3
RD
19120 {
19121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19122 }
d14a1e28
RD
19123 return resultobj;
19124 fail:
19125 return NULL;
19126}
19127
19128
c32bde28 19129static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19130 PyObject *resultobj;
19131 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19132 bool result;
19133 PyObject * obj0 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "self", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
19139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19140 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19141 {
19142 PyThreadState* __tstate = wxPyBeginAllowThreads();
19143 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19144
19145 wxPyEndAllowThreads(__tstate);
19146 if (PyErr_Occurred()) SWIG_fail;
19147 }
4f89f6a3
RD
19148 {
19149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19150 }
d14a1e28
RD
19151 return resultobj;
19152 fail:
19153 return NULL;
19154}
19155
19156
c32bde28 19157static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19158 PyObject *resultobj;
19159 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19160 wxSize result;
19161 PyObject * obj0 = 0 ;
19162 char *kwnames[] = {
19163 (char *) "self", NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19168 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 {
19177 wxSize * resultptr;
093d3ff1 19178 resultptr = new wxSize((wxSize &)(result));
15afbcd0 19179 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
19180 }
19181 return resultobj;
19182 fail:
19183 return NULL;
19184}
19185
19186
c32bde28 19187static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19188 PyObject *resultobj;
19189 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19190 wxWindow *arg2 = (wxWindow *) 0 ;
19191 PyObject * obj0 = 0 ;
19192 PyObject * obj1 = 0 ;
19193 char *kwnames[] = {
19194 (char *) "self",(char *) "child", NULL
19195 };
19196
19197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19199 if (SWIG_arg_fail(1)) SWIG_fail;
19200 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19201 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 (arg1)->base_AddChild(arg2);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 Py_INCREF(Py_None); resultobj = Py_None;
19210 return resultobj;
19211 fail:
19212 return NULL;
19213}
19214
19215
c32bde28 19216static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19217 PyObject *resultobj;
19218 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19219 wxWindow *arg2 = (wxWindow *) 0 ;
19220 PyObject * obj0 = 0 ;
19221 PyObject * obj1 = 0 ;
19222 char *kwnames[] = {
19223 (char *) "self",(char *) "child", NULL
19224 };
19225
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19228 if (SWIG_arg_fail(1)) SWIG_fail;
19229 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19230 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19231 {
19232 PyThreadState* __tstate = wxPyBeginAllowThreads();
19233 (arg1)->base_RemoveChild(arg2);
19234
19235 wxPyEndAllowThreads(__tstate);
19236 if (PyErr_Occurred()) SWIG_fail;
19237 }
19238 Py_INCREF(Py_None); resultobj = Py_None;
19239 return resultobj;
19240 fail:
19241 return NULL;
19242}
19243
19244
c32bde28 19245static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19246 PyObject *resultobj;
1cb4a8aa
RD
19247 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19248 bool result;
19249 PyObject * obj0 = 0 ;
d14a1e28 19250 char *kwnames[] = {
1cb4a8aa 19251 (char *) "self", NULL
d14a1e28
RD
19252 };
19253
1cb4a8aa 19254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
19255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19256 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 19259 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d14a1e28
RD
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
1cb4a8aa
RD
19264 {
19265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19266 }
d14a1e28
RD
19267 return resultobj;
19268 fail:
19269 return NULL;
19270}
19271
19272
c32bde28 19273static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19274 PyObject *resultobj;
1cb4a8aa
RD
19275 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19276 wxColour *arg2 = 0 ;
19277 wxColour temp2 ;
d14a1e28 19278 PyObject * obj0 = 0 ;
1cb4a8aa 19279 PyObject * obj1 = 0 ;
d14a1e28 19280 char *kwnames[] = {
1cb4a8aa 19281 (char *) "self",(char *) "c", NULL
d14a1e28
RD
19282 };
19283
1cb4a8aa 19284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19286 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19287 {
19288 arg2 = &temp2;
19289 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19290 }
d14a1e28
RD
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
1cb4a8aa 19293 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
d14a1e28
RD
19294
19295 wxPyEndAllowThreads(__tstate);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 }
19298 Py_INCREF(Py_None); resultobj = Py_None;
19299 return resultobj;
19300 fail:
19301 return NULL;
19302}
19303
19304
c32bde28 19305static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
19306 PyObject *resultobj;
19307 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19308 wxVisualAttributes result;
19309 PyObject * obj0 = 0 ;
19310 char *kwnames[] = {
19311 (char *) "self", NULL
19312 };
19313
19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",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;
db3e571a
RD
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 result = (arg1)->base_GetDefaultAttributes();
19320
19321 wxPyEndAllowThreads(__tstate);
19322 if (PyErr_Occurred()) SWIG_fail;
19323 }
19324 {
19325 wxVisualAttributes * resultptr;
093d3ff1 19326 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
db3e571a
RD
19327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19328 }
19329 return resultobj;
19330 fail:
19331 return NULL;
19332}
19333
19334
c32bde28 19335static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
1cb4a8aa
RD
19336 PyObject *obj;
19337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19338 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19339 Py_INCREF(obj);
19340 return Py_BuildValue((char *)"");
19341}
c32bde28 19342static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19343 PyObject *resultobj;
1cb4a8aa 19344 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 19345 int arg2 = (int) (int)-1 ;
1cb4a8aa
RD
19346 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19347 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19348 wxSize const &arg4_defvalue = wxDefaultSize ;
19349 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19350 long arg5 = (long) 0 ;
19351 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19352 wxString *arg6 = (wxString *) &arg6_defvalue ;
19353 wxPyScrolledWindow *result;
19354 wxPoint temp3 ;
19355 wxSize temp4 ;
ae8162c8 19356 bool temp6 = false ;
d14a1e28 19357 PyObject * obj0 = 0 ;
1cb4a8aa
RD
19358 PyObject * obj1 = 0 ;
19359 PyObject * obj2 = 0 ;
19360 PyObject * obj3 = 0 ;
19361 PyObject * obj4 = 0 ;
19362 PyObject * obj5 = 0 ;
d14a1e28 19363 char *kwnames[] = {
1cb4a8aa 19364 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
19365 };
19366
248ed943 19367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19369 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 19370 if (obj1) {
093d3ff1
RD
19371 {
19372 arg2 = (int const)(SWIG_As_int(obj1));
19373 if (SWIG_arg_fail(2)) SWIG_fail;
19374 }
248ed943 19375 }
1cb4a8aa
RD
19376 if (obj2) {
19377 {
19378 arg3 = &temp3;
19379 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19380 }
19381 }
19382 if (obj3) {
19383 {
19384 arg4 = &temp4;
19385 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19386 }
19387 }
19388 if (obj4) {
093d3ff1
RD
19389 {
19390 arg5 = (long)(SWIG_As_long(obj4));
19391 if (SWIG_arg_fail(5)) SWIG_fail;
19392 }
1cb4a8aa
RD
19393 }
19394 if (obj5) {
19395 {
19396 arg6 = wxString_in_helper(obj5);
19397 if (arg6 == NULL) SWIG_fail;
ae8162c8 19398 temp6 = true;
1cb4a8aa
RD
19399 }
19400 }
19401 {
e3b71cb8 19402 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
19403 PyThreadState* __tstate = wxPyBeginAllowThreads();
19404 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19405
19406 wxPyEndAllowThreads(__tstate);
110da5b0 19407 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
19408 }
19409 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19410 {
19411 if (temp6)
19412 delete arg6;
19413 }
19414 return resultobj;
19415 fail:
19416 {
19417 if (temp6)
19418 delete arg6;
19419 }
19420 return NULL;
19421}
19422
19423
c32bde28 19424static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19425 PyObject *resultobj;
19426 wxPyScrolledWindow *result;
19427 char *kwnames[] = {
19428 NULL
19429 };
19430
19431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19432 {
e3b71cb8 19433 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
19434 PyThreadState* __tstate = wxPyBeginAllowThreads();
19435 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19436
19437 wxPyEndAllowThreads(__tstate);
110da5b0 19438 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
19439 }
19440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19441 return resultobj;
19442 fail:
19443 return NULL;
19444}
19445
19446
c32bde28 19447static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19448 PyObject *resultobj;
19449 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19450 PyObject *arg2 = (PyObject *) 0 ;
19451 PyObject *arg3 = (PyObject *) 0 ;
19452 PyObject * obj0 = 0 ;
19453 PyObject * obj1 = 0 ;
19454 PyObject * obj2 = 0 ;
19455 char *kwnames[] = {
19456 (char *) "self",(char *) "self",(char *) "_class", NULL
19457 };
19458
19459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19461 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19462 arg2 = obj1;
19463 arg3 = obj2;
19464 {
19465 PyThreadState* __tstate = wxPyBeginAllowThreads();
19466 (arg1)->_setCallbackInfo(arg2,arg3);
19467
19468 wxPyEndAllowThreads(__tstate);
19469 if (PyErr_Occurred()) SWIG_fail;
19470 }
19471 Py_INCREF(Py_None); resultobj = Py_None;
19472 return resultobj;
19473 fail:
19474 return NULL;
19475}
19476
19477
c32bde28 19478static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
19479 PyObject *resultobj;
19480 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19481 wxSize *arg2 = 0 ;
19482 wxSize temp2 ;
19483 PyObject * obj0 = 0 ;
19484 PyObject * obj1 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "self",(char *) "size", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19491 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
19492 {
19493 arg2 = &temp2;
19494 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19495 }
19496 {
19497 PyThreadState* __tstate = wxPyBeginAllowThreads();
19498 (arg1)->SetBestSize((wxSize const &)*arg2);
19499
19500 wxPyEndAllowThreads(__tstate);
19501 if (PyErr_Occurred()) SWIG_fail;
19502 }
19503 Py_INCREF(Py_None); resultobj = Py_None;
19504 return resultobj;
19505 fail:
19506 return NULL;
19507}
19508
19509
c32bde28 19510static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19511 PyObject *resultobj;
19512 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19513 int arg2 ;
19514 int arg3 ;
19515 int arg4 ;
19516 int arg5 ;
19517 PyObject * obj0 = 0 ;
19518 PyObject * obj1 = 0 ;
19519 PyObject * obj2 = 0 ;
19520 PyObject * obj3 = 0 ;
19521 PyObject * obj4 = 0 ;
19522 char *kwnames[] = {
19523 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19524 };
19525
19526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
19527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19528 if (SWIG_arg_fail(1)) SWIG_fail;
19529 {
19530 arg2 = (int)(SWIG_As_int(obj1));
19531 if (SWIG_arg_fail(2)) SWIG_fail;
19532 }
19533 {
19534 arg3 = (int)(SWIG_As_int(obj2));
19535 if (SWIG_arg_fail(3)) SWIG_fail;
19536 }
19537 {
19538 arg4 = (int)(SWIG_As_int(obj3));
19539 if (SWIG_arg_fail(4)) SWIG_fail;
19540 }
19541 {
19542 arg5 = (int)(SWIG_As_int(obj4));
19543 if (SWIG_arg_fail(5)) SWIG_fail;
19544 }
1cb4a8aa
RD
19545 {
19546 PyThreadState* __tstate = wxPyBeginAllowThreads();
19547 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19548
19549 wxPyEndAllowThreads(__tstate);
19550 if (PyErr_Occurred()) SWIG_fail;
19551 }
19552 Py_INCREF(Py_None); resultobj = Py_None;
19553 return resultobj;
19554 fail:
19555 return NULL;
19556}
19557
19558
c32bde28 19559static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19560 PyObject *resultobj;
19561 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19562 int arg2 ;
19563 int arg3 ;
19564 int arg4 ;
19565 int arg5 ;
19566 int arg6 = (int) wxSIZE_AUTO ;
19567 PyObject * obj0 = 0 ;
19568 PyObject * obj1 = 0 ;
19569 PyObject * obj2 = 0 ;
19570 PyObject * obj3 = 0 ;
19571 PyObject * obj4 = 0 ;
19572 PyObject * obj5 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19579 if (SWIG_arg_fail(1)) SWIG_fail;
19580 {
19581 arg2 = (int)(SWIG_As_int(obj1));
19582 if (SWIG_arg_fail(2)) SWIG_fail;
19583 }
19584 {
19585 arg3 = (int)(SWIG_As_int(obj2));
19586 if (SWIG_arg_fail(3)) SWIG_fail;
19587 }
19588 {
19589 arg4 = (int)(SWIG_As_int(obj3));
19590 if (SWIG_arg_fail(4)) SWIG_fail;
19591 }
19592 {
19593 arg5 = (int)(SWIG_As_int(obj4));
19594 if (SWIG_arg_fail(5)) SWIG_fail;
19595 }
1cb4a8aa 19596 if (obj5) {
093d3ff1
RD
19597 {
19598 arg6 = (int)(SWIG_As_int(obj5));
19599 if (SWIG_arg_fail(6)) SWIG_fail;
19600 }
1cb4a8aa
RD
19601 }
19602 {
19603 PyThreadState* __tstate = wxPyBeginAllowThreads();
19604 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19605
19606 wxPyEndAllowThreads(__tstate);
19607 if (PyErr_Occurred()) SWIG_fail;
19608 }
19609 Py_INCREF(Py_None); resultobj = Py_None;
19610 return resultobj;
19611 fail:
19612 return NULL;
19613}
19614
19615
c32bde28 19616static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19617 PyObject *resultobj;
19618 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19619 int arg2 ;
19620 int arg3 ;
19621 PyObject * obj0 = 0 ;
19622 PyObject * obj1 = 0 ;
19623 PyObject * obj2 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self",(char *) "width",(char *) "height", NULL
19626 };
19627
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19630 if (SWIG_arg_fail(1)) SWIG_fail;
19631 {
19632 arg2 = (int)(SWIG_As_int(obj1));
19633 if (SWIG_arg_fail(2)) SWIG_fail;
19634 }
19635 {
19636 arg3 = (int)(SWIG_As_int(obj2));
19637 if (SWIG_arg_fail(3)) SWIG_fail;
19638 }
1cb4a8aa
RD
19639 {
19640 PyThreadState* __tstate = wxPyBeginAllowThreads();
19641 (arg1)->base_DoSetClientSize(arg2,arg3);
19642
19643 wxPyEndAllowThreads(__tstate);
19644 if (PyErr_Occurred()) SWIG_fail;
19645 }
19646 Py_INCREF(Py_None); resultobj = Py_None;
19647 return resultobj;
19648 fail:
19649 return NULL;
19650}
19651
19652
c32bde28 19653static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19654 PyObject *resultobj;
19655 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19656 int arg2 ;
19657 int arg3 ;
19658 PyObject * obj0 = 0 ;
19659 PyObject * obj1 = 0 ;
19660 PyObject * obj2 = 0 ;
19661 char *kwnames[] = {
19662 (char *) "self",(char *) "x",(char *) "y", NULL
19663 };
19664
19665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19667 if (SWIG_arg_fail(1)) SWIG_fail;
19668 {
19669 arg2 = (int)(SWIG_As_int(obj1));
19670 if (SWIG_arg_fail(2)) SWIG_fail;
19671 }
19672 {
19673 arg3 = (int)(SWIG_As_int(obj2));
19674 if (SWIG_arg_fail(3)) SWIG_fail;
19675 }
1cb4a8aa
RD
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 Py_INCREF(Py_None); resultobj = Py_None;
19684 return resultobj;
19685 fail:
19686 return NULL;
19687}
19688
19689
c32bde28 19690static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19691 PyObject *resultobj;
19692 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19693 int *arg2 = (int *) 0 ;
19694 int *arg3 = (int *) 0 ;
19695 int temp2 ;
c32bde28 19696 int res2 = 0 ;
1cb4a8aa 19697 int temp3 ;
c32bde28 19698 int res3 = 0 ;
1cb4a8aa
RD
19699 PyObject * obj0 = 0 ;
19700 char *kwnames[] = {
19701 (char *) "self", NULL
19702 };
19703
c32bde28
RD
19704 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19705 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa 19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19708 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19712
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19717 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19718 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19719 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19720 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
19721 return resultobj;
19722 fail:
19723 return NULL;
19724}
19725
19726
c32bde28 19727static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19728 PyObject *resultobj;
19729 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19730 int *arg2 = (int *) 0 ;
19731 int *arg3 = (int *) 0 ;
19732 int temp2 ;
c32bde28 19733 int res2 = 0 ;
1cb4a8aa 19734 int temp3 ;
c32bde28 19735 int res3 = 0 ;
1cb4a8aa
RD
19736 PyObject * obj0 = 0 ;
19737 char *kwnames[] = {
19738 (char *) "self", NULL
19739 };
19740
c32bde28
RD
19741 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19742 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa 19743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19745 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19746 {
19747 PyThreadState* __tstate = wxPyBeginAllowThreads();
19748 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19749
19750 wxPyEndAllowThreads(__tstate);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
19753 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19754 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19755 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19756 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19757 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
19758 return resultobj;
19759 fail:
19760 return NULL;
19761}
19762
19763
c32bde28 19764static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19765 PyObject *resultobj;
19766 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19767 int *arg2 = (int *) 0 ;
19768 int *arg3 = (int *) 0 ;
19769 int temp2 ;
c32bde28 19770 int res2 = 0 ;
1cb4a8aa 19771 int temp3 ;
c32bde28 19772 int res3 = 0 ;
1cb4a8aa
RD
19773 PyObject * obj0 = 0 ;
19774 char *kwnames[] = {
19775 (char *) "self", NULL
19776 };
19777
c32bde28
RD
19778 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19779 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa 19780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
19781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19782 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19791 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19792 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19793 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19794 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
19795 return resultobj;
19796 fail:
19797 return NULL;
19798}
19799
19800
c32bde28 19801static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19802 PyObject *resultobj;
19803 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19804 wxSize result;
19805 PyObject * obj0 = 0 ;
19806 char *kwnames[] = {
19807 (char *) "self", NULL
19808 };
19809
19810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19812 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
19816
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 {
19821 wxSize * resultptr;
093d3ff1 19822 resultptr = new wxSize((wxSize &)(result));
1cb4a8aa
RD
19823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19824 }
19825 return resultobj;
19826 fail:
19827 return NULL;
19828}
19829
19830
c32bde28 19831static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19832 PyObject *resultobj;
19833 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19834 wxSize result;
19835 PyObject * obj0 = 0 ;
19836 char *kwnames[] = {
19837 (char *) "self", NULL
19838 };
19839
19840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19842 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19843 {
19844 PyThreadState* __tstate = wxPyBeginAllowThreads();
19845 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
19846
19847 wxPyEndAllowThreads(__tstate);
19848 if (PyErr_Occurred()) SWIG_fail;
19849 }
19850 {
19851 wxSize * resultptr;
093d3ff1 19852 resultptr = new wxSize((wxSize &)(result));
1cb4a8aa
RD
19853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19854 }
19855 return resultobj;
19856 fail:
19857 return NULL;
19858}
19859
19860
c32bde28 19861static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19862 PyObject *resultobj;
19863 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19864 PyObject * obj0 = 0 ;
19865 char *kwnames[] = {
19866 (char *) "self", NULL
19867 };
19868
19869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
19870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19871 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19872 {
19873 PyThreadState* __tstate = wxPyBeginAllowThreads();
19874 (arg1)->base_InitDialog();
19875
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 Py_INCREF(Py_None); resultobj = Py_None;
19880 return resultobj;
19881 fail:
19882 return NULL;
19883}
19884
19885
c32bde28 19886static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19887 PyObject *resultobj;
19888 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19889 bool result;
19890 PyObject * obj0 = 0 ;
19891 char *kwnames[] = {
19892 (char *) "self", NULL
19893 };
19894
19895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19897 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 result = (bool)(arg1)->base_TransferDataToWindow();
19901
19902 wxPyEndAllowThreads(__tstate);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 {
19906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19907 }
19908 return resultobj;
19909 fail:
19910 return NULL;
19911}
19912
19913
c32bde28 19914static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19915 PyObject *resultobj;
19916 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19917 bool result;
19918 PyObject * obj0 = 0 ;
19919 char *kwnames[] = {
19920 (char *) "self", NULL
19921 };
19922
19923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19925 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19926 {
19927 PyThreadState* __tstate = wxPyBeginAllowThreads();
19928 result = (bool)(arg1)->base_TransferDataFromWindow();
19929
19930 wxPyEndAllowThreads(__tstate);
19931 if (PyErr_Occurred()) SWIG_fail;
19932 }
19933 {
19934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19935 }
19936 return resultobj;
19937 fail:
19938 return NULL;
19939}
19940
19941
c32bde28 19942static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19943 PyObject *resultobj;
19944 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19945 bool result;
19946 PyObject * obj0 = 0 ;
19947 char *kwnames[] = {
19948 (char *) "self", NULL
19949 };
19950
19951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
19952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19953 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19954 {
19955 PyThreadState* __tstate = wxPyBeginAllowThreads();
19956 result = (bool)(arg1)->base_Validate();
19957
19958 wxPyEndAllowThreads(__tstate);
19959 if (PyErr_Occurred()) SWIG_fail;
19960 }
19961 {
19962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19963 }
19964 return resultobj;
19965 fail:
19966 return NULL;
19967}
19968
19969
c32bde28 19970static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19971 PyObject *resultobj;
19972 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19973 bool result;
19974 PyObject * obj0 = 0 ;
19975 char *kwnames[] = {
19976 (char *) "self", NULL
19977 };
19978
19979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
19980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19981 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19982 {
19983 PyThreadState* __tstate = wxPyBeginAllowThreads();
19984 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
19985
19986 wxPyEndAllowThreads(__tstate);
19987 if (PyErr_Occurred()) SWIG_fail;
19988 }
19989 {
19990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19991 }
19992 return resultobj;
19993 fail:
19994 return NULL;
19995}
19996
19997
c32bde28 19998static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19999 PyObject *resultobj;
20000 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20001 bool result;
20002 PyObject * obj0 = 0 ;
20003 char *kwnames[] = {
20004 (char *) "self", NULL
20005 };
20006
20007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
20008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20009 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20010 {
20011 PyThreadState* __tstate = wxPyBeginAllowThreads();
20012 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20013
20014 wxPyEndAllowThreads(__tstate);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 {
20018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20019 }
20020 return resultobj;
20021 fail:
20022 return NULL;
20023}
20024
20025
c32bde28 20026static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20027 PyObject *resultobj;
20028 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20029 wxSize result;
20030 PyObject * obj0 = 0 ;
20031 char *kwnames[] = {
20032 (char *) "self", NULL
20033 };
20034
20035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20037 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20038 {
20039 PyThreadState* __tstate = wxPyBeginAllowThreads();
20040 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20041
20042 wxPyEndAllowThreads(__tstate);
20043 if (PyErr_Occurred()) SWIG_fail;
20044 }
20045 {
20046 wxSize * resultptr;
093d3ff1 20047 resultptr = new wxSize((wxSize &)(result));
1cb4a8aa
RD
20048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20049 }
20050 return resultobj;
20051 fail:
20052 return NULL;
20053}
20054
20055
c32bde28 20056static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20057 PyObject *resultobj;
20058 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20059 wxWindow *arg2 = (wxWindow *) 0 ;
20060 PyObject * obj0 = 0 ;
20061 PyObject * obj1 = 0 ;
20062 char *kwnames[] = {
20063 (char *) "self",(char *) "child", NULL
20064 };
20065
20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20068 if (SWIG_arg_fail(1)) SWIG_fail;
20069 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20070 if (SWIG_arg_fail(2)) SWIG_fail;
1cb4a8aa
RD
20071 {
20072 PyThreadState* __tstate = wxPyBeginAllowThreads();
20073 (arg1)->base_AddChild(arg2);
20074
20075 wxPyEndAllowThreads(__tstate);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 }
20078 Py_INCREF(Py_None); resultobj = Py_None;
20079 return resultobj;
20080 fail:
20081 return NULL;
20082}
20083
20084
c32bde28 20085static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20086 PyObject *resultobj;
20087 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20088 wxWindow *arg2 = (wxWindow *) 0 ;
20089 PyObject * obj0 = 0 ;
20090 PyObject * obj1 = 0 ;
20091 char *kwnames[] = {
20092 (char *) "self",(char *) "child", NULL
20093 };
20094
20095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20097 if (SWIG_arg_fail(1)) SWIG_fail;
20098 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20099 if (SWIG_arg_fail(2)) SWIG_fail;
1cb4a8aa
RD
20100 {
20101 PyThreadState* __tstate = wxPyBeginAllowThreads();
20102 (arg1)->base_RemoveChild(arg2);
20103
20104 wxPyEndAllowThreads(__tstate);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 Py_INCREF(Py_None); resultobj = Py_None;
20108 return resultobj;
20109 fail:
20110 return NULL;
20111}
20112
20113
c32bde28 20114static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20115 PyObject *resultobj;
20116 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20117 bool result;
20118 PyObject * obj0 = 0 ;
20119 char *kwnames[] = {
20120 (char *) "self", NULL
20121 };
20122
20123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
20124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20125 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 20128 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
20129
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 {
20134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20135 }
20136 return resultobj;
20137 fail:
20138 return NULL;
20139}
20140
20141
c32bde28 20142static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20143 PyObject *resultobj;
20144 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20145 wxColour *arg2 = 0 ;
20146 wxColour temp2 ;
20147 PyObject * obj0 = 0 ;
20148 PyObject * obj1 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "self",(char *) "c", NULL
20151 };
20152
20153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20155 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20156 {
20157 arg2 = &temp2;
20158 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20159 }
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 Py_INCREF(Py_None); resultobj = Py_None;
20168 return resultobj;
20169 fail:
20170 return NULL;
20171}
20172
20173
c32bde28 20174static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
20175 PyObject *resultobj;
20176 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20177 wxVisualAttributes result;
20178 PyObject * obj0 = 0 ;
20179 char *kwnames[] = {
20180 (char *) "self", NULL
20181 };
20182
20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",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;
db3e571a
RD
20186 {
20187 PyThreadState* __tstate = wxPyBeginAllowThreads();
20188 result = (arg1)->base_GetDefaultAttributes();
20189
20190 wxPyEndAllowThreads(__tstate);
20191 if (PyErr_Occurred()) SWIG_fail;
20192 }
20193 {
20194 wxVisualAttributes * resultptr;
093d3ff1 20195 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
db3e571a
RD
20196 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20197 }
20198 return resultobj;
20199 fail:
20200 return NULL;
20201}
20202
20203
c32bde28 20204static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
1cb4a8aa
RD
20205 PyObject *obj;
20206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20207 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20208 Py_INCREF(obj);
20209 return Py_BuildValue((char *)"");
20210}
c32bde28 20211static int _wrap_PrintoutTitleStr_set(PyObject *) {
1cb4a8aa
RD
20212 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20213 return 1;
20214}
20215
20216
093d3ff1 20217static PyObject *_wrap_PrintoutTitleStr_get(void) {
1cb4a8aa
RD
20218 PyObject *pyobj;
20219
20220 {
20221#if wxUSE_UNICODE
20222 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20223#else
20224 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20225#endif
20226 }
20227 return pyobj;
20228}
20229
20230
c32bde28 20231static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
1cb4a8aa
RD
20232 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20233 return 1;
20234}
20235
20236
093d3ff1 20237static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
1cb4a8aa
RD
20238 PyObject *pyobj;
20239
20240 {
20241#if wxUSE_UNICODE
20242 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20243#else
20244 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20245#endif
20246 }
20247 return pyobj;
20248}
20249
20250
c32bde28 20251static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
1cb4a8aa
RD
20252 PyObject *resultobj;
20253 wxPrintData *result;
1cb4a8aa 20254
11207aef 20255 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
1cb4a8aa
RD
20256 {
20257 PyThreadState* __tstate = wxPyBeginAllowThreads();
20258 result = (wxPrintData *)new wxPrintData();
20259
20260 wxPyEndAllowThreads(__tstate);
20261 if (PyErr_Occurred()) SWIG_fail;
20262 }
20263 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20264 return resultobj;
20265 fail:
20266 return NULL;
20267}
20268
20269
c32bde28 20270static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
11207aef
RD
20271 PyObject *resultobj;
20272 wxPrintData *arg1 = 0 ;
20273 wxPrintData *result;
20274 PyObject * obj0 = 0 ;
20275
20276 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
093d3ff1
RD
20277 {
20278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20279 if (SWIG_arg_fail(1)) SWIG_fail;
20280 if (arg1 == NULL) {
20281 SWIG_null_ref("wxPrintData");
20282 }
20283 if (SWIG_arg_fail(1)) SWIG_fail;
11207aef
RD
20284 }
20285 {
20286 PyThreadState* __tstate = wxPyBeginAllowThreads();
20287 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20288
20289 wxPyEndAllowThreads(__tstate);
20290 if (PyErr_Occurred()) SWIG_fail;
20291 }
20292 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20293 return resultobj;
20294 fail:
20295 return NULL;
20296}
20297
20298
20299static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20300 int argc;
20301 PyObject *argv[2];
20302 int ii;
20303
20304 argc = PyObject_Length(args);
20305 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20306 argv[ii] = PyTuple_GetItem(args,ii);
20307 }
20308 if (argc == 0) {
20309 return _wrap_new_PrintData__SWIG_0(self,args);
20310 }
20311 if (argc == 1) {
20312 int _v;
20313 {
093d3ff1 20314 void *ptr = 0;
11207aef
RD
20315 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20316 _v = 0;
20317 PyErr_Clear();
20318 } else {
093d3ff1 20319 _v = (ptr != 0);
11207aef
RD
20320 }
20321 }
20322 if (_v) {
20323 return _wrap_new_PrintData__SWIG_1(self,args);
20324 }
20325 }
20326
093d3ff1 20327 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
11207aef
RD
20328 return NULL;
20329}
20330
20331
c32bde28 20332static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20333 PyObject *resultobj;
20334 wxPrintData *arg1 = (wxPrintData *) 0 ;
20335 PyObject * obj0 = 0 ;
20336 char *kwnames[] = {
20337 (char *) "self", NULL
20338 };
20339
20340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
20341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20342 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20343 {
20344 PyThreadState* __tstate = wxPyBeginAllowThreads();
20345 delete arg1;
20346
20347 wxPyEndAllowThreads(__tstate);
20348 if (PyErr_Occurred()) SWIG_fail;
20349 }
20350 Py_INCREF(Py_None); resultobj = Py_None;
20351 return resultobj;
20352 fail:
20353 return NULL;
20354}
20355
20356
c32bde28 20357static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20358 PyObject *resultobj;
20359 wxPrintData *arg1 = (wxPrintData *) 0 ;
20360 int result;
20361 PyObject * obj0 = 0 ;
20362 char *kwnames[] = {
20363 (char *) "self", NULL
20364 };
20365
20366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
20367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20368 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20369 {
20370 PyThreadState* __tstate = wxPyBeginAllowThreads();
20371 result = (int)(arg1)->GetNoCopies();
20372
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
093d3ff1
RD
20376 {
20377 resultobj = SWIG_From_int((int)(result));
20378 }
1cb4a8aa
RD
20379 return resultobj;
20380 fail:
d14a1e28
RD
20381 return NULL;
20382}
20383
20384
c32bde28 20385static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20386 PyObject *resultobj;
20387 wxPrintData *arg1 = (wxPrintData *) 0 ;
20388 bool result;
20389 PyObject * obj0 = 0 ;
20390 char *kwnames[] = {
20391 (char *) "self", NULL
20392 };
20393
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
20395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20396 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20397 {
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 result = (bool)(arg1)->GetCollate();
20400
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
4f89f6a3
RD
20404 {
20405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20406 }
d14a1e28
RD
20407 return resultobj;
20408 fail:
20409 return NULL;
20410}
20411
20412
c32bde28 20413static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20414 PyObject *resultobj;
20415 wxPrintData *arg1 = (wxPrintData *) 0 ;
20416 int result;
20417 PyObject * obj0 = 0 ;
20418 char *kwnames[] = {
20419 (char *) "self", NULL
20420 };
20421
20422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
20423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20424 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20425 {
20426 PyThreadState* __tstate = wxPyBeginAllowThreads();
20427 result = (int)(arg1)->GetOrientation();
20428
20429 wxPyEndAllowThreads(__tstate);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
093d3ff1
RD
20432 {
20433 resultobj = SWIG_From_int((int)(result));
20434 }
d14a1e28
RD
20435 return resultobj;
20436 fail:
20437 return NULL;
20438}
20439
20440
c32bde28 20441static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20442 PyObject *resultobj;
20443 wxPrintData *arg1 = (wxPrintData *) 0 ;
20444 bool result;
20445 PyObject * obj0 = 0 ;
20446 char *kwnames[] = {
20447 (char *) "self", NULL
20448 };
20449
20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
20451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20452 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 result = (bool)(arg1)->Ok();
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
4f89f6a3
RD
20460 {
20461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20462 }
d14a1e28
RD
20463 return resultobj;
20464 fail:
20465 return NULL;
20466}
20467
20468
c32bde28 20469static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20470 PyObject *resultobj;
20471 wxPrintData *arg1 = (wxPrintData *) 0 ;
20472 wxString *result;
20473 PyObject * obj0 = 0 ;
20474 char *kwnames[] = {
20475 (char *) "self", NULL
20476 };
20477
20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
093d3ff1
RD
20479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20480 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20481 {
20482 PyThreadState* __tstate = wxPyBeginAllowThreads();
20483 {
20484 wxString const &_result_ref = (arg1)->GetPrinterName();
20485 result = (wxString *) &_result_ref;
20486 }
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
cc6dd355
RD
20491 {
20492#if wxUSE_UNICODE
20493 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20494#else
20495 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20496#endif
20497 }
d14a1e28
RD
20498 return resultobj;
20499 fail:
20500 return NULL;
20501}
20502
20503
c32bde28 20504static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20505 PyObject *resultobj;
20506 wxPrintData *arg1 = (wxPrintData *) 0 ;
20507 bool result;
20508 PyObject * obj0 = 0 ;
20509 char *kwnames[] = {
20510 (char *) "self", NULL
20511 };
20512
20513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
20514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20515 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20516 {
20517 PyThreadState* __tstate = wxPyBeginAllowThreads();
20518 result = (bool)(arg1)->GetColour();
20519
20520 wxPyEndAllowThreads(__tstate);
20521 if (PyErr_Occurred()) SWIG_fail;
20522 }
4f89f6a3
RD
20523 {
20524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20525 }
d14a1e28
RD
20526 return resultobj;
20527 fail:
20528 return NULL;
20529}
20530
20531
c32bde28 20532static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20533 PyObject *resultobj;
20534 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20535 wxDuplexMode result;
d14a1e28
RD
20536 PyObject * obj0 = 0 ;
20537 char *kwnames[] = {
20538 (char *) "self", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
093d3ff1
RD
20542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20543 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20544 {
20545 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20546 result = (wxDuplexMode)(arg1)->GetDuplex();
d14a1e28
RD
20547
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
093d3ff1 20551 resultobj = SWIG_From_int((result));
d14a1e28
RD
20552 return resultobj;
20553 fail:
20554 return NULL;
20555}
20556
20557
c32bde28 20558static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20559 PyObject *resultobj;
20560 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20561 wxPaperSize result;
d14a1e28
RD
20562 PyObject * obj0 = 0 ;
20563 char *kwnames[] = {
20564 (char *) "self", NULL
20565 };
20566
20567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
20568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20569 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20570 {
20571 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20572 result = (wxPaperSize)(arg1)->GetPaperId();
d14a1e28
RD
20573
20574 wxPyEndAllowThreads(__tstate);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 }
093d3ff1 20577 resultobj = SWIG_From_int((result));
d14a1e28
RD
20578 return resultobj;
20579 fail:
20580 return NULL;
20581}
20582
20583
c32bde28 20584static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20585 PyObject *resultobj;
20586 wxPrintData *arg1 = (wxPrintData *) 0 ;
20587 wxSize *result;
20588 PyObject * obj0 = 0 ;
20589 char *kwnames[] = {
20590 (char *) "self", NULL
20591 };
20592
20593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20595 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20596 {
20597 PyThreadState* __tstate = wxPyBeginAllowThreads();
20598 {
20599 wxSize const &_result_ref = (arg1)->GetPaperSize();
20600 result = (wxSize *) &_result_ref;
20601 }
20602
20603 wxPyEndAllowThreads(__tstate);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
15afbcd0 20606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
20607 return resultobj;
20608 fail:
20609 return NULL;
20610}
20611
20612
c32bde28 20613static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20614 PyObject *resultobj;
20615 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 20616 int result;
d14a1e28
RD
20617 PyObject * obj0 = 0 ;
20618 char *kwnames[] = {
20619 (char *) "self", NULL
20620 };
20621
20622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
093d3ff1
RD
20623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20624 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20625 {
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 20627 result = (int)(arg1)->GetQuality();
d14a1e28
RD
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
093d3ff1
RD
20632 {
20633 resultobj = SWIG_From_int((int)(result));
20634 }
d14a1e28
RD
20635 return resultobj;
20636 fail:
20637 return NULL;
20638}
20639
20640
2ef75293
RD
20641static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20642 PyObject *resultobj;
20643 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20644 wxPrintBin result;
2ef75293
RD
20645 PyObject * obj0 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "self", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
093d3ff1
RD
20651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20652 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
20653 {
20654 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20655 result = (wxPrintBin)(arg1)->GetBin();
2ef75293
RD
20656
20657 wxPyEndAllowThreads(__tstate);
20658 if (PyErr_Occurred()) SWIG_fail;
20659 }
093d3ff1 20660 resultobj = SWIG_From_int((result));
2ef75293
RD
20661 return resultobj;
20662 fail:
20663 return NULL;
20664}
20665
20666
d3b6e4ff
RD
20667static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20668 PyObject *resultobj;
20669 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20670 wxPrintMode result;
d3b6e4ff
RD
20671 PyObject * obj0 = 0 ;
20672 char *kwnames[] = {
20673 (char *) "self", NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
20677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20678 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
20679 {
20680 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20681 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
d3b6e4ff
RD
20682
20683 wxPyEndAllowThreads(__tstate);
20684 if (PyErr_Occurred()) SWIG_fail;
20685 }
093d3ff1 20686 resultobj = SWIG_From_int((result));
d3b6e4ff
RD
20687 return resultobj;
20688 fail:
20689 return NULL;
20690}
20691
20692
c32bde28 20693static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20694 PyObject *resultobj;
20695 wxPrintData *arg1 = (wxPrintData *) 0 ;
20696 int arg2 ;
20697 PyObject * obj0 = 0 ;
994141e6 20698 PyObject * obj1 = 0 ;
d14a1e28
RD
20699 char *kwnames[] = {
20700 (char *) "self",(char *) "v", NULL
20701 };
20702
994141e6 20703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20705 if (SWIG_arg_fail(1)) SWIG_fail;
20706 {
20707 arg2 = (int)(SWIG_As_int(obj1));
20708 if (SWIG_arg_fail(2)) SWIG_fail;
20709 }
d14a1e28
RD
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 (arg1)->SetNoCopies(arg2);
20713
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 Py_INCREF(Py_None); resultobj = Py_None;
20718 return resultobj;
20719 fail:
20720 return NULL;
20721}
20722
20723
c32bde28 20724static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20725 PyObject *resultobj;
20726 wxPrintData *arg1 = (wxPrintData *) 0 ;
20727 bool arg2 ;
20728 PyObject * obj0 = 0 ;
20729 PyObject * obj1 = 0 ;
20730 char *kwnames[] = {
20731 (char *) "self",(char *) "flag", NULL
20732 };
20733
20734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20736 if (SWIG_arg_fail(1)) SWIG_fail;
20737 {
20738 arg2 = (bool)(SWIG_As_bool(obj1));
20739 if (SWIG_arg_fail(2)) SWIG_fail;
20740 }
d14a1e28
RD
20741 {
20742 PyThreadState* __tstate = wxPyBeginAllowThreads();
20743 (arg1)->SetCollate(arg2);
20744
20745 wxPyEndAllowThreads(__tstate);
20746 if (PyErr_Occurred()) SWIG_fail;
20747 }
20748 Py_INCREF(Py_None); resultobj = Py_None;
20749 return resultobj;
20750 fail:
20751 return NULL;
20752}
20753
20754
c32bde28 20755static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20756 PyObject *resultobj;
20757 wxPrintData *arg1 = (wxPrintData *) 0 ;
20758 int arg2 ;
20759 PyObject * obj0 = 0 ;
994141e6 20760 PyObject * obj1 = 0 ;
d14a1e28
RD
20761 char *kwnames[] = {
20762 (char *) "self",(char *) "orient", NULL
20763 };
20764
994141e6 20765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20767 if (SWIG_arg_fail(1)) SWIG_fail;
20768 {
20769 arg2 = (int)(SWIG_As_int(obj1));
20770 if (SWIG_arg_fail(2)) SWIG_fail;
20771 }
d14a1e28
RD
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 (arg1)->SetOrientation(arg2);
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 Py_INCREF(Py_None); resultobj = Py_None;
20780 return resultobj;
20781 fail:
20782 return NULL;
20783}
20784
20785
c32bde28 20786static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20787 PyObject *resultobj;
20788 wxPrintData *arg1 = (wxPrintData *) 0 ;
20789 wxString *arg2 = 0 ;
ae8162c8 20790 bool temp2 = false ;
d14a1e28
RD
20791 PyObject * obj0 = 0 ;
20792 PyObject * obj1 = 0 ;
20793 char *kwnames[] = {
20794 (char *) "self",(char *) "name", NULL
20795 };
20796
20797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20799 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20800 {
20801 arg2 = wxString_in_helper(obj1);
20802 if (arg2 == NULL) SWIG_fail;
ae8162c8 20803 temp2 = true;
d14a1e28
RD
20804 }
20805 {
20806 PyThreadState* __tstate = wxPyBeginAllowThreads();
20807 (arg1)->SetPrinterName((wxString const &)*arg2);
20808
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 Py_INCREF(Py_None); resultobj = Py_None;
20813 {
20814 if (temp2)
20815 delete arg2;
20816 }
20817 return resultobj;
20818 fail:
20819 {
20820 if (temp2)
20821 delete arg2;
20822 }
20823 return NULL;
20824}
20825
20826
c32bde28 20827static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20828 PyObject *resultobj;
20829 wxPrintData *arg1 = (wxPrintData *) 0 ;
20830 bool arg2 ;
20831 PyObject * obj0 = 0 ;
20832 PyObject * obj1 = 0 ;
20833 char *kwnames[] = {
20834 (char *) "self",(char *) "colour", NULL
20835 };
20836
20837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20839 if (SWIG_arg_fail(1)) SWIG_fail;
20840 {
20841 arg2 = (bool)(SWIG_As_bool(obj1));
20842 if (SWIG_arg_fail(2)) SWIG_fail;
20843 }
d14a1e28
RD
20844 {
20845 PyThreadState* __tstate = wxPyBeginAllowThreads();
20846 (arg1)->SetColour(arg2);
20847
20848 wxPyEndAllowThreads(__tstate);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 }
20851 Py_INCREF(Py_None); resultobj = Py_None;
20852 return resultobj;
20853 fail:
20854 return NULL;
20855}
20856
20857
c32bde28 20858static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20859 PyObject *resultobj;
20860 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20861 wxDuplexMode arg2 ;
d14a1e28 20862 PyObject * obj0 = 0 ;
994141e6 20863 PyObject * obj1 = 0 ;
d14a1e28
RD
20864 char *kwnames[] = {
20865 (char *) "self",(char *) "duplex", NULL
20866 };
20867
994141e6 20868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20870 if (SWIG_arg_fail(1)) SWIG_fail;
20871 {
20872 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
20873 if (SWIG_arg_fail(2)) SWIG_fail;
20874 }
d14a1e28
RD
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 (arg1)->SetDuplex((wxDuplexMode )arg2);
20878
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 Py_INCREF(Py_None); resultobj = Py_None;
20883 return resultobj;
20884 fail:
20885 return NULL;
20886}
20887
20888
c32bde28 20889static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20890 PyObject *resultobj;
20891 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20892 wxPaperSize arg2 ;
d14a1e28 20893 PyObject * obj0 = 0 ;
994141e6 20894 PyObject * obj1 = 0 ;
d14a1e28
RD
20895 char *kwnames[] = {
20896 (char *) "self",(char *) "sizeId", NULL
20897 };
20898
994141e6 20899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20901 if (SWIG_arg_fail(1)) SWIG_fail;
20902 {
20903 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
20904 if (SWIG_arg_fail(2)) SWIG_fail;
20905 }
d14a1e28
RD
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 (arg1)->SetPaperId((wxPaperSize )arg2);
20909
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 Py_INCREF(Py_None); resultobj = Py_None;
20914 return resultobj;
20915 fail:
20916 return NULL;
20917}
20918
20919
c32bde28 20920static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20921 PyObject *resultobj;
20922 wxPrintData *arg1 = (wxPrintData *) 0 ;
20923 wxSize *arg2 = 0 ;
20924 wxSize temp2 ;
20925 PyObject * obj0 = 0 ;
20926 PyObject * obj1 = 0 ;
20927 char *kwnames[] = {
20928 (char *) "self",(char *) "sz", NULL
20929 };
20930
20931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20933 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20934 {
20935 arg2 = &temp2;
20936 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20937 }
20938 {
20939 PyThreadState* __tstate = wxPyBeginAllowThreads();
20940 (arg1)->SetPaperSize((wxSize const &)*arg2);
20941
20942 wxPyEndAllowThreads(__tstate);
20943 if (PyErr_Occurred()) SWIG_fail;
20944 }
20945 Py_INCREF(Py_None); resultobj = Py_None;
20946 return resultobj;
20947 fail:
20948 return NULL;
20949}
20950
20951
c32bde28 20952static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20953 PyObject *resultobj;
20954 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 20955 int arg2 ;
d14a1e28 20956 PyObject * obj0 = 0 ;
994141e6 20957 PyObject * obj1 = 0 ;
d14a1e28
RD
20958 char *kwnames[] = {
20959 (char *) "self",(char *) "quality", NULL
20960 };
20961
994141e6 20962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20964 if (SWIG_arg_fail(1)) SWIG_fail;
20965 {
20966 arg2 = (int)(SWIG_As_int(obj1));
20967 if (SWIG_arg_fail(2)) SWIG_fail;
20968 }
d14a1e28
RD
20969 {
20970 PyThreadState* __tstate = wxPyBeginAllowThreads();
20971 (arg1)->SetQuality(arg2);
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 Py_INCREF(Py_None); resultobj = Py_None;
20977 return resultobj;
20978 fail:
20979 return NULL;
20980}
20981
20982
2ef75293
RD
20983static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20984 PyObject *resultobj;
20985 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20986 wxPrintBin arg2 ;
2ef75293
RD
20987 PyObject * obj0 = 0 ;
20988 PyObject * obj1 = 0 ;
20989 char *kwnames[] = {
20990 (char *) "self",(char *) "bin", NULL
20991 };
20992
20993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20995 if (SWIG_arg_fail(1)) SWIG_fail;
20996 {
20997 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
20998 if (SWIG_arg_fail(2)) SWIG_fail;
20999 }
2ef75293
RD
21000 {
21001 PyThreadState* __tstate = wxPyBeginAllowThreads();
21002 (arg1)->SetBin((wxPrintBin )arg2);
21003
21004 wxPyEndAllowThreads(__tstate);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 Py_INCREF(Py_None); resultobj = Py_None;
21008 return resultobj;
21009 fail:
21010 return NULL;
21011}
21012
21013
d3b6e4ff 21014static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21015 PyObject *resultobj;
21016 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21017 wxPrintMode arg2 ;
d3b6e4ff
RD
21018 PyObject * obj0 = 0 ;
21019 PyObject * obj1 = 0 ;
21020 char *kwnames[] = {
21021 (char *) "self",(char *) "printMode", NULL
21022 };
21023
21024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21026 if (SWIG_arg_fail(1)) SWIG_fail;
21027 {
21028 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
21029 if (SWIG_arg_fail(2)) SWIG_fail;
21030 }
d3b6e4ff
RD
21031 {
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
21033 (arg1)->SetPrintMode((wxPrintMode )arg2);
21034
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 Py_INCREF(Py_None); resultobj = Py_None;
21039 return resultobj;
21040 fail:
21041 return NULL;
21042}
21043
21044
21045static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21046 PyObject *resultobj;
21047 wxPrintData *arg1 = (wxPrintData *) 0 ;
21048 wxString result;
d14a1e28
RD
21049 PyObject * obj0 = 0 ;
21050 char *kwnames[] = {
21051 (char *) "self", NULL
21052 };
21053
d3b6e4ff 21054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
21055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21056 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21057 {
21058 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 21059 result = ((wxPrintData const *)arg1)->GetFilename();
d14a1e28
RD
21060
21061 wxPyEndAllowThreads(__tstate);
21062 if (PyErr_Occurred()) SWIG_fail;
21063 }
cc6dd355
RD
21064 {
21065#if wxUSE_UNICODE
d3b6e4ff 21066 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
cc6dd355 21067#else
d3b6e4ff 21068 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
cc6dd355
RD
21069#endif
21070 }
d14a1e28
RD
21071 return resultobj;
21072 fail:
21073 return NULL;
21074}
21075
21076
d3b6e4ff
RD
21077static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21078 PyObject *resultobj;
21079 wxPrintData *arg1 = (wxPrintData *) 0 ;
21080 wxString *arg2 = 0 ;
21081 bool temp2 = false ;
21082 PyObject * obj0 = 0 ;
21083 PyObject * obj1 = 0 ;
21084 char *kwnames[] = {
21085 (char *) "self",(char *) "filename", NULL
21086 };
21087
21088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21090 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
21091 {
21092 arg2 = wxString_in_helper(obj1);
21093 if (arg2 == NULL) SWIG_fail;
21094 temp2 = true;
21095 }
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 (arg1)->SetFilename((wxString const &)*arg2);
21099
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 Py_INCREF(Py_None); resultobj = Py_None;
21104 {
21105 if (temp2)
21106 delete arg2;
21107 }
21108 return resultobj;
21109 fail:
21110 {
21111 if (temp2)
21112 delete arg2;
21113 }
21114 return NULL;
21115}
21116
21117
21118static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21119 PyObject *resultobj;
21120 wxPrintData *arg1 = (wxPrintData *) 0 ;
21121 wxString *result;
21122 PyObject * obj0 = 0 ;
21123 char *kwnames[] = {
21124 (char *) "self", NULL
21125 };
21126
d3b6e4ff 21127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
21128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21129 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21130 {
21131 PyThreadState* __tstate = wxPyBeginAllowThreads();
21132 {
d3b6e4ff 21133 wxString const &_result_ref = (arg1)->GetPrinterCommand();
d14a1e28
RD
21134 result = (wxString *) &_result_ref;
21135 }
21136
21137 wxPyEndAllowThreads(__tstate);
21138 if (PyErr_Occurred()) SWIG_fail;
21139 }
cc6dd355
RD
21140 {
21141#if wxUSE_UNICODE
21142 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21143#else
21144 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21145#endif
21146 }
d14a1e28
RD
21147 return resultobj;
21148 fail:
21149 return NULL;
21150}
21151
21152
d3b6e4ff 21153static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21154 PyObject *resultobj;
21155 wxPrintData *arg1 = (wxPrintData *) 0 ;
21156 wxString *result;
21157 PyObject * obj0 = 0 ;
21158 char *kwnames[] = {
21159 (char *) "self", NULL
21160 };
21161
d3b6e4ff 21162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
093d3ff1
RD
21163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21164 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21165 {
21166 PyThreadState* __tstate = wxPyBeginAllowThreads();
21167 {
d3b6e4ff 21168 wxString const &_result_ref = (arg1)->GetPrinterOptions();
d14a1e28
RD
21169 result = (wxString *) &_result_ref;
21170 }
21171
21172 wxPyEndAllowThreads(__tstate);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
cc6dd355
RD
21175 {
21176#if wxUSE_UNICODE
21177 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21178#else
21179 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21180#endif
21181 }
d14a1e28
RD
21182 return resultobj;
21183 fail:
21184 return NULL;
21185}
21186
21187
d3b6e4ff 21188static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21189 PyObject *resultobj;
21190 wxPrintData *arg1 = (wxPrintData *) 0 ;
21191 wxString *result;
21192 PyObject * obj0 = 0 ;
21193 char *kwnames[] = {
21194 (char *) "self", NULL
21195 };
21196
d3b6e4ff 21197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
21198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21199 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21200 {
21201 PyThreadState* __tstate = wxPyBeginAllowThreads();
21202 {
d3b6e4ff 21203 wxString const &_result_ref = (arg1)->GetPreviewCommand();
d14a1e28
RD
21204 result = (wxString *) &_result_ref;
21205 }
21206
21207 wxPyEndAllowThreads(__tstate);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 }
cc6dd355
RD
21210 {
21211#if wxUSE_UNICODE
21212 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21213#else
21214 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21215#endif
21216 }
d14a1e28
RD
21217 return resultobj;
21218 fail:
21219 return NULL;
21220}
21221
21222
c32bde28 21223static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21224 PyObject *resultobj;
21225 wxPrintData *arg1 = (wxPrintData *) 0 ;
21226 wxString *result;
21227 PyObject * obj0 = 0 ;
21228 char *kwnames[] = {
21229 (char *) "self", NULL
21230 };
21231
21232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
21233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21234 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 {
21238 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21239 result = (wxString *) &_result_ref;
21240 }
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
cc6dd355
RD
21245 {
21246#if wxUSE_UNICODE
21247 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21248#else
21249 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21250#endif
21251 }
d14a1e28
RD
21252 return resultobj;
21253 fail:
21254 return NULL;
21255}
21256
21257
c32bde28 21258static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21259 PyObject *resultobj;
21260 wxPrintData *arg1 = (wxPrintData *) 0 ;
21261 double result;
21262 PyObject * obj0 = 0 ;
21263 char *kwnames[] = {
21264 (char *) "self", NULL
21265 };
21266
21267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
093d3ff1
RD
21268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21269 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21270 {
21271 PyThreadState* __tstate = wxPyBeginAllowThreads();
21272 result = (double)(arg1)->GetPrinterScaleX();
21273
21274 wxPyEndAllowThreads(__tstate);
21275 if (PyErr_Occurred()) SWIG_fail;
21276 }
093d3ff1
RD
21277 {
21278 resultobj = SWIG_From_double((double)(result));
21279 }
d14a1e28
RD
21280 return resultobj;
21281 fail:
21282 return NULL;
21283}
21284
21285
c32bde28 21286static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21287 PyObject *resultobj;
21288 wxPrintData *arg1 = (wxPrintData *) 0 ;
21289 double result;
21290 PyObject * obj0 = 0 ;
21291 char *kwnames[] = {
21292 (char *) "self", NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
093d3ff1
RD
21296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21297 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21298 {
21299 PyThreadState* __tstate = wxPyBeginAllowThreads();
21300 result = (double)(arg1)->GetPrinterScaleY();
21301
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
093d3ff1
RD
21305 {
21306 resultobj = SWIG_From_double((double)(result));
21307 }
d14a1e28
RD
21308 return resultobj;
21309 fail:
21310 return NULL;
21311}
21312
21313
c32bde28 21314static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21315 PyObject *resultobj;
21316 wxPrintData *arg1 = (wxPrintData *) 0 ;
21317 long result;
21318 PyObject * obj0 = 0 ;
21319 char *kwnames[] = {
21320 (char *) "self", NULL
21321 };
21322
21323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
093d3ff1
RD
21324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21325 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21326 {
21327 PyThreadState* __tstate = wxPyBeginAllowThreads();
21328 result = (long)(arg1)->GetPrinterTranslateX();
21329
21330 wxPyEndAllowThreads(__tstate);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 }
093d3ff1
RD
21333 {
21334 resultobj = SWIG_From_long((long)(result));
21335 }
d14a1e28
RD
21336 return resultobj;
21337 fail:
21338 return NULL;
21339}
21340
21341
c32bde28 21342static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21343 PyObject *resultobj;
21344 wxPrintData *arg1 = (wxPrintData *) 0 ;
21345 long result;
21346 PyObject * obj0 = 0 ;
21347 char *kwnames[] = {
21348 (char *) "self", NULL
21349 };
21350
21351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
093d3ff1
RD
21352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21353 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 result = (long)(arg1)->GetPrinterTranslateY();
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
093d3ff1
RD
21361 {
21362 resultobj = SWIG_From_long((long)(result));
21363 }
d14a1e28
RD
21364 return resultobj;
21365 fail:
21366 return NULL;
21367}
21368
21369
d3b6e4ff 21370static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21371 PyObject *resultobj;
21372 wxPrintData *arg1 = (wxPrintData *) 0 ;
d3b6e4ff
RD
21373 wxString *arg2 = 0 ;
21374 bool temp2 = false ;
d14a1e28 21375 PyObject * obj0 = 0 ;
d3b6e4ff 21376 PyObject * obj1 = 0 ;
d14a1e28 21377 char *kwnames[] = {
d3b6e4ff 21378 (char *) "self",(char *) "command", NULL
d14a1e28
RD
21379 };
21380
d3b6e4ff 21381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21383 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
21384 {
21385 arg2 = wxString_in_helper(obj1);
21386 if (arg2 == NULL) SWIG_fail;
21387 temp2 = true;
21388 }
d14a1e28
RD
21389 {
21390 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 21391 (arg1)->SetPrinterCommand((wxString const &)*arg2);
d14a1e28
RD
21392
21393 wxPyEndAllowThreads(__tstate);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
d3b6e4ff
RD
21396 Py_INCREF(Py_None); resultobj = Py_None;
21397 {
21398 if (temp2)
21399 delete arg2;
21400 }
d14a1e28
RD
21401 return resultobj;
21402 fail:
21403 {
21404 if (temp2)
21405 delete arg2;
21406 }
21407 return NULL;
21408}
21409
21410
c32bde28 21411static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21412 PyObject *resultobj;
21413 wxPrintData *arg1 = (wxPrintData *) 0 ;
21414 wxString *arg2 = 0 ;
ae8162c8 21415 bool temp2 = false ;
d14a1e28
RD
21416 PyObject * obj0 = 0 ;
21417 PyObject * obj1 = 0 ;
21418 char *kwnames[] = {
21419 (char *) "self",(char *) "options", NULL
21420 };
21421
21422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21424 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21425 {
21426 arg2 = wxString_in_helper(obj1);
21427 if (arg2 == NULL) SWIG_fail;
ae8162c8 21428 temp2 = true;
d14a1e28
RD
21429 }
21430 {
21431 PyThreadState* __tstate = wxPyBeginAllowThreads();
21432 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21433
21434 wxPyEndAllowThreads(__tstate);
21435 if (PyErr_Occurred()) SWIG_fail;
21436 }
21437 Py_INCREF(Py_None); resultobj = Py_None;
21438 {
21439 if (temp2)
21440 delete arg2;
21441 }
21442 return resultobj;
21443 fail:
21444 {
21445 if (temp2)
21446 delete arg2;
21447 }
21448 return NULL;
21449}
21450
21451
c32bde28 21452static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21453 PyObject *resultobj;
21454 wxPrintData *arg1 = (wxPrintData *) 0 ;
21455 wxString *arg2 = 0 ;
ae8162c8 21456 bool temp2 = false ;
d14a1e28
RD
21457 PyObject * obj0 = 0 ;
21458 PyObject * obj1 = 0 ;
21459 char *kwnames[] = {
21460 (char *) "self",(char *) "command", NULL
21461 };
21462
21463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21465 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21466 {
21467 arg2 = wxString_in_helper(obj1);
21468 if (arg2 == NULL) SWIG_fail;
ae8162c8 21469 temp2 = true;
d14a1e28
RD
21470 }
21471 {
21472 PyThreadState* __tstate = wxPyBeginAllowThreads();
21473 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21474
21475 wxPyEndAllowThreads(__tstate);
21476 if (PyErr_Occurred()) SWIG_fail;
21477 }
21478 Py_INCREF(Py_None); resultobj = Py_None;
21479 {
21480 if (temp2)
21481 delete arg2;
21482 }
21483 return resultobj;
21484 fail:
21485 {
21486 if (temp2)
21487 delete arg2;
21488 }
21489 return NULL;
21490}
21491
21492
c32bde28 21493static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21494 PyObject *resultobj;
21495 wxPrintData *arg1 = (wxPrintData *) 0 ;
21496 wxString *arg2 = 0 ;
ae8162c8 21497 bool temp2 = false ;
d14a1e28
RD
21498 PyObject * obj0 = 0 ;
21499 PyObject * obj1 = 0 ;
21500 char *kwnames[] = {
21501 (char *) "self",(char *) "path", NULL
21502 };
21503
21504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21506 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21507 {
21508 arg2 = wxString_in_helper(obj1);
21509 if (arg2 == NULL) SWIG_fail;
ae8162c8 21510 temp2 = true;
d14a1e28
RD
21511 }
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 Py_INCREF(Py_None); resultobj = Py_None;
21520 {
21521 if (temp2)
21522 delete arg2;
21523 }
21524 return resultobj;
21525 fail:
21526 {
21527 if (temp2)
21528 delete arg2;
21529 }
21530 return NULL;
21531}
21532
21533
c32bde28 21534static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21535 PyObject *resultobj;
21536 wxPrintData *arg1 = (wxPrintData *) 0 ;
21537 double arg2 ;
21538 PyObject * obj0 = 0 ;
994141e6 21539 PyObject * obj1 = 0 ;
d14a1e28
RD
21540 char *kwnames[] = {
21541 (char *) "self",(char *) "x", NULL
21542 };
21543
994141e6 21544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21546 if (SWIG_arg_fail(1)) SWIG_fail;
21547 {
21548 arg2 = (double)(SWIG_As_double(obj1));
21549 if (SWIG_arg_fail(2)) SWIG_fail;
21550 }
d14a1e28
RD
21551 {
21552 PyThreadState* __tstate = wxPyBeginAllowThreads();
21553 (arg1)->SetPrinterScaleX(arg2);
21554
21555 wxPyEndAllowThreads(__tstate);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 Py_INCREF(Py_None); resultobj = Py_None;
21559 return resultobj;
21560 fail:
21561 return NULL;
21562}
21563
21564
c32bde28 21565static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21566 PyObject *resultobj;
21567 wxPrintData *arg1 = (wxPrintData *) 0 ;
21568 double arg2 ;
21569 PyObject * obj0 = 0 ;
994141e6 21570 PyObject * obj1 = 0 ;
d14a1e28
RD
21571 char *kwnames[] = {
21572 (char *) "self",(char *) "y", NULL
21573 };
21574
994141e6 21575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21577 if (SWIG_arg_fail(1)) SWIG_fail;
21578 {
21579 arg2 = (double)(SWIG_As_double(obj1));
21580 if (SWIG_arg_fail(2)) SWIG_fail;
21581 }
d14a1e28
RD
21582 {
21583 PyThreadState* __tstate = wxPyBeginAllowThreads();
21584 (arg1)->SetPrinterScaleY(arg2);
21585
21586 wxPyEndAllowThreads(__tstate);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
21589 Py_INCREF(Py_None); resultobj = Py_None;
21590 return resultobj;
21591 fail:
21592 return NULL;
21593}
21594
21595
c32bde28 21596static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21597 PyObject *resultobj;
21598 wxPrintData *arg1 = (wxPrintData *) 0 ;
21599 double arg2 ;
21600 double arg3 ;
21601 PyObject * obj0 = 0 ;
994141e6
RD
21602 PyObject * obj1 = 0 ;
21603 PyObject * obj2 = 0 ;
d14a1e28
RD
21604 char *kwnames[] = {
21605 (char *) "self",(char *) "x",(char *) "y", NULL
21606 };
21607
994141e6 21608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21610 if (SWIG_arg_fail(1)) SWIG_fail;
21611 {
21612 arg2 = (double)(SWIG_As_double(obj1));
21613 if (SWIG_arg_fail(2)) SWIG_fail;
21614 }
21615 {
21616 arg3 = (double)(SWIG_As_double(obj2));
21617 if (SWIG_arg_fail(3)) SWIG_fail;
21618 }
d14a1e28
RD
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 (arg1)->SetPrinterScaling(arg2,arg3);
21622
21623 wxPyEndAllowThreads(__tstate);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 }
21626 Py_INCREF(Py_None); resultobj = Py_None;
21627 return resultobj;
21628 fail:
21629 return NULL;
21630}
21631
21632
c32bde28 21633static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21634 PyObject *resultobj;
21635 wxPrintData *arg1 = (wxPrintData *) 0 ;
21636 long arg2 ;
21637 PyObject * obj0 = 0 ;
994141e6 21638 PyObject * obj1 = 0 ;
d14a1e28
RD
21639 char *kwnames[] = {
21640 (char *) "self",(char *) "x", NULL
21641 };
21642
994141e6 21643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21645 if (SWIG_arg_fail(1)) SWIG_fail;
21646 {
21647 arg2 = (long)(SWIG_As_long(obj1));
21648 if (SWIG_arg_fail(2)) SWIG_fail;
21649 }
d14a1e28
RD
21650 {
21651 PyThreadState* __tstate = wxPyBeginAllowThreads();
21652 (arg1)->SetPrinterTranslateX(arg2);
21653
21654 wxPyEndAllowThreads(__tstate);
21655 if (PyErr_Occurred()) SWIG_fail;
21656 }
21657 Py_INCREF(Py_None); resultobj = Py_None;
21658 return resultobj;
21659 fail:
21660 return NULL;
21661}
21662
21663
c32bde28 21664static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21665 PyObject *resultobj;
21666 wxPrintData *arg1 = (wxPrintData *) 0 ;
21667 long arg2 ;
21668 PyObject * obj0 = 0 ;
994141e6 21669 PyObject * obj1 = 0 ;
d14a1e28
RD
21670 char *kwnames[] = {
21671 (char *) "self",(char *) "y", NULL
21672 };
21673
994141e6 21674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21676 if (SWIG_arg_fail(1)) SWIG_fail;
21677 {
21678 arg2 = (long)(SWIG_As_long(obj1));
21679 if (SWIG_arg_fail(2)) SWIG_fail;
21680 }
d14a1e28
RD
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 (arg1)->SetPrinterTranslateY(arg2);
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 Py_INCREF(Py_None); resultobj = Py_None;
21689 return resultobj;
21690 fail:
21691 return NULL;
21692}
21693
21694
c32bde28 21695static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21696 PyObject *resultobj;
21697 wxPrintData *arg1 = (wxPrintData *) 0 ;
21698 long arg2 ;
21699 long arg3 ;
21700 PyObject * obj0 = 0 ;
994141e6
RD
21701 PyObject * obj1 = 0 ;
21702 PyObject * obj2 = 0 ;
d14a1e28
RD
21703 char *kwnames[] = {
21704 (char *) "self",(char *) "x",(char *) "y", NULL
21705 };
21706
994141e6 21707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21709 if (SWIG_arg_fail(1)) SWIG_fail;
21710 {
21711 arg2 = (long)(SWIG_As_long(obj1));
21712 if (SWIG_arg_fail(2)) SWIG_fail;
21713 }
21714 {
21715 arg3 = (long)(SWIG_As_long(obj2));
21716 if (SWIG_arg_fail(3)) SWIG_fail;
21717 }
d14a1e28
RD
21718 {
21719 PyThreadState* __tstate = wxPyBeginAllowThreads();
21720 (arg1)->SetPrinterTranslation(arg2,arg3);
21721
21722 wxPyEndAllowThreads(__tstate);
21723 if (PyErr_Occurred()) SWIG_fail;
21724 }
21725 Py_INCREF(Py_None); resultobj = Py_None;
21726 return resultobj;
21727 fail:
21728 return NULL;
21729}
21730
21731
c32bde28 21732static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21733 PyObject *obj;
21734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21735 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21736 Py_INCREF(obj);
21737 return Py_BuildValue((char *)"");
21738}
c32bde28 21739static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
21740 PyObject *resultobj;
21741 wxPageSetupDialogData *result;
d14a1e28 21742
11207aef 21743 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d14a1e28
RD
21744 {
21745 PyThreadState* __tstate = wxPyBeginAllowThreads();
21746 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21747
21748 wxPyEndAllowThreads(__tstate);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 }
15afbcd0 21751 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
d14a1e28
RD
21752 return resultobj;
21753 fail:
21754 return NULL;
21755}
21756
21757
c32bde28 21758static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
11207aef
RD
21759 PyObject *resultobj;
21760 wxPageSetupDialogData *arg1 = 0 ;
21761 wxPageSetupDialogData *result;
21762 PyObject * obj0 = 0 ;
21763
21764 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
093d3ff1
RD
21765 {
21766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21767 if (SWIG_arg_fail(1)) SWIG_fail;
21768 if (arg1 == NULL) {
21769 SWIG_null_ref("wxPageSetupDialogData");
21770 }
21771 if (SWIG_arg_fail(1)) SWIG_fail;
11207aef
RD
21772 }
21773 {
21774 PyThreadState* __tstate = wxPyBeginAllowThreads();
21775 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21776
21777 wxPyEndAllowThreads(__tstate);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 }
21780 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21781 return resultobj;
21782 fail:
21783 return NULL;
21784}
21785
21786
7557b9b5
RD
21787static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21788 PyObject *resultobj;
21789 wxPrintData *arg1 = 0 ;
21790 wxPageSetupDialogData *result;
21791 PyObject * obj0 = 0 ;
21792
21793 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21794 {
21795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21796 if (SWIG_arg_fail(1)) SWIG_fail;
21797 if (arg1 == NULL) {
21798 SWIG_null_ref("wxPrintData");
21799 }
21800 if (SWIG_arg_fail(1)) SWIG_fail;
21801 }
21802 {
21803 PyThreadState* __tstate = wxPyBeginAllowThreads();
21804 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21805
21806 wxPyEndAllowThreads(__tstate);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 }
21809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21810 return resultobj;
21811 fail:
21812 return NULL;
21813}
21814
21815
11207aef
RD
21816static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21817 int argc;
21818 PyObject *argv[2];
21819 int ii;
21820
21821 argc = PyObject_Length(args);
21822 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21823 argv[ii] = PyTuple_GetItem(args,ii);
21824 }
21825 if (argc == 0) {
21826 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21827 }
21828 if (argc == 1) {
21829 int _v;
21830 {
093d3ff1 21831 void *ptr = 0;
11207aef
RD
21832 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21833 _v = 0;
21834 PyErr_Clear();
21835 } else {
093d3ff1 21836 _v = (ptr != 0);
11207aef
RD
21837 }
21838 }
21839 if (_v) {
21840 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21841 }
21842 }
7557b9b5
RD
21843 if (argc == 1) {
21844 int _v;
21845 {
21846 void *ptr = 0;
21847 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
21848 _v = 0;
21849 PyErr_Clear();
21850 } else {
21851 _v = (ptr != 0);
21852 }
21853 }
21854 if (_v) {
21855 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
21856 }
21857 }
11207aef 21858
093d3ff1 21859 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
11207aef
RD
21860 return NULL;
21861}
21862
21863
c32bde28 21864static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21865 PyObject *resultobj;
21866 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21867 PyObject * obj0 = 0 ;
21868 char *kwnames[] = {
21869 (char *) "self", NULL
21870 };
21871
21872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
21873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21874 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21875 {
21876 PyThreadState* __tstate = wxPyBeginAllowThreads();
21877 delete arg1;
21878
21879 wxPyEndAllowThreads(__tstate);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 Py_INCREF(Py_None); resultobj = Py_None;
21883 return resultobj;
21884 fail:
21885 return NULL;
21886}
21887
21888
c32bde28 21889static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21890 PyObject *resultobj;
21891 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21892 bool arg2 ;
21893 PyObject * obj0 = 0 ;
21894 PyObject * obj1 = 0 ;
21895 char *kwnames[] = {
21896 (char *) "self",(char *) "flag", NULL
21897 };
21898
21899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21901 if (SWIG_arg_fail(1)) SWIG_fail;
21902 {
21903 arg2 = (bool)(SWIG_As_bool(obj1));
21904 if (SWIG_arg_fail(2)) SWIG_fail;
21905 }
d14a1e28
RD
21906 {
21907 PyThreadState* __tstate = wxPyBeginAllowThreads();
21908 (arg1)->EnableHelp(arg2);
21909
21910 wxPyEndAllowThreads(__tstate);
21911 if (PyErr_Occurred()) SWIG_fail;
21912 }
21913 Py_INCREF(Py_None); resultobj = Py_None;
21914 return resultobj;
21915 fail:
21916 return NULL;
21917}
21918
21919
c32bde28 21920static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21921 PyObject *resultobj;
21922 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21923 bool arg2 ;
21924 PyObject * obj0 = 0 ;
21925 PyObject * obj1 = 0 ;
21926 char *kwnames[] = {
21927 (char *) "self",(char *) "flag", NULL
21928 };
21929
21930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21932 if (SWIG_arg_fail(1)) SWIG_fail;
21933 {
21934 arg2 = (bool)(SWIG_As_bool(obj1));
21935 if (SWIG_arg_fail(2)) SWIG_fail;
21936 }
d14a1e28
RD
21937 {
21938 PyThreadState* __tstate = wxPyBeginAllowThreads();
21939 (arg1)->EnableMargins(arg2);
21940
21941 wxPyEndAllowThreads(__tstate);
21942 if (PyErr_Occurred()) SWIG_fail;
21943 }
21944 Py_INCREF(Py_None); resultobj = Py_None;
21945 return resultobj;
21946 fail:
21947 return NULL;
21948}
21949
21950
c32bde28 21951static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21952 PyObject *resultobj;
21953 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21954 bool arg2 ;
21955 PyObject * obj0 = 0 ;
21956 PyObject * obj1 = 0 ;
21957 char *kwnames[] = {
21958 (char *) "self",(char *) "flag", NULL
21959 };
21960
21961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21963 if (SWIG_arg_fail(1)) SWIG_fail;
21964 {
21965 arg2 = (bool)(SWIG_As_bool(obj1));
21966 if (SWIG_arg_fail(2)) SWIG_fail;
21967 }
d14a1e28
RD
21968 {
21969 PyThreadState* __tstate = wxPyBeginAllowThreads();
21970 (arg1)->EnableOrientation(arg2);
21971
21972 wxPyEndAllowThreads(__tstate);
21973 if (PyErr_Occurred()) SWIG_fail;
21974 }
21975 Py_INCREF(Py_None); resultobj = Py_None;
21976 return resultobj;
21977 fail:
21978 return NULL;
21979}
21980
21981
c32bde28 21982static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21983 PyObject *resultobj;
21984 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21985 bool arg2 ;
21986 PyObject * obj0 = 0 ;
21987 PyObject * obj1 = 0 ;
21988 char *kwnames[] = {
21989 (char *) "self",(char *) "flag", NULL
21990 };
21991
21992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21994 if (SWIG_arg_fail(1)) SWIG_fail;
21995 {
21996 arg2 = (bool)(SWIG_As_bool(obj1));
21997 if (SWIG_arg_fail(2)) SWIG_fail;
21998 }
d14a1e28
RD
21999 {
22000 PyThreadState* __tstate = wxPyBeginAllowThreads();
22001 (arg1)->EnablePaper(arg2);
22002
22003 wxPyEndAllowThreads(__tstate);
22004 if (PyErr_Occurred()) SWIG_fail;
22005 }
22006 Py_INCREF(Py_None); resultobj = Py_None;
22007 return resultobj;
22008 fail:
22009 return NULL;
22010}
22011
22012
c32bde28 22013static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22014 PyObject *resultobj;
22015 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22016 bool arg2 ;
22017 PyObject * obj0 = 0 ;
22018 PyObject * obj1 = 0 ;
22019 char *kwnames[] = {
22020 (char *) "self",(char *) "flag", NULL
22021 };
22022
22023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22025 if (SWIG_arg_fail(1)) SWIG_fail;
22026 {
22027 arg2 = (bool)(SWIG_As_bool(obj1));
22028 if (SWIG_arg_fail(2)) SWIG_fail;
22029 }
d14a1e28
RD
22030 {
22031 PyThreadState* __tstate = wxPyBeginAllowThreads();
22032 (arg1)->EnablePrinter(arg2);
22033
22034 wxPyEndAllowThreads(__tstate);
22035 if (PyErr_Occurred()) SWIG_fail;
22036 }
22037 Py_INCREF(Py_None); resultobj = Py_None;
22038 return resultobj;
22039 fail:
22040 return NULL;
22041}
22042
22043
c32bde28 22044static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22045 PyObject *resultobj;
22046 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22047 bool result;
22048 PyObject * obj0 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
22054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22055 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22056 {
22057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22058 result = (bool)(arg1)->GetDefaultMinMargins();
22059
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
4f89f6a3
RD
22063 {
22064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22065 }
d14a1e28
RD
22066 return resultobj;
22067 fail:
22068 return NULL;
22069}
22070
22071
c32bde28 22072static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22073 PyObject *resultobj;
22074 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22075 bool result;
22076 PyObject * obj0 = 0 ;
22077 char *kwnames[] = {
22078 (char *) "self", NULL
22079 };
22080
22081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
22082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22083 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22084 {
22085 PyThreadState* __tstate = wxPyBeginAllowThreads();
22086 result = (bool)(arg1)->GetEnableMargins();
22087
22088 wxPyEndAllowThreads(__tstate);
22089 if (PyErr_Occurred()) SWIG_fail;
22090 }
4f89f6a3
RD
22091 {
22092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22093 }
d14a1e28
RD
22094 return resultobj;
22095 fail:
22096 return NULL;
22097}
22098
22099
c32bde28 22100static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22101 PyObject *resultobj;
22102 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22103 bool result;
22104 PyObject * obj0 = 0 ;
22105 char *kwnames[] = {
22106 (char *) "self", NULL
22107 };
22108
22109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
22110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22111 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22112 {
22113 PyThreadState* __tstate = wxPyBeginAllowThreads();
22114 result = (bool)(arg1)->GetEnableOrientation();
22115
22116 wxPyEndAllowThreads(__tstate);
22117 if (PyErr_Occurred()) SWIG_fail;
22118 }
4f89f6a3
RD
22119 {
22120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22121 }
d14a1e28
RD
22122 return resultobj;
22123 fail:
22124 return NULL;
22125}
22126
22127
c32bde28 22128static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22129 PyObject *resultobj;
22130 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22131 bool result;
22132 PyObject * obj0 = 0 ;
22133 char *kwnames[] = {
22134 (char *) "self", NULL
22135 };
22136
22137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
093d3ff1
RD
22138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22139 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22140 {
22141 PyThreadState* __tstate = wxPyBeginAllowThreads();
22142 result = (bool)(arg1)->GetEnablePaper();
22143
22144 wxPyEndAllowThreads(__tstate);
22145 if (PyErr_Occurred()) SWIG_fail;
22146 }
4f89f6a3
RD
22147 {
22148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22149 }
d14a1e28
RD
22150 return resultobj;
22151 fail:
22152 return NULL;
22153}
22154
22155
c32bde28 22156static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22157 PyObject *resultobj;
22158 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22159 bool result;
22160 PyObject * obj0 = 0 ;
22161 char *kwnames[] = {
22162 (char *) "self", NULL
22163 };
22164
22165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
22166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22167 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 result = (bool)(arg1)->GetEnablePrinter();
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
4f89f6a3
RD
22175 {
22176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22177 }
d14a1e28
RD
22178 return resultobj;
22179 fail:
22180 return NULL;
22181}
22182
22183
c32bde28 22184static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22185 PyObject *resultobj;
22186 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22187 bool result;
22188 PyObject * obj0 = 0 ;
22189 char *kwnames[] = {
22190 (char *) "self", NULL
22191 };
22192
22193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
22194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22195 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22196 {
22197 PyThreadState* __tstate = wxPyBeginAllowThreads();
22198 result = (bool)(arg1)->GetEnableHelp();
22199
22200 wxPyEndAllowThreads(__tstate);
22201 if (PyErr_Occurred()) SWIG_fail;
22202 }
4f89f6a3
RD
22203 {
22204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22205 }
d14a1e28
RD
22206 return resultobj;
22207 fail:
22208 return NULL;
22209}
22210
22211
c32bde28 22212static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22213 PyObject *resultobj;
22214 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22215 bool result;
22216 PyObject * obj0 = 0 ;
22217 char *kwnames[] = {
22218 (char *) "self", NULL
22219 };
22220
22221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
22222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22223 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22224 {
22225 PyThreadState* __tstate = wxPyBeginAllowThreads();
22226 result = (bool)(arg1)->GetDefaultInfo();
22227
22228 wxPyEndAllowThreads(__tstate);
22229 if (PyErr_Occurred()) SWIG_fail;
22230 }
4f89f6a3
RD
22231 {
22232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22233 }
d14a1e28
RD
22234 return resultobj;
22235 fail:
22236 return NULL;
22237}
22238
22239
c32bde28 22240static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22241 PyObject *resultobj;
22242 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22243 wxPoint result;
22244 PyObject * obj0 = 0 ;
22245 char *kwnames[] = {
22246 (char *) "self", NULL
22247 };
22248
22249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22251 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22252 {
22253 PyThreadState* __tstate = wxPyBeginAllowThreads();
22254 result = (arg1)->GetMarginTopLeft();
22255
22256 wxPyEndAllowThreads(__tstate);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 }
22259 {
22260 wxPoint * resultptr;
093d3ff1 22261 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 22262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22263 }
22264 return resultobj;
22265 fail:
22266 return NULL;
22267}
22268
22269
c32bde28 22270static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22271 PyObject *resultobj;
22272 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22273 wxPoint result;
22274 PyObject * obj0 = 0 ;
22275 char *kwnames[] = {
22276 (char *) "self", NULL
22277 };
22278
22279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22281 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22282 {
22283 PyThreadState* __tstate = wxPyBeginAllowThreads();
22284 result = (arg1)->GetMarginBottomRight();
22285
22286 wxPyEndAllowThreads(__tstate);
22287 if (PyErr_Occurred()) SWIG_fail;
22288 }
22289 {
22290 wxPoint * resultptr;
093d3ff1 22291 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 22292 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22293 }
22294 return resultobj;
22295 fail:
22296 return NULL;
22297}
22298
22299
c32bde28 22300static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22301 PyObject *resultobj;
22302 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22303 wxPoint result;
22304 PyObject * obj0 = 0 ;
22305 char *kwnames[] = {
22306 (char *) "self", NULL
22307 };
22308
22309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22311 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22312 {
22313 PyThreadState* __tstate = wxPyBeginAllowThreads();
22314 result = (arg1)->GetMinMarginTopLeft();
22315
22316 wxPyEndAllowThreads(__tstate);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 }
22319 {
22320 wxPoint * resultptr;
093d3ff1 22321 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 22322 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22323 }
22324 return resultobj;
22325 fail:
22326 return NULL;
22327}
22328
22329
c32bde28 22330static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22331 PyObject *resultobj;
22332 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22333 wxPoint result;
22334 PyObject * obj0 = 0 ;
22335 char *kwnames[] = {
22336 (char *) "self", NULL
22337 };
22338
22339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22341 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22342 {
22343 PyThreadState* __tstate = wxPyBeginAllowThreads();
22344 result = (arg1)->GetMinMarginBottomRight();
22345
22346 wxPyEndAllowThreads(__tstate);
22347 if (PyErr_Occurred()) SWIG_fail;
22348 }
22349 {
22350 wxPoint * resultptr;
093d3ff1 22351 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 22352 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22353 }
22354 return resultobj;
22355 fail:
22356 return NULL;
22357}
22358
22359
c32bde28 22360static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22361 PyObject *resultobj;
22362 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22363 wxPaperSize result;
d14a1e28
RD
22364 PyObject * obj0 = 0 ;
22365 char *kwnames[] = {
22366 (char *) "self", NULL
22367 };
22368
22369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
22370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22371 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22372 {
22373 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22374 result = (wxPaperSize)(arg1)->GetPaperId();
d14a1e28
RD
22375
22376 wxPyEndAllowThreads(__tstate);
22377 if (PyErr_Occurred()) SWIG_fail;
22378 }
093d3ff1 22379 resultobj = SWIG_From_int((result));
d14a1e28
RD
22380 return resultobj;
22381 fail:
22382 return NULL;
22383}
22384
22385
c32bde28 22386static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22387 PyObject *resultobj;
22388 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22389 wxSize result;
22390 PyObject * obj0 = 0 ;
22391 char *kwnames[] = {
22392 (char *) "self", NULL
22393 };
22394
22395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22397 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22398 {
22399 PyThreadState* __tstate = wxPyBeginAllowThreads();
22400 result = (arg1)->GetPaperSize();
22401
22402 wxPyEndAllowThreads(__tstate);
22403 if (PyErr_Occurred()) SWIG_fail;
22404 }
22405 {
22406 wxSize * resultptr;
093d3ff1 22407 resultptr = new wxSize((wxSize &)(result));
15afbcd0 22408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22409 }
22410 return resultobj;
22411 fail:
22412 return NULL;
22413}
22414
22415
c32bde28 22416static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22417 PyObject *resultobj;
22418 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22419 wxPrintData *result;
22420 PyObject * obj0 = 0 ;
22421 char *kwnames[] = {
22422 (char *) "self", NULL
22423 };
22424
22425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22427 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22428 {
22429 PyThreadState* __tstate = wxPyBeginAllowThreads();
22430 {
22431 wxPrintData &_result_ref = (arg1)->GetPrintData();
22432 result = (wxPrintData *) &_result_ref;
22433 }
22434
22435 wxPyEndAllowThreads(__tstate);
22436 if (PyErr_Occurred()) SWIG_fail;
22437 }
15afbcd0 22438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
22439 return resultobj;
22440 fail:
22441 return NULL;
22442}
22443
22444
c32bde28 22445static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22446 PyObject *resultobj;
22447 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22448 bool result;
22449 PyObject * obj0 = 0 ;
22450 char *kwnames[] = {
22451 (char *) "self", NULL
22452 };
22453
22454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
22455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22456 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22457 {
22458 PyThreadState* __tstate = wxPyBeginAllowThreads();
22459 result = (bool)(arg1)->Ok();
22460
22461 wxPyEndAllowThreads(__tstate);
22462 if (PyErr_Occurred()) SWIG_fail;
22463 }
4f89f6a3
RD
22464 {
22465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22466 }
d14a1e28
RD
22467 return resultobj;
22468 fail:
22469 return NULL;
22470}
22471
22472
c32bde28 22473static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22474 PyObject *resultobj;
22475 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22476 bool arg2 ;
22477 PyObject * obj0 = 0 ;
22478 PyObject * obj1 = 0 ;
22479 char *kwnames[] = {
22480 (char *) "self",(char *) "flag", NULL
22481 };
22482
22483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22485 if (SWIG_arg_fail(1)) SWIG_fail;
22486 {
22487 arg2 = (bool)(SWIG_As_bool(obj1));
22488 if (SWIG_arg_fail(2)) SWIG_fail;
22489 }
d14a1e28
RD
22490 {
22491 PyThreadState* __tstate = wxPyBeginAllowThreads();
22492 (arg1)->SetDefaultInfo(arg2);
22493
22494 wxPyEndAllowThreads(__tstate);
22495 if (PyErr_Occurred()) SWIG_fail;
22496 }
22497 Py_INCREF(Py_None); resultobj = Py_None;
22498 return resultobj;
22499 fail:
22500 return NULL;
22501}
22502
22503
c32bde28 22504static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22505 PyObject *resultobj;
22506 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22507 bool arg2 ;
22508 PyObject * obj0 = 0 ;
22509 PyObject * obj1 = 0 ;
22510 char *kwnames[] = {
22511 (char *) "self",(char *) "flag", NULL
22512 };
22513
22514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22516 if (SWIG_arg_fail(1)) SWIG_fail;
22517 {
22518 arg2 = (bool)(SWIG_As_bool(obj1));
22519 if (SWIG_arg_fail(2)) SWIG_fail;
22520 }
d14a1e28
RD
22521 {
22522 PyThreadState* __tstate = wxPyBeginAllowThreads();
22523 (arg1)->SetDefaultMinMargins(arg2);
22524
22525 wxPyEndAllowThreads(__tstate);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 }
22528 Py_INCREF(Py_None); resultobj = Py_None;
22529 return resultobj;
22530 fail:
22531 return NULL;
22532}
22533
22534
c32bde28 22535static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22536 PyObject *resultobj;
22537 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22538 wxPoint *arg2 = 0 ;
22539 wxPoint temp2 ;
22540 PyObject * obj0 = 0 ;
22541 PyObject * obj1 = 0 ;
22542 char *kwnames[] = {
22543 (char *) "self",(char *) "pt", NULL
22544 };
22545
22546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22548 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22549 {
22550 arg2 = &temp2;
22551 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22552 }
22553 {
22554 PyThreadState* __tstate = wxPyBeginAllowThreads();
22555 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22556
22557 wxPyEndAllowThreads(__tstate);
22558 if (PyErr_Occurred()) SWIG_fail;
22559 }
22560 Py_INCREF(Py_None); resultobj = Py_None;
22561 return resultobj;
22562 fail:
22563 return NULL;
22564}
22565
22566
c32bde28 22567static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22568 PyObject *resultobj;
22569 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22570 wxPoint *arg2 = 0 ;
22571 wxPoint temp2 ;
22572 PyObject * obj0 = 0 ;
22573 PyObject * obj1 = 0 ;
22574 char *kwnames[] = {
22575 (char *) "self",(char *) "pt", NULL
22576 };
22577
22578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22580 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22581 {
22582 arg2 = &temp2;
22583 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22584 }
22585 {
22586 PyThreadState* __tstate = wxPyBeginAllowThreads();
22587 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22588
22589 wxPyEndAllowThreads(__tstate);
22590 if (PyErr_Occurred()) SWIG_fail;
22591 }
22592 Py_INCREF(Py_None); resultobj = Py_None;
22593 return resultobj;
22594 fail:
22595 return NULL;
22596}
22597
22598
c32bde28 22599static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22600 PyObject *resultobj;
22601 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22602 wxPoint *arg2 = 0 ;
22603 wxPoint temp2 ;
22604 PyObject * obj0 = 0 ;
22605 PyObject * obj1 = 0 ;
22606 char *kwnames[] = {
22607 (char *) "self",(char *) "pt", NULL
22608 };
22609
22610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22612 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22613 {
22614 arg2 = &temp2;
22615 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22616 }
22617 {
22618 PyThreadState* __tstate = wxPyBeginAllowThreads();
22619 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22620
22621 wxPyEndAllowThreads(__tstate);
22622 if (PyErr_Occurred()) SWIG_fail;
22623 }
22624 Py_INCREF(Py_None); resultobj = Py_None;
22625 return resultobj;
22626 fail:
22627 return NULL;
22628}
22629
22630
c32bde28 22631static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22632 PyObject *resultobj;
22633 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22634 wxPoint *arg2 = 0 ;
22635 wxPoint temp2 ;
22636 PyObject * obj0 = 0 ;
22637 PyObject * obj1 = 0 ;
22638 char *kwnames[] = {
22639 (char *) "self",(char *) "pt", NULL
22640 };
22641
22642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22644 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22645 {
22646 arg2 = &temp2;
22647 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22648 }
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22652
22653 wxPyEndAllowThreads(__tstate);
22654 if (PyErr_Occurred()) SWIG_fail;
22655 }
22656 Py_INCREF(Py_None); resultobj = Py_None;
22657 return resultobj;
22658 fail:
22659 return NULL;
22660}
22661
22662
c32bde28 22663static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22664 PyObject *resultobj;
22665 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22666 wxPaperSize arg2 ;
d14a1e28 22667 PyObject * obj0 = 0 ;
994141e6 22668 PyObject * obj1 = 0 ;
d14a1e28
RD
22669 char *kwnames[] = {
22670 (char *) "self",(char *) "id", NULL
22671 };
22672
994141e6 22673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22675 if (SWIG_arg_fail(1)) SWIG_fail;
22676 {
22677 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22678 if (SWIG_arg_fail(2)) SWIG_fail;
22679 }
d14a1e28
RD
22680 {
22681 PyThreadState* __tstate = wxPyBeginAllowThreads();
22682 (arg1)->SetPaperId((wxPaperSize )arg2);
22683
22684 wxPyEndAllowThreads(__tstate);
22685 if (PyErr_Occurred()) SWIG_fail;
22686 }
22687 Py_INCREF(Py_None); resultobj = Py_None;
22688 return resultobj;
22689 fail:
22690 return NULL;
22691}
22692
22693
c32bde28 22694static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22695 PyObject *resultobj;
22696 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22697 wxSize *arg2 = 0 ;
22698 wxSize temp2 ;
22699 PyObject * obj0 = 0 ;
22700 PyObject * obj1 = 0 ;
22701 char *kwnames[] = {
22702 (char *) "self",(char *) "size", NULL
22703 };
22704
22705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22707 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22708 {
22709 arg2 = &temp2;
22710 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22711 }
22712 {
22713 PyThreadState* __tstate = wxPyBeginAllowThreads();
22714 (arg1)->SetPaperSize((wxSize const &)*arg2);
22715
22716 wxPyEndAllowThreads(__tstate);
22717 if (PyErr_Occurred()) SWIG_fail;
22718 }
22719 Py_INCREF(Py_None); resultobj = Py_None;
22720 return resultobj;
22721 fail:
22722 return NULL;
22723}
22724
22725
c32bde28 22726static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22727 PyObject *resultobj;
22728 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22729 wxPrintData *arg2 = 0 ;
22730 PyObject * obj0 = 0 ;
22731 PyObject * obj1 = 0 ;
22732 char *kwnames[] = {
22733 (char *) "self",(char *) "printData", NULL
22734 };
22735
22736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22738 if (SWIG_arg_fail(1)) SWIG_fail;
22739 {
22740 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22741 if (SWIG_arg_fail(2)) SWIG_fail;
22742 if (arg2 == NULL) {
22743 SWIG_null_ref("wxPrintData");
22744 }
22745 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22746 }
22747 {
22748 PyThreadState* __tstate = wxPyBeginAllowThreads();
22749 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22750
22751 wxPyEndAllowThreads(__tstate);
22752 if (PyErr_Occurred()) SWIG_fail;
22753 }
22754 Py_INCREF(Py_None); resultobj = Py_None;
22755 return resultobj;
22756 fail:
22757 return NULL;
22758}
22759
22760
7557b9b5
RD
22761static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22762 PyObject *resultobj;
22763 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22764 PyObject * obj0 = 0 ;
22765 char *kwnames[] = {
22766 (char *) "self", NULL
22767 };
22768
22769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22771 if (SWIG_arg_fail(1)) SWIG_fail;
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 (arg1)->CalculateIdFromPaperSize();
22775
22776 wxPyEndAllowThreads(__tstate);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 Py_INCREF(Py_None); resultobj = Py_None;
22780 return resultobj;
22781 fail:
22782 return NULL;
22783}
22784
22785
22786static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22787 PyObject *resultobj;
22788 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22789 PyObject * obj0 = 0 ;
22790 char *kwnames[] = {
22791 (char *) "self", NULL
22792 };
22793
22794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22796 if (SWIG_arg_fail(1)) SWIG_fail;
22797 {
22798 PyThreadState* __tstate = wxPyBeginAllowThreads();
22799 (arg1)->CalculatePaperSizeFromId();
22800
22801 wxPyEndAllowThreads(__tstate);
22802 if (PyErr_Occurred()) SWIG_fail;
22803 }
22804 Py_INCREF(Py_None); resultobj = Py_None;
22805 return resultobj;
22806 fail:
22807 return NULL;
22808}
22809
22810
c32bde28 22811static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22812 PyObject *obj;
22813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22814 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22815 Py_INCREF(obj);
22816 return Py_BuildValue((char *)"");
22817}
c32bde28 22818static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22819 PyObject *resultobj;
22820 wxWindow *arg1 = (wxWindow *) 0 ;
22821 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22822 wxPageSetupDialog *result;
22823 PyObject * obj0 = 0 ;
22824 PyObject * obj1 = 0 ;
22825 char *kwnames[] = {
22826 (char *) "parent",(char *) "data", NULL
22827 };
22828
22829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22831 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 22832 if (obj1) {
093d3ff1
RD
22833 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22834 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22835 }
22836 {
e3b71cb8 22837 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22838 PyThreadState* __tstate = wxPyBeginAllowThreads();
22839 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22840
22841 wxPyEndAllowThreads(__tstate);
110da5b0 22842 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22843 }
15afbcd0 22844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
d14a1e28
RD
22845 return resultobj;
22846 fail:
22847 return NULL;
22848}
22849
22850
c32bde28 22851static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22852 PyObject *resultobj;
22853 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22854 wxPageSetupDialogData *result;
22855 PyObject * obj0 = 0 ;
22856 char *kwnames[] = {
22857 (char *) "self", NULL
22858 };
22859
22860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22862 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22863 {
22864 PyThreadState* __tstate = wxPyBeginAllowThreads();
22865 {
22866 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22867 result = (wxPageSetupDialogData *) &_result_ref;
22868 }
22869
22870 wxPyEndAllowThreads(__tstate);
22871 if (PyErr_Occurred()) SWIG_fail;
22872 }
15afbcd0 22873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
22874 return resultobj;
22875 fail:
22876 return NULL;
22877}
22878
22879
8ac8dba0
RD
22880static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22881 PyObject *resultobj;
22882 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22883 wxPageSetupDialogData *result;
22884 PyObject * obj0 = 0 ;
22885 char *kwnames[] = {
22886 (char *) "self", NULL
22887 };
22888
22889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22891 if (SWIG_arg_fail(1)) SWIG_fail;
8ac8dba0
RD
22892 {
22893 PyThreadState* __tstate = wxPyBeginAllowThreads();
22894 {
22895 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22896 result = (wxPageSetupDialogData *) &_result_ref;
22897 }
22898
22899 wxPyEndAllowThreads(__tstate);
22900 if (PyErr_Occurred()) SWIG_fail;
22901 }
22902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22903 return resultobj;
22904 fail:
22905 return NULL;
22906}
22907
22908
c32bde28 22909static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22910 PyObject *resultobj;
22911 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22912 int result;
22913 PyObject * obj0 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
22919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22920 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 result = (int)(arg1)->ShowModal();
22924
22925 wxPyEndAllowThreads(__tstate);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 }
093d3ff1
RD
22928 {
22929 resultobj = SWIG_From_int((int)(result));
22930 }
d14a1e28
RD
22931 return resultobj;
22932 fail:
22933 return NULL;
22934}
22935
22936
c32bde28 22937static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22938 PyObject *obj;
22939 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22940 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22941 Py_INCREF(obj);
22942 return Py_BuildValue((char *)"");
22943}
c32bde28 22944static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
22945 PyObject *resultobj;
22946 wxPrintDialogData *result;
d14a1e28 22947
4276dc52 22948 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
d14a1e28
RD
22949 {
22950 PyThreadState* __tstate = wxPyBeginAllowThreads();
22951 result = (wxPrintDialogData *)new wxPrintDialogData();
22952
22953 wxPyEndAllowThreads(__tstate);
22954 if (PyErr_Occurred()) SWIG_fail;
22955 }
15afbcd0 22956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
d14a1e28
RD
22957 return resultobj;
22958 fail:
22959 return NULL;
22960}
22961
22962
c32bde28 22963static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
22964 PyObject *resultobj;
22965 wxPrintData *arg1 = 0 ;
22966 wxPrintDialogData *result;
22967 PyObject * obj0 = 0 ;
22968
22969 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
093d3ff1
RD
22970 {
22971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22972 if (SWIG_arg_fail(1)) SWIG_fail;
22973 if (arg1 == NULL) {
22974 SWIG_null_ref("wxPrintData");
22975 }
22976 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
22977 }
22978 {
22979 PyThreadState* __tstate = wxPyBeginAllowThreads();
22980 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22981
22982 wxPyEndAllowThreads(__tstate);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 }
22985 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22986 return resultobj;
22987 fail:
22988 return NULL;
22989}
22990
22991
7557b9b5
RD
22992static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
22993 PyObject *resultobj;
22994 wxPrintDialogData *arg1 = 0 ;
22995 wxPrintDialogData *result;
22996 PyObject * obj0 = 0 ;
22997
22998 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
22999 {
23000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23001 if (SWIG_arg_fail(1)) SWIG_fail;
23002 if (arg1 == NULL) {
23003 SWIG_null_ref("wxPrintDialogData");
23004 }
23005 if (SWIG_arg_fail(1)) SWIG_fail;
23006 }
23007 {
23008 PyThreadState* __tstate = wxPyBeginAllowThreads();
23009 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
23010
23011 wxPyEndAllowThreads(__tstate);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 }
23014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23015 return resultobj;
23016 fail:
23017 return NULL;
23018}
23019
23020
4276dc52
RD
23021static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
23022 int argc;
23023 PyObject *argv[2];
23024 int ii;
23025
23026 argc = PyObject_Length(args);
23027 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
23028 argv[ii] = PyTuple_GetItem(args,ii);
23029 }
23030 if (argc == 0) {
23031 return _wrap_new_PrintDialogData__SWIG_0(self,args);
23032 }
23033 if (argc == 1) {
23034 int _v;
23035 {
093d3ff1 23036 void *ptr = 0;
4276dc52
RD
23037 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23038 _v = 0;
23039 PyErr_Clear();
23040 } else {
093d3ff1 23041 _v = (ptr != 0);
4276dc52
RD
23042 }
23043 }
23044 if (_v) {
23045 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23046 }
23047 }
7557b9b5
RD
23048 if (argc == 1) {
23049 int _v;
23050 {
23051 void *ptr = 0;
23052 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23053 _v = 0;
23054 PyErr_Clear();
23055 } else {
23056 _v = (ptr != 0);
23057 }
23058 }
23059 if (_v) {
23060 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23061 }
23062 }
4276dc52 23063
093d3ff1 23064 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
4276dc52
RD
23065 return NULL;
23066}
23067
23068
c32bde28 23069static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23070 PyObject *resultobj;
23071 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23072 PyObject * obj0 = 0 ;
23073 char *kwnames[] = {
23074 (char *) "self", NULL
23075 };
23076
23077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23079 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23080 {
23081 PyThreadState* __tstate = wxPyBeginAllowThreads();
23082 delete arg1;
23083
23084 wxPyEndAllowThreads(__tstate);
23085 if (PyErr_Occurred()) SWIG_fail;
23086 }
23087 Py_INCREF(Py_None); resultobj = Py_None;
23088 return resultobj;
23089 fail:
23090 return NULL;
23091}
23092
23093
c32bde28 23094static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23095 PyObject *resultobj;
23096 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23097 int result;
23098 PyObject * obj0 = 0 ;
23099 char *kwnames[] = {
23100 (char *) "self", NULL
23101 };
23102
23103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23105 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23106 {
23107 PyThreadState* __tstate = wxPyBeginAllowThreads();
23108 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23109
23110 wxPyEndAllowThreads(__tstate);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 }
093d3ff1
RD
23113 {
23114 resultobj = SWIG_From_int((int)(result));
23115 }
d14a1e28
RD
23116 return resultobj;
23117 fail:
23118 return NULL;
23119}
23120
23121
c32bde28 23122static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23123 PyObject *resultobj;
23124 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23125 int result;
23126 PyObject * obj0 = 0 ;
23127 char *kwnames[] = {
23128 (char *) "self", NULL
23129 };
23130
23131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23133 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23134 {
23135 PyThreadState* __tstate = wxPyBeginAllowThreads();
23136 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23137
23138 wxPyEndAllowThreads(__tstate);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
093d3ff1
RD
23141 {
23142 resultobj = SWIG_From_int((int)(result));
23143 }
d14a1e28
RD
23144 return resultobj;
23145 fail:
23146 return NULL;
23147}
23148
23149
c32bde28 23150static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23151 PyObject *resultobj;
23152 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23153 int result;
23154 PyObject * obj0 = 0 ;
23155 char *kwnames[] = {
23156 (char *) "self", NULL
23157 };
23158
23159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23161 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23162 {
23163 PyThreadState* __tstate = wxPyBeginAllowThreads();
23164 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23165
23166 wxPyEndAllowThreads(__tstate);
23167 if (PyErr_Occurred()) SWIG_fail;
23168 }
093d3ff1
RD
23169 {
23170 resultobj = SWIG_From_int((int)(result));
23171 }
d14a1e28
RD
23172 return resultobj;
23173 fail:
23174 return NULL;
23175}
23176
23177
c32bde28 23178static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23179 PyObject *resultobj;
23180 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23181 int result;
23182 PyObject * obj0 = 0 ;
23183 char *kwnames[] = {
23184 (char *) "self", NULL
23185 };
23186
23187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23189 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23190 {
23191 PyThreadState* __tstate = wxPyBeginAllowThreads();
23192 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23193
23194 wxPyEndAllowThreads(__tstate);
23195 if (PyErr_Occurred()) SWIG_fail;
23196 }
093d3ff1
RD
23197 {
23198 resultobj = SWIG_From_int((int)(result));
23199 }
d14a1e28
RD
23200 return resultobj;
23201 fail:
23202 return NULL;
23203}
23204
23205
c32bde28 23206static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23207 PyObject *resultobj;
23208 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23209 int result;
23210 PyObject * obj0 = 0 ;
23211 char *kwnames[] = {
23212 (char *) "self", NULL
23213 };
23214
23215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
23216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23217 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23218 {
23219 PyThreadState* __tstate = wxPyBeginAllowThreads();
23220 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23221
23222 wxPyEndAllowThreads(__tstate);
23223 if (PyErr_Occurred()) SWIG_fail;
23224 }
093d3ff1
RD
23225 {
23226 resultobj = SWIG_From_int((int)(result));
23227 }
d14a1e28
RD
23228 return resultobj;
23229 fail:
23230 return NULL;
23231}
23232
23233
c32bde28 23234static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23235 PyObject *resultobj;
23236 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23237 bool result;
23238 PyObject * obj0 = 0 ;
23239 char *kwnames[] = {
23240 (char *) "self", NULL
23241 };
23242
23243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
23244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23245 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23246 {
23247 PyThreadState* __tstate = wxPyBeginAllowThreads();
23248 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23249
23250 wxPyEndAllowThreads(__tstate);
23251 if (PyErr_Occurred()) SWIG_fail;
23252 }
4f89f6a3
RD
23253 {
23254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23255 }
d14a1e28
RD
23256 return resultobj;
23257 fail:
23258 return NULL;
23259}
23260
23261
c32bde28 23262static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23263 PyObject *resultobj;
23264 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23265 bool result;
23266 PyObject * obj0 = 0 ;
23267 char *kwnames[] = {
23268 (char *) "self", NULL
23269 };
23270
23271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
23272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23273 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23274 {
23275 PyThreadState* __tstate = wxPyBeginAllowThreads();
23276 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23277
23278 wxPyEndAllowThreads(__tstate);
23279 if (PyErr_Occurred()) SWIG_fail;
23280 }
4f89f6a3
RD
23281 {
23282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23283 }
d14a1e28
RD
23284 return resultobj;
23285 fail:
23286 return NULL;
23287}
23288
23289
c32bde28 23290static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23291 PyObject *resultobj;
23292 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23293 bool result;
23294 PyObject * obj0 = 0 ;
23295 char *kwnames[] = {
23296 (char *) "self", NULL
23297 };
23298
23299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23301 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23302 {
23303 PyThreadState* __tstate = wxPyBeginAllowThreads();
23304 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23305
23306 wxPyEndAllowThreads(__tstate);
23307 if (PyErr_Occurred()) SWIG_fail;
23308 }
4f89f6a3
RD
23309 {
23310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23311 }
d14a1e28
RD
23312 return resultobj;
23313 fail:
23314 return NULL;
23315}
23316
23317
c32bde28 23318static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23319 PyObject *resultobj;
23320 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23321 bool result;
23322 PyObject * obj0 = 0 ;
23323 char *kwnames[] = {
23324 (char *) "self", NULL
23325 };
23326
23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23329 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23333
23334 wxPyEndAllowThreads(__tstate);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 }
4f89f6a3
RD
23337 {
23338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23339 }
d14a1e28
RD
23340 return resultobj;
23341 fail:
23342 return NULL;
23343}
23344
23345
c32bde28 23346static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23347 PyObject *resultobj;
23348 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23349 bool result;
23350 PyObject * obj0 = 0 ;
23351 char *kwnames[] = {
23352 (char *) "self", NULL
23353 };
23354
23355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
23356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23357 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23358 {
23359 PyThreadState* __tstate = wxPyBeginAllowThreads();
23360 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23361
23362 wxPyEndAllowThreads(__tstate);
23363 if (PyErr_Occurred()) SWIG_fail;
23364 }
4f89f6a3
RD
23365 {
23366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23367 }
d14a1e28
RD
23368 return resultobj;
23369 fail:
23370 return NULL;
23371}
23372
23373
d3b6e4ff
RD
23374static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23375 PyObject *resultobj;
23376 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23377 bool arg2 ;
23378 PyObject * obj0 = 0 ;
23379 PyObject * obj1 = 0 ;
23380 char *kwnames[] = {
23381 (char *) "self",(char *) "flag", NULL
23382 };
23383
23384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23386 if (SWIG_arg_fail(1)) SWIG_fail;
23387 {
23388 arg2 = (bool)(SWIG_As_bool(obj1));
23389 if (SWIG_arg_fail(2)) SWIG_fail;
23390 }
d3b6e4ff
RD
23391 {
23392 PyThreadState* __tstate = wxPyBeginAllowThreads();
23393 (arg1)->SetSetupDialog(arg2);
23394
23395 wxPyEndAllowThreads(__tstate);
23396 if (PyErr_Occurred()) SWIG_fail;
23397 }
23398 Py_INCREF(Py_None); resultobj = Py_None;
23399 return resultobj;
23400 fail:
23401 return NULL;
23402}
23403
23404
c32bde28 23405static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23406 PyObject *resultobj;
23407 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23408 int arg2 ;
23409 PyObject * obj0 = 0 ;
994141e6 23410 PyObject * obj1 = 0 ;
d14a1e28
RD
23411 char *kwnames[] = {
23412 (char *) "self",(char *) "v", NULL
23413 };
23414
994141e6 23415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23417 if (SWIG_arg_fail(1)) SWIG_fail;
23418 {
23419 arg2 = (int)(SWIG_As_int(obj1));
23420 if (SWIG_arg_fail(2)) SWIG_fail;
23421 }
d14a1e28
RD
23422 {
23423 PyThreadState* __tstate = wxPyBeginAllowThreads();
23424 (arg1)->SetFromPage(arg2);
23425
23426 wxPyEndAllowThreads(__tstate);
23427 if (PyErr_Occurred()) SWIG_fail;
23428 }
23429 Py_INCREF(Py_None); resultobj = Py_None;
23430 return resultobj;
23431 fail:
23432 return NULL;
23433}
23434
23435
c32bde28 23436static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23437 PyObject *resultobj;
23438 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23439 int arg2 ;
23440 PyObject * obj0 = 0 ;
994141e6 23441 PyObject * obj1 = 0 ;
d14a1e28
RD
23442 char *kwnames[] = {
23443 (char *) "self",(char *) "v", NULL
23444 };
23445
994141e6 23446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23448 if (SWIG_arg_fail(1)) SWIG_fail;
23449 {
23450 arg2 = (int)(SWIG_As_int(obj1));
23451 if (SWIG_arg_fail(2)) SWIG_fail;
23452 }
d14a1e28
RD
23453 {
23454 PyThreadState* __tstate = wxPyBeginAllowThreads();
23455 (arg1)->SetToPage(arg2);
23456
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
23460 Py_INCREF(Py_None); resultobj = Py_None;
23461 return resultobj;
23462 fail:
23463 return NULL;
23464}
23465
23466
c32bde28 23467static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23468 PyObject *resultobj;
23469 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23470 int arg2 ;
23471 PyObject * obj0 = 0 ;
994141e6 23472 PyObject * obj1 = 0 ;
d14a1e28
RD
23473 char *kwnames[] = {
23474 (char *) "self",(char *) "v", NULL
23475 };
23476
994141e6 23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23479 if (SWIG_arg_fail(1)) SWIG_fail;
23480 {
23481 arg2 = (int)(SWIG_As_int(obj1));
23482 if (SWIG_arg_fail(2)) SWIG_fail;
23483 }
d14a1e28
RD
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 (arg1)->SetMinPage(arg2);
23487
23488 wxPyEndAllowThreads(__tstate);
23489 if (PyErr_Occurred()) SWIG_fail;
23490 }
23491 Py_INCREF(Py_None); resultobj = Py_None;
23492 return resultobj;
23493 fail:
23494 return NULL;
23495}
23496
23497
c32bde28 23498static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23499 PyObject *resultobj;
23500 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23501 int arg2 ;
23502 PyObject * obj0 = 0 ;
994141e6 23503 PyObject * obj1 = 0 ;
d14a1e28
RD
23504 char *kwnames[] = {
23505 (char *) "self",(char *) "v", NULL
23506 };
23507
994141e6 23508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23510 if (SWIG_arg_fail(1)) SWIG_fail;
23511 {
23512 arg2 = (int)(SWIG_As_int(obj1));
23513 if (SWIG_arg_fail(2)) SWIG_fail;
23514 }
d14a1e28
RD
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 (arg1)->SetMaxPage(arg2);
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 Py_INCREF(Py_None); resultobj = Py_None;
23523 return resultobj;
23524 fail:
23525 return NULL;
23526}
23527
23528
c32bde28 23529static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23530 PyObject *resultobj;
23531 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23532 int arg2 ;
23533 PyObject * obj0 = 0 ;
994141e6 23534 PyObject * obj1 = 0 ;
d14a1e28
RD
23535 char *kwnames[] = {
23536 (char *) "self",(char *) "v", NULL
23537 };
23538
994141e6 23539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23541 if (SWIG_arg_fail(1)) SWIG_fail;
23542 {
23543 arg2 = (int)(SWIG_As_int(obj1));
23544 if (SWIG_arg_fail(2)) SWIG_fail;
23545 }
d14a1e28
RD
23546 {
23547 PyThreadState* __tstate = wxPyBeginAllowThreads();
23548 (arg1)->SetNoCopies(arg2);
23549
23550 wxPyEndAllowThreads(__tstate);
23551 if (PyErr_Occurred()) SWIG_fail;
23552 }
23553 Py_INCREF(Py_None); resultobj = Py_None;
23554 return resultobj;
23555 fail:
23556 return NULL;
23557}
23558
23559
c32bde28 23560static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23561 PyObject *resultobj;
23562 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23563 bool arg2 ;
23564 PyObject * obj0 = 0 ;
23565 PyObject * obj1 = 0 ;
23566 char *kwnames[] = {
23567 (char *) "self",(char *) "flag", NULL
23568 };
23569
23570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23572 if (SWIG_arg_fail(1)) SWIG_fail;
23573 {
23574 arg2 = (bool)(SWIG_As_bool(obj1));
23575 if (SWIG_arg_fail(2)) SWIG_fail;
23576 }
d14a1e28
RD
23577 {
23578 PyThreadState* __tstate = wxPyBeginAllowThreads();
23579 (arg1)->SetAllPages(arg2);
23580
23581 wxPyEndAllowThreads(__tstate);
23582 if (PyErr_Occurred()) SWIG_fail;
23583 }
23584 Py_INCREF(Py_None); resultobj = Py_None;
23585 return resultobj;
23586 fail:
23587 return NULL;
23588}
23589
23590
c32bde28 23591static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23592 PyObject *resultobj;
23593 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23594 bool arg2 ;
23595 PyObject * obj0 = 0 ;
23596 PyObject * obj1 = 0 ;
23597 char *kwnames[] = {
23598 (char *) "self",(char *) "flag", NULL
23599 };
23600
23601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23603 if (SWIG_arg_fail(1)) SWIG_fail;
23604 {
23605 arg2 = (bool)(SWIG_As_bool(obj1));
23606 if (SWIG_arg_fail(2)) SWIG_fail;
23607 }
d14a1e28
RD
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 (arg1)->SetSelection(arg2);
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 Py_INCREF(Py_None); resultobj = Py_None;
23616 return resultobj;
23617 fail:
23618 return NULL;
23619}
23620
23621
c32bde28 23622static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23623 PyObject *resultobj;
23624 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23625 bool arg2 ;
23626 PyObject * obj0 = 0 ;
23627 PyObject * obj1 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self",(char *) "flag", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23634 if (SWIG_arg_fail(1)) SWIG_fail;
23635 {
23636 arg2 = (bool)(SWIG_As_bool(obj1));
23637 if (SWIG_arg_fail(2)) SWIG_fail;
23638 }
d14a1e28
RD
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 (arg1)->SetCollate(arg2);
23642
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 Py_INCREF(Py_None); resultobj = Py_None;
23647 return resultobj;
23648 fail:
23649 return NULL;
23650}
23651
23652
c32bde28 23653static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23654 PyObject *resultobj;
23655 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23656 bool arg2 ;
23657 PyObject * obj0 = 0 ;
23658 PyObject * obj1 = 0 ;
23659 char *kwnames[] = {
23660 (char *) "self",(char *) "flag", NULL
23661 };
23662
23663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23665 if (SWIG_arg_fail(1)) SWIG_fail;
23666 {
23667 arg2 = (bool)(SWIG_As_bool(obj1));
23668 if (SWIG_arg_fail(2)) SWIG_fail;
23669 }
d14a1e28
RD
23670 {
23671 PyThreadState* __tstate = wxPyBeginAllowThreads();
23672 (arg1)->SetPrintToFile(arg2);
23673
23674 wxPyEndAllowThreads(__tstate);
23675 if (PyErr_Occurred()) SWIG_fail;
23676 }
23677 Py_INCREF(Py_None); resultobj = Py_None;
23678 return resultobj;
23679 fail:
23680 return NULL;
23681}
23682
23683
c32bde28 23684static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23685 PyObject *resultobj;
23686 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23687 bool arg2 ;
23688 PyObject * obj0 = 0 ;
23689 PyObject * obj1 = 0 ;
23690 char *kwnames[] = {
23691 (char *) "self",(char *) "flag", NULL
23692 };
23693
23694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23696 if (SWIG_arg_fail(1)) SWIG_fail;
23697 {
23698 arg2 = (bool)(SWIG_As_bool(obj1));
23699 if (SWIG_arg_fail(2)) SWIG_fail;
23700 }
d14a1e28
RD
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 (arg1)->EnablePrintToFile(arg2);
23704
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 Py_INCREF(Py_None); resultobj = Py_None;
23709 return resultobj;
23710 fail:
23711 return NULL;
23712}
23713
23714
c32bde28 23715static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23716 PyObject *resultobj;
23717 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23718 bool arg2 ;
23719 PyObject * obj0 = 0 ;
23720 PyObject * obj1 = 0 ;
23721 char *kwnames[] = {
23722 (char *) "self",(char *) "flag", NULL
23723 };
23724
23725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23727 if (SWIG_arg_fail(1)) SWIG_fail;
23728 {
23729 arg2 = (bool)(SWIG_As_bool(obj1));
23730 if (SWIG_arg_fail(2)) SWIG_fail;
23731 }
d14a1e28
RD
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 (arg1)->EnableSelection(arg2);
23735
23736 wxPyEndAllowThreads(__tstate);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 }
23739 Py_INCREF(Py_None); resultobj = Py_None;
23740 return resultobj;
23741 fail:
23742 return NULL;
23743}
23744
23745
c32bde28 23746static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23747 PyObject *resultobj;
23748 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23749 bool arg2 ;
23750 PyObject * obj0 = 0 ;
23751 PyObject * obj1 = 0 ;
23752 char *kwnames[] = {
23753 (char *) "self",(char *) "flag", NULL
23754 };
23755
23756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23758 if (SWIG_arg_fail(1)) SWIG_fail;
23759 {
23760 arg2 = (bool)(SWIG_As_bool(obj1));
23761 if (SWIG_arg_fail(2)) SWIG_fail;
23762 }
d14a1e28
RD
23763 {
23764 PyThreadState* __tstate = wxPyBeginAllowThreads();
23765 (arg1)->EnablePageNumbers(arg2);
23766
23767 wxPyEndAllowThreads(__tstate);
23768 if (PyErr_Occurred()) SWIG_fail;
23769 }
23770 Py_INCREF(Py_None); resultobj = Py_None;
23771 return resultobj;
23772 fail:
23773 return NULL;
23774}
23775
23776
c32bde28 23777static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23778 PyObject *resultobj;
23779 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23780 bool arg2 ;
23781 PyObject * obj0 = 0 ;
23782 PyObject * obj1 = 0 ;
23783 char *kwnames[] = {
23784 (char *) "self",(char *) "flag", NULL
23785 };
23786
23787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23789 if (SWIG_arg_fail(1)) SWIG_fail;
23790 {
23791 arg2 = (bool)(SWIG_As_bool(obj1));
23792 if (SWIG_arg_fail(2)) SWIG_fail;
23793 }
d14a1e28
RD
23794 {
23795 PyThreadState* __tstate = wxPyBeginAllowThreads();
23796 (arg1)->EnableHelp(arg2);
23797
23798 wxPyEndAllowThreads(__tstate);
23799 if (PyErr_Occurred()) SWIG_fail;
23800 }
23801 Py_INCREF(Py_None); resultobj = Py_None;
23802 return resultobj;
23803 fail:
23804 return NULL;
23805}
23806
23807
c32bde28 23808static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23809 PyObject *resultobj;
23810 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23811 bool result;
23812 PyObject * obj0 = 0 ;
23813 char *kwnames[] = {
23814 (char *) "self", NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23819 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23820 {
23821 PyThreadState* __tstate = wxPyBeginAllowThreads();
23822 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23823
23824 wxPyEndAllowThreads(__tstate);
23825 if (PyErr_Occurred()) SWIG_fail;
23826 }
4f89f6a3
RD
23827 {
23828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23829 }
d14a1e28
RD
23830 return resultobj;
23831 fail:
23832 return NULL;
23833}
23834
23835
c32bde28 23836static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23837 PyObject *resultobj;
23838 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23839 bool result;
23840 PyObject * obj0 = 0 ;
23841 char *kwnames[] = {
23842 (char *) "self", NULL
23843 };
23844
23845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
23846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23847 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23848 {
23849 PyThreadState* __tstate = wxPyBeginAllowThreads();
23850 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23851
23852 wxPyEndAllowThreads(__tstate);
23853 if (PyErr_Occurred()) SWIG_fail;
23854 }
4f89f6a3
RD
23855 {
23856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23857 }
d14a1e28
RD
23858 return resultobj;
23859 fail:
23860 return NULL;
23861}
23862
23863
c32bde28 23864static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23865 PyObject *resultobj;
23866 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23867 bool result;
23868 PyObject * obj0 = 0 ;
23869 char *kwnames[] = {
23870 (char *) "self", NULL
23871 };
23872
23873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
093d3ff1
RD
23874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23875 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23876 {
23877 PyThreadState* __tstate = wxPyBeginAllowThreads();
23878 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23879
23880 wxPyEndAllowThreads(__tstate);
23881 if (PyErr_Occurred()) SWIG_fail;
23882 }
4f89f6a3
RD
23883 {
23884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23885 }
d14a1e28
RD
23886 return resultobj;
23887 fail:
23888 return NULL;
23889}
23890
23891
c32bde28 23892static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23893 PyObject *resultobj;
23894 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23895 bool result;
23896 PyObject * obj0 = 0 ;
23897 char *kwnames[] = {
23898 (char *) "self", NULL
23899 };
23900
23901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
23902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23903 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23904 {
23905 PyThreadState* __tstate = wxPyBeginAllowThreads();
23906 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23907
23908 wxPyEndAllowThreads(__tstate);
23909 if (PyErr_Occurred()) SWIG_fail;
23910 }
4f89f6a3
RD
23911 {
23912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23913 }
d14a1e28
RD
23914 return resultobj;
23915 fail:
23916 return NULL;
23917}
23918
23919
c32bde28 23920static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23921 PyObject *resultobj;
23922 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23923 bool result;
23924 PyObject * obj0 = 0 ;
23925 char *kwnames[] = {
23926 (char *) "self", NULL
23927 };
23928
23929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
23930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23931 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23932 {
23933 PyThreadState* __tstate = wxPyBeginAllowThreads();
23934 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23935
23936 wxPyEndAllowThreads(__tstate);
23937 if (PyErr_Occurred()) SWIG_fail;
23938 }
4f89f6a3
RD
23939 {
23940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23941 }
d14a1e28
RD
23942 return resultobj;
23943 fail:
23944 return NULL;
23945}
23946
23947
c32bde28 23948static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23949 PyObject *resultobj;
23950 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23951 wxPrintData *result;
23952 PyObject * obj0 = 0 ;
23953 char *kwnames[] = {
23954 (char *) "self", NULL
23955 };
23956
23957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23959 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23960 {
23961 PyThreadState* __tstate = wxPyBeginAllowThreads();
23962 {
23963 wxPrintData &_result_ref = (arg1)->GetPrintData();
23964 result = (wxPrintData *) &_result_ref;
23965 }
23966
23967 wxPyEndAllowThreads(__tstate);
23968 if (PyErr_Occurred()) SWIG_fail;
23969 }
15afbcd0 23970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
23971 return resultobj;
23972 fail:
23973 return NULL;
23974}
23975
23976
c32bde28 23977static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23978 PyObject *resultobj;
23979 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23980 wxPrintData *arg2 = 0 ;
23981 PyObject * obj0 = 0 ;
23982 PyObject * obj1 = 0 ;
23983 char *kwnames[] = {
23984 (char *) "self",(char *) "printData", NULL
23985 };
23986
23987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23989 if (SWIG_arg_fail(1)) SWIG_fail;
23990 {
23991 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23992 if (SWIG_arg_fail(2)) SWIG_fail;
23993 if (arg2 == NULL) {
23994 SWIG_null_ref("wxPrintData");
23995 }
23996 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23997 }
23998 {
23999 PyThreadState* __tstate = wxPyBeginAllowThreads();
24000 (arg1)->SetPrintData((wxPrintData const &)*arg2);
24001
24002 wxPyEndAllowThreads(__tstate);
24003 if (PyErr_Occurred()) SWIG_fail;
24004 }
24005 Py_INCREF(Py_None); resultobj = Py_None;
24006 return resultobj;
24007 fail:
24008 return NULL;
24009}
24010
24011
c32bde28 24012static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24013 PyObject *obj;
24014 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24015 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
24016 Py_INCREF(obj);
24017 return Py_BuildValue((char *)"");
24018}
c32bde28 24019static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24020 PyObject *resultobj;
24021 wxWindow *arg1 = (wxWindow *) 0 ;
24022 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
24023 wxPrintDialog *result;
24024 PyObject * obj0 = 0 ;
24025 PyObject * obj1 = 0 ;
24026 char *kwnames[] = {
24027 (char *) "parent",(char *) "data", NULL
24028 };
24029
24030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24032 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 24033 if (obj1) {
093d3ff1
RD
24034 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24035 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24036 }
24037 {
e3b71cb8 24038 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24039 PyThreadState* __tstate = wxPyBeginAllowThreads();
24040 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
24041
24042 wxPyEndAllowThreads(__tstate);
110da5b0 24043 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24044 }
15afbcd0 24045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
d14a1e28
RD
24046 return resultobj;
24047 fail:
24048 return NULL;
24049}
24050
24051
d3b6e4ff
RD
24052static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
24053 PyObject *resultobj;
24054 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24055 int result;
24056 PyObject * obj0 = 0 ;
24057 char *kwnames[] = {
24058 (char *) "self", NULL
24059 };
24060
24061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
24062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24063 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
24064 {
24065 PyThreadState* __tstate = wxPyBeginAllowThreads();
24066 result = (int)(arg1)->ShowModal();
24067
24068 wxPyEndAllowThreads(__tstate);
24069 if (PyErr_Occurred()) SWIG_fail;
24070 }
093d3ff1
RD
24071 {
24072 resultobj = SWIG_From_int((int)(result));
24073 }
d3b6e4ff
RD
24074 return resultobj;
24075 fail:
24076 return NULL;
24077}
24078
24079
c32bde28 24080static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24081 PyObject *resultobj;
24082 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24083 wxPrintDialogData *result;
24084 PyObject * obj0 = 0 ;
24085 char *kwnames[] = {
24086 (char *) "self", NULL
24087 };
24088
24089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24091 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24092 {
24093 PyThreadState* __tstate = wxPyBeginAllowThreads();
24094 {
24095 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24096 result = (wxPrintDialogData *) &_result_ref;
24097 }
24098
24099 wxPyEndAllowThreads(__tstate);
24100 if (PyErr_Occurred()) SWIG_fail;
24101 }
15afbcd0 24102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
24103 return resultobj;
24104 fail:
24105 return NULL;
24106}
24107
24108
d3b6e4ff 24109static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24110 PyObject *resultobj;
24111 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
d3b6e4ff 24112 wxPrintData *result;
d14a1e28
RD
24113 PyObject * obj0 = 0 ;
24114 char *kwnames[] = {
24115 (char *) "self", NULL
24116 };
24117
d3b6e4ff 24118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24120 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24121 {
24122 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff
RD
24123 {
24124 wxPrintData &_result_ref = (arg1)->GetPrintData();
24125 result = (wxPrintData *) &_result_ref;
24126 }
d14a1e28
RD
24127
24128 wxPyEndAllowThreads(__tstate);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 }
d3b6e4ff 24131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
24132 return resultobj;
24133 fail:
24134 return NULL;
24135}
24136
24137
d3b6e4ff 24138static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24139 PyObject *resultobj;
24140 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
d3b6e4ff 24141 wxDC *result;
d14a1e28
RD
24142 PyObject * obj0 = 0 ;
24143 char *kwnames[] = {
24144 (char *) "self", NULL
24145 };
24146
d3b6e4ff 24147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24149 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24150 {
24151 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24152 result = (wxDC *)(arg1)->GetPrintDC();
d14a1e28
RD
24153
24154 wxPyEndAllowThreads(__tstate);
24155 if (PyErr_Occurred()) SWIG_fail;
24156 }
d3b6e4ff
RD
24157 {
24158 resultobj = wxPyMake_wxObject(result, 1);
24159 }
d14a1e28
RD
24160 return resultobj;
24161 fail:
24162 return NULL;
24163}
24164
24165
c32bde28 24166static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24167 PyObject *obj;
24168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24169 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24170 Py_INCREF(obj);
24171 return Py_BuildValue((char *)"");
24172}
c32bde28 24173static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24174 PyObject *resultobj;
24175 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24176 wxPrinter *result;
24177 PyObject * obj0 = 0 ;
24178 char *kwnames[] = {
24179 (char *) "data", NULL
24180 };
24181
24182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24183 if (obj0) {
093d3ff1
RD
24184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24185 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24186 }
24187 {
e3b71cb8 24188 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24189 PyThreadState* __tstate = wxPyBeginAllowThreads();
24190 result = (wxPrinter *)new wxPrinter(arg1);
24191
24192 wxPyEndAllowThreads(__tstate);
110da5b0 24193 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24194 }
15afbcd0 24195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
d14a1e28
RD
24196 return resultobj;
24197 fail:
24198 return NULL;
24199}
24200
24201
c32bde28 24202static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24203 PyObject *resultobj;
24204 wxPrinter *arg1 = (wxPrinter *) 0 ;
24205 PyObject * obj0 = 0 ;
24206 char *kwnames[] = {
24207 (char *) "self", NULL
24208 };
24209
24210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
093d3ff1
RD
24211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24212 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24213 {
24214 PyThreadState* __tstate = wxPyBeginAllowThreads();
24215 delete arg1;
24216
24217 wxPyEndAllowThreads(__tstate);
24218 if (PyErr_Occurred()) SWIG_fail;
24219 }
24220 Py_INCREF(Py_None); resultobj = Py_None;
24221 return resultobj;
24222 fail:
24223 return NULL;
24224}
24225
24226
c32bde28 24227static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24228 PyObject *resultobj;
24229 wxPrinter *arg1 = (wxPrinter *) 0 ;
24230 wxWindow *arg2 = (wxWindow *) 0 ;
a68b8331 24231 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
d3b6e4ff 24232 wxWindow *result;
d14a1e28
RD
24233 PyObject * obj0 = 0 ;
24234 PyObject * obj1 = 0 ;
24235 PyObject * obj2 = 0 ;
24236 char *kwnames[] = {
24237 (char *) "self",(char *) "parent",(char *) "printout", NULL
24238 };
24239
24240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24242 if (SWIG_arg_fail(1)) SWIG_fail;
24243 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24244 if (SWIG_arg_fail(2)) SWIG_fail;
24245 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24246 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24249 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
d14a1e28
RD
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
d3b6e4ff
RD
24254 {
24255 resultobj = wxPyMake_wxObject(result, 0);
24256 }
d14a1e28
RD
24257 return resultobj;
24258 fail:
24259 return NULL;
24260}
24261
24262
d3b6e4ff 24263static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24264 PyObject *resultobj;
24265 wxPrinter *arg1 = (wxPrinter *) 0 ;
d3b6e4ff 24266 wxWindow *arg2 = (wxWindow *) 0 ;
a68b8331 24267 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
d3b6e4ff
RD
24268 wxString *arg4 = 0 ;
24269 bool temp4 = false ;
d14a1e28 24270 PyObject * obj0 = 0 ;
d3b6e4ff
RD
24271 PyObject * obj1 = 0 ;
24272 PyObject * obj2 = 0 ;
24273 PyObject * obj3 = 0 ;
d14a1e28 24274 char *kwnames[] = {
d3b6e4ff 24275 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
d14a1e28
RD
24276 };
24277
d3b6e4ff 24278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24280 if (SWIG_arg_fail(1)) SWIG_fail;
24281 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24282 if (SWIG_arg_fail(2)) SWIG_fail;
24283 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24284 if (SWIG_arg_fail(3)) SWIG_fail;
d3b6e4ff
RD
24285 {
24286 arg4 = wxString_in_helper(obj3);
24287 if (arg4 == NULL) SWIG_fail;
24288 temp4 = true;
24289 }
d14a1e28
RD
24290 {
24291 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24292 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
d14a1e28
RD
24293
24294 wxPyEndAllowThreads(__tstate);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 }
d3b6e4ff
RD
24297 Py_INCREF(Py_None); resultobj = Py_None;
24298 {
24299 if (temp4)
24300 delete arg4;
24301 }
d14a1e28
RD
24302 return resultobj;
24303 fail:
d3b6e4ff
RD
24304 {
24305 if (temp4)
24306 delete arg4;
24307 }
d14a1e28
RD
24308 return NULL;
24309}
24310
24311
d3b6e4ff 24312static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24313 PyObject *resultobj;
24314 wxPrinter *arg1 = (wxPrinter *) 0 ;
24315 wxWindow *arg2 = (wxWindow *) 0 ;
d14a1e28
RD
24316 bool result;
24317 PyObject * obj0 = 0 ;
24318 PyObject * obj1 = 0 ;
d14a1e28 24319 char *kwnames[] = {
d3b6e4ff 24320 (char *) "self",(char *) "parent", NULL
d14a1e28
RD
24321 };
24322
d3b6e4ff 24323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24325 if (SWIG_arg_fail(1)) SWIG_fail;
24326 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24327 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24328 {
24329 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24330 result = (bool)(arg1)->Setup(arg2);
d14a1e28
RD
24331
24332 wxPyEndAllowThreads(__tstate);
24333 if (PyErr_Occurred()) SWIG_fail;
24334 }
4f89f6a3
RD
24335 {
24336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24337 }
d14a1e28
RD
24338 return resultobj;
24339 fail:
24340 return NULL;
24341}
24342
24343
d3b6e4ff 24344static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24345 PyObject *resultobj;
24346 wxPrinter *arg1 = (wxPrinter *) 0 ;
24347 wxWindow *arg2 = (wxWindow *) 0 ;
a68b8331 24348 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
d3b6e4ff
RD
24349 bool arg4 = (bool) true ;
24350 bool result;
d14a1e28
RD
24351 PyObject * obj0 = 0 ;
24352 PyObject * obj1 = 0 ;
d3b6e4ff
RD
24353 PyObject * obj2 = 0 ;
24354 PyObject * obj3 = 0 ;
d14a1e28 24355 char *kwnames[] = {
d3b6e4ff 24356 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
d14a1e28
RD
24357 };
24358
d3b6e4ff 24359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24361 if (SWIG_arg_fail(1)) SWIG_fail;
24362 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24363 if (SWIG_arg_fail(2)) SWIG_fail;
24364 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24365 if (SWIG_arg_fail(3)) SWIG_fail;
d3b6e4ff 24366 if (obj3) {
093d3ff1
RD
24367 {
24368 arg4 = (bool)(SWIG_As_bool(obj3));
24369 if (SWIG_arg_fail(4)) SWIG_fail;
24370 }
d3b6e4ff 24371 }
d14a1e28
RD
24372 {
24373 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24374 result = (bool)(arg1)->Print(arg2,arg3,arg4);
d14a1e28
RD
24375
24376 wxPyEndAllowThreads(__tstate);
24377 if (PyErr_Occurred()) SWIG_fail;
24378 }
24379 {
d3b6e4ff 24380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24381 }
24382 return resultobj;
24383 fail:
24384 return NULL;
24385}
24386
24387
d3b6e4ff 24388static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24389 PyObject *resultobj;
24390 wxPrinter *arg1 = (wxPrinter *) 0 ;
24391 wxWindow *arg2 = (wxWindow *) 0 ;
d3b6e4ff 24392 wxDC *result;
d14a1e28
RD
24393 PyObject * obj0 = 0 ;
24394 PyObject * obj1 = 0 ;
d14a1e28 24395 char *kwnames[] = {
d3b6e4ff 24396 (char *) "self",(char *) "parent", NULL
d14a1e28
RD
24397 };
24398
d3b6e4ff 24399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24401 if (SWIG_arg_fail(1)) SWIG_fail;
24402 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24403 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24404 {
24405 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24406 result = (wxDC *)(arg1)->PrintDialog(arg2);
d14a1e28
RD
24407
24408 wxPyEndAllowThreads(__tstate);
24409 if (PyErr_Occurred()) SWIG_fail;
24410 }
d14a1e28 24411 {
d3b6e4ff 24412 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24413 }
24414 return resultobj;
24415 fail:
d14a1e28
RD
24416 return NULL;
24417}
24418
24419
d3b6e4ff 24420static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24421 PyObject *resultobj;
24422 wxPrinter *arg1 = (wxPrinter *) 0 ;
d3b6e4ff 24423 wxPrintDialogData *result;
d14a1e28 24424 PyObject * obj0 = 0 ;
d14a1e28 24425 char *kwnames[] = {
d3b6e4ff 24426 (char *) "self", NULL
d14a1e28
RD
24427 };
24428
d3b6e4ff 24429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24431 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24432 {
24433 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff
RD
24434 {
24435 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24436 result = (wxPrintDialogData *) &_result_ref;
24437 }
d14a1e28
RD
24438
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
d3b6e4ff 24442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
24443 return resultobj;
24444 fail:
24445 return NULL;
24446}
24447
24448
c32bde28 24449static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24450 PyObject *resultobj;
24451 wxPrinter *arg1 = (wxPrinter *) 0 ;
24452 bool result;
24453 PyObject * obj0 = 0 ;
24454 char *kwnames[] = {
24455 (char *) "self", NULL
24456 };
24457
24458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
093d3ff1
RD
24459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24460 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24461 {
24462 PyThreadState* __tstate = wxPyBeginAllowThreads();
24463 result = (bool)(arg1)->GetAbort();
24464
24465 wxPyEndAllowThreads(__tstate);
24466 if (PyErr_Occurred()) SWIG_fail;
24467 }
4f89f6a3
RD
24468 {
24469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24470 }
d14a1e28
RD
24471 return resultobj;
24472 fail:
24473 return NULL;
24474}
24475
24476
c32bde28 24477static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 24478 PyObject *resultobj;
093d3ff1 24479 wxPrinterError result;
d14a1e28
RD
24480 char *kwnames[] = {
24481 NULL
24482 };
24483
24484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24485 {
24486 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 24487 result = (wxPrinterError)wxPrinter::GetLastError();
d14a1e28
RD
24488
24489 wxPyEndAllowThreads(__tstate);
24490 if (PyErr_Occurred()) SWIG_fail;
24491 }
093d3ff1 24492 resultobj = SWIG_From_int((result));
d14a1e28
RD
24493 return resultobj;
24494 fail:
24495 return NULL;
24496}
24497
24498
c32bde28 24499static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24500 PyObject *obj;
24501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24502 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24503 Py_INCREF(obj);
24504 return Py_BuildValue((char *)"");
24505}
c32bde28 24506static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24507 PyObject *resultobj;
24508 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24509 wxString *arg1 = (wxString *) &arg1_defvalue ;
24510 wxPyPrintout *result;
ae8162c8 24511 bool temp1 = false ;
d14a1e28
RD
24512 PyObject * obj0 = 0 ;
24513 char *kwnames[] = {
24514 (char *) "title", NULL
24515 };
24516
24517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24518 if (obj0) {
24519 {
24520 arg1 = wxString_in_helper(obj0);
24521 if (arg1 == NULL) SWIG_fail;
ae8162c8 24522 temp1 = true;
d14a1e28
RD
24523 }
24524 }
24525 {
e3b71cb8 24526 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24527 PyThreadState* __tstate = wxPyBeginAllowThreads();
24528 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24529
24530 wxPyEndAllowThreads(__tstate);
110da5b0 24531 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24532 }
24533 {
412d302d 24534 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
24535 }
24536 {
24537 if (temp1)
24538 delete arg1;
24539 }
24540 return resultobj;
24541 fail:
24542 {
24543 if (temp1)
24544 delete arg1;
24545 }
24546 return NULL;
24547}
24548
24549
c32bde28 24550static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24551 PyObject *resultobj;
24552 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24553 PyObject *arg2 = (PyObject *) 0 ;
24554 PyObject *arg3 = (PyObject *) 0 ;
24555 PyObject * obj0 = 0 ;
24556 PyObject * obj1 = 0 ;
24557 PyObject * obj2 = 0 ;
24558 char *kwnames[] = {
24559 (char *) "self",(char *) "self",(char *) "_class", NULL
24560 };
24561
24562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24564 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24565 arg2 = obj1;
24566 arg3 = obj2;
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 (arg1)->_setCallbackInfo(arg2,arg3);
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 Py_INCREF(Py_None); resultobj = Py_None;
24575 return resultobj;
24576 fail:
24577 return NULL;
24578}
24579
24580
c32bde28 24581static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24582 PyObject *resultobj;
24583 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24584 wxString result;
24585 PyObject * obj0 = 0 ;
24586 char *kwnames[] = {
24587 (char *) "self", NULL
24588 };
24589
24590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
24591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24592 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24593 {
24594 PyThreadState* __tstate = wxPyBeginAllowThreads();
24595 result = ((wxPyPrintout const *)arg1)->GetTitle();
24596
24597 wxPyEndAllowThreads(__tstate);
24598 if (PyErr_Occurred()) SWIG_fail;
24599 }
24600 {
24601#if wxUSE_UNICODE
24602 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24603#else
24604 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24605#endif
24606 }
24607 return resultobj;
24608 fail:
24609 return NULL;
24610}
24611
24612
c32bde28 24613static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24614 PyObject *resultobj;
24615 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24616 wxDC *result;
24617 PyObject * obj0 = 0 ;
24618 char *kwnames[] = {
24619 (char *) "self", NULL
24620 };
24621
24622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24624 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24625 {
24626 PyThreadState* __tstate = wxPyBeginAllowThreads();
24627 result = (wxDC *)(arg1)->GetDC();
24628
24629 wxPyEndAllowThreads(__tstate);
24630 if (PyErr_Occurred()) SWIG_fail;
24631 }
24632 {
412d302d 24633 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24634 }
24635 return resultobj;
24636 fail:
24637 return NULL;
24638}
24639
24640
c32bde28 24641static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24642 PyObject *resultobj;
24643 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24644 wxDC *arg2 = (wxDC *) 0 ;
24645 PyObject * obj0 = 0 ;
24646 PyObject * obj1 = 0 ;
24647 char *kwnames[] = {
24648 (char *) "self",(char *) "dc", NULL
24649 };
24650
24651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24653 if (SWIG_arg_fail(1)) SWIG_fail;
24654 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24655 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
24658 (arg1)->SetDC(arg2);
24659
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 Py_INCREF(Py_None); resultobj = Py_None;
24664 return resultobj;
24665 fail:
24666 return NULL;
24667}
24668
24669
c32bde28 24670static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24671 PyObject *resultobj;
24672 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
24673 int arg2 ;
24674 int arg3 ;
d14a1e28 24675 PyObject * obj0 = 0 ;
994141e6
RD
24676 PyObject * obj1 = 0 ;
24677 PyObject * obj2 = 0 ;
d14a1e28 24678 char *kwnames[] = {
322913ce 24679 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
24680 };
24681
994141e6 24682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24684 if (SWIG_arg_fail(1)) SWIG_fail;
24685 {
24686 arg2 = (int)(SWIG_As_int(obj1));
24687 if (SWIG_arg_fail(2)) SWIG_fail;
24688 }
24689 {
24690 arg3 = (int)(SWIG_As_int(obj2));
24691 if (SWIG_arg_fail(3)) SWIG_fail;
24692 }
d14a1e28
RD
24693 {
24694 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 24695 (arg1)->SetPageSizePixels(arg2,arg3);
d14a1e28
RD
24696
24697 wxPyEndAllowThreads(__tstate);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
24701 return resultobj;
24702 fail:
24703 return NULL;
24704}
24705
24706
c32bde28 24707static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24708 PyObject *resultobj;
24709 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
24710 int *arg2 = (int *) 0 ;
24711 int *arg3 = (int *) 0 ;
24712 int temp2 ;
c32bde28 24713 int res2 = 0 ;
322913ce 24714 int temp3 ;
c32bde28 24715 int res3 = 0 ;
d14a1e28
RD
24716 PyObject * obj0 = 0 ;
24717 char *kwnames[] = {
322913ce 24718 (char *) "self", NULL
d14a1e28
RD
24719 };
24720
c32bde28
RD
24721 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24722 arg3 = &temp3; res3 = SWIG_NEWOBJ;
322913ce 24723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
093d3ff1
RD
24724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24725 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24726 {
24727 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 24728 (arg1)->GetPageSizePixels(arg2,arg3);
d14a1e28
RD
24729
24730 wxPyEndAllowThreads(__tstate);
24731 if (PyErr_Occurred()) SWIG_fail;
24732 }
24733 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24734 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24735 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24736 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24737 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24738 return resultobj;
24739 fail:
24740 return NULL;
24741}
24742
24743
c32bde28 24744static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24745 PyObject *resultobj;
24746 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24747 int arg2 ;
24748 int arg3 ;
24749 PyObject * obj0 = 0 ;
994141e6
RD
24750 PyObject * obj1 = 0 ;
24751 PyObject * obj2 = 0 ;
d14a1e28
RD
24752 char *kwnames[] = {
24753 (char *) "self",(char *) "w",(char *) "h", NULL
24754 };
24755
994141e6 24756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24758 if (SWIG_arg_fail(1)) SWIG_fail;
24759 {
24760 arg2 = (int)(SWIG_As_int(obj1));
24761 if (SWIG_arg_fail(2)) SWIG_fail;
24762 }
24763 {
24764 arg3 = (int)(SWIG_As_int(obj2));
24765 if (SWIG_arg_fail(3)) SWIG_fail;
24766 }
d14a1e28
RD
24767 {
24768 PyThreadState* __tstate = wxPyBeginAllowThreads();
24769 (arg1)->SetPageSizeMM(arg2,arg3);
24770
24771 wxPyEndAllowThreads(__tstate);
24772 if (PyErr_Occurred()) SWIG_fail;
24773 }
24774 Py_INCREF(Py_None); resultobj = Py_None;
24775 return resultobj;
24776 fail:
24777 return NULL;
24778}
24779
24780
c32bde28 24781static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24782 PyObject *resultobj;
24783 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24784 int *arg2 = (int *) 0 ;
24785 int *arg3 = (int *) 0 ;
24786 int temp2 ;
c32bde28 24787 int res2 = 0 ;
d14a1e28 24788 int temp3 ;
c32bde28 24789 int res3 = 0 ;
d14a1e28
RD
24790 PyObject * obj0 = 0 ;
24791 char *kwnames[] = {
24792 (char *) "self", NULL
24793 };
24794
c32bde28
RD
24795 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24796 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 24797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
093d3ff1
RD
24798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24799 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 (arg1)->GetPageSizeMM(arg2,arg3);
24803
24804 wxPyEndAllowThreads(__tstate);
24805 if (PyErr_Occurred()) SWIG_fail;
24806 }
24807 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24808 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24809 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24810 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24811 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24812 return resultobj;
24813 fail:
24814 return NULL;
24815}
24816
24817
c32bde28 24818static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24819 PyObject *resultobj;
24820 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24821 int arg2 ;
24822 int arg3 ;
24823 PyObject * obj0 = 0 ;
994141e6
RD
24824 PyObject * obj1 = 0 ;
24825 PyObject * obj2 = 0 ;
d14a1e28
RD
24826 char *kwnames[] = {
24827 (char *) "self",(char *) "x",(char *) "y", NULL
24828 };
24829
994141e6 24830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24832 if (SWIG_arg_fail(1)) SWIG_fail;
24833 {
24834 arg2 = (int)(SWIG_As_int(obj1));
24835 if (SWIG_arg_fail(2)) SWIG_fail;
24836 }
24837 {
24838 arg3 = (int)(SWIG_As_int(obj2));
24839 if (SWIG_arg_fail(3)) SWIG_fail;
24840 }
d14a1e28
RD
24841 {
24842 PyThreadState* __tstate = wxPyBeginAllowThreads();
24843 (arg1)->SetPPIScreen(arg2,arg3);
24844
24845 wxPyEndAllowThreads(__tstate);
24846 if (PyErr_Occurred()) SWIG_fail;
24847 }
24848 Py_INCREF(Py_None); resultobj = Py_None;
24849 return resultobj;
24850 fail:
24851 return NULL;
24852}
24853
24854
c32bde28 24855static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24856 PyObject *resultobj;
24857 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24858 int *arg2 = (int *) 0 ;
24859 int *arg3 = (int *) 0 ;
24860 int temp2 ;
c32bde28 24861 int res2 = 0 ;
d14a1e28 24862 int temp3 ;
c32bde28 24863 int res3 = 0 ;
d14a1e28
RD
24864 PyObject * obj0 = 0 ;
24865 char *kwnames[] = {
24866 (char *) "self", NULL
24867 };
24868
c32bde28
RD
24869 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24870 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 24871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
24872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24873 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24874 {
24875 PyThreadState* __tstate = wxPyBeginAllowThreads();
24876 (arg1)->GetPPIScreen(arg2,arg3);
24877
24878 wxPyEndAllowThreads(__tstate);
24879 if (PyErr_Occurred()) SWIG_fail;
24880 }
24881 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24882 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24883 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24884 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24885 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24886 return resultobj;
24887 fail:
24888 return NULL;
24889}
24890
24891
c32bde28 24892static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24893 PyObject *resultobj;
24894 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24895 int arg2 ;
24896 int arg3 ;
24897 PyObject * obj0 = 0 ;
994141e6
RD
24898 PyObject * obj1 = 0 ;
24899 PyObject * obj2 = 0 ;
d14a1e28
RD
24900 char *kwnames[] = {
24901 (char *) "self",(char *) "x",(char *) "y", NULL
24902 };
24903
994141e6 24904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24906 if (SWIG_arg_fail(1)) SWIG_fail;
24907 {
24908 arg2 = (int)(SWIG_As_int(obj1));
24909 if (SWIG_arg_fail(2)) SWIG_fail;
24910 }
24911 {
24912 arg3 = (int)(SWIG_As_int(obj2));
24913 if (SWIG_arg_fail(3)) SWIG_fail;
24914 }
d14a1e28
RD
24915 {
24916 PyThreadState* __tstate = wxPyBeginAllowThreads();
24917 (arg1)->SetPPIPrinter(arg2,arg3);
24918
24919 wxPyEndAllowThreads(__tstate);
24920 if (PyErr_Occurred()) SWIG_fail;
24921 }
24922 Py_INCREF(Py_None); resultobj = Py_None;
24923 return resultobj;
24924 fail:
24925 return NULL;
24926}
24927
24928
c32bde28 24929static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24930 PyObject *resultobj;
24931 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24932 int *arg2 = (int *) 0 ;
24933 int *arg3 = (int *) 0 ;
24934 int temp2 ;
c32bde28 24935 int res2 = 0 ;
d14a1e28 24936 int temp3 ;
c32bde28 24937 int res3 = 0 ;
d14a1e28
RD
24938 PyObject * obj0 = 0 ;
24939 char *kwnames[] = {
24940 (char *) "self", NULL
24941 };
24942
c32bde28
RD
24943 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24944 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 24945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
24946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24947 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24948 {
24949 PyThreadState* __tstate = wxPyBeginAllowThreads();
24950 (arg1)->GetPPIPrinter(arg2,arg3);
24951
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24956 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24957 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24958 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24959 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24960 return resultobj;
24961 fail:
24962 return NULL;
24963}
24964
24965
c32bde28 24966static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24967 PyObject *resultobj;
24968 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24969 bool result;
24970 PyObject * obj0 = 0 ;
24971 char *kwnames[] = {
24972 (char *) "self", NULL
24973 };
24974
24975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
24976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24977 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24978 {
24979 PyThreadState* __tstate = wxPyBeginAllowThreads();
24980 result = (bool)(arg1)->IsPreview();
24981
24982 wxPyEndAllowThreads(__tstate);
24983 if (PyErr_Occurred()) SWIG_fail;
24984 }
4f89f6a3
RD
24985 {
24986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24987 }
d14a1e28
RD
24988 return resultobj;
24989 fail:
24990 return NULL;
24991}
24992
24993
c32bde28 24994static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24995 PyObject *resultobj;
24996 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24997 bool arg2 ;
24998 PyObject * obj0 = 0 ;
24999 PyObject * obj1 = 0 ;
25000 char *kwnames[] = {
25001 (char *) "self",(char *) "p", NULL
25002 };
25003
25004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25006 if (SWIG_arg_fail(1)) SWIG_fail;
25007 {
25008 arg2 = (bool)(SWIG_As_bool(obj1));
25009 if (SWIG_arg_fail(2)) SWIG_fail;
25010 }
d14a1e28
RD
25011 {
25012 PyThreadState* __tstate = wxPyBeginAllowThreads();
25013 (arg1)->SetIsPreview(arg2);
25014
25015 wxPyEndAllowThreads(__tstate);
25016 if (PyErr_Occurred()) SWIG_fail;
25017 }
25018 Py_INCREF(Py_None); resultobj = Py_None;
25019 return resultobj;
25020 fail:
25021 return NULL;
25022}
25023
25024
c32bde28 25025static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25026 PyObject *resultobj;
25027 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25028 int arg2 ;
25029 int arg3 ;
25030 bool result;
25031 PyObject * obj0 = 0 ;
994141e6
RD
25032 PyObject * obj1 = 0 ;
25033 PyObject * obj2 = 0 ;
d14a1e28
RD
25034 char *kwnames[] = {
25035 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25036 };
25037
994141e6 25038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25040 if (SWIG_arg_fail(1)) SWIG_fail;
25041 {
25042 arg2 = (int)(SWIG_As_int(obj1));
25043 if (SWIG_arg_fail(2)) SWIG_fail;
25044 }
25045 {
25046 arg3 = (int)(SWIG_As_int(obj2));
25047 if (SWIG_arg_fail(3)) SWIG_fail;
25048 }
d14a1e28
RD
25049 {
25050 PyThreadState* __tstate = wxPyBeginAllowThreads();
25051 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
25052
25053 wxPyEndAllowThreads(__tstate);
25054 if (PyErr_Occurred()) SWIG_fail;
25055 }
4f89f6a3
RD
25056 {
25057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25058 }
d14a1e28
RD
25059 return resultobj;
25060 fail:
25061 return NULL;
25062}
25063
25064
c32bde28 25065static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25066 PyObject *resultobj;
25067 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25068 PyObject * obj0 = 0 ;
25069 char *kwnames[] = {
25070 (char *) "self", NULL
25071 };
25072
25073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
093d3ff1
RD
25074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25075 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25076 {
25077 PyThreadState* __tstate = wxPyBeginAllowThreads();
25078 (arg1)->base_OnEndDocument();
25079
25080 wxPyEndAllowThreads(__tstate);
25081 if (PyErr_Occurred()) SWIG_fail;
25082 }
25083 Py_INCREF(Py_None); resultobj = Py_None;
25084 return resultobj;
25085 fail:
25086 return NULL;
25087}
25088
25089
c32bde28 25090static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25091 PyObject *resultobj;
25092 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25093 PyObject * obj0 = 0 ;
25094 char *kwnames[] = {
25095 (char *) "self", NULL
25096 };
25097
25098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25100 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25101 {
25102 PyThreadState* __tstate = wxPyBeginAllowThreads();
25103 (arg1)->base_OnBeginPrinting();
25104
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
25108 Py_INCREF(Py_None); resultobj = Py_None;
25109 return resultobj;
25110 fail:
25111 return NULL;
25112}
25113
25114
c32bde28 25115static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25116 PyObject *resultobj;
25117 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25118 PyObject * obj0 = 0 ;
25119 char *kwnames[] = {
25120 (char *) "self", NULL
25121 };
25122
25123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25125 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25126 {
25127 PyThreadState* __tstate = wxPyBeginAllowThreads();
25128 (arg1)->base_OnEndPrinting();
25129
25130 wxPyEndAllowThreads(__tstate);
25131 if (PyErr_Occurred()) SWIG_fail;
25132 }
25133 Py_INCREF(Py_None); resultobj = Py_None;
25134 return resultobj;
25135 fail:
25136 return NULL;
25137}
25138
25139
c32bde28 25140static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25141 PyObject *resultobj;
25142 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25143 PyObject * obj0 = 0 ;
25144 char *kwnames[] = {
25145 (char *) "self", NULL
25146 };
25147
25148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25150 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25151 {
25152 PyThreadState* __tstate = wxPyBeginAllowThreads();
25153 (arg1)->base_OnPreparePrinting();
25154
25155 wxPyEndAllowThreads(__tstate);
25156 if (PyErr_Occurred()) SWIG_fail;
25157 }
25158 Py_INCREF(Py_None); resultobj = Py_None;
25159 return resultobj;
25160 fail:
25161 return NULL;
25162}
25163
25164
c32bde28 25165static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
322913ce
RD
25166 PyObject *resultobj;
25167 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25168 int arg2 ;
25169 bool result;
25170 PyObject * obj0 = 0 ;
994141e6 25171 PyObject * obj1 = 0 ;
322913ce
RD
25172 char *kwnames[] = {
25173 (char *) "self",(char *) "page", NULL
25174 };
25175
994141e6 25176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25178 if (SWIG_arg_fail(1)) SWIG_fail;
25179 {
25180 arg2 = (int)(SWIG_As_int(obj1));
25181 if (SWIG_arg_fail(2)) SWIG_fail;
25182 }
322913ce
RD
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 result = (bool)(arg1)->base_HasPage(arg2);
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
4f89f6a3
RD
25190 {
25191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25192 }
322913ce
RD
25193 return resultobj;
25194 fail:
25195 return NULL;
25196}
25197
25198
c32bde28 25199static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25200 PyObject *resultobj;
25201 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25202 int *arg2 = (int *) 0 ;
25203 int *arg3 = (int *) 0 ;
25204 int *arg4 = (int *) 0 ;
25205 int *arg5 = (int *) 0 ;
25206 int temp2 ;
c32bde28 25207 int res2 = 0 ;
d14a1e28 25208 int temp3 ;
c32bde28 25209 int res3 = 0 ;
d14a1e28 25210 int temp4 ;
c32bde28 25211 int res4 = 0 ;
d14a1e28 25212 int temp5 ;
c32bde28 25213 int res5 = 0 ;
d14a1e28
RD
25214 PyObject * obj0 = 0 ;
25215 char *kwnames[] = {
25216 (char *) "self", NULL
25217 };
25218
c32bde28
RD
25219 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25220 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25221 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25222 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 25223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
25224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25225 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25226 {
25227 PyThreadState* __tstate = wxPyBeginAllowThreads();
25228 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25229
25230 wxPyEndAllowThreads(__tstate);
25231 if (PyErr_Occurred()) SWIG_fail;
25232 }
25233 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25234 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25235 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25236 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25237 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25238 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25239 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25240 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25241 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
25242 return resultobj;
25243 fail:
25244 return NULL;
25245}
25246
25247
c32bde28 25248static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25249 PyObject *obj;
25250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25251 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25252 Py_INCREF(obj);
25253 return Py_BuildValue((char *)"");
25254}
c32bde28 25255static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25256 PyObject *resultobj;
25257 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25258 wxWindow *arg2 = (wxWindow *) 0 ;
25259 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25260 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25261 wxSize const &arg4_defvalue = wxDefaultSize ;
25262 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25263 long arg5 = (long) 0 ;
25264 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25265 wxString *arg6 = (wxString *) &arg6_defvalue ;
25266 wxPreviewCanvas *result;
25267 wxPoint temp3 ;
25268 wxSize temp4 ;
ae8162c8 25269 bool temp6 = false ;
d14a1e28
RD
25270 PyObject * obj0 = 0 ;
25271 PyObject * obj1 = 0 ;
25272 PyObject * obj2 = 0 ;
25273 PyObject * obj3 = 0 ;
994141e6 25274 PyObject * obj4 = 0 ;
d14a1e28
RD
25275 PyObject * obj5 = 0 ;
25276 char *kwnames[] = {
25277 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25278 };
25279
994141e6 25280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
25281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25282 if (SWIG_arg_fail(1)) SWIG_fail;
25283 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25284 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25285 if (obj2) {
25286 {
25287 arg3 = &temp3;
25288 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25289 }
25290 }
25291 if (obj3) {
25292 {
25293 arg4 = &temp4;
25294 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25295 }
25296 }
994141e6 25297 if (obj4) {
093d3ff1
RD
25298 {
25299 arg5 = (long)(SWIG_As_long(obj4));
25300 if (SWIG_arg_fail(5)) SWIG_fail;
25301 }
994141e6 25302 }
d14a1e28
RD
25303 if (obj5) {
25304 {
25305 arg6 = wxString_in_helper(obj5);
25306 if (arg6 == NULL) SWIG_fail;
ae8162c8 25307 temp6 = true;
d14a1e28
RD
25308 }
25309 }
25310 {
e3b71cb8 25311 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25312 PyThreadState* __tstate = wxPyBeginAllowThreads();
25313 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25314
25315 wxPyEndAllowThreads(__tstate);
110da5b0 25316 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25317 }
15afbcd0 25318 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
d14a1e28
RD
25319 {
25320 if (temp6)
25321 delete arg6;
25322 }
25323 return resultobj;
25324 fail:
25325 {
25326 if (temp6)
25327 delete arg6;
25328 }
25329 return NULL;
25330}
25331
25332
c32bde28 25333static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25334 PyObject *obj;
25335 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25336 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25337 Py_INCREF(obj);
25338 return Py_BuildValue((char *)"");
25339}
c32bde28 25340static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25341 PyObject *resultobj;
25342 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25343 wxFrame *arg2 = (wxFrame *) 0 ;
25344 wxString *arg3 = 0 ;
25345 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25346 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25347 wxSize const &arg5_defvalue = wxDefaultSize ;
25348 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25349 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25350 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25351 wxString *arg7 = (wxString *) &arg7_defvalue ;
25352 wxPreviewFrame *result;
ae8162c8 25353 bool temp3 = false ;
d14a1e28
RD
25354 wxPoint temp4 ;
25355 wxSize temp5 ;
ae8162c8 25356 bool temp7 = false ;
d14a1e28
RD
25357 PyObject * obj0 = 0 ;
25358 PyObject * obj1 = 0 ;
25359 PyObject * obj2 = 0 ;
25360 PyObject * obj3 = 0 ;
25361 PyObject * obj4 = 0 ;
994141e6 25362 PyObject * obj5 = 0 ;
d14a1e28
RD
25363 PyObject * obj6 = 0 ;
25364 char *kwnames[] = {
25365 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25366 };
25367
994141e6 25368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25370 if (SWIG_arg_fail(1)) SWIG_fail;
25371 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25372 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25373 {
25374 arg3 = wxString_in_helper(obj2);
25375 if (arg3 == NULL) SWIG_fail;
ae8162c8 25376 temp3 = true;
d14a1e28
RD
25377 }
25378 if (obj3) {
25379 {
25380 arg4 = &temp4;
25381 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25382 }
25383 }
25384 if (obj4) {
25385 {
25386 arg5 = &temp5;
25387 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25388 }
25389 }
994141e6 25390 if (obj5) {
093d3ff1
RD
25391 {
25392 arg6 = (long)(SWIG_As_long(obj5));
25393 if (SWIG_arg_fail(6)) SWIG_fail;
25394 }
994141e6 25395 }
d14a1e28
RD
25396 if (obj6) {
25397 {
25398 arg7 = wxString_in_helper(obj6);
25399 if (arg7 == NULL) SWIG_fail;
ae8162c8 25400 temp7 = true;
d14a1e28
RD
25401 }
25402 }
25403 {
e3b71cb8 25404 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25405 PyThreadState* __tstate = wxPyBeginAllowThreads();
25406 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25407
25408 wxPyEndAllowThreads(__tstate);
110da5b0 25409 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25410 }
15afbcd0 25411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
d14a1e28
RD
25412 {
25413 if (temp3)
25414 delete arg3;
25415 }
25416 {
25417 if (temp7)
25418 delete arg7;
25419 }
25420 return resultobj;
25421 fail:
25422 {
25423 if (temp3)
25424 delete arg3;
25425 }
25426 {
25427 if (temp7)
25428 delete arg7;
25429 }
25430 return NULL;
25431}
25432
25433
c32bde28 25434static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25435 PyObject *resultobj;
25436 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25437 PyObject * obj0 = 0 ;
25438 char *kwnames[] = {
25439 (char *) "self", NULL
25440 };
25441
25442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
25443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25444 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25445 {
25446 PyThreadState* __tstate = wxPyBeginAllowThreads();
25447 (arg1)->Initialize();
25448
25449 wxPyEndAllowThreads(__tstate);
25450 if (PyErr_Occurred()) SWIG_fail;
25451 }
25452 Py_INCREF(Py_None); resultobj = Py_None;
25453 return resultobj;
25454 fail:
25455 return NULL;
25456}
25457
25458
c32bde28 25459static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25460 PyObject *resultobj;
25461 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25462 PyObject * obj0 = 0 ;
25463 char *kwnames[] = {
25464 (char *) "self", NULL
25465 };
25466
25467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25469 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25470 {
25471 PyThreadState* __tstate = wxPyBeginAllowThreads();
25472 (arg1)->CreateControlBar();
25473
25474 wxPyEndAllowThreads(__tstate);
25475 if (PyErr_Occurred()) SWIG_fail;
25476 }
25477 Py_INCREF(Py_None); resultobj = Py_None;
25478 return resultobj;
25479 fail:
25480 return NULL;
25481}
25482
25483
c32bde28 25484static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25485 PyObject *resultobj;
25486 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25487 PyObject * obj0 = 0 ;
25488 char *kwnames[] = {
25489 (char *) "self", NULL
25490 };
25491
25492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
25493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25494 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25495 {
25496 PyThreadState* __tstate = wxPyBeginAllowThreads();
25497 (arg1)->CreateCanvas();
25498
25499 wxPyEndAllowThreads(__tstate);
25500 if (PyErr_Occurred()) SWIG_fail;
25501 }
25502 Py_INCREF(Py_None); resultobj = Py_None;
25503 return resultobj;
25504 fail:
25505 return NULL;
25506}
25507
25508
c32bde28 25509static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25510 PyObject *resultobj;
25511 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25512 wxPreviewControlBar *result;
25513 PyObject * obj0 = 0 ;
25514 char *kwnames[] = {
25515 (char *) "self", NULL
25516 };
25517
25518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25520 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25521 {
25522 PyThreadState* __tstate = wxPyBeginAllowThreads();
25523 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25524
25525 wxPyEndAllowThreads(__tstate);
25526 if (PyErr_Occurred()) SWIG_fail;
25527 }
15afbcd0 25528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
d14a1e28
RD
25529 return resultobj;
25530 fail:
25531 return NULL;
25532}
25533
25534
c32bde28 25535static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25536 PyObject *obj;
25537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25538 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25539 Py_INCREF(obj);
25540 return Py_BuildValue((char *)"");
25541}
c32bde28 25542static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25543 PyObject *resultobj;
25544 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25545 long arg2 ;
25546 wxWindow *arg3 = (wxWindow *) 0 ;
25547 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25548 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25549 wxSize const &arg5_defvalue = wxDefaultSize ;
25550 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25551 long arg6 = (long) wxTAB_TRAVERSAL ;
25552 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25553 wxString *arg7 = (wxString *) &arg7_defvalue ;
25554 wxPreviewControlBar *result;
25555 wxPoint temp4 ;
25556 wxSize temp5 ;
ae8162c8 25557 bool temp7 = false ;
d14a1e28 25558 PyObject * obj0 = 0 ;
994141e6 25559 PyObject * obj1 = 0 ;
d14a1e28
RD
25560 PyObject * obj2 = 0 ;
25561 PyObject * obj3 = 0 ;
25562 PyObject * obj4 = 0 ;
994141e6 25563 PyObject * obj5 = 0 ;
d14a1e28
RD
25564 PyObject * obj6 = 0 ;
25565 char *kwnames[] = {
25566 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25567 };
25568
994141e6 25569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25571 if (SWIG_arg_fail(1)) SWIG_fail;
25572 {
25573 arg2 = (long)(SWIG_As_long(obj1));
25574 if (SWIG_arg_fail(2)) SWIG_fail;
25575 }
25576 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25577 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
25578 if (obj3) {
25579 {
25580 arg4 = &temp4;
25581 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25582 }
25583 }
25584 if (obj4) {
25585 {
25586 arg5 = &temp5;
25587 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25588 }
25589 }
994141e6 25590 if (obj5) {
093d3ff1
RD
25591 {
25592 arg6 = (long)(SWIG_As_long(obj5));
25593 if (SWIG_arg_fail(6)) SWIG_fail;
25594 }
994141e6 25595 }
d14a1e28
RD
25596 if (obj6) {
25597 {
25598 arg7 = wxString_in_helper(obj6);
25599 if (arg7 == NULL) SWIG_fail;
ae8162c8 25600 temp7 = true;
d14a1e28
RD
25601 }
25602 }
25603 {
e3b71cb8 25604 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25605 PyThreadState* __tstate = wxPyBeginAllowThreads();
25606 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25607
25608 wxPyEndAllowThreads(__tstate);
110da5b0 25609 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25610 }
15afbcd0 25611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
d14a1e28
RD
25612 {
25613 if (temp7)
25614 delete arg7;
25615 }
25616 return resultobj;
25617 fail:
25618 {
25619 if (temp7)
25620 delete arg7;
25621 }
25622 return NULL;
25623}
25624
25625
c32bde28 25626static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25627 PyObject *resultobj;
25628 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25629 int result;
25630 PyObject * obj0 = 0 ;
25631 char *kwnames[] = {
25632 (char *) "self", NULL
25633 };
25634
25635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
25636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25637 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25638 {
25639 PyThreadState* __tstate = wxPyBeginAllowThreads();
25640 result = (int)(arg1)->GetZoomControl();
25641
25642 wxPyEndAllowThreads(__tstate);
25643 if (PyErr_Occurred()) SWIG_fail;
25644 }
093d3ff1
RD
25645 {
25646 resultobj = SWIG_From_int((int)(result));
25647 }
d14a1e28
RD
25648 return resultobj;
25649 fail:
25650 return NULL;
25651}
25652
25653
c32bde28 25654static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25655 PyObject *resultobj;
25656 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25657 int arg2 ;
25658 PyObject * obj0 = 0 ;
994141e6 25659 PyObject * obj1 = 0 ;
d14a1e28
RD
25660 char *kwnames[] = {
25661 (char *) "self",(char *) "zoom", NULL
25662 };
25663
994141e6 25664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25666 if (SWIG_arg_fail(1)) SWIG_fail;
25667 {
25668 arg2 = (int)(SWIG_As_int(obj1));
25669 if (SWIG_arg_fail(2)) SWIG_fail;
25670 }
d14a1e28
RD
25671 {
25672 PyThreadState* __tstate = wxPyBeginAllowThreads();
25673 (arg1)->SetZoomControl(arg2);
25674
25675 wxPyEndAllowThreads(__tstate);
25676 if (PyErr_Occurred()) SWIG_fail;
25677 }
25678 Py_INCREF(Py_None); resultobj = Py_None;
25679 return resultobj;
25680 fail:
25681 return NULL;
25682}
25683
25684
c32bde28 25685static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25686 PyObject *resultobj;
25687 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25688 wxPrintPreview *result;
25689 PyObject * obj0 = 0 ;
25690 char *kwnames[] = {
25691 (char *) "self", NULL
25692 };
25693
25694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
25695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25696 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25697 {
25698 PyThreadState* __tstate = wxPyBeginAllowThreads();
25699 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25700
25701 wxPyEndAllowThreads(__tstate);
25702 if (PyErr_Occurred()) SWIG_fail;
25703 }
15afbcd0 25704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
d14a1e28
RD
25705 return resultobj;
25706 fail:
25707 return NULL;
25708}
25709
25710
c32bde28 25711static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25712 PyObject *resultobj;
25713 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25714 PyObject * obj0 = 0 ;
25715 char *kwnames[] = {
25716 (char *) "self", NULL
25717 };
25718
25719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
25720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25721 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25722 {
25723 PyThreadState* __tstate = wxPyBeginAllowThreads();
25724 (arg1)->OnNext();
25725
25726 wxPyEndAllowThreads(__tstate);
25727 if (PyErr_Occurred()) SWIG_fail;
25728 }
25729 Py_INCREF(Py_None); resultobj = Py_None;
25730 return resultobj;
25731 fail:
25732 return NULL;
25733}
25734
25735
c32bde28 25736static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25737 PyObject *resultobj;
25738 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25739 PyObject * obj0 = 0 ;
25740 char *kwnames[] = {
25741 (char *) "self", NULL
25742 };
25743
25744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
25745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25746 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25747 {
25748 PyThreadState* __tstate = wxPyBeginAllowThreads();
25749 (arg1)->OnPrevious();
25750
25751 wxPyEndAllowThreads(__tstate);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 }
25754 Py_INCREF(Py_None); resultobj = Py_None;
25755 return resultobj;
25756 fail:
25757 return NULL;
25758}
25759
25760
c32bde28 25761static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25762 PyObject *resultobj;
25763 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25764 PyObject * obj0 = 0 ;
25765 char *kwnames[] = {
25766 (char *) "self", NULL
25767 };
25768
25769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
093d3ff1
RD
25770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25771 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25772 {
25773 PyThreadState* __tstate = wxPyBeginAllowThreads();
25774 (arg1)->OnFirst();
25775
25776 wxPyEndAllowThreads(__tstate);
25777 if (PyErr_Occurred()) SWIG_fail;
25778 }
25779 Py_INCREF(Py_None); resultobj = Py_None;
25780 return resultobj;
25781 fail:
25782 return NULL;
25783}
25784
25785
c32bde28 25786static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25787 PyObject *resultobj;
25788 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25789 PyObject * obj0 = 0 ;
25790 char *kwnames[] = {
25791 (char *) "self", NULL
25792 };
25793
25794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
093d3ff1
RD
25795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25796 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25797 {
25798 PyThreadState* __tstate = wxPyBeginAllowThreads();
25799 (arg1)->OnLast();
25800
25801 wxPyEndAllowThreads(__tstate);
25802 if (PyErr_Occurred()) SWIG_fail;
25803 }
25804 Py_INCREF(Py_None); resultobj = Py_None;
25805 return resultobj;
25806 fail:
25807 return NULL;
25808}
25809
25810
c32bde28 25811static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25812 PyObject *resultobj;
25813 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25814 PyObject * obj0 = 0 ;
25815 char *kwnames[] = {
25816 (char *) "self", NULL
25817 };
25818
25819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
093d3ff1
RD
25820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25822 {
25823 PyThreadState* __tstate = wxPyBeginAllowThreads();
25824 (arg1)->OnGoto();
25825
25826 wxPyEndAllowThreads(__tstate);
25827 if (PyErr_Occurred()) SWIG_fail;
25828 }
25829 Py_INCREF(Py_None); resultobj = Py_None;
25830 return resultobj;
25831 fail:
25832 return NULL;
25833}
25834
25835
c32bde28 25836static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25837 PyObject *obj;
25838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25839 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25840 Py_INCREF(obj);
25841 return Py_BuildValue((char *)"");
25842}
c32bde28 25843static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
25844 PyObject *resultobj;
25845 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25846 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 25847 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
25848 wxPrintPreview *result;
25849 PyObject * obj0 = 0 ;
25850 PyObject * obj1 = 0 ;
25851 PyObject * obj2 = 0 ;
d14a1e28 25852
4276dc52 25853 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25855 if (SWIG_arg_fail(1)) SWIG_fail;
25856 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25857 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 25858 if (obj2) {
093d3ff1
RD
25859 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25860 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
25861 }
25862 {
e3b71cb8 25863 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25864 PyThreadState* __tstate = wxPyBeginAllowThreads();
25865 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25866
25867 wxPyEndAllowThreads(__tstate);
110da5b0 25868 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25869 }
15afbcd0 25870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
d14a1e28
RD
25871 return resultobj;
25872 fail:
25873 return NULL;
25874}
25875
25876
c32bde28 25877static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
25878 PyObject *resultobj;
25879 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25880 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25881 wxPrintData *arg3 = (wxPrintData *) 0 ;
25882 wxPrintPreview *result;
25883 PyObject * obj0 = 0 ;
25884 PyObject * obj1 = 0 ;
25885 PyObject * obj2 = 0 ;
25886
25887 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25889 if (SWIG_arg_fail(1)) SWIG_fail;
25890 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25891 if (SWIG_arg_fail(2)) SWIG_fail;
25892 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25893 if (SWIG_arg_fail(3)) SWIG_fail;
4276dc52 25894 {
e3b71cb8 25895 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
25896 PyThreadState* __tstate = wxPyBeginAllowThreads();
25897 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25898
25899 wxPyEndAllowThreads(__tstate);
110da5b0 25900 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
25901 }
25902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25903 return resultobj;
25904 fail:
25905 return NULL;
25906}
25907
25908
25909static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25910 int argc;
25911 PyObject *argv[4];
25912 int ii;
25913
25914 argc = PyObject_Length(args);
25915 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25916 argv[ii] = PyTuple_GetItem(args,ii);
25917 }
25918 if ((argc >= 2) && (argc <= 3)) {
25919 int _v;
25920 {
25921 void *ptr;
25922 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25923 _v = 0;
25924 PyErr_Clear();
25925 } else {
25926 _v = 1;
25927 }
25928 }
25929 if (_v) {
25930 {
25931 void *ptr;
25932 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25933 _v = 0;
25934 PyErr_Clear();
25935 } else {
25936 _v = 1;
25937 }
25938 }
25939 if (_v) {
25940 if (argc <= 2) {
25941 return _wrap_new_PrintPreview__SWIG_0(self,args);
25942 }
25943 {
25944 void *ptr;
25945 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25946 _v = 0;
25947 PyErr_Clear();
25948 } else {
25949 _v = 1;
25950 }
25951 }
25952 if (_v) {
25953 return _wrap_new_PrintPreview__SWIG_0(self,args);
25954 }
25955 }
25956 }
25957 }
25958 if (argc == 3) {
25959 int _v;
25960 {
25961 void *ptr;
25962 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25963 _v = 0;
25964 PyErr_Clear();
25965 } else {
25966 _v = 1;
25967 }
25968 }
25969 if (_v) {
25970 {
25971 void *ptr;
25972 if (SWIG_ConvertPtr(argv[1], &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[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25983 _v = 0;
25984 PyErr_Clear();
25985 } else {
25986 _v = 1;
25987 }
25988 }
25989 if (_v) {
25990 return _wrap_new_PrintPreview__SWIG_1(self,args);
25991 }
25992 }
25993 }
25994 }
25995
093d3ff1 25996 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
4276dc52
RD
25997 return NULL;
25998}
25999
26000
c32bde28 26001static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26002 PyObject *resultobj;
26003 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26004 int arg2 ;
26005 bool result;
26006 PyObject * obj0 = 0 ;
994141e6 26007 PyObject * obj1 = 0 ;
d14a1e28
RD
26008 char *kwnames[] = {
26009 (char *) "self",(char *) "pageNum", NULL
26010 };
26011
994141e6 26012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26014 if (SWIG_arg_fail(1)) SWIG_fail;
26015 {
26016 arg2 = (int)(SWIG_As_int(obj1));
26017 if (SWIG_arg_fail(2)) SWIG_fail;
26018 }
d14a1e28
RD
26019 {
26020 PyThreadState* __tstate = wxPyBeginAllowThreads();
26021 result = (bool)(arg1)->SetCurrentPage(arg2);
26022
26023 wxPyEndAllowThreads(__tstate);
26024 if (PyErr_Occurred()) SWIG_fail;
26025 }
4f89f6a3
RD
26026 {
26027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26028 }
d14a1e28
RD
26029 return resultobj;
26030 fail:
26031 return NULL;
26032}
26033
26034
c32bde28 26035static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26036 PyObject *resultobj;
26037 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26038 int result;
26039 PyObject * obj0 = 0 ;
26040 char *kwnames[] = {
26041 (char *) "self", NULL
26042 };
26043
26044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26046 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26047 {
26048 PyThreadState* __tstate = wxPyBeginAllowThreads();
26049 result = (int)(arg1)->GetCurrentPage();
26050
26051 wxPyEndAllowThreads(__tstate);
26052 if (PyErr_Occurred()) SWIG_fail;
26053 }
093d3ff1
RD
26054 {
26055 resultobj = SWIG_From_int((int)(result));
26056 }
d14a1e28
RD
26057 return resultobj;
26058 fail:
26059 return NULL;
26060}
26061
26062
c32bde28 26063static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26064 PyObject *resultobj;
26065 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26066 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26067 PyObject * obj0 = 0 ;
26068 PyObject * obj1 = 0 ;
26069 char *kwnames[] = {
26070 (char *) "self",(char *) "printout", NULL
26071 };
26072
26073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26075 if (SWIG_arg_fail(1)) SWIG_fail;
26076 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26077 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26078 {
26079 PyThreadState* __tstate = wxPyBeginAllowThreads();
26080 (arg1)->SetPrintout(arg2);
26081
26082 wxPyEndAllowThreads(__tstate);
26083 if (PyErr_Occurred()) SWIG_fail;
26084 }
26085 Py_INCREF(Py_None); resultobj = Py_None;
26086 return resultobj;
26087 fail:
26088 return NULL;
26089}
26090
26091
c32bde28 26092static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26093 PyObject *resultobj;
26094 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26095 wxPyPrintout *result;
26096 PyObject * obj0 = 0 ;
26097 char *kwnames[] = {
26098 (char *) "self", NULL
26099 };
26100
26101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
093d3ff1
RD
26102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26103 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26104 {
26105 PyThreadState* __tstate = wxPyBeginAllowThreads();
26106 result = (wxPyPrintout *)(arg1)->GetPrintout();
26107
26108 wxPyEndAllowThreads(__tstate);
26109 if (PyErr_Occurred()) SWIG_fail;
26110 }
26111 {
412d302d 26112 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26113 }
26114 return resultobj;
26115 fail:
26116 return NULL;
26117}
26118
26119
c32bde28 26120static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26121 PyObject *resultobj;
26122 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26123 wxPyPrintout *result;
26124 PyObject * obj0 = 0 ;
26125 char *kwnames[] = {
26126 (char *) "self", NULL
26127 };
26128
26129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
26130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26131 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26132 {
26133 PyThreadState* __tstate = wxPyBeginAllowThreads();
26134 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26135
26136 wxPyEndAllowThreads(__tstate);
26137 if (PyErr_Occurred()) SWIG_fail;
26138 }
26139 {
412d302d 26140 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26141 }
26142 return resultobj;
26143 fail:
26144 return NULL;
26145}
26146
26147
c32bde28 26148static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26149 PyObject *resultobj;
26150 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26151 wxFrame *arg2 = (wxFrame *) 0 ;
26152 PyObject * obj0 = 0 ;
26153 PyObject * obj1 = 0 ;
26154 char *kwnames[] = {
26155 (char *) "self",(char *) "frame", NULL
26156 };
26157
26158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26160 if (SWIG_arg_fail(1)) SWIG_fail;
26161 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26162 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26163 {
26164 PyThreadState* __tstate = wxPyBeginAllowThreads();
26165 (arg1)->SetFrame(arg2);
26166
26167 wxPyEndAllowThreads(__tstate);
26168 if (PyErr_Occurred()) SWIG_fail;
26169 }
26170 Py_INCREF(Py_None); resultobj = Py_None;
26171 return resultobj;
26172 fail:
26173 return NULL;
26174}
26175
26176
c32bde28 26177static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26178 PyObject *resultobj;
26179 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26180 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26181 PyObject * obj0 = 0 ;
26182 PyObject * obj1 = 0 ;
26183 char *kwnames[] = {
26184 (char *) "self",(char *) "canvas", NULL
26185 };
26186
26187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26189 if (SWIG_arg_fail(1)) SWIG_fail;
26190 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26191 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26192 {
26193 PyThreadState* __tstate = wxPyBeginAllowThreads();
26194 (arg1)->SetCanvas(arg2);
26195
26196 wxPyEndAllowThreads(__tstate);
26197 if (PyErr_Occurred()) SWIG_fail;
26198 }
26199 Py_INCREF(Py_None); resultobj = Py_None;
26200 return resultobj;
26201 fail:
26202 return NULL;
26203}
26204
26205
c32bde28 26206static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26207 PyObject *resultobj;
26208 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26209 wxFrame *result;
26210 PyObject * obj0 = 0 ;
26211 char *kwnames[] = {
26212 (char *) "self", NULL
26213 };
26214
26215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
26216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26217 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26218 {
26219 PyThreadState* __tstate = wxPyBeginAllowThreads();
26220 result = (wxFrame *)(arg1)->GetFrame();
26221
26222 wxPyEndAllowThreads(__tstate);
26223 if (PyErr_Occurred()) SWIG_fail;
26224 }
26225 {
412d302d 26226 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26227 }
26228 return resultobj;
26229 fail:
26230 return NULL;
26231}
26232
26233
c32bde28 26234static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26235 PyObject *resultobj;
26236 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26237 wxPreviewCanvas *result;
26238 PyObject * obj0 = 0 ;
26239 char *kwnames[] = {
26240 (char *) "self", NULL
26241 };
26242
26243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
26244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26245 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26246 {
26247 PyThreadState* __tstate = wxPyBeginAllowThreads();
26248 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26249
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
15afbcd0 26253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
d14a1e28
RD
26254 return resultobj;
26255 fail:
26256 return NULL;
26257}
26258
26259
c32bde28 26260static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26261 PyObject *resultobj;
26262 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26263 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26264 wxDC *arg3 = 0 ;
26265 bool result;
26266 PyObject * obj0 = 0 ;
26267 PyObject * obj1 = 0 ;
26268 PyObject * obj2 = 0 ;
26269 char *kwnames[] = {
26270 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26271 };
26272
26273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26275 if (SWIG_arg_fail(1)) SWIG_fail;
26276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26277 if (SWIG_arg_fail(2)) SWIG_fail;
26278 {
26279 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26280 if (SWIG_arg_fail(3)) SWIG_fail;
26281 if (arg3 == NULL) {
26282 SWIG_null_ref("wxDC");
26283 }
26284 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26285 }
26286 {
26287 PyThreadState* __tstate = wxPyBeginAllowThreads();
26288 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26289
26290 wxPyEndAllowThreads(__tstate);
26291 if (PyErr_Occurred()) SWIG_fail;
26292 }
4f89f6a3
RD
26293 {
26294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26295 }
d14a1e28
RD
26296 return resultobj;
26297 fail:
26298 return NULL;
26299}
26300
26301
c32bde28 26302static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26303 PyObject *resultobj;
26304 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26305 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26306 wxDC *arg3 = 0 ;
26307 bool result;
26308 PyObject * obj0 = 0 ;
26309 PyObject * obj1 = 0 ;
26310 PyObject * obj2 = 0 ;
26311 char *kwnames[] = {
26312 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26313 };
26314
26315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26317 if (SWIG_arg_fail(1)) SWIG_fail;
26318 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26319 if (SWIG_arg_fail(2)) SWIG_fail;
26320 {
26321 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26322 if (SWIG_arg_fail(3)) SWIG_fail;
26323 if (arg3 == NULL) {
26324 SWIG_null_ref("wxDC");
26325 }
26326 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26327 }
26328 {
26329 PyThreadState* __tstate = wxPyBeginAllowThreads();
26330 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26331
26332 wxPyEndAllowThreads(__tstate);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 }
4f89f6a3
RD
26335 {
26336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26337 }
d14a1e28
RD
26338 return resultobj;
26339 fail:
26340 return NULL;
26341}
26342
26343
c32bde28 26344static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26345 PyObject *resultobj;
26346 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26347 int arg2 ;
26348 bool result;
26349 PyObject * obj0 = 0 ;
994141e6 26350 PyObject * obj1 = 0 ;
d14a1e28
RD
26351 char *kwnames[] = {
26352 (char *) "self",(char *) "pageNum", NULL
26353 };
26354
994141e6 26355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26357 if (SWIG_arg_fail(1)) SWIG_fail;
26358 {
26359 arg2 = (int)(SWIG_As_int(obj1));
26360 if (SWIG_arg_fail(2)) SWIG_fail;
26361 }
d14a1e28
RD
26362 {
26363 PyThreadState* __tstate = wxPyBeginAllowThreads();
26364 result = (bool)(arg1)->RenderPage(arg2);
26365
26366 wxPyEndAllowThreads(__tstate);
26367 if (PyErr_Occurred()) SWIG_fail;
26368 }
4f89f6a3
RD
26369 {
26370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26371 }
d14a1e28
RD
26372 return resultobj;
26373 fail:
26374 return NULL;
26375}
26376
26377
c32bde28 26378static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26379 PyObject *resultobj;
26380 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26381 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26382 PyObject * obj0 = 0 ;
26383 PyObject * obj1 = 0 ;
26384 char *kwnames[] = {
26385 (char *) "self",(char *) "canvas", NULL
26386 };
26387
26388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26390 if (SWIG_arg_fail(1)) SWIG_fail;
26391 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26392 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26393 {
26394 PyThreadState* __tstate = wxPyBeginAllowThreads();
26395 (arg1)->AdjustScrollbars(arg2);
26396
26397 wxPyEndAllowThreads(__tstate);
26398 if (PyErr_Occurred()) SWIG_fail;
26399 }
26400 Py_INCREF(Py_None); resultobj = Py_None;
26401 return resultobj;
26402 fail:
26403 return NULL;
26404}
26405
26406
c32bde28 26407static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26408 PyObject *resultobj;
26409 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26410 wxPrintDialogData *result;
26411 PyObject * obj0 = 0 ;
26412 char *kwnames[] = {
26413 (char *) "self", NULL
26414 };
26415
26416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
26417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26418 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26419 {
26420 PyThreadState* __tstate = wxPyBeginAllowThreads();
26421 {
26422 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26423 result = (wxPrintDialogData *) &_result_ref;
26424 }
26425
26426 wxPyEndAllowThreads(__tstate);
26427 if (PyErr_Occurred()) SWIG_fail;
26428 }
15afbcd0 26429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
26430 return resultobj;
26431 fail:
26432 return NULL;
26433}
26434
26435
c32bde28 26436static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26437 PyObject *resultobj;
26438 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26439 int arg2 ;
26440 PyObject * obj0 = 0 ;
994141e6 26441 PyObject * obj1 = 0 ;
d14a1e28
RD
26442 char *kwnames[] = {
26443 (char *) "self",(char *) "percent", NULL
26444 };
26445
994141e6 26446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26448 if (SWIG_arg_fail(1)) SWIG_fail;
26449 {
26450 arg2 = (int)(SWIG_As_int(obj1));
26451 if (SWIG_arg_fail(2)) SWIG_fail;
26452 }
d14a1e28
RD
26453 {
26454 PyThreadState* __tstate = wxPyBeginAllowThreads();
26455 (arg1)->SetZoom(arg2);
26456
26457 wxPyEndAllowThreads(__tstate);
26458 if (PyErr_Occurred()) SWIG_fail;
26459 }
26460 Py_INCREF(Py_None); resultobj = Py_None;
26461 return resultobj;
26462 fail:
26463 return NULL;
26464}
26465
26466
c32bde28 26467static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26468 PyObject *resultobj;
26469 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26470 int result;
26471 PyObject * obj0 = 0 ;
26472 char *kwnames[] = {
26473 (char *) "self", NULL
26474 };
26475
26476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
093d3ff1
RD
26477 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26478 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26479 {
26480 PyThreadState* __tstate = wxPyBeginAllowThreads();
26481 result = (int)(arg1)->GetZoom();
26482
26483 wxPyEndAllowThreads(__tstate);
26484 if (PyErr_Occurred()) SWIG_fail;
26485 }
093d3ff1
RD
26486 {
26487 resultobj = SWIG_From_int((int)(result));
26488 }
d14a1e28
RD
26489 return resultobj;
26490 fail:
26491 return NULL;
26492}
26493
26494
c32bde28 26495static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26496 PyObject *resultobj;
26497 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26498 int result;
26499 PyObject * obj0 = 0 ;
26500 char *kwnames[] = {
26501 (char *) "self", NULL
26502 };
26503
26504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26506 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26507 {
26508 PyThreadState* __tstate = wxPyBeginAllowThreads();
26509 result = (int)(arg1)->GetMaxPage();
26510
26511 wxPyEndAllowThreads(__tstate);
26512 if (PyErr_Occurred()) SWIG_fail;
26513 }
093d3ff1
RD
26514 {
26515 resultobj = SWIG_From_int((int)(result));
26516 }
d14a1e28
RD
26517 return resultobj;
26518 fail:
26519 return NULL;
26520}
26521
26522
c32bde28 26523static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26524 PyObject *resultobj;
26525 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26526 int result;
26527 PyObject * obj0 = 0 ;
26528 char *kwnames[] = {
26529 (char *) "self", NULL
26530 };
26531
26532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26534 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26535 {
26536 PyThreadState* __tstate = wxPyBeginAllowThreads();
26537 result = (int)(arg1)->GetMinPage();
26538
26539 wxPyEndAllowThreads(__tstate);
26540 if (PyErr_Occurred()) SWIG_fail;
26541 }
093d3ff1
RD
26542 {
26543 resultobj = SWIG_From_int((int)(result));
26544 }
d14a1e28
RD
26545 return resultobj;
26546 fail:
26547 return NULL;
26548}
26549
26550
c32bde28 26551static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26552 PyObject *resultobj;
26553 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26554 bool result;
26555 PyObject * obj0 = 0 ;
26556 char *kwnames[] = {
26557 (char *) "self", NULL
26558 };
26559
26560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
26561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26562 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26563 {
26564 PyThreadState* __tstate = wxPyBeginAllowThreads();
26565 result = (bool)(arg1)->Ok();
26566
26567 wxPyEndAllowThreads(__tstate);
26568 if (PyErr_Occurred()) SWIG_fail;
26569 }
4f89f6a3
RD
26570 {
26571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26572 }
d14a1e28
RD
26573 return resultobj;
26574 fail:
26575 return NULL;
26576}
26577
26578
c32bde28 26579static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26580 PyObject *resultobj;
26581 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26582 bool arg2 ;
26583 PyObject * obj0 = 0 ;
26584 PyObject * obj1 = 0 ;
26585 char *kwnames[] = {
26586 (char *) "self",(char *) "ok", NULL
26587 };
26588
26589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26591 if (SWIG_arg_fail(1)) SWIG_fail;
26592 {
26593 arg2 = (bool)(SWIG_As_bool(obj1));
26594 if (SWIG_arg_fail(2)) SWIG_fail;
26595 }
d14a1e28
RD
26596 {
26597 PyThreadState* __tstate = wxPyBeginAllowThreads();
26598 (arg1)->SetOk(arg2);
26599
26600 wxPyEndAllowThreads(__tstate);
26601 if (PyErr_Occurred()) SWIG_fail;
26602 }
26603 Py_INCREF(Py_None); resultobj = Py_None;
26604 return resultobj;
26605 fail:
26606 return NULL;
26607}
26608
26609
c32bde28 26610static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26611 PyObject *resultobj;
26612 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26613 bool arg2 ;
26614 bool result;
26615 PyObject * obj0 = 0 ;
26616 PyObject * obj1 = 0 ;
26617 char *kwnames[] = {
26618 (char *) "self",(char *) "interactive", NULL
26619 };
26620
26621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26623 if (SWIG_arg_fail(1)) SWIG_fail;
26624 {
26625 arg2 = (bool)(SWIG_As_bool(obj1));
26626 if (SWIG_arg_fail(2)) SWIG_fail;
26627 }
d14a1e28
RD
26628 {
26629 PyThreadState* __tstate = wxPyBeginAllowThreads();
26630 result = (bool)(arg1)->Print(arg2);
26631
26632 wxPyEndAllowThreads(__tstate);
26633 if (PyErr_Occurred()) SWIG_fail;
26634 }
4f89f6a3
RD
26635 {
26636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26637 }
d14a1e28
RD
26638 return resultobj;
26639 fail:
26640 return NULL;
26641}
26642
26643
c32bde28 26644static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26645 PyObject *resultobj;
26646 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26647 PyObject * obj0 = 0 ;
26648 char *kwnames[] = {
26649 (char *) "self", NULL
26650 };
26651
26652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
26653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26654 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26655 {
26656 PyThreadState* __tstate = wxPyBeginAllowThreads();
26657 (arg1)->DetermineScaling();
26658
26659 wxPyEndAllowThreads(__tstate);
26660 if (PyErr_Occurred()) SWIG_fail;
26661 }
26662 Py_INCREF(Py_None); resultobj = Py_None;
26663 return resultobj;
26664 fail:
26665 return NULL;
26666}
26667
26668
c32bde28 26669static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26670 PyObject *obj;
26671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26672 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26673 Py_INCREF(obj);
26674 return Py_BuildValue((char *)"");
26675}
c32bde28 26676static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
26677 PyObject *resultobj;
26678 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26679 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 26680 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
26681 wxPyPrintPreview *result;
26682 PyObject * obj0 = 0 ;
26683 PyObject * obj1 = 0 ;
26684 PyObject * obj2 = 0 ;
d14a1e28 26685
4276dc52 26686 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26688 if (SWIG_arg_fail(1)) SWIG_fail;
26689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26690 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 26691 if (obj2) {
093d3ff1
RD
26692 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26693 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26694 }
26695 {
e3b71cb8 26696 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26697 PyThreadState* __tstate = wxPyBeginAllowThreads();
26698 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26699
26700 wxPyEndAllowThreads(__tstate);
110da5b0 26701 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26702 }
15afbcd0 26703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
d14a1e28
RD
26704 return resultobj;
26705 fail:
26706 return NULL;
26707}
26708
26709
c32bde28 26710static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
26711 PyObject *resultobj;
26712 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26713 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26714 wxPrintData *arg3 = (wxPrintData *) 0 ;
26715 wxPyPrintPreview *result;
26716 PyObject * obj0 = 0 ;
26717 PyObject * obj1 = 0 ;
26718 PyObject * obj2 = 0 ;
26719
26720 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26722 if (SWIG_arg_fail(1)) SWIG_fail;
26723 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26724 if (SWIG_arg_fail(2)) SWIG_fail;
26725 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26726 if (SWIG_arg_fail(3)) SWIG_fail;
4276dc52 26727 {
e3b71cb8 26728 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
26729 PyThreadState* __tstate = wxPyBeginAllowThreads();
26730 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26731
26732 wxPyEndAllowThreads(__tstate);
110da5b0 26733 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
26734 }
26735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26736 return resultobj;
26737 fail:
26738 return NULL;
26739}
26740
26741
26742static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26743 int argc;
26744 PyObject *argv[4];
26745 int ii;
26746
26747 argc = PyObject_Length(args);
26748 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26749 argv[ii] = PyTuple_GetItem(args,ii);
26750 }
26751 if ((argc >= 2) && (argc <= 3)) {
26752 int _v;
26753 {
26754 void *ptr;
26755 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26756 _v = 0;
26757 PyErr_Clear();
26758 } else {
26759 _v = 1;
26760 }
26761 }
26762 if (_v) {
26763 {
26764 void *ptr;
26765 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26766 _v = 0;
26767 PyErr_Clear();
26768 } else {
26769 _v = 1;
26770 }
26771 }
26772 if (_v) {
26773 if (argc <= 2) {
26774 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26775 }
26776 {
26777 void *ptr;
26778 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26779 _v = 0;
26780 PyErr_Clear();
26781 } else {
26782 _v = 1;
26783 }
26784 }
26785 if (_v) {
26786 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26787 }
26788 }
26789 }
26790 }
26791 if (argc == 3) {
26792 int _v;
26793 {
26794 void *ptr;
26795 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26796 _v = 0;
26797 PyErr_Clear();
26798 } else {
26799 _v = 1;
26800 }
26801 }
26802 if (_v) {
26803 {
26804 void *ptr;
26805 if (SWIG_ConvertPtr(argv[1], &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[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26816 _v = 0;
26817 PyErr_Clear();
26818 } else {
26819 _v = 1;
26820 }
26821 }
26822 if (_v) {
26823 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26824 }
26825 }
26826 }
26827 }
26828
093d3ff1 26829 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
4276dc52
RD
26830 return NULL;
26831}
26832
26833
c32bde28 26834static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26835 PyObject *resultobj;
26836 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26837 PyObject *arg2 = (PyObject *) 0 ;
26838 PyObject *arg3 = (PyObject *) 0 ;
26839 PyObject * obj0 = 0 ;
26840 PyObject * obj1 = 0 ;
26841 PyObject * obj2 = 0 ;
26842 char *kwnames[] = {
26843 (char *) "self",(char *) "self",(char *) "_class", NULL
26844 };
26845
26846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26848 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26849 arg2 = obj1;
26850 arg3 = obj2;
26851 {
26852 PyThreadState* __tstate = wxPyBeginAllowThreads();
26853 (arg1)->_setCallbackInfo(arg2,arg3);
26854
26855 wxPyEndAllowThreads(__tstate);
26856 if (PyErr_Occurred()) SWIG_fail;
26857 }
26858 Py_INCREF(Py_None); resultobj = Py_None;
26859 return resultobj;
26860 fail:
26861 return NULL;
26862}
26863
26864
c32bde28 26865static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26866 PyObject *resultobj;
26867 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26868 int arg2 ;
26869 bool result;
26870 PyObject * obj0 = 0 ;
994141e6 26871 PyObject * obj1 = 0 ;
d14a1e28
RD
26872 char *kwnames[] = {
26873 (char *) "self",(char *) "pageNum", NULL
26874 };
26875
994141e6 26876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26878 if (SWIG_arg_fail(1)) SWIG_fail;
26879 {
26880 arg2 = (int)(SWIG_As_int(obj1));
26881 if (SWIG_arg_fail(2)) SWIG_fail;
26882 }
d14a1e28
RD
26883 {
26884 PyThreadState* __tstate = wxPyBeginAllowThreads();
26885 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26886
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
4f89f6a3
RD
26890 {
26891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26892 }
d14a1e28
RD
26893 return resultobj;
26894 fail:
26895 return NULL;
26896}
26897
26898
c32bde28 26899static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26900 PyObject *resultobj;
26901 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26902 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26903 wxDC *arg3 = 0 ;
26904 bool result;
26905 PyObject * obj0 = 0 ;
26906 PyObject * obj1 = 0 ;
26907 PyObject * obj2 = 0 ;
26908 char *kwnames[] = {
26909 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26910 };
26911
26912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail;
26915 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26916 if (SWIG_arg_fail(2)) SWIG_fail;
26917 {
26918 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26919 if (SWIG_arg_fail(3)) SWIG_fail;
26920 if (arg3 == NULL) {
26921 SWIG_null_ref("wxDC");
26922 }
26923 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26924 }
26925 {
26926 PyThreadState* __tstate = wxPyBeginAllowThreads();
26927 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26928
26929 wxPyEndAllowThreads(__tstate);
26930 if (PyErr_Occurred()) SWIG_fail;
26931 }
4f89f6a3
RD
26932 {
26933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26934 }
d14a1e28
RD
26935 return resultobj;
26936 fail:
26937 return NULL;
26938}
26939
26940
c32bde28 26941static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26942 PyObject *resultobj;
26943 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26944 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26945 wxDC *arg3 = 0 ;
26946 bool result;
26947 PyObject * obj0 = 0 ;
26948 PyObject * obj1 = 0 ;
26949 PyObject * obj2 = 0 ;
26950 char *kwnames[] = {
26951 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26952 };
26953
26954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26956 if (SWIG_arg_fail(1)) SWIG_fail;
26957 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26958 if (SWIG_arg_fail(2)) SWIG_fail;
26959 {
26960 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26961 if (SWIG_arg_fail(3)) SWIG_fail;
26962 if (arg3 == NULL) {
26963 SWIG_null_ref("wxDC");
26964 }
26965 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26966 }
26967 {
26968 PyThreadState* __tstate = wxPyBeginAllowThreads();
26969 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26970
26971 wxPyEndAllowThreads(__tstate);
26972 if (PyErr_Occurred()) SWIG_fail;
26973 }
4f89f6a3
RD
26974 {
26975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26976 }
d14a1e28
RD
26977 return resultobj;
26978 fail:
26979 return NULL;
26980}
26981
26982
c32bde28 26983static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26984 PyObject *resultobj;
26985 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26986 int arg2 ;
26987 bool result;
26988 PyObject * obj0 = 0 ;
994141e6 26989 PyObject * obj1 = 0 ;
d14a1e28
RD
26990 char *kwnames[] = {
26991 (char *) "self",(char *) "pageNum", NULL
26992 };
26993
994141e6 26994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26996 if (SWIG_arg_fail(1)) SWIG_fail;
26997 {
26998 arg2 = (int)(SWIG_As_int(obj1));
26999 if (SWIG_arg_fail(2)) SWIG_fail;
27000 }
d14a1e28
RD
27001 {
27002 PyThreadState* __tstate = wxPyBeginAllowThreads();
27003 result = (bool)(arg1)->base_RenderPage(arg2);
27004
27005 wxPyEndAllowThreads(__tstate);
27006 if (PyErr_Occurred()) SWIG_fail;
27007 }
4f89f6a3
RD
27008 {
27009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27010 }
d14a1e28
RD
27011 return resultobj;
27012 fail:
27013 return NULL;
27014}
27015
27016
c32bde28 27017static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27018 PyObject *resultobj;
27019 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27020 int arg2 ;
27021 PyObject * obj0 = 0 ;
994141e6 27022 PyObject * obj1 = 0 ;
d14a1e28
RD
27023 char *kwnames[] = {
27024 (char *) "self",(char *) "percent", NULL
27025 };
27026
994141e6 27027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27029 if (SWIG_arg_fail(1)) SWIG_fail;
27030 {
27031 arg2 = (int)(SWIG_As_int(obj1));
27032 if (SWIG_arg_fail(2)) SWIG_fail;
27033 }
d14a1e28
RD
27034 {
27035 PyThreadState* __tstate = wxPyBeginAllowThreads();
27036 (arg1)->base_SetZoom(arg2);
27037
27038 wxPyEndAllowThreads(__tstate);
27039 if (PyErr_Occurred()) SWIG_fail;
27040 }
27041 Py_INCREF(Py_None); resultobj = Py_None;
27042 return resultobj;
27043 fail:
27044 return NULL;
27045}
27046
27047
c32bde28 27048static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27049 PyObject *resultobj;
27050 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27051 bool arg2 ;
27052 bool result;
27053 PyObject * obj0 = 0 ;
27054 PyObject * obj1 = 0 ;
27055 char *kwnames[] = {
27056 (char *) "self",(char *) "interactive", NULL
27057 };
27058
27059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27061 if (SWIG_arg_fail(1)) SWIG_fail;
27062 {
27063 arg2 = (bool)(SWIG_As_bool(obj1));
27064 if (SWIG_arg_fail(2)) SWIG_fail;
27065 }
d14a1e28
RD
27066 {
27067 PyThreadState* __tstate = wxPyBeginAllowThreads();
27068 result = (bool)(arg1)->base_Print(arg2);
27069
27070 wxPyEndAllowThreads(__tstate);
27071 if (PyErr_Occurred()) SWIG_fail;
27072 }
4f89f6a3
RD
27073 {
27074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27075 }
d14a1e28
RD
27076 return resultobj;
27077 fail:
27078 return NULL;
27079}
27080
27081
c32bde28 27082static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27083 PyObject *resultobj;
27084 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27085 PyObject * obj0 = 0 ;
27086 char *kwnames[] = {
27087 (char *) "self", NULL
27088 };
27089
27090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
27091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27092 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27093 {
27094 PyThreadState* __tstate = wxPyBeginAllowThreads();
27095 (arg1)->base_DetermineScaling();
27096
27097 wxPyEndAllowThreads(__tstate);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 Py_INCREF(Py_None); resultobj = Py_None;
27101 return resultobj;
27102 fail:
27103 return NULL;
27104}
27105
27106
c32bde28 27107static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27108 PyObject *obj;
27109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27110 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27111 Py_INCREF(obj);
27112 return Py_BuildValue((char *)"");
27113}
c32bde28 27114static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27115 PyObject *resultobj;
27116 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27117 wxFrame *arg2 = (wxFrame *) 0 ;
27118 wxString *arg3 = 0 ;
27119 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27120 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27121 wxSize const &arg5_defvalue = wxDefaultSize ;
27122 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27123 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27124 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27125 wxString *arg7 = (wxString *) &arg7_defvalue ;
27126 wxPyPreviewFrame *result;
ae8162c8 27127 bool temp3 = false ;
d14a1e28
RD
27128 wxPoint temp4 ;
27129 wxSize temp5 ;
ae8162c8 27130 bool temp7 = false ;
d14a1e28
RD
27131 PyObject * obj0 = 0 ;
27132 PyObject * obj1 = 0 ;
27133 PyObject * obj2 = 0 ;
27134 PyObject * obj3 = 0 ;
27135 PyObject * obj4 = 0 ;
994141e6 27136 PyObject * obj5 = 0 ;
d14a1e28
RD
27137 PyObject * obj6 = 0 ;
27138 char *kwnames[] = {
27139 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27140 };
27141
994141e6 27142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27144 if (SWIG_arg_fail(1)) SWIG_fail;
27145 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27146 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27147 {
27148 arg3 = wxString_in_helper(obj2);
27149 if (arg3 == NULL) SWIG_fail;
ae8162c8 27150 temp3 = true;
d14a1e28
RD
27151 }
27152 if (obj3) {
27153 {
27154 arg4 = &temp4;
27155 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27156 }
27157 }
27158 if (obj4) {
27159 {
27160 arg5 = &temp5;
27161 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27162 }
27163 }
994141e6 27164 if (obj5) {
093d3ff1
RD
27165 {
27166 arg6 = (long)(SWIG_As_long(obj5));
27167 if (SWIG_arg_fail(6)) SWIG_fail;
27168 }
994141e6 27169 }
d14a1e28
RD
27170 if (obj6) {
27171 {
27172 arg7 = wxString_in_helper(obj6);
27173 if (arg7 == NULL) SWIG_fail;
ae8162c8 27174 temp7 = true;
d14a1e28
RD
27175 }
27176 }
27177 {
e3b71cb8 27178 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
27179 PyThreadState* __tstate = wxPyBeginAllowThreads();
27180 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27181
27182 wxPyEndAllowThreads(__tstate);
110da5b0 27183 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27184 }
15afbcd0 27185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
d14a1e28
RD
27186 {
27187 if (temp3)
27188 delete arg3;
27189 }
27190 {
27191 if (temp7)
27192 delete arg7;
27193 }
27194 return resultobj;
27195 fail:
27196 {
27197 if (temp3)
27198 delete arg3;
27199 }
27200 {
27201 if (temp7)
27202 delete arg7;
27203 }
27204 return NULL;
27205}
27206
27207
c32bde28 27208static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27209 PyObject *resultobj;
27210 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27211 PyObject *arg2 = (PyObject *) 0 ;
27212 PyObject *arg3 = (PyObject *) 0 ;
27213 PyObject * obj0 = 0 ;
27214 PyObject * obj1 = 0 ;
27215 PyObject * obj2 = 0 ;
27216 char *kwnames[] = {
27217 (char *) "self",(char *) "self",(char *) "_class", NULL
27218 };
27219
27220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27222 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27223 arg2 = obj1;
27224 arg3 = obj2;
27225 {
27226 PyThreadState* __tstate = wxPyBeginAllowThreads();
27227 (arg1)->_setCallbackInfo(arg2,arg3);
27228
27229 wxPyEndAllowThreads(__tstate);
27230 if (PyErr_Occurred()) SWIG_fail;
27231 }
27232 Py_INCREF(Py_None); resultobj = Py_None;
27233 return resultobj;
27234 fail:
27235 return NULL;
27236}
27237
27238
c32bde28 27239static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27240 PyObject *resultobj;
27241 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27242 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27243 PyObject * obj0 = 0 ;
27244 PyObject * obj1 = 0 ;
27245 char *kwnames[] = {
27246 (char *) "self",(char *) "canvas", NULL
27247 };
27248
27249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27251 if (SWIG_arg_fail(1)) SWIG_fail;
27252 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27253 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27254 {
27255 PyThreadState* __tstate = wxPyBeginAllowThreads();
27256 (arg1)->SetPreviewCanvas(arg2);
27257
27258 wxPyEndAllowThreads(__tstate);
27259 if (PyErr_Occurred()) SWIG_fail;
27260 }
27261 Py_INCREF(Py_None); resultobj = Py_None;
27262 return resultobj;
27263 fail:
27264 return NULL;
27265}
27266
27267
c32bde28 27268static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27269 PyObject *resultobj;
27270 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27271 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27272 PyObject * obj0 = 0 ;
27273 PyObject * obj1 = 0 ;
27274 char *kwnames[] = {
27275 (char *) "self",(char *) "bar", NULL
27276 };
27277
27278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27280 if (SWIG_arg_fail(1)) SWIG_fail;
27281 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27282 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27283 {
27284 PyThreadState* __tstate = wxPyBeginAllowThreads();
27285 (arg1)->SetControlBar(arg2);
27286
27287 wxPyEndAllowThreads(__tstate);
27288 if (PyErr_Occurred()) SWIG_fail;
27289 }
27290 Py_INCREF(Py_None); resultobj = Py_None;
27291 return resultobj;
27292 fail:
27293 return NULL;
27294}
27295
27296
c32bde28 27297static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27298 PyObject *resultobj;
27299 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27300 PyObject * obj0 = 0 ;
27301 char *kwnames[] = {
27302 (char *) "self", NULL
27303 };
27304
27305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27307 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27308 {
27309 PyThreadState* __tstate = wxPyBeginAllowThreads();
27310 (arg1)->base_Initialize();
27311
27312 wxPyEndAllowThreads(__tstate);
27313 if (PyErr_Occurred()) SWIG_fail;
27314 }
27315 Py_INCREF(Py_None); resultobj = Py_None;
27316 return resultobj;
27317 fail:
27318 return NULL;
27319}
27320
27321
c32bde28 27322static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27323 PyObject *resultobj;
27324 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27325 PyObject * obj0 = 0 ;
27326 char *kwnames[] = {
27327 (char *) "self", NULL
27328 };
27329
27330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
27331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27332 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27333 {
27334 PyThreadState* __tstate = wxPyBeginAllowThreads();
27335 (arg1)->base_CreateCanvas();
27336
27337 wxPyEndAllowThreads(__tstate);
27338 if (PyErr_Occurred()) SWIG_fail;
27339 }
27340 Py_INCREF(Py_None); resultobj = Py_None;
27341 return resultobj;
27342 fail:
27343 return NULL;
27344}
27345
27346
c32bde28 27347static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27348 PyObject *resultobj;
27349 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27350 PyObject * obj0 = 0 ;
27351 char *kwnames[] = {
27352 (char *) "self", NULL
27353 };
27354
27355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
27356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27357 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27358 {
27359 PyThreadState* __tstate = wxPyBeginAllowThreads();
27360 (arg1)->base_CreateControlBar();
27361
27362 wxPyEndAllowThreads(__tstate);
27363 if (PyErr_Occurred()) SWIG_fail;
27364 }
27365 Py_INCREF(Py_None); resultobj = Py_None;
27366 return resultobj;
27367 fail:
27368 return NULL;
27369}
27370
27371
c32bde28 27372static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27373 PyObject *obj;
27374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27375 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27376 Py_INCREF(obj);
27377 return Py_BuildValue((char *)"");
27378}
c32bde28 27379static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27380 PyObject *resultobj;
27381 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27382 long arg2 ;
27383 wxWindow *arg3 = (wxWindow *) 0 ;
27384 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27385 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27386 wxSize const &arg5_defvalue = wxDefaultSize ;
27387 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27388 long arg6 = (long) 0 ;
27389 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27390 wxString *arg7 = (wxString *) &arg7_defvalue ;
27391 wxPyPreviewControlBar *result;
27392 wxPoint temp4 ;
27393 wxSize temp5 ;
ae8162c8 27394 bool temp7 = false ;
d14a1e28 27395 PyObject * obj0 = 0 ;
994141e6 27396 PyObject * obj1 = 0 ;
d14a1e28
RD
27397 PyObject * obj2 = 0 ;
27398 PyObject * obj3 = 0 ;
27399 PyObject * obj4 = 0 ;
994141e6 27400 PyObject * obj5 = 0 ;
d14a1e28
RD
27401 PyObject * obj6 = 0 ;
27402 char *kwnames[] = {
27403 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27404 };
27405
994141e6 27406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27408 if (SWIG_arg_fail(1)) SWIG_fail;
27409 {
27410 arg2 = (long)(SWIG_As_long(obj1));
27411 if (SWIG_arg_fail(2)) SWIG_fail;
27412 }
27413 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27414 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
27415 if (obj3) {
27416 {
27417 arg4 = &temp4;
27418 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27419 }
27420 }
27421 if (obj4) {
27422 {
27423 arg5 = &temp5;
27424 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27425 }
27426 }
994141e6 27427 if (obj5) {
093d3ff1
RD
27428 {
27429 arg6 = (long)(SWIG_As_long(obj5));
27430 if (SWIG_arg_fail(6)) SWIG_fail;
27431 }
994141e6 27432 }
d14a1e28
RD
27433 if (obj6) {
27434 {
27435 arg7 = wxString_in_helper(obj6);
27436 if (arg7 == NULL) SWIG_fail;
ae8162c8 27437 temp7 = true;
d14a1e28
RD
27438 }
27439 }
27440 {
e3b71cb8 27441 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
27442 PyThreadState* __tstate = wxPyBeginAllowThreads();
27443 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27444
27445 wxPyEndAllowThreads(__tstate);
110da5b0 27446 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27447 }
15afbcd0 27448 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
d14a1e28
RD
27449 {
27450 if (temp7)
27451 delete arg7;
27452 }
27453 return resultobj;
27454 fail:
27455 {
27456 if (temp7)
27457 delete arg7;
27458 }
27459 return NULL;
27460}
27461
27462
c32bde28 27463static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27464 PyObject *resultobj;
27465 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27466 PyObject *arg2 = (PyObject *) 0 ;
27467 PyObject *arg3 = (PyObject *) 0 ;
27468 PyObject * obj0 = 0 ;
27469 PyObject * obj1 = 0 ;
27470 PyObject * obj2 = 0 ;
27471 char *kwnames[] = {
27472 (char *) "self",(char *) "self",(char *) "_class", NULL
27473 };
27474
27475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27477 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27478 arg2 = obj1;
27479 arg3 = obj2;
27480 {
27481 PyThreadState* __tstate = wxPyBeginAllowThreads();
27482 (arg1)->_setCallbackInfo(arg2,arg3);
27483
27484 wxPyEndAllowThreads(__tstate);
27485 if (PyErr_Occurred()) SWIG_fail;
27486 }
27487 Py_INCREF(Py_None); resultobj = Py_None;
27488 return resultobj;
27489 fail:
27490 return NULL;
27491}
27492
27493
c32bde28 27494static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27495 PyObject *resultobj;
27496 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27497 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27498 PyObject * obj0 = 0 ;
27499 PyObject * obj1 = 0 ;
27500 char *kwnames[] = {
27501 (char *) "self",(char *) "preview", NULL
27502 };
27503
27504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27506 if (SWIG_arg_fail(1)) SWIG_fail;
27507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27508 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27509 {
27510 PyThreadState* __tstate = wxPyBeginAllowThreads();
27511 (arg1)->SetPrintPreview(arg2);
27512
27513 wxPyEndAllowThreads(__tstate);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
27516 Py_INCREF(Py_None); resultobj = Py_None;
27517 return resultobj;
27518 fail:
27519 return NULL;
27520}
27521
27522
c32bde28 27523static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27524 PyObject *resultobj;
27525 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27526 PyObject * obj0 = 0 ;
27527 char *kwnames[] = {
27528 (char *) "self", NULL
27529 };
27530
27531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
27532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27533 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27534 {
27535 PyThreadState* __tstate = wxPyBeginAllowThreads();
27536 (arg1)->base_CreateButtons();
27537
27538 wxPyEndAllowThreads(__tstate);
27539 if (PyErr_Occurred()) SWIG_fail;
27540 }
27541 Py_INCREF(Py_None); resultobj = Py_None;
27542 return resultobj;
27543 fail:
27544 return NULL;
27545}
27546
27547
c32bde28 27548static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27549 PyObject *resultobj;
27550 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27551 int arg2 ;
27552 PyObject * obj0 = 0 ;
994141e6 27553 PyObject * obj1 = 0 ;
d14a1e28
RD
27554 char *kwnames[] = {
27555 (char *) "self",(char *) "zoom", NULL
27556 };
27557
994141e6 27558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27560 if (SWIG_arg_fail(1)) SWIG_fail;
27561 {
27562 arg2 = (int)(SWIG_As_int(obj1));
27563 if (SWIG_arg_fail(2)) SWIG_fail;
27564 }
d14a1e28
RD
27565 {
27566 PyThreadState* __tstate = wxPyBeginAllowThreads();
27567 (arg1)->base_SetZoomControl(arg2);
27568
27569 wxPyEndAllowThreads(__tstate);
27570 if (PyErr_Occurred()) SWIG_fail;
27571 }
27572 Py_INCREF(Py_None); resultobj = Py_None;
27573 return resultobj;
27574 fail:
27575 return NULL;
27576}
27577
27578
c32bde28 27579static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27580 PyObject *obj;
27581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27582 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27583 Py_INCREF(obj);
27584 return Py_BuildValue((char *)"");
27585}
d3b6e4ff 27586static PyMethodDef SwigMethods[] = {
093d3ff1
RD
27587 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27592 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27594 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27595 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27597 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27601 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27610 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27611 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27617 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27618 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27620 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27636 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27660 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
e505d15e 27667 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27668 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27673 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27677 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27681 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27686 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27690 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27703 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27733 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27740 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27763 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27771 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27783 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27789 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27798 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27804 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27809 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27815 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27819 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27837 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27863 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27871 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27880 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27882 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27891 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27894 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27901 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27919 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27923 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27928 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27932 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27934 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27950 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27953 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27955 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27959 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27968 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27977 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27983 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27995 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
28002 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
28006 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28032 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28058 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28084 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28085 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28094 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28096 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28112 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28130 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28131 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
7557b9b5
RD
28161 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28163 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28164 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28168 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28169 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28170 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28172 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28173 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28177 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28183 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28192 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28194 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28198 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28199 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28203 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28206 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28208 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28209 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28216 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28218 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28220 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28224 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28225 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28240 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28243 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28244 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28245 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28246 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28247 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28251 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28258 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28261 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28262 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28266 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28267 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28271 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28272 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28273 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28274 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28275 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28276 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28277 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28278 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28279 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28280 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28281 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28282 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28283 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28284 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28285 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28286 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28287 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28288 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28289 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28290 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28291 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28292 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28293 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28294 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28295 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28296 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28297 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28298 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28299 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28300 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28301 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28302 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28303 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28304 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28305 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28306 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28307 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28308 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
c32bde28 28309 { NULL, NULL, 0, NULL }
d14a1e28
RD
28310};
28311
28312
28313/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28314
28315static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28316 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28317}
28318static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28319 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28320}
28321static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28322 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28323}
28324static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28325 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28326}
28327static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28328 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28329}
28330static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28331 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28332}
28333static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28334 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28335}
28336static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28337 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28338}
28339static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28340 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28341}
28342static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28343 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28344}
28345static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28346 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28347}
28348static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28349 return (void *)((wxEvent *) ((wxPyEvent *) x));
28350}
28351static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28352 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28353}
28354static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28355 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28356}
28357static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28358 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28359}
28360static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28361 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28362}
28363static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28364 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28365}
28366static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28367 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28368}
28369static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28370 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28371}
28372static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28373 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28374}
28375static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28376 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28377}
28378static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28379 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28380}
28381static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28382 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28383}
28384static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28385 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28386}
28387static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28388 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28389}
28390static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28391 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28392}
28393static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28394 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28395}
28396static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28397 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28398}
28399static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28400 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28401}
28402static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28403 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28404}
28405static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28406 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28407}
28408static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28409 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28410}
28411static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28412 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28413}
28414static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28415 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28416}
28417static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28418 return (void *)((wxEvent *) ((wxShowEvent *) x));
28419}
28420static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28421 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28422}
28423static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28424 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28425}
28426static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28427 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28428}
28429static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28430 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28431}
28432static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28433 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28434}
28435static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28436 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28437}
28438static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28439 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28440}
28441static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28442 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28443}
d3b6e4ff
RD
28444static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28445 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28446}
d14a1e28
RD
28447static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28448 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28449}
28450static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28451 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28452}
28453static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28454 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28455}
28456static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28457 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28458}
28459static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28460 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28461}
28462static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28463 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28464}
28465static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28466 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28467}
d3b6e4ff
RD
28468static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28469 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28470}
d14a1e28
RD
28471static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28472 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28473}
28474static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28475 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28476}
28477static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28478 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28479}
28480static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28481 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28482}
28483static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28484 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28485}
28486static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28487 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28488}
28489static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28490 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28491}
28492static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28493 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28494}
28495static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28496 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28497}
28498static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28499 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28500}
28501static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28502 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28503}
28504static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28505 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28506}
28507static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28508 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28509}
28510static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28511 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28512}
28513static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28514 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28515}
28516static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28517 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28518}
28519static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28520 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28521}
28522static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28523 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28524}
28525static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28526 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28527}
28528static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28529 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28530}
28531static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28532 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28533}
1cb4a8aa
RD
28534static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28535 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28536}
d14a1e28
RD
28537static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28538 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28539}
28540static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28541 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28542}
28543static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28544 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28545}
28546static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28547 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28548}
28549static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28550 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28551}
28552static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28553 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28554}
28555static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28556 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28557}
28558static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28559 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28560}
28561static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28562 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28563}
28564static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28565 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28566}
28567static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28568 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28569}
28570static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28571 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28572}
5e483524
RD
28573static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28574 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
28575}
28576static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28577 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28578}
d14a1e28
RD
28579static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28580 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28581}
28582static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28583 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28584}
28585static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28586 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28587}
d3b6e4ff
RD
28588static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28589 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28590}
d14a1e28
RD
28591static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28592 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28593}
28594static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28595 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28596}
28597static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28598 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28599}
28600static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28601 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28602}
28603static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28604 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28605}
28606static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28607 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28608}
28609static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28610 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28611}
28612static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28613 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28614}
28615static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28616 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28617}
28618static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28619 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28620}
28621static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28622 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28623}
28624static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28626}
28627static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28629}
28630static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28631 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28632}
28633static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28634 return (void *)((wxObject *) ((wxSizerItem *) x));
28635}
28636static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28637 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28638}
28639static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28640 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28641}
28642static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28643 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28644}
28645static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28646 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28647}
28648static void *_p_wxSizerTo_p_wxObject(void *x) {
28649 return (void *)((wxObject *) ((wxSizer *) x));
28650}
28651static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28652 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28653}
28654static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28655 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28656}
28657static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28659}
28660static void *_p_wxEventTo_p_wxObject(void *x) {
28661 return (void *)((wxObject *) ((wxEvent *) x));
28662}
28663static void *_p_wxFontDataTo_p_wxObject(void *x) {
28664 return (void *)((wxObject *) ((wxFontData *) x));
28665}
28666static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28667 return (void *)((wxObject *) ((wxPrintData *) x));
28668}
28669static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28670 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28671}
28672static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28673 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28674}
28675static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28676 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28677}
28678static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28679 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28680}
5e483524
RD
28681static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28682 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
28683}
28684static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28685 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28686}
28687static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28688 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28689}
28690static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28691 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28692}
28693static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28694 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28695}
28696static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28697 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28698}
28699static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28700 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28701}
28702static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28703 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28704}
28705static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28707}
28708static void *_p_wxControlTo_p_wxObject(void *x) {
28709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28710}
28711static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28712 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28713}
28714static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28715 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28716}
28717static void *_p_wxFSFileTo_p_wxObject(void *x) {
28718 return (void *)((wxObject *) ((wxFSFile *) x));
28719}
28720static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28721 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28722}
28723static void *_p_wxPySizerTo_p_wxObject(void *x) {
28724 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28725}
28726static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28728}
28729static void *_p_wxColourDataTo_p_wxObject(void *x) {
28730 return (void *)((wxObject *) ((wxColourData *) x));
28731}
28732static void *_p_wxPyEventTo_p_wxObject(void *x) {
28733 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28734}
28735static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28736 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28737}
28738static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28740}
28741static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28743}
28744static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28746}
28747static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28749}
28750static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28752}
28753static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28755}
d3b6e4ff
RD
28756static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28758}
d14a1e28
RD
28759static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28761}
28762static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28764}
28765static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28767}
28768static void *_p_wxShowEventTo_p_wxObject(void *x) {
28769 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28770}
28771static void *_p_wxPrinterTo_p_wxObject(void *x) {
28772 return (void *)((wxObject *) ((wxPrinter *) x));
28773}
28774static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28775 return (void *)((wxObject *) ((wxMenuItem *) x));
28776}
28777static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28778 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28779}
28780static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28781 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28782}
28783static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28784 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28785}
28786static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28787 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28788}
28789static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28790 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28791}
28792static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28793 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28794}
28795static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28796 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28797}
28798static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28799 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28800}
28801static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28802 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28803}
28804static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28805 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28806}
28807static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28808 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28809}
28810static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28811 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28812}
28813static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28814 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28815}
28816static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28817 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28818}
28819static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28820 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28821}
28822static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28823 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28824}
28825static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28826 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28827}
28828static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28829 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28830}
28831static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28832 return (void *)((wxObject *) ((wxImageHandler *) x));
28833}
28834static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28835 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28836}
28837static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28838 return (void *)((wxObject *) ((wxEvtHandler *) x));
28839}
28840static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28841 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28842}
28843static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28845}
28846static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28848}
e505d15e
RD
28849static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28850 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28851}
d14a1e28
RD
28852static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28853 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28854}
28855static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28856 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28857}
28858static void *_p_wxImageTo_p_wxObject(void *x) {
28859 return (void *)((wxObject *) ((wxImage *) x));
28860}
28861static void *_p_wxFrameTo_p_wxObject(void *x) {
28862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28863}
28864static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28865 return (void *)((wxObject *) ((wxPyPrintout *) x));
28866}
28867static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28868 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28869}
28870static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28871 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28872}
28873static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28875}
28876static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28878}
28879static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28880 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28881}
28882static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28883 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28884}
28885static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28886 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28887}
d14a1e28
RD
28888static void *_p_wxWindowTo_p_wxObject(void *x) {
28889 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28890}
28891static void *_p_wxMenuTo_p_wxObject(void *x) {
28892 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28893}
28894static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28896}
1e0c8722
RD
28897static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28899}
d14a1e28
RD
28900static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28902}
28903static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28905}
28906static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28908}
28909static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28911}
28912static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28914}
28915static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28917}
28918static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28920}
28921static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28923}
28924static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28926}
28927static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28929}
1cb4a8aa
RD
28930static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28932}
d14a1e28
RD
28933static void *_p_wxSashEventTo_p_wxObject(void *x) {
28934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28935}
28936static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28937 return (void *)((wxObject *) ((wxPrintPreview *) x));
28938}
28939static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28940 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28941}
28942static void *_p_wxPanelTo_p_wxObject(void *x) {
28943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28944}
28945static void *_p_wxDialogTo_p_wxObject(void *x) {
28946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28947}
28948static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28950}
28951static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28953}
28954static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28956}
28957static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 28958 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
28959}
28960static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
a68b8331 28961 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
28962}
28963static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28964 return (void *)((wxObject *) ((wxFileSystem *) x));
28965}
28966static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28967 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28968}
28969static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28970 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28971}
28972static void *_p_wxPyAppTo_p_wxObject(void *x) {
28973 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28974}
28975static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28976 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28977}
28978static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28979 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28980}
28981static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28982 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28983}
28984static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28985 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28986}
28987static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28988 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28989}
28990static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28992}
28993static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28995}
28996static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28997 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28998}
28999static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29000 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29001}
29002static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29003 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29004}
29005static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29007}
29008static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
29009 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
29010}
29011static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
29012 return (void *)((wxObject *) ((wxPrintDialogData *) x));
29013}
29014static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29015 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29016}
29017static void *_p_wxValidatorTo_p_wxObject(void *x) {
29018 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29019}
29020static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
29021 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29022}
29023static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
29024 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
29025}
29026static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
29027 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29028}
29029static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29030 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29031}
29032static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29033 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29034}
29035static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29036 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29037}
29038static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29039 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29040}
29041static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29042 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29043}
29044static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29045 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29046}
29047static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29048 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29049}
29050static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29051 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29052}
29053static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29054 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29055}
d14a1e28
RD
29056static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29057 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29058}
29059static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29060 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29061}
29062static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29063 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29064}
d14a1e28
RD
29065static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29066 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29067}
29068static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29069 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29070}
d3b6e4ff
RD
29071static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29072 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29073}
d14a1e28
RD
29074static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29075 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29076}
29077static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29078 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29079}
29080static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29081 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29082}
29083static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29084 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29085}
d3b6e4ff
RD
29086static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29087 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29088}
d14a1e28
RD
29089static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29090 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29091}
29092static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29093 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29094}
29095static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29096 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29097}
29098static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29099 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29100}
29101static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29102 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29103}
29104static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29105 return (void *)((wxWindow *) ((wxMenuBar *) x));
29106}
29107static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29108 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29109}
29110static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29111 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29112}
29113static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29114 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29115}
d3b6e4ff
RD
29116static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29117 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29118}
d14a1e28
RD
29119static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29120 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29121}
29122static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29123 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29124}
29125static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29126 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29127}
29128static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29129 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29130}
29131static void *_p_wxPanelTo_p_wxWindow(void *x) {
29132 return (void *)((wxWindow *) ((wxPanel *) x));
29133}
29134static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29135 return (void *)((wxWindow *) ((wxStatusBar *) x));
29136}
d14a1e28
RD
29137static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29138 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29139}
29140static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29141 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29142}
29143static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29144 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29145}
29146static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29147 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29148}
29149static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29150 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29151}
29152static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29153 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29154}
29155static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29156 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29157}
29158static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29159 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29160}
29161static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29162 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29163}
29164static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29165 return (void *)((wxWindow *) ((wxSashWindow *) x));
29166}
d3b6e4ff
RD
29167static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29168 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29169}
1cb4a8aa
RD
29170static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29171 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29172}
d14a1e28
RD
29173static void *_p_wxControlTo_p_wxWindow(void *x) {
29174 return (void *)((wxWindow *) ((wxControl *) x));
29175}
29176static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29177 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29178}
29179static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29180 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29181}
29182static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29183 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29184}
29185static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29186 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29187}
29188static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29189 return (void *)((wxWindow *) ((wxPyWindow *) x));
29190}
29191static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29192 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29193}
29194static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29195 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29196}
29197static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29198 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29199}
29200static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29201 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29202}
29203static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29204 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29205}
29206static void *_p_wxFrameTo_p_wxWindow(void *x) {
29207 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29208}
29209static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29210 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29211}
29212static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29213 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29214}
29215static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29216 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29217}
29218static void *_p_wxDialogTo_p_wxWindow(void *x) {
29219 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29220}
d14a1e28
RD
29221static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29222 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29223}
1cb4a8aa
RD
29224static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29225 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29226}
d14a1e28
RD
29227static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29228 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29229}
29230static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29231 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29232}
29233static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29234 return (void *)((wxDialog *) ((wxColourDialog *) x));
29235}
29236static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29237 return (void *)((wxDialog *) ((wxDirDialog *) x));
29238}
29239static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29240 return (void *)((wxDialog *) ((wxFontDialog *) x));
29241}
d14a1e28
RD
29242static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29243 return (void *)((wxDialog *) ((wxFileDialog *) x));
29244}
29245static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29246 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29247}
29248static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29249 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29250}
29251static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29252 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29253}
d3b6e4ff
RD
29254static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29255 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29256}
d14a1e28
RD
29257static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29258 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29259}
29260static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29261 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29262}
29263static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29264 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29265}
29266static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29267 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29268}
1cb4a8aa
RD
29269static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29270 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29271}
d14a1e28
RD
29272static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29273 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29274}
29275static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29276 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29277}
29278static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29279 return (void *)((wxPanel *) ((wxPyPanel *) x));
29280}
29281static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29282 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29283}
29284static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29285 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29286}
29287static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29288 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29289}
29290static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29291 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29292}
29293static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29294 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29295}
29296static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29297 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29298}
29299static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29300 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29301}
29302static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29303 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29304}
29305static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29306 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29307}
29308static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29309 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29310}
29311static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29312 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29313}
29314static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29315 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29316}
29317static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29318 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29319}
29320static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29321 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29322}
29323static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29324 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29325}
15afbcd0
RD
29326static 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}};
29327static 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}};
29328static 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}};
29329static 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}};
29330static 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}};
15afbcd0
RD
29331static 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}};
29332static 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 29333static 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}};
15afbcd0 29334static 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 29335static 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}};
15afbcd0
RD
29336static 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}};
29337static 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}};
29338static 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}};
29339static 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}};
29340static 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}};
29341static 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}};
29342static 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
29343static 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}};
29344static 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}};
15afbcd0
RD
29345static 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}};
29346static 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}};
29347static 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}};
29348static 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}};
29349static 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}};
22bfe96c 29350static 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}};
15afbcd0
RD
29351static 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}};
29352static 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}};
29353static 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}};
29354static 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 29355static 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}};
15afbcd0 29356static 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}};
d3b6e4ff 29357static 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}};
15afbcd0
RD
29358static 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}};
29359static 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}};
29360static 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}};
d3b6e4ff 29361static 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
29362static 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}};
29363static 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}};
29364static 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}};
15afbcd0
RD
29365static 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}};
29366static 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 29367static 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 29368static 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}};
15afbcd0
RD
29369static 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}};
29370static 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}};
29371static 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}};
29372static 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}};
e505d15e 29373static 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}};
15afbcd0
RD
29374static 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}};
29375static 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}};
29376static 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}};
29377static 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}};
29378static 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}};
29379static 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 29380static 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}};
15afbcd0
RD
29381static 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}};
29382static 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}};
29383static 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}};
e505d15e 29384static 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 29385static 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}};
15afbcd0
RD
29386static 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}};
29387static 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}};
29388static 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}};
f5b96ee1 29389static 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}};
15afbcd0
RD
29390static 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}};
29391static 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}};
29392static 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}};
29393static 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
29394static 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}};
29395static 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}};
1cb4a8aa 29396static 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}};
15afbcd0 29397static 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 29398static 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 29399static 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}};
15afbcd0
RD
29400static 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}};
29401static 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}};
29402static 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}};
29403static 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}};
15afbcd0
RD
29404static 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}};
29405static 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 29406static 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}};
1cb4a8aa 29407static 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 29408static 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}};
15afbcd0
RD
29409static 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}};
29410static 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}};
7fdaaabe 29411static 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}};
15afbcd0 29412static 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
29413static 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}};
29414static 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}};
29415static 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}};
15afbcd0
RD
29416static 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}};
29417static 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}};
29418static 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}};
29419static 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}};
29420static 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}};
29421static 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}};
29422static 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}};
d14a1e28
RD
29423
29424static swig_type_info *swig_types_initial[] = {
29425_swigt__p_wxQueryLayoutInfoEvent,
29426_swigt__p_wxPreviewFrame,
29427_swigt__p_wxPyPreviewFrame,
d14a1e28
RD
29428_swigt__p_wxPyPanel,
29429_swigt__p_wxMenu,
d14a1e28
RD
29430_swigt__p_wxFontData,
29431_swigt__p_wxEvent,
f5b96ee1 29432_swigt__p_wxPrintData,
d14a1e28 29433_swigt__p_wxTaskBarIcon,
5e483524 29434_swigt__p_wxPyTaskBarIcon,
d14a1e28
RD
29435_swigt__p_wxIconBundle,
29436_swigt__p_wxLayoutAlgorithm,
29437_swigt__p_wxFindDialogEvent,
29438_swigt__p_wxPreviewCanvas,
29439_swigt__p_wxFont,
29440_swigt__p_wxSplitterEvent,
29441_swigt__p_wxRegion,
093d3ff1
RD
29442_swigt__ptrdiff_t,
29443_swigt__std__ptrdiff_t,
d14a1e28
RD
29444_swigt__p_wxFindReplaceData,
29445_swigt__p_int,
29446_swigt__p_wxSize,
29447_swigt__p_wxDC,
29448_swigt__p_wxIcon,
22bfe96c 29449_swigt__p_wxVisualAttributes,
d14a1e28
RD
29450_swigt__p_wxMDIChildFrame,
29451_swigt__p_wxColourData,
29452_swigt__p_wxNotifyEvent,
29453_swigt__p_wxPyWindow,
093d3ff1 29454_swigt__p_form_ops_t,
d14a1e28 29455_swigt__p_wxSplashScreen,
d3b6e4ff 29456_swigt__p_wxPasswordEntryDialog,
d14a1e28
RD
29457_swigt__p_wxSingleChoiceDialog,
29458_swigt__p_wxMultiChoiceDialog,
29459_swigt__p_wxFileDialog,
d3b6e4ff 29460_swigt__p_wxTextEntryDialog,
093d3ff1
RD
29461_swigt__p_wxMessageDialog,
29462_swigt__p_wxProgressDialog,
29463_swigt__p_wxFindReplaceDialog,
d14a1e28 29464_swigt__p_wxPrinter,
d14a1e28 29465_swigt__p_wxArrayInt,
093d3ff1 29466_swigt__p_wxDuplexMode,
d14a1e28
RD
29467_swigt__p_wxEvtHandler,
29468_swigt__p_wxCalculateLayoutEvent,
29469_swigt__p_wxPyHtmlListBox,
29470_swigt__p_wxPyVListBox,
29471_swigt__p_wxRect,
e505d15e 29472_swigt__p_wxStdDialogButtonSizer,
994141e6 29473_swigt__p_char,
d14a1e28
RD
29474_swigt__p_wxMiniFrame,
29475_swigt__p_wxFrame,
29476_swigt__p_wxPyPrintout,
29477_swigt__p_wxTaskBarIconEvent,
29478_swigt__p_wxScrollWinEvent,
093d3ff1 29479_swigt__p_wxPaperSize,
d14a1e28
RD
29480_swigt__p_wxStatusBar,
29481_swigt__p_wxMDIParentFrame,
29482_swigt__p_wxPoint,
29483_swigt__p_wxObject,
093d3ff1 29484_swigt__p_unsigned_long,
d14a1e28
RD
29485_swigt__p_wxTipWindow,
29486_swigt__p_wxSashLayoutWindow,
29487_swigt__p_wxSplitterWindow,
f5b96ee1 29488_swigt__p_wxSplashScreenWindow,
d14a1e28
RD
29489_swigt__p_wxPyVScrolledWindow,
29490_swigt__p_wxPyPopupTransientWindow,
29491_swigt__p_wxPopupWindow,
29492_swigt__p_wxSashWindow,
29493_swigt__p_wxTopLevelWindow,
29494_swigt__p_wxWindow,
29495_swigt__p_wxScrolledWindow,
29496_swigt__p_wxMenuBar,
093d3ff1 29497_swigt__p_wxMDIClientWindow,
5e483524 29498_swigt__p_wxPyScrolledWindow,
d14a1e28
RD
29499_swigt__p_wxPrintPreview,
29500_swigt__p_wxSashEvent,
29501_swigt__p_wxString,
29502_swigt__p_wxPyPrintPreview,
d14a1e28
RD
29503_swigt__p_wxDirDialog,
29504_swigt__p_wxColourDialog,
29505_swigt__p_wxDialog,
29506_swigt__p_wxPanel,
093d3ff1 29507_swigt__p_wxFontDialog,
db914595 29508_swigt__p_wxPageSetupDialog,
d14a1e28 29509_swigt__p_wxPrintDialog,
7fdaaabe 29510_swigt__p_wxFileSystem,
d14a1e28 29511_swigt__p_wxBitmap,
093d3ff1
RD
29512_swigt__unsigned_int,
29513_swigt__p_unsigned_int,
29514_swigt__p_unsigned_char,
d14a1e28 29515_swigt__p_wxCommandEvent,
d14a1e28
RD
29516_swigt__p_wxPreviewControlBar,
29517_swigt__p_wxPyPreviewControlBar,
29518_swigt__p_wxColour,
29519_swigt__p_wxToolBar,
b2dc1044 29520_swigt__p_wxPageSetupDialogData,
994141e6 29521_swigt__p_wxPrintDialogData,
d14a1e28
RD
295220
29523};
29524
29525
29526/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29527
29528static swig_const_info swig_const_table[] = {
c32bde28 29529{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
29530
29531#ifdef __cplusplus
29532}
29533#endif
29534
093d3ff1
RD
29535
29536#ifdef __cplusplus
29537extern "C" {
29538#endif
29539
29540 /* Python-specific SWIG API */
29541#define SWIG_newvarlink() SWIG_Python_newvarlink()
29542#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29543#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29544
29545 /* -----------------------------------------------------------------------------
29546 * global variable support code.
29547 * ----------------------------------------------------------------------------- */
29548
29549 typedef struct swig_globalvar {
29550 char *name; /* Name of global variable */
29551 PyObject *(*get_attr)(); /* Return the current value */
29552 int (*set_attr)(PyObject *); /* Set the value */
29553 struct swig_globalvar *next;
29554 } swig_globalvar;
29555
29556 typedef struct swig_varlinkobject {
29557 PyObject_HEAD
29558 swig_globalvar *vars;
29559 } swig_varlinkobject;
29560
29561 static PyObject *
29562 swig_varlink_repr(swig_varlinkobject *v) {
29563 v = v;
29564 return PyString_FromString("<Swig global variables>");
29565 }
29566
29567 static int
29568 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29569 swig_globalvar *var;
29570 flags = flags;
29571 fprintf(fp,"Swig global variables { ");
29572 for (var = v->vars; var; var=var->next) {
29573 fprintf(fp,"%s", var->name);
29574 if (var->next) fprintf(fp,", ");
29575 }
29576 fprintf(fp," }\n");
29577 return 0;
29578 }
29579
29580 static PyObject *
29581 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29582 swig_globalvar *var = v->vars;
29583 while (var) {
29584 if (strcmp(var->name,n) == 0) {
29585 return (*var->get_attr)();
29586 }
29587 var = var->next;
29588 }
29589 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29590 return NULL;
29591 }
29592
29593 static int
29594 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29595 swig_globalvar *var = v->vars;
29596 while (var) {
29597 if (strcmp(var->name,n) == 0) {
29598 return (*var->set_attr)(p);
29599 }
29600 var = var->next;
29601 }
29602 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29603 return 1;
29604 }
29605
29606 static PyTypeObject varlinktype = {
29607 PyObject_HEAD_INIT(0)
29608 0, /* Number of items in variable part (ob_size) */
29609 (char *)"swigvarlink", /* Type name (tp_name) */
29610 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29611 0, /* Itemsize (tp_itemsize) */
29612 0, /* Deallocator (tp_dealloc) */
29613 (printfunc) swig_varlink_print, /* Print (tp_print) */
29614 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29615 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29616 0, /* tp_compare */
29617 (reprfunc) swig_varlink_repr, /* tp_repr */
29618 0, /* tp_as_number */
29619 0, /* tp_as_sequence */
29620 0, /* tp_as_mapping */
29621 0, /* tp_hash */
29622 0, /* tp_call */
29623 0, /* tp_str */
29624 0, /* tp_getattro */
29625 0, /* tp_setattro */
29626 0, /* tp_as_buffer */
29627 0, /* tp_flags */
29628 0, /* tp_doc */
29629#if PY_VERSION_HEX >= 0x02000000
29630 0, /* tp_traverse */
29631 0, /* tp_clear */
29632#endif
29633#if PY_VERSION_HEX >= 0x02010000
29634 0, /* tp_richcompare */
29635 0, /* tp_weaklistoffset */
29636#endif
29637#if PY_VERSION_HEX >= 0x02020000
29638 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29639#endif
29640#if PY_VERSION_HEX >= 0x02030000
29641 0, /* tp_del */
29642#endif
29643#ifdef COUNT_ALLOCS
29644 0,0,0,0 /* tp_alloc -> tp_next */
29645#endif
29646 };
29647
29648 /* Create a variable linking object for use later */
29649 static PyObject *
29650 SWIG_Python_newvarlink(void) {
29651 swig_varlinkobject *result = 0;
29652 result = PyMem_NEW(swig_varlinkobject,1);
29653 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29654 result->ob_type = &varlinktype;
29655 result->vars = 0;
29656 result->ob_refcnt = 0;
29657 Py_XINCREF((PyObject *) result);
29658 return ((PyObject*) result);
29659 }
29660
29661 static void
29662 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29663 swig_varlinkobject *v;
29664 swig_globalvar *gv;
29665 v= (swig_varlinkobject *) p;
29666 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29667 gv->name = (char *) malloc(strlen(name)+1);
29668 strcpy(gv->name,name);
29669 gv->get_attr = get_attr;
29670 gv->set_attr = set_attr;
29671 gv->next = v->vars;
29672 v->vars = gv;
29673 }
29674
29675 /* -----------------------------------------------------------------------------
29676 * constants/methods manipulation
29677 * ----------------------------------------------------------------------------- */
29678
29679 /* Install Constants */
29680 static void
29681 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29682 PyObject *obj = 0;
29683 size_t i;
29684 for (i = 0; constants[i].type; i++) {
29685 switch(constants[i].type) {
29686 case SWIG_PY_INT:
29687 obj = PyInt_FromLong(constants[i].lvalue);
29688 break;
29689 case SWIG_PY_FLOAT:
29690 obj = PyFloat_FromDouble(constants[i].dvalue);
29691 break;
29692 case SWIG_PY_STRING:
29693 if (constants[i].pvalue) {
29694 obj = PyString_FromString((char *) constants[i].pvalue);
29695 } else {
29696 Py_INCREF(Py_None);
29697 obj = Py_None;
29698 }
29699 break;
29700 case SWIG_PY_POINTER:
29701 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29702 break;
29703 case SWIG_PY_BINARY:
29704 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29705 break;
29706 default:
29707 obj = 0;
29708 break;
29709 }
29710 if (obj) {
29711 PyDict_SetItemString(d,constants[i].name,obj);
29712 Py_DECREF(obj);
29713 }
29714 }
29715 }
29716
29717 /* -----------------------------------------------------------------------------*/
29718 /* Fix SwigMethods to carry the callback ptrs when needed */
29719 /* -----------------------------------------------------------------------------*/
29720
29721 static void
29722 SWIG_Python_FixMethods(PyMethodDef *methods,
29723 swig_const_info *const_table,
29724 swig_type_info **types,
29725 swig_type_info **types_initial) {
29726 size_t i;
29727 for (i = 0; methods[i].ml_name; ++i) {
29728 char *c = methods[i].ml_doc;
29729 if (c && (c = strstr(c, "swig_ptr: "))) {
29730 int j;
29731 swig_const_info *ci = 0;
29732 char *name = c + 10;
29733 for (j = 0; const_table[j].type; j++) {
29734 if (strncmp(const_table[j].name, name,
29735 strlen(const_table[j].name)) == 0) {
29736 ci = &(const_table[j]);
29737 break;
29738 }
29739 }
29740 if (ci) {
29741 size_t shift = (ci->ptype) - types;
29742 swig_type_info *ty = types_initial[shift];
29743 size_t ldoc = (c - methods[i].ml_doc);
29744 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29745 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29746 char *buff = ndoc;
29747 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29748 strncpy(buff, methods[i].ml_doc, ldoc);
29749 buff += ldoc;
29750 strncpy(buff, "swig_ptr: ", 10);
29751 buff += 10;
29752 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29753 methods[i].ml_doc = ndoc;
29754 }
29755 }
29756 }
29757 }
29758
29759 /* -----------------------------------------------------------------------------*
29760 * Initialize type list
29761 * -----------------------------------------------------------------------------*/
29762
29763#if PY_MAJOR_VERSION < 2
29764 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29765 is copied out of Python/modsupport.c in python version 2.3.4 */
29766 static int
29767 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29768 {
29769 PyObject *dict;
29770 if (!PyModule_Check(m)) {
29771 PyErr_SetString(PyExc_TypeError,
29772 "PyModule_AddObject() needs module as first arg");
29773 return -1;
29774 }
29775 if (!o) {
29776 PyErr_SetString(PyExc_TypeError,
29777 "PyModule_AddObject() needs non-NULL value");
29778 return -1;
29779 }
29780
29781 dict = PyModule_GetDict(m);
29782 if (dict == NULL) {
29783 /* Internal error -- modules must have a dict! */
29784 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29785 PyModule_GetName(m));
29786 return -1;
29787 }
29788 if (PyDict_SetItemString(dict, name, o))
29789 return -1;
29790 Py_DECREF(o);
29791 return 0;
29792 }
29793#endif
29794
29795 static swig_type_info **
29796 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29797 static PyMethodDef swig_empty_runtime_method_table[] = {
29798 {
29799 NULL, NULL, 0, NULL
29800 }
29801 };/* Sentinel */
29802
29803 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
29804 swig_empty_runtime_method_table);
29805 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
29806 if (pointer && module) {
29807 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
29808 }
29809 return type_list_handle;
29810 }
29811
29812 static swig_type_info **
29813 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
29814 swig_type_info **type_pointer;
29815
29816 /* first check if module already created */
29817 type_pointer = SWIG_Python_GetTypeListHandle();
29818 if (type_pointer) {
29819 return type_pointer;
29820 } else {
29821 /* create a new module and variable */
29822 return SWIG_Python_SetTypeListHandle(type_list_handle);
29823 }
29824 }
29825
29826#ifdef __cplusplus
29827}
29828#endif
29829
29830/* -----------------------------------------------------------------------------*
29831 * Partial Init method
29832 * -----------------------------------------------------------------------------*/
29833
29834#ifdef SWIG_LINK_RUNTIME
29835#ifdef __cplusplus
29836extern "C"
29837#endif
29838SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29839#endif
29840
d14a1e28
RD
29841#ifdef __cplusplus
29842extern "C"
29843#endif
29844SWIGEXPORT(void) SWIG_init(void) {
29845 static PyObject *SWIG_globals = 0;
29846 static int typeinit = 0;
29847 PyObject *m, *d;
29848 int i;
29849 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
29850
29851 /* Fix SwigMethods to carry the callback ptrs when needed */
29852 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
29853
d14a1e28
RD
29854 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29855 d = PyModule_GetDict(m);
29856
29857 if (!typeinit) {
093d3ff1
RD
29858#ifdef SWIG_LINK_RUNTIME
29859 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
29860#else
29861# ifndef SWIG_STATIC_RUNTIME
29862 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
29863# endif
29864#endif
d14a1e28
RD
29865 for (i = 0; swig_types_initial[i]; i++) {
29866 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29867 }
29868 typeinit = 1;
29869 }
093d3ff1
RD
29870 SWIG_InstallConstants(d,swig_const_table);
29871
29872 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29873 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
29874 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
29875 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
29876 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
29877 {
29878 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
29879 }
29880 {
29881 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
29882 }
29883 {
29884 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
29885 }
29886 {
29887 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
29888 }
29889 {
29890 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
29891 }
29892 {
29893 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
29894 }
29895 {
29896 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
29897 }
29898 {
29899 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
29900 }
29901 {
29902 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
29903 }
29904 {
29905 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
29906 }
29907 {
29908 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
29909 }
29910 {
29911 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
29912 }
29913 {
29914 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
29915 }
29916 {
29917 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
29918 }
29919 {
29920 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
29921 }
29922 {
29923 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
29924 }
29925 {
29926 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
29927 }
29928 {
29929 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
29930 }
29931 {
29932 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
29933 }
29934 {
29935 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
29936 }
29937 {
29938 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
29939 }
29940 {
29941 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
29942 }
29943 {
29944 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
29945 }
29946 {
29947 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
29948 }
29949 {
29950 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
29951 }
29952 {
29953 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
29954 }
29955 {
29956 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
29957 }
29958 {
29959 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
29960 }
29961 {
29962 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
29963 }
29964 {
29965 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
29966 }
29967 {
29968 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
29969 }
29970 {
29971 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
29972 }
29973 {
29974 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
29975 }
29976 {
29977 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
29978 }
29979 {
29980 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
29981 }
29982 {
29983 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
29984 }
29985 {
29986 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
29987 }
29988 {
29989 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
29990 }
29991 {
29992 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
29993 }
29994 {
29995 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
29996 }
29997 {
29998 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
29999 }
30000 {
30001 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
30002 }
30003 {
30004 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
30005 }
b2dc1044 30006 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
093d3ff1
RD
30007 {
30008 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
30009 }
30010 {
30011 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
30012 }
30013 {
30014 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
30015 }
30016 {
30017 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
30018 }
30019 {
30020 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
30021 }
30022 {
30023 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
30024 }
30025 {
30026 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
30027 }
30028 {
30029 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
30030 }
30031 {
30032 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
30033 }
30034 {
30035 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
30036 }
30037 {
30038 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
30039 }
30040 {
30041 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
30042 }
30043 {
30044 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
30045 }
30046 {
30047 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
30048 }
d14a1e28
RD
30049 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30050 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30051 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30052 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
b2dc1044
RD
30053 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30054 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
093d3ff1
RD
30055 {
30056 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
30057 }
30058 {
30059 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
30060 }
30061 {
30062 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
30063 }
30064 {
30065 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
30066 }
30067 {
30068 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
30069 }
30070 {
30071 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
30072 }
30073 {
30074 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
30075 }
30076 {
30077 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
30078 }
30079 {
30080 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
30081 }
30082 {
30083 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
30084 }
30085 {
30086 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
30087 }
30088 {
30089 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
30090 }
30091 {
30092 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
30093 }
30094 {
30095 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
30096 }
30097 {
30098 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
30099 }
d14a1e28 30100 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
093d3ff1
RD
30101 {
30102 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
30103 }
30104 {
30105 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
30106 }
30107 {
30108 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
30109 }
30110 {
30111 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
30112 }
30113 {
30114 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
30115 }
30116 {
30117 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
30118 }
30119 {
30120 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
30121 }
30122 {
30123 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
30124 }
30125 {
30126 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
30127 }
30128 {
30129 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
30130 }
30131 {
30132 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
30133 }
d14a1e28
RD
30134 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30135 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
b2dc1044 30136 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
d14a1e28
RD
30137
30138 // Map renamed classes back to their common name for OOR
30139 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30140 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30141 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30142
30143 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30144 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30145 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30146 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30147 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30148 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30149 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
b2dc1044
RD
30150 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30151 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30152 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30153 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30154 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30155 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
093d3ff1
RD
30156 {
30157 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30158 }
30159 {
30160 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30161 }
d3b6e4ff 30162 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
093d3ff1
RD
30163 {
30164 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30165 }
30166 {
30167 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30168 }
30169 {
30170 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30171 }
30172 {
30173 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30174 }
30175 {
30176 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30177 }
30178 {
30179 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30180 }
30181 {
30182 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30183 }
d14a1e28
RD
30184 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30185 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30186 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30187 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30188 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
093d3ff1
RD
30189 {
30190 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30191 }
30192 {
30193 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30194 }
30195 {
30196 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30197 }
30198 {
30199 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30200 }
30201 {
30202 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30203 }
30204 {
30205 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30206 }
30207 {
30208 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30209 }
30210 {
30211 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30212 }
b2dc1044
RD
30213 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30214 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
093d3ff1
RD
30215 {
30216 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30217 }
30218 {
30219 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30220 }
30221 {
30222 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30223 }
30224 {
30225 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30226 }
30227 {
30228 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30229 }
30230 {
30231 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30232 }
30233 {
30234 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30235 }
30236 {
30237 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30238 }
30239 {
30240 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30241 }
30242 {
30243 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30244 }
30245 {
30246 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30247 }
30248 {
30249 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30250 }
30251 {
30252 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30253 }
30254 {
30255 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30256 }
30257 {
30258 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30259 }
30260 {
30261 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30262 }
30263 {
30264 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30265 }
30266 {
30267 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30268 }
30269 {
30270 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30271 }
30272 {
30273 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30274 }
30275 {
30276 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30277 }
30278 {
30279 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30280 }
30281 {
30282 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30283 }
30284 {
30285 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30286 }
30287 {
30288 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30289 }
30290 {
30291 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30292 }
30293 {
30294 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30295 }
30296 {
30297 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30298 }
30299 {
30300 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30301 }
30302 {
30303 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30304 }
30305 {
30306 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30307 }
30308 {
30309 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30310 }
30311 {
30312 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30313 }
30314 {
30315 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30316 }
30317 {
30318 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30319 }
30320 {
30321 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30322 }
30323 {
30324 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30325 }
30326 {
30327 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30328 }
30329 {
30330 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30331 }
d14a1e28
RD
30332
30333 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30334
30335}
30336