]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_windows_wrap.cpp
reSWIGged
[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 }
02b455f2
RD
1040 if (str)
1041 Py_DECREF(str);
093d3ff1
RD
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049}
d14a1e28 1050
093d3ff1
RD
1051SWIGRUNTIMEINLINE void
1052SWIG_Python_NullRef(const char *type)
1053{
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059}
d14a1e28 1060
093d3ff1
RD
1061SWIGRUNTIME int
1062SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063{
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084}
d14a1e28 1085
093d3ff1
RD
1086SWIGRUNTIME int
1087SWIG_Python_ArgFail(int argnum)
d14a1e28 1088{
093d3ff1
RD
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097}
d14a1e28 1098
d14a1e28 1099
093d3ff1
RD
1100/* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
d14a1e28 1103
093d3ff1
RD
1104/* Convert a pointer value */
1105SWIGRUNTIME int
1106SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
d14a1e28 1119
093d3ff1
RD
1120#ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137#else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155#endif
d14a1e28 1156
093d3ff1 1157type_check:
d14a1e28 1158
093d3ff1
RD
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
d14a1e28 1166
093d3ff1
RD
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
d14a1e28 1171
093d3ff1
RD
1172type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195}
d14a1e28 1196
093d3ff1
RD
1197/* Convert a pointer value, signal an exception on a type mismatch */
1198SWIGRUNTIME void *
1199SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209}
d14a1e28 1210
093d3ff1
RD
1211/* Convert a packed value value */
1212SWIGRUNTIME int
1213SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
d14a1e28 1216
093d3ff1
RD
1217#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219#else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224#endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
d14a1e28 1231
093d3ff1
RD
1232type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242}
1243
1244/* Create a new array object */
1245SWIGRUNTIME PyObject *
1246SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252#ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254#else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260#endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276}
1277
1278SWIGRUNTIME PyObject *
1279SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287#else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293#endif
1294 return robj;
1295}
1296
1297/* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301#ifdef SWIG_LINK_RUNTIME
1302void *SWIG_ReturnGlobalTypeList(void *);
1303#endif
1304
1305SWIGRUNTIME swig_type_info **
1306SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310#ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312#else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320#endif
1321 return (swig_type_info **) type_pointer;
1322}
1323
1324/*
1325 Search for a swig_type_info structure
1326 */
1327SWIGRUNTIMEINLINE swig_type_info *
1328SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331}
1332
1333#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335#ifdef __cplusplus
1336}
1337#endif
1338
1339
1340/* -------- TYPES TABLE (BEGIN) -------- */
1341
1342#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1343#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1344#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1345#define SWIGTYPE_p_wxPyPanel swig_types[3]
1346#define SWIGTYPE_p_wxMenu swig_types[4]
1347#define SWIGTYPE_p_wxFontData swig_types[5]
1348#define SWIGTYPE_p_wxEvent swig_types[6]
1349#define SWIGTYPE_p_wxPrintData swig_types[7]
1350#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1351#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1352#define SWIGTYPE_p_wxIconBundle swig_types[10]
1353#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1354#define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1355#define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1356#define SWIGTYPE_p_wxFont swig_types[14]
1357#define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1358#define SWIGTYPE_p_wxRegion swig_types[16]
1359#define SWIGTYPE_ptrdiff_t swig_types[17]
1360#define SWIGTYPE_std__ptrdiff_t swig_types[18]
1361#define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1362#define SWIGTYPE_p_int swig_types[20]
1363#define SWIGTYPE_p_wxSize swig_types[21]
1364#define SWIGTYPE_p_wxDC swig_types[22]
1365#define SWIGTYPE_p_wxIcon swig_types[23]
1366#define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1367#define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1368#define SWIGTYPE_p_wxColourData swig_types[26]
1369#define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1370#define SWIGTYPE_p_wxPyWindow swig_types[28]
1371#define SWIGTYPE_p_form_ops_t swig_types[29]
1372#define SWIGTYPE_p_wxSplashScreen swig_types[30]
1373#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1374#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1375#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1376#define SWIGTYPE_p_wxFileDialog swig_types[34]
1377#define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1378#define SWIGTYPE_p_wxMessageDialog swig_types[36]
1379#define SWIGTYPE_p_wxProgressDialog swig_types[37]
1380#define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1381#define SWIGTYPE_p_wxPrinter swig_types[39]
1382#define SWIGTYPE_p_wxArrayInt swig_types[40]
1383#define SWIGTYPE_p_wxDuplexMode swig_types[41]
1384#define SWIGTYPE_p_wxEvtHandler swig_types[42]
1385#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1386#define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1387#define SWIGTYPE_p_wxPyVListBox swig_types[45]
1388#define SWIGTYPE_p_wxRect swig_types[46]
e505d15e
RD
1389#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1390#define SWIGTYPE_p_char swig_types[48]
1391#define SWIGTYPE_p_wxMiniFrame swig_types[49]
1392#define SWIGTYPE_p_wxFrame swig_types[50]
1393#define SWIGTYPE_p_wxPyPrintout swig_types[51]
1394#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1395#define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1396#define SWIGTYPE_p_wxPaperSize swig_types[54]
1397#define SWIGTYPE_p_wxStatusBar swig_types[55]
1398#define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1399#define SWIGTYPE_p_wxPoint swig_types[57]
1400#define SWIGTYPE_p_wxObject swig_types[58]
1401#define SWIGTYPE_p_unsigned_long swig_types[59]
1402#define SWIGTYPE_p_wxTipWindow swig_types[60]
1403#define SWIGTYPE_p_wxSashLayoutWindow swig_types[61]
1404#define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1405#define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1406#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1407#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[65]
1408#define SWIGTYPE_p_wxPopupWindow swig_types[66]
1409#define SWIGTYPE_p_wxSashWindow swig_types[67]
1410#define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1411#define SWIGTYPE_p_wxWindow swig_types[69]
1412#define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1413#define SWIGTYPE_p_wxMenuBar swig_types[71]
1414#define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1415#define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1416#define SWIGTYPE_p_wxPrintPreview swig_types[74]
1417#define SWIGTYPE_p_wxSashEvent swig_types[75]
1418#define SWIGTYPE_p_wxString swig_types[76]
1419#define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1420#define SWIGTYPE_p_wxDirDialog swig_types[78]
1421#define SWIGTYPE_p_wxColourDialog swig_types[79]
1422#define SWIGTYPE_p_wxDialog swig_types[80]
1423#define SWIGTYPE_p_wxPanel swig_types[81]
1424#define SWIGTYPE_p_wxFontDialog swig_types[82]
1425#define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1426#define SWIGTYPE_p_wxPrintDialog swig_types[84]
1427#define SWIGTYPE_p_wxFileSystem swig_types[85]
1428#define SWIGTYPE_p_wxBitmap swig_types[86]
1429#define SWIGTYPE_unsigned_int swig_types[87]
1430#define SWIGTYPE_p_unsigned_int swig_types[88]
1431#define SWIGTYPE_p_unsigned_char swig_types[89]
1432#define SWIGTYPE_p_wxCommandEvent swig_types[90]
1433#define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1434#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1435#define SWIGTYPE_p_wxColour swig_types[93]
1436#define SWIGTYPE_p_wxToolBar swig_types[94]
1437#define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1438#define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1439static swig_type_info *swig_types[98];
093d3ff1
RD
1440
1441/* -------- TYPES TABLE (END) -------- */
1442
1443
1444/*-----------------------------------------------
1445 @(target):= _windows_.so
1446 ------------------------------------------------*/
1447#define SWIG_init init_windows_
1448
1449#define SWIG_name "_windows_"
1450
1451#include "wx/wxPython/wxPython.h"
1452#include "wx/wxPython/pyclasses.h"
1453
1454
1455 static const wxString wxPyEmptyString(wxEmptyString);
1456 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1457
1458
1459
1460#include <limits.h>
1461
1462
1463SWIGINTERN int
1464 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1465 const char *errmsg)
1466{
1467 if (value < min_value) {
1468 if (errmsg) {
1469 PyErr_Format(PyExc_OverflowError,
1470 "value %ld is less than '%s' minimum %ld",
1471 value, errmsg, min_value);
1472 }
1473 return 0;
1474 } else if (value > max_value) {
1475 if (errmsg) {
1476 PyErr_Format(PyExc_OverflowError,
1477 "value %ld is greater than '%s' maximum %ld",
1478 value, errmsg, max_value);
1479 }
1480 return 0;
1481 }
1482 return 1;
1483}
1484
1485
1486SWIGINTERN int
1487SWIG_AsVal_long(PyObject* obj, long* val)
1488{
1489 if (PyNumber_Check(obj)) {
1490 if (val) *val = PyInt_AsLong(obj);
1491 return 1;
1492 }
1493 else {
1494 SWIG_type_error("number", obj);
1495 }
1496 return 0;
1497}
1498
1499
1500#if INT_MAX != LONG_MAX
1501SWIGINTERN int
1502 SWIG_AsVal_int(PyObject *obj, int *val)
1503{
1504 const char* errmsg = val ? "int" : (char*)0;
1505 long v;
1506 if (SWIG_AsVal_long(obj, &v)) {
1507 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1508 if (val) *val = (int)(v);
1509 return 1;
1510 } else {
1511 return 0;
1512 }
1513 } else {
1514 PyErr_Clear();
1515 }
1516 if (val) {
1517 SWIG_type_error(errmsg, obj);
1518 }
1519 return 0;
1520}
1521#else
1522SWIGINTERNSHORT int
1523 SWIG_AsVal_int(PyObject *obj, int *val)
1524{
1525 return SWIG_AsVal_long(obj,(long*)val);
1526}
1527#endif
1528
1529
1530SWIGINTERNSHORT int
1531SWIG_As_int(PyObject* obj)
1532{
1533 int v;
1534 if (!SWIG_AsVal_int(obj, &v)) {
1535 /*
1536 this is needed to make valgrind/purify happier.
1537 */
1538 memset((void*)&v, 0, sizeof(int));
1539 }
1540 return v;
1541}
1542
1543
1544SWIGINTERNSHORT long
1545SWIG_As_long(PyObject* obj)
1546{
1547 long v;
1548 if (!SWIG_AsVal_long(obj, &v)) {
1549 /*
1550 this is needed to make valgrind/purify happier.
1551 */
1552 memset((void*)&v, 0, sizeof(long));
1553 }
1554 return v;
1555}
1556
1557
1558SWIGINTERNSHORT int
1559SWIG_Check_int(PyObject* obj)
1560{
1561 return SWIG_AsVal_int(obj, (int*)0);
1562}
1563
1564
1565SWIGINTERNSHORT int
1566SWIG_Check_long(PyObject* obj)
1567{
1568 return SWIG_AsVal_long(obj, (long*)0);
1569}
1570
1571
1572SWIGINTERN int
1573 SWIG_AsVal_bool(PyObject *obj, bool *val)
1574{
1575 if (obj == Py_True) {
1576 if (val) *val = true;
1577 return 1;
1578 }
1579 if (obj == Py_False) {
1580 if (val) *val = false;
1581 return 1;
1582 }
1583 int res = 0;
1584 if (SWIG_AsVal_int(obj, &res)) {
1585 if (val) *val = res ? true : false;
1586 return 1;
1587 } else {
1588 PyErr_Clear();
1589 }
1590 if (val) {
1591 SWIG_type_error("bool", obj);
1592 }
1593 return 0;
1594}
1595
1596
1597SWIGINTERNSHORT bool
1598SWIG_As_bool(PyObject* obj)
1599{
1600 bool v;
1601 if (!SWIG_AsVal_bool(obj, &v)) {
1602 /*
1603 this is needed to make valgrind/purify happier.
1604 */
1605 memset((void*)&v, 0, sizeof(bool));
1606 }
1607 return v;
1608}
1609
1610
1611SWIGINTERNSHORT int
1612SWIG_Check_bool(PyObject* obj)
1613{
1614 return SWIG_AsVal_bool(obj, (bool*)0);
1615}
1616
1617
1618 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1619#define SWIG_From_int PyInt_FromLong
1620/*@@*/
1621
1622
1623 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1624 PyObject* o2;
1625 PyObject* o3;
1626
1627 if (!target) {
1628 target = o;
1629 } else if (target == Py_None) {
1630 Py_DECREF(Py_None);
1631 target = o;
1632 } else {
1633 if (!PyTuple_Check(target)) {
1634 o2 = target;
1635 target = PyTuple_New(1);
1636 PyTuple_SetItem(target, 0, o2);
1637 }
1638 o3 = PyTuple_New(1);
1639 PyTuple_SetItem(o3, 0, o);
1640
1641 o2 = target;
1642 target = PySequence_Concat(o2, o3);
1643 Py_DECREF(o2);
1644 Py_DECREF(o3);
1645 }
1646 return target;
1647 }
1648
1649
1650
1651SWIGINTERN int
1652SWIG_AsVal_double(PyObject *obj, double* val)
1653{
1654 if (PyNumber_Check(obj)) {
1655 if (val) *val = PyFloat_AsDouble(obj);
1656 return 1;
1657 }
1658 else {
1659 SWIG_type_error("number", obj);
1660 }
1661 return 0;
1662}
1663
1664
1665SWIGINTERNSHORT double
1666SWIG_As_double(PyObject* obj)
1667{
1668 double v;
1669 if (!SWIG_AsVal_double(obj, &v)) {
1670 /*
1671 this is needed to make valgrind/purify happier.
1672 */
1673 memset((void*)&v, 0, sizeof(double));
1674 }
1675 return v;
1676}
1677
1678
1679SWIGINTERNSHORT int
1680SWIG_Check_double(PyObject* obj)
1681{
1682 return SWIG_AsVal_double(obj, (double*)0);
1683}
1684
1685
1686 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1687#define SWIG_From_double PyFloat_FromDouble
1688/*@@*/
1689
1690 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1691 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1692 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1693 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1694static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1695static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1696
1697 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1698#define SWIG_From_long PyInt_FromLong
1699/*@@*/
1700
1701
1702
1703static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1704 wxRect r;
1705 self->GetFieldRect(i, r);
1706 return r;
1707 }
1708 static const wxString wxPySplitterNameStr(wxT("splitter"));
1709 static const wxString wxPySashNameStr(wxT("sashWindow"));
1710 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1711
1712#include <wx/popupwin.h>
1713
1714
1715class wxPyPopupTransientWindow : public wxPopupTransientWindow
1716{
1717public:
1718 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1719 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1720 : wxPopupTransientWindow(parent, style) {}
1721
1722 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1723 DEC_PYCALLBACK__(OnDismiss);
1724 DEC_PYCALLBACK_BOOL_(CanDismiss);
1725 PYPRIVATE;
1726};
1727
1728
1729IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1730IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1731IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1732
1733
1734#include <wx/tipwin.h>
1735
1736static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1737 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1738 }
1739
1740#include <wx/tipwin.h>
1741
1742
1743#include <wx/vscroll.h>
1744
1745
1746class wxPyVScrolledWindow : public wxVScrolledWindow
1747{
1748 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
1749public:
1750 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1751
1752 wxPyVScrolledWindow(wxWindow *parent,
1753 wxWindowID id = wxID_ANY,
1754 const wxPoint& pos = wxDefaultPosition,
1755 const wxSize& size = wxDefaultSize,
1756 long style = 0,
1757 const wxString& name = wxPyPanelNameStr)
1758 : wxVScrolledWindow(parent, id, pos, size, style, name)
1759 {}
1760
1761 // Overridable virtuals
1762
1763 // this function must be overridden in the derived class and it should
1764 // return the height of the given line in pixels
1765 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1766
1767
1768 // this function doesn't have to be overridden but it may be useful to do
1769 // it if calculating the lines heights is a relatively expensive operation
1770 // as it gives the user code a possibility to calculate several of them at
1771 // once
1772 //
1773 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1774 // shouldn't rely on the latter being called for all lines in the interval
1775 // specified here. It is also possible that OnGetLineHeight() will be
1776 // called for the lines outside of this interval, so this is really just a
1777 // hint, not a promise.
1778 //
1779 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1780 // usual
1781 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1782
1783
1784 // when the number of lines changes, we try to estimate the total height
1785 // of all lines which is a rather expensive operation in terms of lines
1786 // access, so if the user code may estimate the average height
1787 // better/faster than we do, it should override this function to implement
1788 // its own logic
1789 //
1790 // this function should return the best guess for the total height it may
1791 // make
1792 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1793
1794
1795 // Also expose some other interesting protected methods
1796
1797
1798 // find the index of the line we need to show at the top of the window such
1799 // that the last (fully or partially) visible line is the given one
1800 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1801 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1802
1803 // get the total height of the lines between lineMin (inclusive) and
1804 // lineMax (exclusive)
1805 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1806 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d14a1e28
RD
1807
1808
1809 PYPRIVATE;
1810};
1811
1812IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1813
1814IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1815IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1816IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1817
1818
093d3ff1 1819SWIGINTERN int
c32bde28 1820SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
15afbcd0 1821{
c32bde28
RD
1822 long v = 0;
1823 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1824 SWIG_type_error("unsigned number", obj);
15afbcd0 1825 }
c32bde28
RD
1826 else if (val)
1827 *val = (unsigned long)v;
1828 return 1;
15afbcd0
RD
1829}
1830
1831
093d3ff1 1832SWIGINTERNSHORT unsigned long
c32bde28 1833SWIG_As_unsigned_SS_long(PyObject* obj)
15afbcd0 1834{
c32bde28
RD
1835 unsigned long v;
1836 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1837 /*
093d3ff1 1838 this is needed to make valgrind/purify happier.
c32bde28
RD
1839 */
1840 memset((void*)&v, 0, sizeof(unsigned long));
15afbcd0 1841 }
c32bde28
RD
1842 return v;
1843}
1844
1845
093d3ff1 1846SWIGINTERNSHORT int
c32bde28
RD
1847SWIG_Check_unsigned_SS_long(PyObject* obj)
1848{
1849 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
15afbcd0
RD
1850}
1851
1852
093d3ff1 1853SWIGINTERNSHORT PyObject*
c32bde28 1854 SWIG_From_unsigned_SS_long(unsigned long value)
994141e6 1855{
15afbcd0
RD
1856 return (value > LONG_MAX) ?
1857 PyLong_FromUnsignedLong(value)
093d3ff1 1858 : PyInt_FromLong((long)(value));
994141e6
RD
1859}
1860
1861
d14a1e28 1862#include <wx/vlbox.h>
d14a1e28 1863
b2dc1044 1864 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
1865
1866class wxPyVListBox : public wxVListBox
1867{
1868 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
1869public:
1870 wxPyVListBox() : wxVListBox() {}
1871
1872 wxPyVListBox(wxWindow *parent,
1873 wxWindowID id = wxID_ANY,
1874 const wxPoint& pos = wxDefaultPosition,
1875 const wxSize& size = wxDefaultSize,
1876 long style = 0,
1877 const wxString& name = wxPyVListBoxNameStr)
1878 : wxVListBox(parent, id, pos, size, style, name)
1879 {}
1880
1881 // Overridable virtuals
1882
1883 // the derived class must implement this function to actually draw the item
1884 // with the given index on the provided DC
1885 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1886 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
1887
1888
1889 // the derived class must implement this method to return the height of the
1890 // specified item
1891 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1892 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
1893
1894
1895 // this method may be used to draw separators between the lines; note that
1896 // the rectangle may be modified, typically to deflate it a bit before
1897 // passing to OnDrawItem()
1898 //
1899 // the base class version doesn't do anything
1900 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1901 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
1902
1903
1904 // this method is used to draw the items background and, maybe, a border
1905 // around it
1906 //
1907 // the base class version implements a reasonable default behaviour which
1908 // consists in drawing the selected item with the standard background
1909 // colour and drawing a border around the item if it is either selected or
1910 // current
1911 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1912 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
1913
1914
1915 PYPRIVATE;
1916};
1917
1918IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
1919
1920IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
1921IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1922IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
1923IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
1924
1925
093d3ff1 1926static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
1927 unsigned long cookie = 0;
1928 int selected = self->GetFirstSelected(cookie);
5a446332 1929 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
1930 PyObject* tup = PyTuple_New(2);
1931 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1932 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1933 wxPyEndBlockThreads(blocked);
1934 return tup;
1935 }
093d3ff1 1936static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 1937 int selected = self->GetNextSelected(cookie);
5a446332 1938 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
1939 PyObject* tup = PyTuple_New(2);
1940 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1941 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1942 wxPyEndBlockThreads(blocked);
1943 return tup;
1944 }
d14a1e28
RD
1945
1946#include <wx/htmllbox.h>
1947
1948
1949class wxPyHtmlListBox : public wxHtmlListBox
1950{
1951 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
1952public:
1953 wxPyHtmlListBox() : wxHtmlListBox() {}
1954
1955 wxPyHtmlListBox(wxWindow *parent,
1956 wxWindowID id = wxID_ANY,
1957 const wxPoint& pos = wxDefaultPosition,
1958 const wxSize& size = wxDefaultSize,
1959 long style = 0,
1960 const wxString& name = wxPyVListBoxNameStr)
1961 : wxHtmlListBox(parent, id, pos, size, style, name)
1962 {}
1963
1964 // Overridable virtuals
1965
1966 // this method must be implemented in the derived class and should return
1967 // the body (i.e. without <html>) of the HTML for the given item
1968 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
1969
1970 // this function may be overridden to decorate HTML returned by OnGetItem()
1971 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
1972
1973// TODO:
1974// // this method allows to customize the selection appearance: it may be used
1975// // to specify the colour of the text which normally has the given colour
1976// // colFg when it is inside the selection
1977// //
1978// // by default, the original colour is not used at all and all text has the
1979// // same (default for this system) colour inside selection
1980// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1981
1982// // this is the same as GetSelectedTextColour() but allows to customize the
1983// // background colour -- this is even more rarely used as you can change it
1984// // globally using SetSelectionBackground()
1985// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1986
1987
1988 PYPRIVATE;
1989};
1990
1991
1992IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
1993
1994IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
1995IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1996
1997
1998
1999
2000
ae8162c8
RD
2001#ifndef wxHAS_TASK_BAR_ICON
2002// implement dummy classes for platforms that don't have it
d14a1e28
RD
2003
2004class wxTaskBarIcon : public wxEvtHandler
2005{
2006public:
39f61e25 2007 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28 2008};
09c21d3b 2009
d14a1e28
RD
2010
2011class wxTaskBarIconEvent : public wxEvent
2012{
2013public:
2014 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
39f61e25 2015 { wxPyRaiseNotImplemented(); }
d14a1e28 2016 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
2017 bool IsOk() const { return false; }
2018 bool IsIconInstalled() const { return false; }
2019 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2020 bool RemoveIcon() { return false; }
2021 bool PopupMenu(wxMenu *menu) { return false; }
d14a1e28
RD
2022};
2023
2024enum {
2025 wxEVT_TASKBAR_MOVE = 0,
2026 wxEVT_TASKBAR_LEFT_DOWN = 0,
2027 wxEVT_TASKBAR_LEFT_UP = 0,
2028 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2029 wxEVT_TASKBAR_RIGHT_UP = 0,
2030 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2031 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2032};
09c21d3b
RD
2033
2034
2035#else
5e483524
RD
2036// Otherwise make a class that can virtualize CreatePopupMenu
2037class wxPyTaskBarIcon : public wxTaskBarIcon
2038{
2039 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
2040public:
2041 wxPyTaskBarIcon() : wxTaskBarIcon()
2042 {}
2043
2044 wxMenu* CreatePopupMenu() {
2045 wxMenu *rval = NULL;
2046 bool found;
5a446332 2047 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
2048 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2049 PyObject* ro;
2050 wxMenu* ptr;
2051 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2052 if (ro) {
2053 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2054 rval = ptr;
2055 Py_DECREF(ro);
2056 }
2057 }
2058 wxPyEndBlockThreads(blocked);
2059 if (! found)
2060 rval = wxTaskBarIcon::CreatePopupMenu();
2061 return rval;
2062 }
2063
2064 PYPRIVATE;
2065};
2066
2067IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 2068
d14a1e28
RD
2069#endif
2070
093d3ff1 2071static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
74a57fcd 2072 self->RemoveIcon();
5e483524 2073 delete self;
74a57fcd 2074 }
b2dc1044
RD
2075 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2076 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2077 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2078 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2079 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2080 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
093d3ff1 2081static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d14a1e28
RD
2082 wxArrayString arr;
2083 self->GetFilenames(arr);
2084 return wxArrayString2PyList_helper(arr);
2085 }
093d3ff1 2086static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d14a1e28
RD
2087 wxArrayString arr;
2088 self->GetPaths(arr);
2089 return wxArrayString2PyList_helper(arr);
2090 }
093d3ff1 2091static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d14a1e28
RD
2092 return wxArrayInt2PyList_helper(self->GetSelections());
2093 }
093d3ff1 2094static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
d14a1e28
RD
2095 return new wxSingleChoiceDialog(parent, message, caption,
2096 choices, choices_array, NULL, style, pos);
2097 }
d3b6e4ff 2098 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d14a1e28
RD
2099
2100#include <wx/mdi.h>
2101
2102 // C++ version of Python aware wxWindow
2103class wxPyWindow : public wxWindow
2104{
2105 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2106public:
2107 wxPyWindow() : wxWindow() {}
2108 wxPyWindow(wxWindow* parent, const wxWindowID id,
2109 const wxPoint& pos = wxDefaultPosition,
2110 const wxSize& size = wxDefaultSize,
2111 long style = 0,
2112 const wxString& name = wxPyPanelNameStr)
2113 : wxWindow(parent, id, pos, size, style, name) {}
2114
db3e571a 2115 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d14a1e28 2116
976dbff5
RD
2117 bool DoEraseBackground(wxDC* dc) {
2118#ifdef __WXMSW__
2119 return wxWindow::DoEraseBackground(dc->GetHDC());
2120#else
2121 dc->SetBackground(wxBrush(GetBackgroundColour()));
2122 dc->Clear();
2123 return true;
2124#endif
2125 }
2126
d14a1e28
RD
2127 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2128 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2129 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2130 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2131
2132 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2133 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2134 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2135
2136 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2137 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2138
2139 DEC_PYCALLBACK__(InitDialog);
2140 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2141 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2142 DEC_PYCALLBACK_BOOL_(Validate);
2143
2144 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2145 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2146 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2147
2148 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2149 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2150
db3e571a 2151 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 2152 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 2153
51b83b37
RD
2154 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2155
d14a1e28
RD
2156 PYPRIVATE;
2157};
2158
2159IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2160
2161IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2162IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2163IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2164IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2165
2166IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2167IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2168IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2169
2170IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2171IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2172
2173IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2174IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2175IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2176IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2177
2178IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2179IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2180IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2181
2182IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2183IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2184
db3e571a 2185IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
db3e571a 2186IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
2187
2188IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d14a1e28
RD
2189
2190 // C++ version of Python aware wxPanel
2191class wxPyPanel : public wxPanel
2192{
2193 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2194public:
2195 wxPyPanel() : wxPanel() {}
2196 wxPyPanel(wxWindow* parent, const wxWindowID id,
2197 const wxPoint& pos = wxDefaultPosition,
2198 const wxSize& size = wxDefaultSize,
2199 long style = 0,
2200 const wxString& name = wxPyPanelNameStr)
2201 : wxPanel(parent, id, pos, size, style, name) {}
2202
db3e571a 2203 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
976dbff5
RD
2204 bool DoEraseBackground(wxDC* dc) {
2205#ifdef __WXMSW__
2206 return wxWindow::DoEraseBackground(dc->GetHDC());
2207#else
2208 dc->SetBackground(wxBrush(GetBackgroundColour()));
2209 dc->Clear();
2210 return true;
2211#endif
2212 }
db3e571a 2213
d14a1e28
RD
2214
2215 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2216 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2217 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2218 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2219
2220 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2221 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2222 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2223
2224 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2225 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2226
2227 DEC_PYCALLBACK__(InitDialog);
2228 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2229 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2230 DEC_PYCALLBACK_BOOL_(Validate);
2231
2232 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2233 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2234 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2235
2236 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2237 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2238
db3e571a 2239 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 2240 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 2241
51b83b37
RD
2242 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2243
d14a1e28
RD
2244 PYPRIVATE;
2245};
2246
2247IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2248
2249IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2250IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2251IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2252IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2253
2254IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2255IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2256IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2257
2258IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2259IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2260
2261IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2262IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2263IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2264IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2265
2266IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2267IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2268IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2269
2270IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2271IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2272
db3e571a 2273IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
db3e571a 2274IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1cb4a8aa 2275
51b83b37
RD
2276IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
2277
1cb4a8aa
RD
2278 // C++ version of Python aware wxScrolledWindow
2279class wxPyScrolledWindow : public wxScrolledWindow
2280{
2281 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2282public:
2283 wxPyScrolledWindow() : wxScrolledWindow() {}
2284 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2285 const wxPoint& pos = wxDefaultPosition,
2286 const wxSize& size = wxDefaultSize,
2287 long style = 0,
2288 const wxString& name = wxPyPanelNameStr)
2289 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2290
db3e571a 2291 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
976dbff5
RD
2292 bool DoEraseBackground(wxDC* dc) {
2293#ifdef __WXMSW__
2294 return wxWindow::DoEraseBackground(dc->GetHDC());
2295#else
2296 dc->SetBackground(wxBrush(GetBackgroundColour()));
2297 dc->Clear();
2298 return true;
2299#endif
2300 }
1cb4a8aa
RD
2301
2302 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2303 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2304 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2305 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2306
2307 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2308 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2310
2311 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2312 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2313
2314 DEC_PYCALLBACK__(InitDialog);
2315 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2316 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2317 DEC_PYCALLBACK_BOOL_(Validate);
2318
2319 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2320 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2321 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2322
2323 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2324 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2325
db3e571a 2326 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 2327 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1cb4a8aa 2328
51b83b37
RD
2329 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2330
1cb4a8aa
RD
2331 PYPRIVATE;
2332};
2333
2334IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2335
2336IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2337IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2338IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2339IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2340
2341IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2342IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2343IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2344
2345IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2346IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2347
2348IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2349IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2350IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2351IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2352
2353IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2354IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2355IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2356
2357IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2358IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2359
db3e571a 2360IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
db3e571a
RD
2361IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2362
51b83b37 2363IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d14a1e28
RD
2364
2365
2366#include "wx/wxPython/printfw.h"
2367
d14a1e28 2368
33b885b9
RD
2369 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2370 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
b9d6a5f3
RD
2371static PyObject *wxPrintData_GetPrivData(wxPrintData *self){
2372 PyObject* data;
5a446332 2373 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
2374 data = PyString_FromStringAndSize(self->GetPrivData(),
2375 self->GetPrivDataLen());
2376 wxPyEndBlockThreads(blocked);
2377 return data;
2378 }
2379static void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
2380 if (! PyString_Check(data)) {
2381 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
2382 "Expected string object"));
2383 return /* NULL */ ;
2384 }
2385
5a446332 2386 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
2387 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
2388 wxPyEndBlockThreads(blocked);
2389 }
d14a1e28
RD
2390
2391
a68b8331 2392IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d14a1e28
RD
2393
2394// Since this one would be tough and ugly to do with the Macros...
2395void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 2396 bool hadErr = false;
d14a1e28
RD
2397 bool found;
2398
5a446332 2399 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2400 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2401 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2402 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2403 PyObject* val;
2404
2405 val = PyTuple_GetItem(result, 0);
2406 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 2407 else hadErr = true;
d14a1e28
RD
2408
2409 val = PyTuple_GetItem(result, 1);
2410 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 2411 else hadErr = true;
d14a1e28
RD
2412
2413 val = PyTuple_GetItem(result, 2);
2414 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 2415 else hadErr = true;
d14a1e28
RD
2416
2417 val = PyTuple_GetItem(result, 3);
2418 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 2419 else hadErr = true;
d14a1e28
RD
2420 }
2421 else
ae8162c8 2422 hadErr = true;
d14a1e28
RD
2423
2424 if (hadErr) {
2425 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2426 PyErr_Print();
2427 }
2428 Py_DECREF(result);
2429 }
4f89f6a3 2430 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2431 if (! found)
2432 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2433}
2434
2435void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2436 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2437}
2438
2439
2440IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2441IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2442IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2443IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2444IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2445IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2446IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2447
2448
2449
2450
2451
ae8162c8
RD
2452#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2453 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
d14a1e28
RD
2454 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2455
2456
ae8162c8
RD
2457#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2458 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2459 bool rval=false; \
2460 bool found; \
5a446332 2461 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
ae8162c8
RD
2462 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2463 PyObject* win = wxPyMake_wxObject(a,false); \
2464 PyObject* dc = wxPyMake_wxObject(&b,false); \
2465 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2466 Py_DECREF(win); \
2467 Py_DECREF(dc); \
2468 } \
2469 wxPyEndBlockThreads(blocked); \
2470 if (! found) \
2471 rval = PCLASS::CBNAME(a, b); \
2472 return rval; \
2473 } \
2474 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2475 return PCLASS::CBNAME(a, b); \
d14a1e28
RD
2476 }
2477
2478
2479
2480
2481class wxPyPrintPreview : public wxPrintPreview
2482{
2483 DECLARE_CLASS(wxPyPrintPreview)
2484public:
4276dc52
RD
2485 wxPyPrintPreview(wxPyPrintout* printout,
2486 wxPyPrintout* printoutForPrinting,
2487 wxPrintDialogData* data=NULL)
2488 : wxPrintPreview(printout, printoutForPrinting, data)
2489 {}
d14a1e28
RD
2490 wxPyPrintPreview(wxPyPrintout* printout,
2491 wxPyPrintout* printoutForPrinting,
2492 wxPrintData* data=NULL)
2493 : wxPrintPreview(printout, printoutForPrinting, data)
2494 {}
2495
2496 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2497 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2498 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2499 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2500 DEC_PYCALLBACK_VOID_INT(SetZoom);
2501 DEC_PYCALLBACK_BOOL_BOOL(Print);
2502 DEC_PYCALLBACK_VOID_(DetermineScaling);
2503
2504 PYPRIVATE;
2505};
2506
2507// Stupid renamed classes... Fix this in 2.5...
2508#if defined(__WXMSW__)
2509IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2510#elif defined(__WXMAC__)
2511IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2512#else
2513IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2514#endif
2515
2516IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2517IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2518IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2519IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2520IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2521IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2522IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2523
2524
2525class wxPyPreviewFrame : public wxPreviewFrame
2526{
2527 DECLARE_CLASS(wxPyPreviewFrame);
2528public:
2529 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2530 const wxString& title,
2531 const wxPoint& pos = wxDefaultPosition,
2532 const wxSize& size = wxDefaultSize,
2533 long style = wxDEFAULT_FRAME_STYLE,
2534 const wxString& name = wxPyFrameNameStr)
2535 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2536 {}
2537
2538 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2539 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2540
2541 DEC_PYCALLBACK_VOID_(Initialize);
2542 DEC_PYCALLBACK_VOID_(CreateCanvas);
2543 DEC_PYCALLBACK_VOID_(CreateControlBar);
2544
2545 PYPRIVATE;
2546};
2547
2548IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2549
2550IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2551IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2552IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2553
2554
2555class wxPyPreviewControlBar : public wxPreviewControlBar
2556{
2557 DECLARE_CLASS(wxPyPreviewControlBar);
2558public:
2559 wxPyPreviewControlBar(wxPrintPreview *preview,
2560 long buttons,
2561 wxWindow *parent,
2562 const wxPoint& pos = wxDefaultPosition,
2563 const wxSize& size = wxDefaultSize,
2564 long style = 0,
2565 const wxString& name = wxPyPanelNameStr)
2566 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2567 {}
2568
2569 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2570
2571 DEC_PYCALLBACK_VOID_(CreateButtons);
2572 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2573
2574 PYPRIVATE;
2575};
2576
2577IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2578IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2579IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2580
2581#ifdef __cplusplus
2582extern "C" {
2583#endif
c32bde28 2584static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2585 PyObject *resultobj;
2586 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2587 int arg2 = (int) (int)-1 ;
d14a1e28
RD
2588 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2589 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2590 wxSize const &arg4_defvalue = wxDefaultSize ;
2591 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2592 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2593 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2594 wxString *arg6 = (wxString *) &arg6_defvalue ;
2595 wxPanel *result;
2596 wxPoint temp3 ;
2597 wxSize temp4 ;
ae8162c8 2598 bool temp6 = false ;
d14a1e28 2599 PyObject * obj0 = 0 ;
994141e6 2600 PyObject * obj1 = 0 ;
d14a1e28
RD
2601 PyObject * obj2 = 0 ;
2602 PyObject * obj3 = 0 ;
994141e6 2603 PyObject * obj4 = 0 ;
d14a1e28
RD
2604 PyObject * obj5 = 0 ;
2605 char *kwnames[] = {
2606 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2607 };
2608
994141e6 2609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
2610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2611 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 2612 if (obj1) {
093d3ff1
RD
2613 {
2614 arg2 = (int const)(SWIG_As_int(obj1));
2615 if (SWIG_arg_fail(2)) SWIG_fail;
2616 }
994141e6 2617 }
d14a1e28
RD
2618 if (obj2) {
2619 {
2620 arg3 = &temp3;
2621 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2622 }
2623 }
2624 if (obj3) {
2625 {
2626 arg4 = &temp4;
2627 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2628 }
2629 }
994141e6 2630 if (obj4) {
093d3ff1
RD
2631 {
2632 arg5 = (long)(SWIG_As_long(obj4));
2633 if (SWIG_arg_fail(5)) SWIG_fail;
2634 }
994141e6 2635 }
d14a1e28
RD
2636 if (obj5) {
2637 {
2638 arg6 = wxString_in_helper(obj5);
2639 if (arg6 == NULL) SWIG_fail;
ae8162c8 2640 temp6 = true;
d14a1e28
RD
2641 }
2642 }
2643 {
e3b71cb8 2644 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2645 PyThreadState* __tstate = wxPyBeginAllowThreads();
2646 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2647
2648 wxPyEndAllowThreads(__tstate);
110da5b0 2649 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2650 }
b0f7404b 2651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
RD
2652 {
2653 if (temp6)
2654 delete arg6;
2655 }
2656 return resultobj;
2657 fail:
2658 {
2659 if (temp6)
2660 delete arg6;
2661 }
2662 return NULL;
2663}
2664
2665
c32bde28 2666static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2667 PyObject *resultobj;
2668 wxPanel *result;
2669 char *kwnames[] = {
2670 NULL
2671 };
2672
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2674 {
e3b71cb8 2675 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2676 PyThreadState* __tstate = wxPyBeginAllowThreads();
2677 result = (wxPanel *)new wxPanel();
2678
2679 wxPyEndAllowThreads(__tstate);
110da5b0 2680 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2681 }
b0f7404b 2682 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
RD
2683 return resultobj;
2684 fail:
2685 return NULL;
2686}
2687
2688
c32bde28 2689static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2690 PyObject *resultobj;
2691 wxPanel *arg1 = (wxPanel *) 0 ;
2692 wxWindow *arg2 = (wxWindow *) 0 ;
cfe5e918 2693 int arg3 = (int) (int)-1 ;
d14a1e28
RD
2694 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2695 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2696 wxSize const &arg5_defvalue = wxDefaultSize ;
2697 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2698 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2699 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2700 wxString *arg7 = (wxString *) &arg7_defvalue ;
2701 bool result;
2702 wxPoint temp4 ;
2703 wxSize temp5 ;
ae8162c8 2704 bool temp7 = false ;
d14a1e28
RD
2705 PyObject * obj0 = 0 ;
2706 PyObject * obj1 = 0 ;
994141e6 2707 PyObject * obj2 = 0 ;
d14a1e28
RD
2708 PyObject * obj3 = 0 ;
2709 PyObject * obj4 = 0 ;
994141e6 2710 PyObject * obj5 = 0 ;
d14a1e28
RD
2711 PyObject * obj6 = 0 ;
2712 char *kwnames[] = {
2713 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2714 };
2715
cfe5e918 2716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
2717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2718 if (SWIG_arg_fail(1)) SWIG_fail;
2719 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2720 if (SWIG_arg_fail(2)) SWIG_fail;
cfe5e918 2721 if (obj2) {
093d3ff1
RD
2722 {
2723 arg3 = (int const)(SWIG_As_int(obj2));
2724 if (SWIG_arg_fail(3)) SWIG_fail;
2725 }
cfe5e918 2726 }
d14a1e28
RD
2727 if (obj3) {
2728 {
2729 arg4 = &temp4;
2730 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2731 }
2732 }
2733 if (obj4) {
2734 {
2735 arg5 = &temp5;
2736 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2737 }
2738 }
994141e6 2739 if (obj5) {
093d3ff1
RD
2740 {
2741 arg6 = (long)(SWIG_As_long(obj5));
2742 if (SWIG_arg_fail(6)) SWIG_fail;
2743 }
994141e6 2744 }
d14a1e28
RD
2745 if (obj6) {
2746 {
2747 arg7 = wxString_in_helper(obj6);
2748 if (arg7 == NULL) SWIG_fail;
ae8162c8 2749 temp7 = true;
d14a1e28
RD
2750 }
2751 }
2752 {
2753 PyThreadState* __tstate = wxPyBeginAllowThreads();
2754 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2755
2756 wxPyEndAllowThreads(__tstate);
2757 if (PyErr_Occurred()) SWIG_fail;
2758 }
4f89f6a3
RD
2759 {
2760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2761 }
d14a1e28
RD
2762 {
2763 if (temp7)
2764 delete arg7;
2765 }
2766 return resultobj;
2767 fail:
2768 {
2769 if (temp7)
2770 delete arg7;
2771 }
2772 return NULL;
2773}
2774
2775
c32bde28 2776static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2777 PyObject *resultobj;
2778 wxPanel *arg1 = (wxPanel *) 0 ;
2779 PyObject * obj0 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "self", NULL
2782 };
2783
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
2785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2786 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2787 {
2788 PyThreadState* __tstate = wxPyBeginAllowThreads();
2789 (arg1)->InitDialog();
2790
2791 wxPyEndAllowThreads(__tstate);
2792 if (PyErr_Occurred()) SWIG_fail;
2793 }
2794 Py_INCREF(Py_None); resultobj = Py_None;
2795 return resultobj;
2796 fail:
2797 return NULL;
2798}
2799
2800
5cbf236d
RD
2801static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2802 PyObject *resultobj;
2803 wxPanel *arg1 = (wxPanel *) 0 ;
2804 PyObject * obj0 = 0 ;
2805 char *kwnames[] = {
2806 (char *) "self", NULL
2807 };
2808
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
2810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2811 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
2812 {
2813 PyThreadState* __tstate = wxPyBeginAllowThreads();
2814 (arg1)->SetFocus();
2815
2816 wxPyEndAllowThreads(__tstate);
2817 if (PyErr_Occurred()) SWIG_fail;
2818 }
2819 Py_INCREF(Py_None); resultobj = Py_None;
2820 return resultobj;
2821 fail:
2822 return NULL;
2823}
2824
2825
2826static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2827 PyObject *resultobj;
2828 wxPanel *arg1 = (wxPanel *) 0 ;
2829 PyObject * obj0 = 0 ;
2830 char *kwnames[] = {
2831 (char *) "self", NULL
2832 };
2833
2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
093d3ff1
RD
2835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2836 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
2837 {
2838 PyThreadState* __tstate = wxPyBeginAllowThreads();
2839 (arg1)->SetFocusIgnoringChildren();
2840
2841 wxPyEndAllowThreads(__tstate);
2842 if (PyErr_Occurred()) SWIG_fail;
2843 }
2844 Py_INCREF(Py_None); resultobj = Py_None;
2845 return resultobj;
2846 fail:
2847 return NULL;
2848}
2849
2850
c32bde28 2851static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 2852 PyObject *resultobj;
093d3ff1 2853 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
2854 wxVisualAttributes result;
2855 PyObject * obj0 = 0 ;
2856 char *kwnames[] = {
2857 (char *) "variant", NULL
2858 };
2859
2860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2861 if (obj0) {
093d3ff1
RD
2862 {
2863 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2864 if (SWIG_arg_fail(1)) SWIG_fail;
2865 }
22bfe96c
RD
2866 }
2867 {
e3b71cb8 2868 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
2869 PyThreadState* __tstate = wxPyBeginAllowThreads();
2870 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2871
2872 wxPyEndAllowThreads(__tstate);
110da5b0 2873 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
2874 }
2875 {
2876 wxVisualAttributes * resultptr;
093d3ff1 2877 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
2878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2879 }
2880 return resultobj;
2881 fail:
2882 return NULL;
2883}
2884
2885
c32bde28 2886static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2887 PyObject *obj;
2888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2889 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2890 Py_INCREF(obj);
2891 return Py_BuildValue((char *)"");
2892}
c32bde28 2893static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2894 PyObject *resultobj;
2895 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2896 int arg2 = (int) (int)-1 ;
d14a1e28
RD
2897 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2898 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2899 wxSize const &arg4_defvalue = wxDefaultSize ;
2900 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2901 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2902 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2903 wxString *arg6 = (wxString *) &arg6_defvalue ;
2904 wxScrolledWindow *result;
2905 wxPoint temp3 ;
2906 wxSize temp4 ;
ae8162c8 2907 bool temp6 = false ;
d14a1e28 2908 PyObject * obj0 = 0 ;
994141e6 2909 PyObject * obj1 = 0 ;
d14a1e28
RD
2910 PyObject * obj2 = 0 ;
2911 PyObject * obj3 = 0 ;
994141e6 2912 PyObject * obj4 = 0 ;
d14a1e28
RD
2913 PyObject * obj5 = 0 ;
2914 char *kwnames[] = {
2915 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2916 };
2917
994141e6 2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
2919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2920 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 2921 if (obj1) {
093d3ff1
RD
2922 {
2923 arg2 = (int const)(SWIG_As_int(obj1));
2924 if (SWIG_arg_fail(2)) SWIG_fail;
2925 }
994141e6 2926 }
d14a1e28
RD
2927 if (obj2) {
2928 {
2929 arg3 = &temp3;
2930 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2931 }
2932 }
2933 if (obj3) {
2934 {
2935 arg4 = &temp4;
2936 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2937 }
2938 }
994141e6 2939 if (obj4) {
093d3ff1
RD
2940 {
2941 arg5 = (long)(SWIG_As_long(obj4));
2942 if (SWIG_arg_fail(5)) SWIG_fail;
2943 }
994141e6 2944 }
d14a1e28
RD
2945 if (obj5) {
2946 {
2947 arg6 = wxString_in_helper(obj5);
2948 if (arg6 == NULL) SWIG_fail;
ae8162c8 2949 temp6 = true;
d14a1e28
RD
2950 }
2951 }
2952 {
e3b71cb8 2953 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2954 PyThreadState* __tstate = wxPyBeginAllowThreads();
2955 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2956
2957 wxPyEndAllowThreads(__tstate);
110da5b0 2958 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2959 }
b0f7404b 2960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
2961 {
2962 if (temp6)
2963 delete arg6;
2964 }
2965 return resultobj;
2966 fail:
2967 {
2968 if (temp6)
2969 delete arg6;
2970 }
2971 return NULL;
2972}
2973
2974
c32bde28 2975static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2976 PyObject *resultobj;
2977 wxScrolledWindow *result;
2978 char *kwnames[] = {
2979 NULL
2980 };
2981
2982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2983 {
e3b71cb8 2984 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
2986 result = (wxScrolledWindow *)new wxScrolledWindow();
2987
2988 wxPyEndAllowThreads(__tstate);
110da5b0 2989 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2990 }
b0f7404b 2991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
2992 return resultobj;
2993 fail:
2994 return NULL;
2995}
2996
2997
c32bde28 2998static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2999 PyObject *resultobj;
3000 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3001 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3002 int arg3 = (int) (int)-1 ;
d14a1e28
RD
3003 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3004 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3005 wxSize const &arg5_defvalue = wxDefaultSize ;
3006 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3007 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
3008 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3009 wxString *arg7 = (wxString *) &arg7_defvalue ;
3010 bool result;
3011 wxPoint temp4 ;
3012 wxSize temp5 ;
ae8162c8 3013 bool temp7 = false ;
d14a1e28
RD
3014 PyObject * obj0 = 0 ;
3015 PyObject * obj1 = 0 ;
994141e6 3016 PyObject * obj2 = 0 ;
d14a1e28
RD
3017 PyObject * obj3 = 0 ;
3018 PyObject * obj4 = 0 ;
994141e6 3019 PyObject * obj5 = 0 ;
d14a1e28
RD
3020 PyObject * obj6 = 0 ;
3021 char *kwnames[] = {
3022 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3023 };
3024
994141e6 3025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
3026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3027 if (SWIG_arg_fail(1)) SWIG_fail;
3028 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3029 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 3030 if (obj2) {
093d3ff1
RD
3031 {
3032 arg3 = (int const)(SWIG_As_int(obj2));
3033 if (SWIG_arg_fail(3)) SWIG_fail;
3034 }
994141e6 3035 }
d14a1e28
RD
3036 if (obj3) {
3037 {
3038 arg4 = &temp4;
3039 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3040 }
3041 }
3042 if (obj4) {
3043 {
3044 arg5 = &temp5;
3045 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3046 }
3047 }
994141e6 3048 if (obj5) {
093d3ff1
RD
3049 {
3050 arg6 = (long)(SWIG_As_long(obj5));
3051 if (SWIG_arg_fail(6)) SWIG_fail;
3052 }
994141e6 3053 }
d14a1e28
RD
3054 if (obj6) {
3055 {
3056 arg7 = wxString_in_helper(obj6);
3057 if (arg7 == NULL) SWIG_fail;
ae8162c8 3058 temp7 = true;
d14a1e28
RD
3059 }
3060 }
3061 {
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
4f89f6a3
RD
3068 {
3069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3070 }
d14a1e28
RD
3071 {
3072 if (temp7)
3073 delete arg7;
3074 }
3075 return resultobj;
3076 fail:
3077 {
3078 if (temp7)
3079 delete arg7;
3080 }
3081 return NULL;
3082}
3083
3084
c32bde28 3085static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3086 PyObject *resultobj;
3087 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3088 int arg2 ;
3089 int arg3 ;
3090 int arg4 ;
3091 int arg5 ;
3092 int arg6 = (int) 0 ;
3093 int arg7 = (int) 0 ;
ae8162c8 3094 bool arg8 = (bool) false ;
d14a1e28 3095 PyObject * obj0 = 0 ;
994141e6
RD
3096 PyObject * obj1 = 0 ;
3097 PyObject * obj2 = 0 ;
3098 PyObject * obj3 = 0 ;
3099 PyObject * obj4 = 0 ;
3100 PyObject * obj5 = 0 ;
3101 PyObject * obj6 = 0 ;
d14a1e28
RD
3102 PyObject * obj7 = 0 ;
3103 char *kwnames[] = {
3104 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3105 };
3106
994141e6 3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3109 if (SWIG_arg_fail(1)) SWIG_fail;
3110 {
3111 arg2 = (int)(SWIG_As_int(obj1));
3112 if (SWIG_arg_fail(2)) SWIG_fail;
3113 }
3114 {
3115 arg3 = (int)(SWIG_As_int(obj2));
3116 if (SWIG_arg_fail(3)) SWIG_fail;
3117 }
3118 {
3119 arg4 = (int)(SWIG_As_int(obj3));
3120 if (SWIG_arg_fail(4)) SWIG_fail;
3121 }
3122 {
3123 arg5 = (int)(SWIG_As_int(obj4));
3124 if (SWIG_arg_fail(5)) SWIG_fail;
3125 }
994141e6 3126 if (obj5) {
093d3ff1
RD
3127 {
3128 arg6 = (int)(SWIG_As_int(obj5));
3129 if (SWIG_arg_fail(6)) SWIG_fail;
3130 }
994141e6
RD
3131 }
3132 if (obj6) {
093d3ff1
RD
3133 {
3134 arg7 = (int)(SWIG_As_int(obj6));
3135 if (SWIG_arg_fail(7)) SWIG_fail;
3136 }
994141e6 3137 }
d14a1e28 3138 if (obj7) {
093d3ff1
RD
3139 {
3140 arg8 = (bool)(SWIG_As_bool(obj7));
3141 if (SWIG_arg_fail(8)) SWIG_fail;
3142 }
d14a1e28
RD
3143 }
3144 {
3145 PyThreadState* __tstate = wxPyBeginAllowThreads();
3146 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3147
3148 wxPyEndAllowThreads(__tstate);
3149 if (PyErr_Occurred()) SWIG_fail;
3150 }
3151 Py_INCREF(Py_None); resultobj = Py_None;
3152 return resultobj;
3153 fail:
3154 return NULL;
3155}
3156
3157
c32bde28 3158static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3159 PyObject *resultobj;
3160 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3161 int arg2 ;
3162 int arg3 ;
3163 PyObject * obj0 = 0 ;
994141e6
RD
3164 PyObject * obj1 = 0 ;
3165 PyObject * obj2 = 0 ;
d14a1e28
RD
3166 char *kwnames[] = {
3167 (char *) "self",(char *) "x",(char *) "y", NULL
3168 };
3169
994141e6 3170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3172 if (SWIG_arg_fail(1)) SWIG_fail;
3173 {
3174 arg2 = (int)(SWIG_As_int(obj1));
3175 if (SWIG_arg_fail(2)) SWIG_fail;
3176 }
3177 {
3178 arg3 = (int)(SWIG_As_int(obj2));
3179 if (SWIG_arg_fail(3)) SWIG_fail;
3180 }
d14a1e28
RD
3181 {
3182 PyThreadState* __tstate = wxPyBeginAllowThreads();
3183 (arg1)->Scroll(arg2,arg3);
3184
3185 wxPyEndAllowThreads(__tstate);
3186 if (PyErr_Occurred()) SWIG_fail;
3187 }
3188 Py_INCREF(Py_None); resultobj = Py_None;
3189 return resultobj;
3190 fail:
3191 return NULL;
3192}
3193
3194
c32bde28 3195static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3196 PyObject *resultobj;
3197 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3198 int arg2 ;
3199 int result;
3200 PyObject * obj0 = 0 ;
994141e6 3201 PyObject * obj1 = 0 ;
d14a1e28
RD
3202 char *kwnames[] = {
3203 (char *) "self",(char *) "orient", NULL
3204 };
3205
994141e6 3206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3208 if (SWIG_arg_fail(1)) SWIG_fail;
3209 {
3210 arg2 = (int)(SWIG_As_int(obj1));
3211 if (SWIG_arg_fail(2)) SWIG_fail;
3212 }
d14a1e28
RD
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
093d3ff1
RD
3220 {
3221 resultobj = SWIG_From_int((int)(result));
3222 }
d14a1e28
RD
3223 return resultobj;
3224 fail:
3225 return NULL;
3226}
3227
3228
c32bde28 3229static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3230 PyObject *resultobj;
3231 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3232 int arg2 ;
3233 int arg3 ;
3234 PyObject * obj0 = 0 ;
994141e6
RD
3235 PyObject * obj1 = 0 ;
3236 PyObject * obj2 = 0 ;
d14a1e28
RD
3237 char *kwnames[] = {
3238 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3239 };
3240
994141e6 3241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3243 if (SWIG_arg_fail(1)) SWIG_fail;
3244 {
3245 arg2 = (int)(SWIG_As_int(obj1));
3246 if (SWIG_arg_fail(2)) SWIG_fail;
3247 }
3248 {
3249 arg3 = (int)(SWIG_As_int(obj2));
3250 if (SWIG_arg_fail(3)) SWIG_fail;
3251 }
d14a1e28
RD
3252 {
3253 PyThreadState* __tstate = wxPyBeginAllowThreads();
3254 (arg1)->SetScrollPageSize(arg2,arg3);
3255
3256 wxPyEndAllowThreads(__tstate);
3257 if (PyErr_Occurred()) SWIG_fail;
3258 }
3259 Py_INCREF(Py_None); resultobj = Py_None;
3260 return resultobj;
3261 fail:
3262 return NULL;
3263}
3264
3265
c32bde28 3266static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3267 PyObject *resultobj;
3268 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3269 int arg2 ;
3270 int arg3 ;
3271 PyObject * obj0 = 0 ;
994141e6
RD
3272 PyObject * obj1 = 0 ;
3273 PyObject * obj2 = 0 ;
d14a1e28
RD
3274 char *kwnames[] = {
3275 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3276 };
3277
994141e6 3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3280 if (SWIG_arg_fail(1)) SWIG_fail;
3281 {
3282 arg2 = (int)(SWIG_As_int(obj1));
3283 if (SWIG_arg_fail(2)) SWIG_fail;
3284 }
3285 {
3286 arg3 = (int)(SWIG_As_int(obj2));
3287 if (SWIG_arg_fail(3)) SWIG_fail;
3288 }
d14a1e28
RD
3289 {
3290 PyThreadState* __tstate = wxPyBeginAllowThreads();
3291 (arg1)->SetScrollRate(arg2,arg3);
3292
3293 wxPyEndAllowThreads(__tstate);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
3296 Py_INCREF(Py_None); resultobj = Py_None;
3297 return resultobj;
3298 fail:
3299 return NULL;
3300}
3301
3302
c32bde28 3303static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3304 PyObject *resultobj;
3305 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3306 int *arg2 = (int *) 0 ;
3307 int *arg3 = (int *) 0 ;
3308 int temp2 ;
c32bde28 3309 int res2 = 0 ;
d14a1e28 3310 int temp3 ;
c32bde28 3311 int res3 = 0 ;
d14a1e28
RD
3312 PyObject * obj0 = 0 ;
3313 char *kwnames[] = {
3314 (char *) "self", NULL
3315 };
3316
c32bde28
RD
3317 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3318 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
093d3ff1
RD
3320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3321 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3322 {
3323 PyThreadState* __tstate = wxPyBeginAllowThreads();
3324 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3325
3326 wxPyEndAllowThreads(__tstate);
3327 if (PyErr_Occurred()) SWIG_fail;
3328 }
3329 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3330 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3331 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3332 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3333 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
3334 return resultobj;
3335 fail:
3336 return NULL;
3337}
3338
3339
c32bde28 3340static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3341 PyObject *resultobj;
3342 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3343 bool arg2 ;
3344 bool arg3 ;
3345 PyObject * obj0 = 0 ;
3346 PyObject * obj1 = 0 ;
3347 PyObject * obj2 = 0 ;
3348 char *kwnames[] = {
3349 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3350 };
3351
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3353 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3354 if (SWIG_arg_fail(1)) SWIG_fail;
3355 {
3356 arg2 = (bool)(SWIG_As_bool(obj1));
3357 if (SWIG_arg_fail(2)) SWIG_fail;
3358 }
3359 {
3360 arg3 = (bool)(SWIG_As_bool(obj2));
3361 if (SWIG_arg_fail(3)) SWIG_fail;
3362 }
d14a1e28
RD
3363 {
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 (arg1)->EnableScrolling(arg2,arg3);
3366
3367 wxPyEndAllowThreads(__tstate);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
3370 Py_INCREF(Py_None); resultobj = Py_None;
3371 return resultobj;
3372 fail:
3373 return NULL;
3374}
3375
3376
c32bde28 3377static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3378 PyObject *resultobj;
3379 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3380 int *arg2 = (int *) 0 ;
3381 int *arg3 = (int *) 0 ;
3382 int temp2 ;
c32bde28 3383 int res2 = 0 ;
d14a1e28 3384 int temp3 ;
c32bde28 3385 int res3 = 0 ;
d14a1e28
RD
3386 PyObject * obj0 = 0 ;
3387 char *kwnames[] = {
3388 (char *) "self", NULL
3389 };
3390
c32bde28
RD
3391 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3392 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
3394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3395 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3404 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3405 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3406 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3407 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
3408 return resultobj;
3409 fail:
3410 return NULL;
3411}
3412
3413
c32bde28 3414static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3415 PyObject *resultobj;
3416 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3417 double arg2 ;
3418 double arg3 ;
3419 PyObject * obj0 = 0 ;
994141e6
RD
3420 PyObject * obj1 = 0 ;
3421 PyObject * obj2 = 0 ;
d14a1e28
RD
3422 char *kwnames[] = {
3423 (char *) "self",(char *) "xs",(char *) "ys", NULL
3424 };
3425
994141e6 3426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3428 if (SWIG_arg_fail(1)) SWIG_fail;
3429 {
3430 arg2 = (double)(SWIG_As_double(obj1));
3431 if (SWIG_arg_fail(2)) SWIG_fail;
3432 }
3433 {
3434 arg3 = (double)(SWIG_As_double(obj2));
3435 if (SWIG_arg_fail(3)) SWIG_fail;
3436 }
d14a1e28
RD
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 (arg1)->SetScale(arg2,arg3);
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 Py_INCREF(Py_None); resultobj = Py_None;
3445 return resultobj;
3446 fail:
3447 return NULL;
3448}
3449
3450
c32bde28 3451static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3452 PyObject *resultobj;
3453 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3454 double result;
3455 PyObject * obj0 = 0 ;
3456 char *kwnames[] = {
3457 (char *) "self", NULL
3458 };
3459
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3462 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3463 {
3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
3465 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3466
3467 wxPyEndAllowThreads(__tstate);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 }
093d3ff1
RD
3470 {
3471 resultobj = SWIG_From_double((double)(result));
3472 }
d14a1e28
RD
3473 return resultobj;
3474 fail:
3475 return NULL;
3476}
3477
3478
c32bde28 3479static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3480 PyObject *resultobj;
3481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3482 double result;
3483 PyObject * obj0 = 0 ;
3484 char *kwnames[] = {
3485 (char *) "self", NULL
3486 };
3487
3488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3490 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3491 {
3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
3493 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3494
3495 wxPyEndAllowThreads(__tstate);
3496 if (PyErr_Occurred()) SWIG_fail;
3497 }
093d3ff1
RD
3498 {
3499 resultobj = SWIG_From_double((double)(result));
3500 }
d14a1e28
RD
3501 return resultobj;
3502 fail:
3503 return NULL;
3504}
3505
3506
c32bde28 3507static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
3508 PyObject *resultobj;
3509 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3510 wxPoint *arg2 = 0 ;
3511 wxPoint result;
3512 wxPoint temp2 ;
d14a1e28 3513 PyObject * obj0 = 0 ;
322913ce 3514 PyObject * obj1 = 0 ;
d14a1e28 3515
322913ce 3516 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3518 if (SWIG_arg_fail(1)) SWIG_fail;
322913ce
RD
3519 {
3520 arg2 = &temp2;
3521 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3522 }
d14a1e28
RD
3523 {
3524 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3525 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
3526
3527 wxPyEndAllowThreads(__tstate);
3528 if (PyErr_Occurred()) SWIG_fail;
3529 }
d14a1e28 3530 {
322913ce 3531 wxPoint * resultptr;
093d3ff1 3532 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 3533 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3534 }
3535 return resultobj;
3536 fail:
3537 return NULL;
3538}
3539
3540
c32bde28 3541static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
3542 PyObject *resultobj;
3543 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3544 int arg2 ;
3545 int arg3 ;
3546 int *arg4 = (int *) 0 ;
3547 int *arg5 = (int *) 0 ;
3548 int temp4 ;
c32bde28 3549 int res4 = 0 ;
322913ce 3550 int temp5 ;
c32bde28 3551 int res5 = 0 ;
d14a1e28 3552 PyObject * obj0 = 0 ;
994141e6
RD
3553 PyObject * obj1 = 0 ;
3554 PyObject * obj2 = 0 ;
d14a1e28 3555
c32bde28
RD
3556 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3557 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 3558 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3560 if (SWIG_arg_fail(1)) SWIG_fail;
3561 {
3562 arg2 = (int)(SWIG_As_int(obj1));
3563 if (SWIG_arg_fail(2)) SWIG_fail;
3564 }
3565 {
3566 arg3 = (int)(SWIG_As_int(obj2));
3567 if (SWIG_arg_fail(3)) SWIG_fail;
3568 }
d14a1e28
RD
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3571 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
322913ce 3576 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3577 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3578 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3579 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3580 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
3581 return resultobj;
3582 fail:
3583 return NULL;
3584}
3585
3586
3587static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3588 int argc;
3589 PyObject *argv[4];
3590 int ii;
3591
3592 argc = PyObject_Length(args);
3593 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3594 argv[ii] = PyTuple_GetItem(args,ii);
3595 }
3596 if (argc == 2) {
3597 int _v;
3598 {
3599 void *ptr;
15afbcd0 3600 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3601 _v = 0;
3602 PyErr_Clear();
3603 } else {
3604 _v = 1;
3605 }
3606 }
3607 if (_v) {
3608 {
3609 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3610 }
3611 if (_v) {
322913ce 3612 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
d14a1e28
RD
3613 }
3614 }
3615 }
3616 if (argc == 3) {
3617 int _v;
3618 {
3619 void *ptr;
15afbcd0 3620 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3621 _v = 0;
3622 PyErr_Clear();
3623 } else {
3624 _v = 1;
3625 }
3626 }
3627 if (_v) {
c32bde28 3628 _v = SWIG_Check_int(argv[1]);
d14a1e28 3629 if (_v) {
c32bde28 3630 _v = SWIG_Check_int(argv[2]);
d14a1e28 3631 if (_v) {
322913ce 3632 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
d14a1e28
RD
3633 }
3634 }
3635 }
3636 }
3637
093d3ff1 3638 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
d14a1e28
RD
3639 return NULL;
3640}
3641
3642
c32bde28 3643static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
3644 PyObject *resultobj;
3645 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3646 wxPoint *arg2 = 0 ;
3647 wxPoint result;
3648 wxPoint temp2 ;
d14a1e28 3649 PyObject * obj0 = 0 ;
322913ce 3650 PyObject * obj1 = 0 ;
d14a1e28 3651
322913ce 3652 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3654 if (SWIG_arg_fail(1)) SWIG_fail;
322913ce
RD
3655 {
3656 arg2 = &temp2;
3657 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3658 }
d14a1e28
RD
3659 {
3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3661 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
3662
3663 wxPyEndAllowThreads(__tstate);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
d14a1e28 3666 {
322913ce 3667 wxPoint * resultptr;
093d3ff1 3668 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 3669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3670 }
3671 return resultobj;
3672 fail:
3673 return NULL;
3674}
3675
3676
c32bde28 3677static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
3678 PyObject *resultobj;
3679 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3680 int arg2 ;
3681 int arg3 ;
3682 int *arg4 = (int *) 0 ;
3683 int *arg5 = (int *) 0 ;
3684 int temp4 ;
c32bde28 3685 int res4 = 0 ;
322913ce 3686 int temp5 ;
c32bde28 3687 int res5 = 0 ;
d14a1e28 3688 PyObject * obj0 = 0 ;
994141e6
RD
3689 PyObject * obj1 = 0 ;
3690 PyObject * obj2 = 0 ;
d14a1e28 3691
c32bde28
RD
3692 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3693 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 3694 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3696 if (SWIG_arg_fail(1)) SWIG_fail;
3697 {
3698 arg2 = (int)(SWIG_As_int(obj1));
3699 if (SWIG_arg_fail(2)) SWIG_fail;
3700 }
3701 {
3702 arg3 = (int)(SWIG_As_int(obj2));
3703 if (SWIG_arg_fail(3)) SWIG_fail;
3704 }
d14a1e28
RD
3705 {
3706 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3707 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
3708
3709 wxPyEndAllowThreads(__tstate);
3710 if (PyErr_Occurred()) SWIG_fail;
3711 }
322913ce 3712 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3713 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3714 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3715 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3716 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
3717 return resultobj;
3718 fail:
3719 return NULL;
3720}
3721
3722
3723static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3724 int argc;
3725 PyObject *argv[4];
3726 int ii;
3727
3728 argc = PyObject_Length(args);
3729 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3730 argv[ii] = PyTuple_GetItem(args,ii);
3731 }
3732 if (argc == 2) {
3733 int _v;
3734 {
3735 void *ptr;
15afbcd0 3736 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3737 _v = 0;
3738 PyErr_Clear();
3739 } else {
3740 _v = 1;
3741 }
3742 }
3743 if (_v) {
3744 {
3745 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3746 }
3747 if (_v) {
322913ce 3748 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
d14a1e28
RD
3749 }
3750 }
3751 }
3752 if (argc == 3) {
3753 int _v;
3754 {
3755 void *ptr;
15afbcd0 3756 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3757 _v = 0;
3758 PyErr_Clear();
3759 } else {
3760 _v = 1;
3761 }
3762 }
3763 if (_v) {
c32bde28 3764 _v = SWIG_Check_int(argv[1]);
d14a1e28 3765 if (_v) {
c32bde28 3766 _v = SWIG_Check_int(argv[2]);
d14a1e28 3767 if (_v) {
322913ce 3768 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
d14a1e28
RD
3769 }
3770 }
3771 }
3772 }
3773
093d3ff1 3774 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
d14a1e28
RD
3775 return NULL;
3776}
3777
3778
c32bde28 3779static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3780 PyObject *resultobj;
3781 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3782 PyObject * obj0 = 0 ;
3783 char *kwnames[] = {
3784 (char *) "self", NULL
3785 };
3786
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
093d3ff1
RD
3788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3789 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 (arg1)->AdjustScrollbars();
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 Py_INCREF(Py_None); resultobj = Py_None;
3798 return resultobj;
3799 fail:
3800 return NULL;
3801}
3802
3803
c32bde28 3804static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3805 PyObject *resultobj;
3806 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3807 wxScrollWinEvent *arg2 = 0 ;
3808 int result;
3809 PyObject * obj0 = 0 ;
3810 PyObject * obj1 = 0 ;
3811 char *kwnames[] = {
3812 (char *) "self",(char *) "event", NULL
3813 };
3814
3815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3817 if (SWIG_arg_fail(1)) SWIG_fail;
3818 {
3819 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3820 if (SWIG_arg_fail(2)) SWIG_fail;
3821 if (arg2 == NULL) {
3822 SWIG_null_ref("wxScrollWinEvent");
3823 }
3824 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3825 }
3826 {
3827 PyThreadState* __tstate = wxPyBeginAllowThreads();
3828 result = (int)(arg1)->CalcScrollInc(*arg2);
3829
3830 wxPyEndAllowThreads(__tstate);
3831 if (PyErr_Occurred()) SWIG_fail;
3832 }
093d3ff1
RD
3833 {
3834 resultobj = SWIG_From_int((int)(result));
3835 }
d14a1e28
RD
3836 return resultobj;
3837 fail:
3838 return NULL;
3839}
3840
3841
c32bde28 3842static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3843 PyObject *resultobj;
3844 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3845 wxWindow *arg2 = (wxWindow *) 0 ;
3846 PyObject * obj0 = 0 ;
3847 PyObject * obj1 = 0 ;
3848 char *kwnames[] = {
3849 (char *) "self",(char *) "target", NULL
3850 };
3851
3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail;
3855 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3856 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 (arg1)->SetTargetWindow(arg2);
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 Py_INCREF(Py_None); resultobj = Py_None;
3865 return resultobj;
3866 fail:
3867 return NULL;
3868}
3869
3870
c32bde28 3871static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3872 PyObject *resultobj;
3873 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3874 wxWindow *result;
3875 PyObject * obj0 = 0 ;
3876 char *kwnames[] = {
3877 (char *) "self", NULL
3878 };
3879
3880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
3881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3882 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3883 {
3884 PyThreadState* __tstate = wxPyBeginAllowThreads();
3885 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3886
3887 wxPyEndAllowThreads(__tstate);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
3890 {
412d302d 3891 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3892 }
3893 return resultobj;
3894 fail:
3895 return NULL;
3896}
3897
3898
c32bde28 3899static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
f5b96ee1
RD
3900 PyObject *resultobj;
3901 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3902 wxDC *arg2 = 0 ;
3903 PyObject * obj0 = 0 ;
3904 PyObject * obj1 = 0 ;
3905 char *kwnames[] = {
3906 (char *) "self",(char *) "dc", NULL
3907 };
3908
3909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3911 if (SWIG_arg_fail(1)) SWIG_fail;
3912 {
3913 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3914 if (SWIG_arg_fail(2)) SWIG_fail;
3915 if (arg2 == NULL) {
3916 SWIG_null_ref("wxDC");
3917 }
3918 if (SWIG_arg_fail(2)) SWIG_fail;
f5b96ee1
RD
3919 }
3920 {
3921 PyThreadState* __tstate = wxPyBeginAllowThreads();
3922 (arg1)->DoPrepareDC(*arg2);
3923
3924 wxPyEndAllowThreads(__tstate);
3925 if (PyErr_Occurred()) SWIG_fail;
3926 }
3927 Py_INCREF(Py_None); resultobj = Py_None;
3928 return resultobj;
3929 fail:
3930 return NULL;
3931}
3932
3933
c32bde28 3934static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 3935 PyObject *resultobj;
093d3ff1 3936 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
3937 wxVisualAttributes result;
3938 PyObject * obj0 = 0 ;
3939 char *kwnames[] = {
3940 (char *) "variant", NULL
3941 };
3942
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3944 if (obj0) {
093d3ff1
RD
3945 {
3946 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3947 if (SWIG_arg_fail(1)) SWIG_fail;
3948 }
22bfe96c
RD
3949 }
3950 {
e3b71cb8 3951 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
3952 PyThreadState* __tstate = wxPyBeginAllowThreads();
3953 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3954
3955 wxPyEndAllowThreads(__tstate);
110da5b0 3956 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
3957 }
3958 {
3959 wxVisualAttributes * resultptr;
093d3ff1 3960 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
3961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3962 }
3963 return resultobj;
3964 fail:
3965 return NULL;
3966}
3967
3968
c32bde28 3969static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3970 PyObject *obj;
3971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3972 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
3973 Py_INCREF(obj);
3974 return Py_BuildValue((char *)"");
3975}
c32bde28 3976static int _wrap_FrameNameStr_set(PyObject *) {
b2dc1044
RD
3977 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
3978 return 1;
3979}
3980
3981
093d3ff1 3982static PyObject *_wrap_FrameNameStr_get(void) {
b2dc1044
RD
3983 PyObject *pyobj;
3984
3985 {
3986#if wxUSE_UNICODE
3987 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3988#else
3989 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3990#endif
3991 }
3992 return pyobj;
3993}
3994
3995
c32bde28 3996static int _wrap_DialogNameStr_set(PyObject *) {
b2dc1044
RD
3997 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
3998 return 1;
3999}
4000
4001
093d3ff1 4002static PyObject *_wrap_DialogNameStr_get(void) {
b2dc1044
RD
4003 PyObject *pyobj;
4004
4005 {
4006#if wxUSE_UNICODE
4007 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4008#else
4009 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4010#endif
4011 }
4012 return pyobj;
4013}
4014
4015
c32bde28 4016static int _wrap_StatusLineNameStr_set(PyObject *) {
b2dc1044
RD
4017 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4018 return 1;
4019}
4020
4021
093d3ff1 4022static PyObject *_wrap_StatusLineNameStr_get(void) {
b2dc1044
RD
4023 PyObject *pyobj;
4024
4025 {
4026#if wxUSE_UNICODE
4027 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4028#else
4029 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4030#endif
4031 }
4032 return pyobj;
4033}
4034
4035
c32bde28 4036static int _wrap_ToolBarNameStr_set(PyObject *) {
b2dc1044
RD
4037 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4038 return 1;
4039}
4040
4041
093d3ff1 4042static PyObject *_wrap_ToolBarNameStr_get(void) {
b2dc1044
RD
4043 PyObject *pyobj;
4044
4045 {
4046#if wxUSE_UNICODE
4047 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4048#else
4049 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4050#endif
4051 }
4052 return pyobj;
4053}
4054
4055
c32bde28 4056static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4057 PyObject *resultobj;
4058 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4059 bool arg2 = (bool) true ;
d14a1e28
RD
4060 PyObject * obj0 = 0 ;
4061 PyObject * obj1 = 0 ;
4062 char *kwnames[] = {
4063 (char *) "self",(char *) "maximize", NULL
4064 };
4065
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4068 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4069 if (obj1) {
093d3ff1
RD
4070 {
4071 arg2 = (bool)(SWIG_As_bool(obj1));
4072 if (SWIG_arg_fail(2)) SWIG_fail;
4073 }
d14a1e28
RD
4074 }
4075 {
4076 PyThreadState* __tstate = wxPyBeginAllowThreads();
4077 (arg1)->Maximize(arg2);
4078
4079 wxPyEndAllowThreads(__tstate);
4080 if (PyErr_Occurred()) SWIG_fail;
4081 }
4082 Py_INCREF(Py_None); resultobj = Py_None;
4083 return resultobj;
4084 fail:
4085 return NULL;
4086}
4087
4088
c32bde28 4089static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4090 PyObject *resultobj;
4091 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4092 PyObject * obj0 = 0 ;
4093 char *kwnames[] = {
4094 (char *) "self", NULL
4095 };
4096
4097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
4098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4099 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4100 {
4101 PyThreadState* __tstate = wxPyBeginAllowThreads();
4102 (arg1)->Restore();
4103
4104 wxPyEndAllowThreads(__tstate);
4105 if (PyErr_Occurred()) SWIG_fail;
4106 }
4107 Py_INCREF(Py_None); resultobj = Py_None;
4108 return resultobj;
4109 fail:
4110 return NULL;
4111}
4112
4113
c32bde28 4114static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4115 PyObject *resultobj;
4116 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4117 bool arg2 = (bool) true ;
d14a1e28
RD
4118 PyObject * obj0 = 0 ;
4119 PyObject * obj1 = 0 ;
4120 char *kwnames[] = {
4121 (char *) "self",(char *) "iconize", NULL
4122 };
4123
4124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4126 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4127 if (obj1) {
093d3ff1
RD
4128 {
4129 arg2 = (bool)(SWIG_As_bool(obj1));
4130 if (SWIG_arg_fail(2)) SWIG_fail;
4131 }
d14a1e28
RD
4132 }
4133 {
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 (arg1)->Iconize(arg2);
4136
4137 wxPyEndAllowThreads(__tstate);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
4140 Py_INCREF(Py_None); resultobj = Py_None;
4141 return resultobj;
4142 fail:
4143 return NULL;
4144}
4145
4146
c32bde28 4147static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4148 PyObject *resultobj;
4149 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4150 bool result;
4151 PyObject * obj0 = 0 ;
4152 char *kwnames[] = {
4153 (char *) "self", NULL
4154 };
4155
4156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4158 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4f89f6a3
RD
4166 {
4167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4168 }
d14a1e28
RD
4169 return resultobj;
4170 fail:
4171 return NULL;
4172}
4173
4174
c32bde28 4175static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4176 PyObject *resultobj;
4177 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4178 bool result;
4179 PyObject * obj0 = 0 ;
4180 char *kwnames[] = {
4181 (char *) "self", NULL
4182 };
4183
4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4186 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4187 {
4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4189 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4190
4191 wxPyEndAllowThreads(__tstate);
4192 if (PyErr_Occurred()) SWIG_fail;
4193 }
4f89f6a3
RD
4194 {
4195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4196 }
d14a1e28
RD
4197 return resultobj;
4198 fail:
4199 return NULL;
4200}
4201
4202
c32bde28 4203static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4204 PyObject *resultobj;
4205 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4206 wxIcon result;
4207 PyObject * obj0 = 0 ;
4208 char *kwnames[] = {
4209 (char *) "self", NULL
4210 };
4211
4212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
4213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4214 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4215 {
4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
4217 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4218
4219 wxPyEndAllowThreads(__tstate);
4220 if (PyErr_Occurred()) SWIG_fail;
4221 }
4222 {
4223 wxIcon * resultptr;
093d3ff1 4224 resultptr = new wxIcon((wxIcon &)(result));
15afbcd0 4225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
4226 }
4227 return resultobj;
4228 fail:
4229 return NULL;
4230}
4231
4232
c32bde28 4233static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4234 PyObject *resultobj;
4235 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4236 wxIcon *arg2 = 0 ;
4237 PyObject * obj0 = 0 ;
4238 PyObject * obj1 = 0 ;
4239 char *kwnames[] = {
4240 (char *) "self",(char *) "icon", NULL
4241 };
4242
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4245 if (SWIG_arg_fail(1)) SWIG_fail;
4246 {
4247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4248 if (SWIG_arg_fail(2)) SWIG_fail;
4249 if (arg2 == NULL) {
4250 SWIG_null_ref("wxIcon");
4251 }
4252 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4253 }
4254 {
4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
4256 (arg1)->SetIcon((wxIcon const &)*arg2);
4257
4258 wxPyEndAllowThreads(__tstate);
4259 if (PyErr_Occurred()) SWIG_fail;
4260 }
4261 Py_INCREF(Py_None); resultobj = Py_None;
4262 return resultobj;
4263 fail:
4264 return NULL;
4265}
4266
4267
c32bde28 4268static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4269 PyObject *resultobj;
4270 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4271 wxIconBundle *arg2 = 0 ;
4272 PyObject * obj0 = 0 ;
4273 PyObject * obj1 = 0 ;
4274 char *kwnames[] = {
4275 (char *) "self",(char *) "icons", NULL
4276 };
4277
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4280 if (SWIG_arg_fail(1)) SWIG_fail;
4281 {
4282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4283 if (SWIG_arg_fail(2)) SWIG_fail;
4284 if (arg2 == NULL) {
4285 SWIG_null_ref("wxIconBundle");
4286 }
4287 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4288 }
4289 {
4290 PyThreadState* __tstate = wxPyBeginAllowThreads();
4291 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4292
4293 wxPyEndAllowThreads(__tstate);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4296 Py_INCREF(Py_None); resultobj = Py_None;
4297 return resultobj;
4298 fail:
4299 return NULL;
4300}
4301
4302
c32bde28 4303static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4304 PyObject *resultobj;
4305 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4306 bool arg2 ;
4307 long arg3 = (long) wxFULLSCREEN_ALL ;
4308 bool result;
4309 PyObject * obj0 = 0 ;
4310 PyObject * obj1 = 0 ;
994141e6 4311 PyObject * obj2 = 0 ;
d14a1e28
RD
4312 char *kwnames[] = {
4313 (char *) "self",(char *) "show",(char *) "style", NULL
4314 };
4315
994141e6 4316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4318 if (SWIG_arg_fail(1)) SWIG_fail;
4319 {
4320 arg2 = (bool)(SWIG_As_bool(obj1));
4321 if (SWIG_arg_fail(2)) SWIG_fail;
4322 }
994141e6 4323 if (obj2) {
093d3ff1
RD
4324 {
4325 arg3 = (long)(SWIG_As_long(obj2));
4326 if (SWIG_arg_fail(3)) SWIG_fail;
4327 }
994141e6 4328 }
d14a1e28
RD
4329 {
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4f89f6a3
RD
4336 {
4337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4338 }
d14a1e28
RD
4339 return resultobj;
4340 fail:
4341 return NULL;
4342}
4343
4344
c32bde28 4345static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4346 PyObject *resultobj;
4347 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4348 bool result;
4349 PyObject * obj0 = 0 ;
4350 char *kwnames[] = {
4351 (char *) "self", NULL
4352 };
4353
4354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
4355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4356 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4357 {
4358 PyThreadState* __tstate = wxPyBeginAllowThreads();
4359 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4360
4361 wxPyEndAllowThreads(__tstate);
4362 if (PyErr_Occurred()) SWIG_fail;
4363 }
4f89f6a3
RD
4364 {
4365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4366 }
d14a1e28
RD
4367 return resultobj;
4368 fail:
4369 return NULL;
4370}
4371
4372
c32bde28 4373static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4374 PyObject *resultobj;
4375 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4376 wxString *arg2 = 0 ;
ae8162c8 4377 bool temp2 = false ;
d14a1e28
RD
4378 PyObject * obj0 = 0 ;
4379 PyObject * obj1 = 0 ;
4380 char *kwnames[] = {
4381 (char *) "self",(char *) "title", NULL
4382 };
4383
4384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4386 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4387 {
4388 arg2 = wxString_in_helper(obj1);
4389 if (arg2 == NULL) SWIG_fail;
ae8162c8 4390 temp2 = true;
d14a1e28
RD
4391 }
4392 {
4393 PyThreadState* __tstate = wxPyBeginAllowThreads();
4394 (arg1)->SetTitle((wxString const &)*arg2);
4395
4396 wxPyEndAllowThreads(__tstate);
4397 if (PyErr_Occurred()) SWIG_fail;
4398 }
4399 Py_INCREF(Py_None); resultobj = Py_None;
4400 {
4401 if (temp2)
4402 delete arg2;
4403 }
4404 return resultobj;
4405 fail:
4406 {
4407 if (temp2)
4408 delete arg2;
4409 }
4410 return NULL;
4411}
4412
4413
c32bde28 4414static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4415 PyObject *resultobj;
4416 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4417 wxString result;
4418 PyObject * obj0 = 0 ;
4419 char *kwnames[] = {
4420 (char *) "self", NULL
4421 };
4422
4423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
4424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4425 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4429
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 {
4434#if wxUSE_UNICODE
4435 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4436#else
4437 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4438#endif
4439 }
4440 return resultobj;
4441 fail:
4442 return NULL;
4443}
4444
4445
c32bde28 4446static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4447 PyObject *resultobj;
4448 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4449 wxRegion *arg2 = 0 ;
4450 bool result;
4451 PyObject * obj0 = 0 ;
4452 PyObject * obj1 = 0 ;
4453 char *kwnames[] = {
4454 (char *) "self",(char *) "region", NULL
4455 };
4456
4457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4459 if (SWIG_arg_fail(1)) SWIG_fail;
4460 {
4461 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4462 if (SWIG_arg_fail(2)) SWIG_fail;
4463 if (arg2 == NULL) {
4464 SWIG_null_ref("wxRegion");
4465 }
4466 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4467 }
4468 {
4469 PyThreadState* __tstate = wxPyBeginAllowThreads();
4470 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4471
4472 wxPyEndAllowThreads(__tstate);
4473 if (PyErr_Occurred()) SWIG_fail;
4474 }
4f89f6a3
RD
4475 {
4476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4477 }
d14a1e28
RD
4478 return resultobj;
4479 fail:
4480 return NULL;
4481}
4482
4483
c32bde28
RD
4484static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4485 PyObject *resultobj;
4486 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4487 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4488 PyObject * obj0 = 0 ;
4489 PyObject * obj1 = 0 ;
4490 char *kwnames[] = {
4491 (char *) "self",(char *) "flags", NULL
4492 };
4493
4494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4496 if (SWIG_arg_fail(1)) SWIG_fail;
c32bde28 4497 if (obj1) {
093d3ff1
RD
4498 {
4499 arg2 = (int)(SWIG_As_int(obj1));
4500 if (SWIG_arg_fail(2)) SWIG_fail;
4501 }
c32bde28
RD
4502 }
4503 {
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 (arg1)->RequestUserAttention(arg2);
4506
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 Py_INCREF(Py_None); resultobj = Py_None;
4511 return resultobj;
4512 fail:
4513 return NULL;
4514}
4515
4516
b6294124
RD
4517static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4518 PyObject *resultobj;
4519 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4520 bool result;
4521 PyObject * obj0 = 0 ;
4522 char *kwnames[] = {
4523 (char *) "self", NULL
4524 };
4525
4526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
4527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4528 if (SWIG_arg_fail(1)) SWIG_fail;
b6294124
RD
4529 {
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 result = (bool)(arg1)->IsActive();
4532
4533 wxPyEndAllowThreads(__tstate);
4534 if (PyErr_Occurred()) SWIG_fail;
4535 }
4536 {
4537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4538 }
4539 return resultobj;
4540 fail:
4541 return NULL;
4542}
4543
4544
84f85550
RD
4545static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4546 PyObject *resultobj;
4547 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4548 bool arg2 ;
4549 PyObject * obj0 = 0 ;
4550 PyObject * obj1 = 0 ;
4551 char *kwnames[] = {
4552 (char *) "self",(char *) "on", NULL
4553 };
4554
4555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4557 if (SWIG_arg_fail(1)) SWIG_fail;
4558 {
4559 arg2 = (bool)(SWIG_As_bool(obj1));
4560 if (SWIG_arg_fail(2)) SWIG_fail;
4561 }
84f85550
RD
4562 {
4563 PyThreadState* __tstate = wxPyBeginAllowThreads();
4564 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4565
4566 wxPyEndAllowThreads(__tstate);
4567 if (PyErr_Occurred()) SWIG_fail;
4568 }
4569 Py_INCREF(Py_None); resultobj = Py_None;
4570 return resultobj;
4571 fail:
4572 return NULL;
4573}
4574
4575
4576static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4577 PyObject *resultobj;
4578 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4579 bool result;
4580 PyObject * obj0 = 0 ;
4581 char *kwnames[] = {
4582 (char *) "self", NULL
4583 };
4584
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
093d3ff1
RD
4586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4587 if (SWIG_arg_fail(1)) SWIG_fail;
84f85550
RD
4588 {
4589 PyThreadState* __tstate = wxPyBeginAllowThreads();
4590 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4591
4592 wxPyEndAllowThreads(__tstate);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 }
4595 {
4596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4597 }
4598 return resultobj;
4599 fail:
4600 return NULL;
4601}
4602
4603
c32bde28 4604static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4605 PyObject *obj;
4606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4607 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4608 Py_INCREF(obj);
4609 return Py_BuildValue((char *)"");
4610}
c32bde28 4611static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4612 PyObject *resultobj;
4613 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4614 int arg2 = (int) (int)-1 ;
4615 wxString const &arg3_defvalue = wxPyEmptyString ;
4616 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
4617 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4618 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4619 wxSize const &arg5_defvalue = wxDefaultSize ;
4620 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4621 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4622 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4623 wxString *arg7 = (wxString *) &arg7_defvalue ;
4624 wxFrame *result;
ae8162c8 4625 bool temp3 = false ;
d14a1e28
RD
4626 wxPoint temp4 ;
4627 wxSize temp5 ;
ae8162c8 4628 bool temp7 = false ;
d14a1e28 4629 PyObject * obj0 = 0 ;
994141e6 4630 PyObject * obj1 = 0 ;
d14a1e28
RD
4631 PyObject * obj2 = 0 ;
4632 PyObject * obj3 = 0 ;
4633 PyObject * obj4 = 0 ;
994141e6 4634 PyObject * obj5 = 0 ;
d14a1e28
RD
4635 PyObject * obj6 = 0 ;
4636 char *kwnames[] = {
4637 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4638 };
4639
248ed943 4640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
4641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4642 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 4643 if (obj1) {
093d3ff1
RD
4644 {
4645 arg2 = (int const)(SWIG_As_int(obj1));
4646 if (SWIG_arg_fail(2)) SWIG_fail;
4647 }
248ed943
RD
4648 }
4649 if (obj2) {
4650 {
4651 arg3 = wxString_in_helper(obj2);
4652 if (arg3 == NULL) SWIG_fail;
ae8162c8 4653 temp3 = true;
248ed943 4654 }
d14a1e28
RD
4655 }
4656 if (obj3) {
4657 {
4658 arg4 = &temp4;
4659 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4660 }
4661 }
4662 if (obj4) {
4663 {
4664 arg5 = &temp5;
4665 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4666 }
4667 }
994141e6 4668 if (obj5) {
093d3ff1
RD
4669 {
4670 arg6 = (long)(SWIG_As_long(obj5));
4671 if (SWIG_arg_fail(6)) SWIG_fail;
4672 }
994141e6 4673 }
d14a1e28
RD
4674 if (obj6) {
4675 {
4676 arg7 = wxString_in_helper(obj6);
4677 if (arg7 == NULL) SWIG_fail;
ae8162c8 4678 temp7 = true;
d14a1e28
RD
4679 }
4680 }
4681 {
e3b71cb8 4682 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4683 PyThreadState* __tstate = wxPyBeginAllowThreads();
4684 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4685
4686 wxPyEndAllowThreads(__tstate);
110da5b0 4687 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4688 }
b0f7404b 4689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d14a1e28
RD
4690 {
4691 if (temp3)
4692 delete arg3;
4693 }
4694 {
4695 if (temp7)
4696 delete arg7;
4697 }
4698 return resultobj;
4699 fail:
4700 {
4701 if (temp3)
4702 delete arg3;
4703 }
4704 {
4705 if (temp7)
4706 delete arg7;
4707 }
4708 return NULL;
4709}
4710
4711
c32bde28 4712static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4713 PyObject *resultobj;
4714 wxFrame *result;
4715 char *kwnames[] = {
4716 NULL
4717 };
4718
4719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4720 {
e3b71cb8 4721 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4722 PyThreadState* __tstate = wxPyBeginAllowThreads();
4723 result = (wxFrame *)new wxFrame();
4724
4725 wxPyEndAllowThreads(__tstate);
110da5b0 4726 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4727 }
b0f7404b 4728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d14a1e28
RD
4729 return resultobj;
4730 fail:
4731 return NULL;
4732}
4733
4734
c32bde28 4735static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4736 PyObject *resultobj;
4737 wxFrame *arg1 = (wxFrame *) 0 ;
4738 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4739 int arg3 = (int) (int)-1 ;
4740 wxString const &arg4_defvalue = wxPyEmptyString ;
4741 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
4742 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4743 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4744 wxSize const &arg6_defvalue = wxDefaultSize ;
4745 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4746 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4747 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4748 wxString *arg8 = (wxString *) &arg8_defvalue ;
4749 bool result;
ae8162c8 4750 bool temp4 = false ;
d14a1e28
RD
4751 wxPoint temp5 ;
4752 wxSize temp6 ;
ae8162c8 4753 bool temp8 = false ;
d14a1e28
RD
4754 PyObject * obj0 = 0 ;
4755 PyObject * obj1 = 0 ;
994141e6 4756 PyObject * obj2 = 0 ;
d14a1e28
RD
4757 PyObject * obj3 = 0 ;
4758 PyObject * obj4 = 0 ;
4759 PyObject * obj5 = 0 ;
994141e6 4760 PyObject * obj6 = 0 ;
d14a1e28
RD
4761 PyObject * obj7 = 0 ;
4762 char *kwnames[] = {
4763 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4764 };
4765
248ed943 4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
4767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4768 if (SWIG_arg_fail(1)) SWIG_fail;
4769 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4770 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 4771 if (obj2) {
093d3ff1
RD
4772 {
4773 arg3 = (int const)(SWIG_As_int(obj2));
4774 if (SWIG_arg_fail(3)) SWIG_fail;
4775 }
248ed943
RD
4776 }
4777 if (obj3) {
4778 {
4779 arg4 = wxString_in_helper(obj3);
4780 if (arg4 == NULL) SWIG_fail;
ae8162c8 4781 temp4 = true;
248ed943 4782 }
d14a1e28
RD
4783 }
4784 if (obj4) {
4785 {
4786 arg5 = &temp5;
4787 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4788 }
4789 }
4790 if (obj5) {
4791 {
4792 arg6 = &temp6;
4793 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4794 }
4795 }
994141e6 4796 if (obj6) {
093d3ff1
RD
4797 {
4798 arg7 = (long)(SWIG_As_long(obj6));
4799 if (SWIG_arg_fail(7)) SWIG_fail;
4800 }
994141e6 4801 }
d14a1e28
RD
4802 if (obj7) {
4803 {
4804 arg8 = wxString_in_helper(obj7);
4805 if (arg8 == NULL) SWIG_fail;
ae8162c8 4806 temp8 = true;
d14a1e28
RD
4807 }
4808 }
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4f89f6a3
RD
4816 {
4817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4818 }
d14a1e28
RD
4819 {
4820 if (temp4)
4821 delete arg4;
4822 }
4823 {
4824 if (temp8)
4825 delete arg8;
4826 }
4827 return resultobj;
4828 fail:
4829 {
4830 if (temp4)
4831 delete arg4;
4832 }
4833 {
4834 if (temp8)
4835 delete arg8;
4836 }
4837 return NULL;
4838}
4839
4840
c32bde28 4841static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4842 PyObject *resultobj;
4843 wxFrame *arg1 = (wxFrame *) 0 ;
4844 wxPoint result;
4845 PyObject * obj0 = 0 ;
4846 char *kwnames[] = {
4847 (char *) "self", NULL
4848 };
4849
4850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
093d3ff1
RD
4851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4852 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4853 {
4854 PyThreadState* __tstate = wxPyBeginAllowThreads();
4855 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4856
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 {
4861 wxPoint * resultptr;
093d3ff1 4862 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 4863 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
4864 }
4865 return resultobj;
4866 fail:
4867 return NULL;
4868}
4869
4870
c32bde28 4871static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4872 PyObject *resultobj;
4873 wxFrame *arg1 = (wxFrame *) 0 ;
4874 PyObject * obj0 = 0 ;
4875 char *kwnames[] = {
4876 (char *) "self", NULL
4877 };
4878
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
4880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4881 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 (arg1)->SendSizeEvent();
4885
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
4889 Py_INCREF(Py_None); resultobj = Py_None;
4890 return resultobj;
4891 fail:
4892 return NULL;
4893}
4894
4895
c32bde28 4896static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4897 PyObject *resultobj;
4898 wxFrame *arg1 = (wxFrame *) 0 ;
4899 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4900 PyObject * obj0 = 0 ;
4901 PyObject * obj1 = 0 ;
4902 char *kwnames[] = {
4903 (char *) "self",(char *) "menubar", NULL
4904 };
4905
4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4908 if (SWIG_arg_fail(1)) SWIG_fail;
4909 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4910 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4911 {
4912 PyThreadState* __tstate = wxPyBeginAllowThreads();
4913 (arg1)->SetMenuBar(arg2);
4914
4915 wxPyEndAllowThreads(__tstate);
4916 if (PyErr_Occurred()) SWIG_fail;
4917 }
4918 Py_INCREF(Py_None); resultobj = Py_None;
4919 return resultobj;
4920 fail:
4921 return NULL;
4922}
4923
4924
c32bde28 4925static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4926 PyObject *resultobj;
4927 wxFrame *arg1 = (wxFrame *) 0 ;
4928 wxMenuBar *result;
4929 PyObject * obj0 = 0 ;
4930 char *kwnames[] = {
4931 (char *) "self", NULL
4932 };
4933
4934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
4935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4936 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4937 {
4938 PyThreadState* __tstate = wxPyBeginAllowThreads();
4939 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4940
4941 wxPyEndAllowThreads(__tstate);
4942 if (PyErr_Occurred()) SWIG_fail;
4943 }
4944 {
412d302d 4945 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
4946 }
4947 return resultobj;
4948 fail:
4949 return NULL;
4950}
4951
4952
c32bde28 4953static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4954 PyObject *resultobj;
4955 wxFrame *arg1 = (wxFrame *) 0 ;
4956 int arg2 ;
4957 bool result;
4958 PyObject * obj0 = 0 ;
994141e6 4959 PyObject * obj1 = 0 ;
d14a1e28
RD
4960 char *kwnames[] = {
4961 (char *) "self",(char *) "winid", NULL
4962 };
4963
994141e6 4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) 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;
4967 {
4968 arg2 = (int)(SWIG_As_int(obj1));
4969 if (SWIG_arg_fail(2)) SWIG_fail;
4970 }
d14a1e28
RD
4971 {
4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
4973 result = (bool)(arg1)->ProcessCommand(arg2);
4974
4975 wxPyEndAllowThreads(__tstate);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4f89f6a3
RD
4978 {
4979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4980 }
d14a1e28
RD
4981 return resultobj;
4982 fail:
4983 return NULL;
4984}
4985
4986
c32bde28 4987static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4988 PyObject *resultobj;
4989 wxFrame *arg1 = (wxFrame *) 0 ;
4990 int arg2 = (int) 1 ;
6d88e192 4991 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
e811c8ce 4992 int arg4 = (int) 0 ;
d14a1e28
RD
4993 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4994 wxString *arg5 = (wxString *) &arg5_defvalue ;
4995 wxStatusBar *result;
ae8162c8 4996 bool temp5 = false ;
d14a1e28 4997 PyObject * obj0 = 0 ;
994141e6
RD
4998 PyObject * obj1 = 0 ;
4999 PyObject * obj2 = 0 ;
5000 PyObject * obj3 = 0 ;
d14a1e28
RD
5001 PyObject * obj4 = 0 ;
5002 char *kwnames[] = {
5003 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5004 };
5005
994141e6 5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
5007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5008 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 5009 if (obj1) {
093d3ff1
RD
5010 {
5011 arg2 = (int)(SWIG_As_int(obj1));
5012 if (SWIG_arg_fail(2)) SWIG_fail;
5013 }
994141e6
RD
5014 }
5015 if (obj2) {
093d3ff1
RD
5016 {
5017 arg3 = (long)(SWIG_As_long(obj2));
5018 if (SWIG_arg_fail(3)) SWIG_fail;
5019 }
994141e6
RD
5020 }
5021 if (obj3) {
093d3ff1
RD
5022 {
5023 arg4 = (int)(SWIG_As_int(obj3));
5024 if (SWIG_arg_fail(4)) SWIG_fail;
5025 }
994141e6 5026 }
d14a1e28
RD
5027 if (obj4) {
5028 {
5029 arg5 = wxString_in_helper(obj4);
5030 if (arg5 == NULL) SWIG_fail;
ae8162c8 5031 temp5 = true;
d14a1e28
RD
5032 }
5033 }
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 {
412d302d 5042 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5043 }
5044 {
5045 if (temp5)
5046 delete arg5;
5047 }
5048 return resultobj;
5049 fail:
5050 {
5051 if (temp5)
5052 delete arg5;
5053 }
5054 return NULL;
5055}
5056
5057
c32bde28 5058static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5059 PyObject *resultobj;
5060 wxFrame *arg1 = (wxFrame *) 0 ;
5061 wxStatusBar *result;
5062 PyObject * obj0 = 0 ;
5063 char *kwnames[] = {
5064 (char *) "self", NULL
5065 };
5066
5067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5069 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5070 {
5071 PyThreadState* __tstate = wxPyBeginAllowThreads();
5072 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5073
5074 wxPyEndAllowThreads(__tstate);
5075 if (PyErr_Occurred()) SWIG_fail;
5076 }
5077 {
412d302d 5078 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5079 }
5080 return resultobj;
5081 fail:
5082 return NULL;
5083}
5084
5085
c32bde28 5086static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5087 PyObject *resultobj;
5088 wxFrame *arg1 = (wxFrame *) 0 ;
5089 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5090 PyObject * obj0 = 0 ;
5091 PyObject * obj1 = 0 ;
5092 char *kwnames[] = {
5093 (char *) "self",(char *) "statBar", NULL
5094 };
5095
5096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5098 if (SWIG_arg_fail(1)) SWIG_fail;
5099 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5100 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5101 {
5102 PyThreadState* __tstate = wxPyBeginAllowThreads();
5103 (arg1)->SetStatusBar(arg2);
5104
5105 wxPyEndAllowThreads(__tstate);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 Py_INCREF(Py_None); resultobj = Py_None;
5109 return resultobj;
5110 fail:
5111 return NULL;
5112}
5113
5114
c32bde28 5115static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5116 PyObject *resultobj;
5117 wxFrame *arg1 = (wxFrame *) 0 ;
5118 wxString *arg2 = 0 ;
5119 int arg3 = (int) 0 ;
ae8162c8 5120 bool temp2 = false ;
d14a1e28
RD
5121 PyObject * obj0 = 0 ;
5122 PyObject * obj1 = 0 ;
994141e6 5123 PyObject * obj2 = 0 ;
d14a1e28
RD
5124 char *kwnames[] = {
5125 (char *) "self",(char *) "text",(char *) "number", NULL
5126 };
5127
994141e6 5128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5130 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5131 {
5132 arg2 = wxString_in_helper(obj1);
5133 if (arg2 == NULL) SWIG_fail;
ae8162c8 5134 temp2 = true;
d14a1e28 5135 }
994141e6 5136 if (obj2) {
093d3ff1
RD
5137 {
5138 arg3 = (int)(SWIG_As_int(obj2));
5139 if (SWIG_arg_fail(3)) SWIG_fail;
5140 }
994141e6 5141 }
d14a1e28
RD
5142 {
5143 PyThreadState* __tstate = wxPyBeginAllowThreads();
5144 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5145
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
5149 Py_INCREF(Py_None); resultobj = Py_None;
5150 {
5151 if (temp2)
5152 delete arg2;
5153 }
5154 return resultobj;
5155 fail:
5156 {
5157 if (temp2)
5158 delete arg2;
5159 }
5160 return NULL;
5161}
5162
5163
c32bde28 5164static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5165 PyObject *resultobj;
5166 wxFrame *arg1 = (wxFrame *) 0 ;
5167 int arg2 ;
5168 int *arg3 = (int *) 0 ;
5169 PyObject * obj0 = 0 ;
5170 PyObject * obj1 = 0 ;
5171 char *kwnames[] = {
5172 (char *) "self",(char *) "widths", NULL
5173 };
5174
5175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5177 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5178 {
5179 arg2 = PyList_Size(obj1);
5180 arg3 = int_LIST_helper(obj1);
5181 if (arg3 == NULL) SWIG_fail;
5182 }
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5186
5187 wxPyEndAllowThreads(__tstate);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 }
5190 Py_INCREF(Py_None); resultobj = Py_None;
5191 {
5192 if (arg3) delete [] arg3;
5193 }
5194 return resultobj;
5195 fail:
5196 {
5197 if (arg3) delete [] arg3;
5198 }
5199 return NULL;
5200}
5201
5202
c32bde28 5203static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5204 PyObject *resultobj;
5205 wxFrame *arg1 = (wxFrame *) 0 ;
5206 wxString *arg2 = 0 ;
5207 int arg3 = (int) 0 ;
ae8162c8 5208 bool temp2 = false ;
d14a1e28
RD
5209 PyObject * obj0 = 0 ;
5210 PyObject * obj1 = 0 ;
994141e6 5211 PyObject * obj2 = 0 ;
d14a1e28
RD
5212 char *kwnames[] = {
5213 (char *) "self",(char *) "text",(char *) "number", NULL
5214 };
5215
994141e6 5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5218 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5219 {
5220 arg2 = wxString_in_helper(obj1);
5221 if (arg2 == NULL) SWIG_fail;
ae8162c8 5222 temp2 = true;
d14a1e28 5223 }
994141e6 5224 if (obj2) {
093d3ff1
RD
5225 {
5226 arg3 = (int)(SWIG_As_int(obj2));
5227 if (SWIG_arg_fail(3)) SWIG_fail;
5228 }
994141e6 5229 }
d14a1e28
RD
5230 {
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5232 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5233
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 Py_INCREF(Py_None); resultobj = Py_None;
5238 {
5239 if (temp2)
5240 delete arg2;
5241 }
5242 return resultobj;
5243 fail:
5244 {
5245 if (temp2)
5246 delete arg2;
5247 }
5248 return NULL;
5249}
5250
5251
c32bde28 5252static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5253 PyObject *resultobj;
5254 wxFrame *arg1 = (wxFrame *) 0 ;
5255 int arg2 = (int) 0 ;
5256 PyObject * obj0 = 0 ;
994141e6 5257 PyObject * obj1 = 0 ;
d14a1e28
RD
5258 char *kwnames[] = {
5259 (char *) "self",(char *) "number", NULL
5260 };
5261
994141e6 5262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5264 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 5265 if (obj1) {
093d3ff1
RD
5266 {
5267 arg2 = (int)(SWIG_As_int(obj1));
5268 if (SWIG_arg_fail(2)) SWIG_fail;
5269 }
994141e6 5270 }
d14a1e28
RD
5271 {
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 (arg1)->PopStatusText(arg2);
5274
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
5278 Py_INCREF(Py_None); resultobj = Py_None;
5279 return resultobj;
5280 fail:
5281 return NULL;
5282}
5283
5284
c32bde28 5285static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5286 PyObject *resultobj;
5287 wxFrame *arg1 = (wxFrame *) 0 ;
5288 int arg2 ;
5289 PyObject * obj0 = 0 ;
994141e6 5290 PyObject * obj1 = 0 ;
d14a1e28
RD
5291 char *kwnames[] = {
5292 (char *) "self",(char *) "n", NULL
5293 };
5294
994141e6 5295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5297 if (SWIG_arg_fail(1)) SWIG_fail;
5298 {
5299 arg2 = (int)(SWIG_As_int(obj1));
5300 if (SWIG_arg_fail(2)) SWIG_fail;
5301 }
d14a1e28
RD
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 (arg1)->SetStatusBarPane(arg2);
5305
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 Py_INCREF(Py_None); resultobj = Py_None;
5310 return resultobj;
5311 fail:
5312 return NULL;
5313}
5314
5315
c32bde28 5316static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5317 PyObject *resultobj;
5318 wxFrame *arg1 = (wxFrame *) 0 ;
5319 int result;
5320 PyObject * obj0 = 0 ;
5321 char *kwnames[] = {
5322 (char *) "self", NULL
5323 };
5324
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
093d3ff1
RD
5326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5327 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5328 {
5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
5330 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5331
5332 wxPyEndAllowThreads(__tstate);
5333 if (PyErr_Occurred()) SWIG_fail;
5334 }
093d3ff1
RD
5335 {
5336 resultobj = SWIG_From_int((int)(result));
5337 }
d14a1e28
RD
5338 return resultobj;
5339 fail:
5340 return NULL;
5341}
5342
5343
c32bde28 5344static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5345 PyObject *resultobj;
5346 wxFrame *arg1 = (wxFrame *) 0 ;
5347 long arg2 = (long) -1 ;
e811c8ce 5348 int arg3 = (int) -1 ;
d14a1e28
RD
5349 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5350 wxString *arg4 = (wxString *) &arg4_defvalue ;
5351 wxToolBar *result;
ae8162c8 5352 bool temp4 = false ;
d14a1e28 5353 PyObject * obj0 = 0 ;
994141e6
RD
5354 PyObject * obj1 = 0 ;
5355 PyObject * obj2 = 0 ;
d14a1e28
RD
5356 PyObject * obj3 = 0 ;
5357 char *kwnames[] = {
5358 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5359 };
5360
994141e6 5361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
5362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5363 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 5364 if (obj1) {
093d3ff1
RD
5365 {
5366 arg2 = (long)(SWIG_As_long(obj1));
5367 if (SWIG_arg_fail(2)) SWIG_fail;
5368 }
994141e6
RD
5369 }
5370 if (obj2) {
093d3ff1
RD
5371 {
5372 arg3 = (int)(SWIG_As_int(obj2));
5373 if (SWIG_arg_fail(3)) SWIG_fail;
5374 }
994141e6 5375 }
d14a1e28
RD
5376 if (obj3) {
5377 {
5378 arg4 = wxString_in_helper(obj3);
5379 if (arg4 == NULL) SWIG_fail;
ae8162c8 5380 temp4 = true;
d14a1e28
RD
5381 }
5382 }
5383 {
5384 PyThreadState* __tstate = wxPyBeginAllowThreads();
5385 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5386
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
5390 {
412d302d 5391 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5392 }
5393 {
5394 if (temp4)
5395 delete arg4;
5396 }
5397 return resultobj;
5398 fail:
5399 {
5400 if (temp4)
5401 delete arg4;
5402 }
5403 return NULL;
5404}
5405
5406
c32bde28 5407static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5408 PyObject *resultobj;
5409 wxFrame *arg1 = (wxFrame *) 0 ;
5410 wxToolBar *result;
5411 PyObject * obj0 = 0 ;
5412 char *kwnames[] = {
5413 (char *) "self", NULL
5414 };
5415
5416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5418 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5419 {
5420 PyThreadState* __tstate = wxPyBeginAllowThreads();
5421 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5422
5423 wxPyEndAllowThreads(__tstate);
5424 if (PyErr_Occurred()) SWIG_fail;
5425 }
5426 {
412d302d 5427 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5428 }
5429 return resultobj;
5430 fail:
5431 return NULL;
5432}
5433
5434
c32bde28 5435static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5436 PyObject *resultobj;
5437 wxFrame *arg1 = (wxFrame *) 0 ;
5438 wxToolBar *arg2 = (wxToolBar *) 0 ;
5439 PyObject * obj0 = 0 ;
5440 PyObject * obj1 = 0 ;
5441 char *kwnames[] = {
5442 (char *) "self",(char *) "toolbar", NULL
5443 };
5444
5445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5447 if (SWIG_arg_fail(1)) SWIG_fail;
5448 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5449 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5450 {
5451 PyThreadState* __tstate = wxPyBeginAllowThreads();
5452 (arg1)->SetToolBar(arg2);
5453
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 Py_INCREF(Py_None); resultobj = Py_None;
5458 return resultobj;
5459 fail:
5460 return NULL;
5461}
5462
5463
c32bde28 5464static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5465 PyObject *resultobj;
5466 wxFrame *arg1 = (wxFrame *) 0 ;
5467 wxString *arg2 = 0 ;
5468 bool arg3 ;
ae8162c8 5469 bool temp2 = false ;
d14a1e28
RD
5470 PyObject * obj0 = 0 ;
5471 PyObject * obj1 = 0 ;
5472 PyObject * obj2 = 0 ;
5473 char *kwnames[] = {
5474 (char *) "self",(char *) "text",(char *) "show", NULL
5475 };
5476
5477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5480 {
5481 arg2 = wxString_in_helper(obj1);
5482 if (arg2 == NULL) SWIG_fail;
ae8162c8 5483 temp2 = true;
d14a1e28 5484 }
093d3ff1
RD
5485 {
5486 arg3 = (bool)(SWIG_As_bool(obj2));
5487 if (SWIG_arg_fail(3)) SWIG_fail;
5488 }
d14a1e28
RD
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5491 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5492
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 Py_INCREF(Py_None); resultobj = Py_None;
5497 {
5498 if (temp2)
5499 delete arg2;
5500 }
5501 return resultobj;
5502 fail:
5503 {
5504 if (temp2)
5505 delete arg2;
5506 }
5507 return NULL;
5508}
5509
5510
c32bde28 5511static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5512 PyObject *resultobj;
5513 wxFrame *arg1 = (wxFrame *) 0 ;
5514 wxMenu *arg2 = (wxMenu *) NULL ;
5515 PyObject * obj0 = 0 ;
5516 PyObject * obj1 = 0 ;
5517 char *kwnames[] = {
5518 (char *) "self",(char *) "menu", NULL
5519 };
5520
5521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5523 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5524 if (obj1) {
093d3ff1
RD
5525 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5526 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5527 }
5528 {
5529 PyThreadState* __tstate = wxPyBeginAllowThreads();
5530 (arg1)->DoMenuUpdates(arg2);
5531
5532 wxPyEndAllowThreads(__tstate);
5533 if (PyErr_Occurred()) SWIG_fail;
5534 }
5535 Py_INCREF(Py_None); resultobj = Py_None;
5536 return resultobj;
5537 fail:
5538 return NULL;
5539}
5540
5541
c32bde28 5542static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 5543 PyObject *resultobj;
093d3ff1 5544 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
5545 wxVisualAttributes result;
5546 PyObject * obj0 = 0 ;
5547 char *kwnames[] = {
5548 (char *) "variant", NULL
5549 };
5550
5551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5552 if (obj0) {
093d3ff1
RD
5553 {
5554 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5555 if (SWIG_arg_fail(1)) SWIG_fail;
5556 }
22bfe96c
RD
5557 }
5558 {
e3b71cb8 5559 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5562
5563 wxPyEndAllowThreads(__tstate);
110da5b0 5564 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5565 }
5566 {
5567 wxVisualAttributes * resultptr;
093d3ff1 5568 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
5569 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5570 }
5571 return resultobj;
5572 fail:
5573 return NULL;
5574}
5575
5576
c32bde28 5577static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5578 PyObject *obj;
5579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5580 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5581 Py_INCREF(obj);
5582 return Py_BuildValue((char *)"");
5583}
c32bde28 5584static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5585 PyObject *resultobj;
5586 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5587 int arg2 = (int) (int)-1 ;
5588 wxString const &arg3_defvalue = wxPyEmptyString ;
5589 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
5590 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5591 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5592 wxSize const &arg5_defvalue = wxDefaultSize ;
5593 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5594 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5595 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5596 wxString *arg7 = (wxString *) &arg7_defvalue ;
5597 wxDialog *result;
ae8162c8 5598 bool temp3 = false ;
d14a1e28
RD
5599 wxPoint temp4 ;
5600 wxSize temp5 ;
ae8162c8 5601 bool temp7 = false ;
d14a1e28 5602 PyObject * obj0 = 0 ;
994141e6 5603 PyObject * obj1 = 0 ;
d14a1e28
RD
5604 PyObject * obj2 = 0 ;
5605 PyObject * obj3 = 0 ;
5606 PyObject * obj4 = 0 ;
994141e6 5607 PyObject * obj5 = 0 ;
d14a1e28
RD
5608 PyObject * obj6 = 0 ;
5609 char *kwnames[] = {
5610 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5611 };
5612
248ed943 5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5615 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5616 if (obj1) {
093d3ff1
RD
5617 {
5618 arg2 = (int const)(SWIG_As_int(obj1));
5619 if (SWIG_arg_fail(2)) SWIG_fail;
5620 }
248ed943
RD
5621 }
5622 if (obj2) {
5623 {
5624 arg3 = wxString_in_helper(obj2);
5625 if (arg3 == NULL) SWIG_fail;
ae8162c8 5626 temp3 = true;
248ed943 5627 }
d14a1e28
RD
5628 }
5629 if (obj3) {
5630 {
5631 arg4 = &temp4;
5632 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5633 }
5634 }
5635 if (obj4) {
5636 {
5637 arg5 = &temp5;
5638 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5639 }
5640 }
994141e6 5641 if (obj5) {
093d3ff1
RD
5642 {
5643 arg6 = (long)(SWIG_As_long(obj5));
5644 if (SWIG_arg_fail(6)) SWIG_fail;
5645 }
994141e6 5646 }
d14a1e28
RD
5647 if (obj6) {
5648 {
5649 arg7 = wxString_in_helper(obj6);
5650 if (arg7 == NULL) SWIG_fail;
ae8162c8 5651 temp7 = true;
d14a1e28
RD
5652 }
5653 }
5654 {
e3b71cb8 5655 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5656 PyThreadState* __tstate = wxPyBeginAllowThreads();
5657 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5658
5659 wxPyEndAllowThreads(__tstate);
110da5b0 5660 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5661 }
b0f7404b 5662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
5663 {
5664 if (temp3)
5665 delete arg3;
5666 }
5667 {
5668 if (temp7)
5669 delete arg7;
5670 }
5671 return resultobj;
5672 fail:
5673 {
5674 if (temp3)
5675 delete arg3;
5676 }
5677 {
5678 if (temp7)
5679 delete arg7;
5680 }
5681 return NULL;
5682}
5683
5684
c32bde28 5685static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5686 PyObject *resultobj;
5687 wxDialog *result;
5688 char *kwnames[] = {
5689 NULL
5690 };
5691
5692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5693 {
e3b71cb8 5694 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
5696 result = (wxDialog *)new wxDialog();
5697
5698 wxPyEndAllowThreads(__tstate);
110da5b0 5699 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5700 }
b0f7404b 5701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
5702 return resultobj;
5703 fail:
5704 return NULL;
5705}
5706
5707
c32bde28 5708static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5709 PyObject *resultobj;
5710 wxDialog *arg1 = (wxDialog *) 0 ;
5711 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5712 int arg3 = (int) (int)-1 ;
5713 wxString const &arg4_defvalue = wxPyEmptyString ;
5714 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
5715 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5716 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5717 wxSize const &arg6_defvalue = wxDefaultSize ;
5718 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5719 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5720 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5721 wxString *arg8 = (wxString *) &arg8_defvalue ;
5722 bool result;
ae8162c8 5723 bool temp4 = false ;
d14a1e28
RD
5724 wxPoint temp5 ;
5725 wxSize temp6 ;
ae8162c8 5726 bool temp8 = false ;
d14a1e28
RD
5727 PyObject * obj0 = 0 ;
5728 PyObject * obj1 = 0 ;
994141e6 5729 PyObject * obj2 = 0 ;
d14a1e28
RD
5730 PyObject * obj3 = 0 ;
5731 PyObject * obj4 = 0 ;
5732 PyObject * obj5 = 0 ;
994141e6 5733 PyObject * obj6 = 0 ;
d14a1e28
RD
5734 PyObject * obj7 = 0 ;
5735 char *kwnames[] = {
5736 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5737 };
5738
248ed943 5739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5741 if (SWIG_arg_fail(1)) SWIG_fail;
5742 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5743 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5744 if (obj2) {
093d3ff1
RD
5745 {
5746 arg3 = (int const)(SWIG_As_int(obj2));
5747 if (SWIG_arg_fail(3)) SWIG_fail;
5748 }
248ed943
RD
5749 }
5750 if (obj3) {
5751 {
5752 arg4 = wxString_in_helper(obj3);
5753 if (arg4 == NULL) SWIG_fail;
ae8162c8 5754 temp4 = true;
248ed943 5755 }
d14a1e28
RD
5756 }
5757 if (obj4) {
5758 {
5759 arg5 = &temp5;
5760 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5761 }
5762 }
5763 if (obj5) {
5764 {
5765 arg6 = &temp6;
5766 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5767 }
5768 }
994141e6 5769 if (obj6) {
093d3ff1
RD
5770 {
5771 arg7 = (long)(SWIG_As_long(obj6));
5772 if (SWIG_arg_fail(7)) SWIG_fail;
5773 }
994141e6 5774 }
d14a1e28
RD
5775 if (obj7) {
5776 {
5777 arg8 = wxString_in_helper(obj7);
5778 if (arg8 == NULL) SWIG_fail;
ae8162c8 5779 temp8 = true;
d14a1e28
RD
5780 }
5781 }
5782 {
5783 PyThreadState* __tstate = wxPyBeginAllowThreads();
5784 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5785
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
4f89f6a3
RD
5789 {
5790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5791 }
d14a1e28
RD
5792 {
5793 if (temp4)
5794 delete arg4;
5795 }
5796 {
5797 if (temp8)
5798 delete arg8;
5799 }
5800 return resultobj;
5801 fail:
5802 {
5803 if (temp4)
5804 delete arg4;
5805 }
5806 {
5807 if (temp8)
5808 delete arg8;
5809 }
5810 return NULL;
5811}
5812
5813
c32bde28 5814static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5815 PyObject *resultobj;
5816 wxDialog *arg1 = (wxDialog *) 0 ;
5817 int arg2 ;
5818 PyObject * obj0 = 0 ;
994141e6 5819 PyObject * obj1 = 0 ;
d14a1e28
RD
5820 char *kwnames[] = {
5821 (char *) "self",(char *) "returnCode", NULL
5822 };
5823
994141e6 5824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5826 if (SWIG_arg_fail(1)) SWIG_fail;
5827 {
5828 arg2 = (int)(SWIG_As_int(obj1));
5829 if (SWIG_arg_fail(2)) SWIG_fail;
5830 }
d14a1e28
RD
5831 {
5832 PyThreadState* __tstate = wxPyBeginAllowThreads();
5833 (arg1)->SetReturnCode(arg2);
5834
5835 wxPyEndAllowThreads(__tstate);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 }
5838 Py_INCREF(Py_None); resultobj = Py_None;
5839 return resultobj;
5840 fail:
5841 return NULL;
5842}
5843
5844
c32bde28 5845static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5846 PyObject *resultobj;
5847 wxDialog *arg1 = (wxDialog *) 0 ;
5848 int result;
5849 PyObject * obj0 = 0 ;
5850 char *kwnames[] = {
5851 (char *) "self", NULL
5852 };
5853
5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
5855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5856 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5857 {
5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
5859 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5860
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
093d3ff1
RD
5864 {
5865 resultobj = SWIG_From_int((int)(result));
5866 }
d14a1e28
RD
5867 return resultobj;
5868 fail:
5869 return NULL;
5870}
5871
5872
c32bde28 5873static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5874 PyObject *resultobj;
5875 wxDialog *arg1 = (wxDialog *) 0 ;
5876 wxString *arg2 = 0 ;
5877 wxSizer *result;
ae8162c8 5878 bool temp2 = false ;
d14a1e28
RD
5879 PyObject * obj0 = 0 ;
5880 PyObject * obj1 = 0 ;
5881 char *kwnames[] = {
5882 (char *) "self",(char *) "message", NULL
5883 };
5884
5885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5887 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5888 {
5889 arg2 = wxString_in_helper(obj1);
5890 if (arg2 == NULL) SWIG_fail;
ae8162c8 5891 temp2 = true;
d14a1e28
RD
5892 }
5893 {
5894 PyThreadState* __tstate = wxPyBeginAllowThreads();
5895 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5896
5897 wxPyEndAllowThreads(__tstate);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 }
5900 {
7a27cf7c 5901 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5902 }
5903 {
5904 if (temp2)
5905 delete arg2;
5906 }
5907 return resultobj;
5908 fail:
5909 {
5910 if (temp2)
5911 delete arg2;
5912 }
5913 return NULL;
5914}
5915
5916
c32bde28 5917static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5918 PyObject *resultobj;
5919 wxDialog *arg1 = (wxDialog *) 0 ;
5920 long arg2 ;
5921 wxSizer *result;
5922 PyObject * obj0 = 0 ;
994141e6 5923 PyObject * obj1 = 0 ;
d14a1e28
RD
5924 char *kwnames[] = {
5925 (char *) "self",(char *) "flags", NULL
5926 };
5927
994141e6 5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5930 if (SWIG_arg_fail(1)) SWIG_fail;
5931 {
5932 arg2 = (long)(SWIG_As_long(obj1));
5933 if (SWIG_arg_fail(2)) SWIG_fail;
5934 }
d14a1e28
RD
5935 {
5936 PyThreadState* __tstate = wxPyBeginAllowThreads();
5937 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5938
5939 wxPyEndAllowThreads(__tstate);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 }
5942 {
7a27cf7c 5943 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5944 }
5945 return resultobj;
5946 fail:
5947 return NULL;
5948}
5949
5950
e505d15e
RD
5951static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5952 PyObject *resultobj;
5953 wxDialog *arg1 = (wxDialog *) 0 ;
5954 long arg2 ;
5955 wxStdDialogButtonSizer *result;
5956 PyObject * obj0 = 0 ;
5957 PyObject * obj1 = 0 ;
5958 char *kwnames[] = {
5959 (char *) "self",(char *) "flags", NULL
5960 };
5961
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5964 if (SWIG_arg_fail(1)) SWIG_fail;
5965 {
5966 arg2 = (long)(SWIG_As_long(obj1));
5967 if (SWIG_arg_fail(2)) SWIG_fail;
5968 }
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
5972
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
5976 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
5977 return resultobj;
5978 fail:
5979 return NULL;
5980}
5981
5982
c32bde28 5983static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5984 PyObject *resultobj;
5985 wxDialog *arg1 = (wxDialog *) 0 ;
5986 bool result;
5987 PyObject * obj0 = 0 ;
5988 char *kwnames[] = {
5989 (char *) "self", NULL
5990 };
5991
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
5993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5994 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 result = (bool)((wxDialog const *)arg1)->IsModal();
5998
5999 wxPyEndAllowThreads(__tstate);
6000 if (PyErr_Occurred()) SWIG_fail;
6001 }
4f89f6a3
RD
6002 {
6003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6004 }
d14a1e28
RD
6005 return resultobj;
6006 fail:
6007 return NULL;
6008}
6009
6010
c32bde28 6011static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6012 PyObject *resultobj;
6013 wxDialog *arg1 = (wxDialog *) 0 ;
6014 int result;
6015 PyObject * obj0 = 0 ;
6016 char *kwnames[] = {
6017 (char *) "self", NULL
6018 };
6019
6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
6021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6022 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6023 {
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 result = (int)(arg1)->ShowModal();
6026
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
093d3ff1
RD
6030 {
6031 resultobj = SWIG_From_int((int)(result));
6032 }
d14a1e28
RD
6033 return resultobj;
6034 fail:
6035 return NULL;
6036}
6037
6038
c32bde28 6039static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6040 PyObject *resultobj;
6041 wxDialog *arg1 = (wxDialog *) 0 ;
6042 int arg2 ;
6043 PyObject * obj0 = 0 ;
994141e6 6044 PyObject * obj1 = 0 ;
d14a1e28
RD
6045 char *kwnames[] = {
6046 (char *) "self",(char *) "retCode", NULL
6047 };
6048
994141e6 6049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6051 if (SWIG_arg_fail(1)) SWIG_fail;
6052 {
6053 arg2 = (int)(SWIG_As_int(obj1));
6054 if (SWIG_arg_fail(2)) SWIG_fail;
6055 }
d14a1e28
RD
6056 {
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
6058 (arg1)->EndModal(arg2);
6059
6060 wxPyEndAllowThreads(__tstate);
6061 if (PyErr_Occurred()) SWIG_fail;
6062 }
6063 Py_INCREF(Py_None); resultobj = Py_None;
6064 return resultobj;
6065 fail:
6066 return NULL;
6067}
6068
6069
c32bde28 6070static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 6071 PyObject *resultobj;
093d3ff1 6072 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6073 wxVisualAttributes result;
6074 PyObject * obj0 = 0 ;
6075 char *kwnames[] = {
6076 (char *) "variant", NULL
6077 };
6078
6079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6080 if (obj0) {
093d3ff1
RD
6081 {
6082 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6083 if (SWIG_arg_fail(1)) SWIG_fail;
6084 }
22bfe96c
RD
6085 }
6086 {
e3b71cb8 6087 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
6089 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6090
6091 wxPyEndAllowThreads(__tstate);
110da5b0 6092 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6093 }
6094 {
6095 wxVisualAttributes * resultptr;
093d3ff1 6096 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
6097 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6098 }
6099 return resultobj;
6100 fail:
6101 return NULL;
6102}
6103
6104
c32bde28 6105static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6106 PyObject *obj;
6107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6108 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6109 Py_INCREF(obj);
6110 return Py_BuildValue((char *)"");
6111}
c32bde28 6112static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6113 PyObject *resultobj;
6114 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6115 int arg2 = (int) (int)-1 ;
6116 wxString const &arg3_defvalue = wxPyEmptyString ;
6117 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
6118 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6119 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6120 wxSize const &arg5_defvalue = wxDefaultSize ;
6121 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6122 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6123 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6124 wxString *arg7 = (wxString *) &arg7_defvalue ;
6125 wxMiniFrame *result;
ae8162c8 6126 bool temp3 = false ;
d14a1e28
RD
6127 wxPoint temp4 ;
6128 wxSize temp5 ;
ae8162c8 6129 bool temp7 = false ;
d14a1e28 6130 PyObject * obj0 = 0 ;
994141e6 6131 PyObject * obj1 = 0 ;
d14a1e28
RD
6132 PyObject * obj2 = 0 ;
6133 PyObject * obj3 = 0 ;
6134 PyObject * obj4 = 0 ;
994141e6 6135 PyObject * obj5 = 0 ;
d14a1e28
RD
6136 PyObject * obj6 = 0 ;
6137 char *kwnames[] = {
6138 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6139 };
6140
248ed943 6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6143 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6144 if (obj1) {
093d3ff1
RD
6145 {
6146 arg2 = (int const)(SWIG_As_int(obj1));
6147 if (SWIG_arg_fail(2)) SWIG_fail;
6148 }
248ed943
RD
6149 }
6150 if (obj2) {
6151 {
6152 arg3 = wxString_in_helper(obj2);
6153 if (arg3 == NULL) SWIG_fail;
ae8162c8 6154 temp3 = true;
248ed943 6155 }
d14a1e28
RD
6156 }
6157 if (obj3) {
6158 {
6159 arg4 = &temp4;
6160 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6161 }
6162 }
6163 if (obj4) {
6164 {
6165 arg5 = &temp5;
6166 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6167 }
6168 }
994141e6 6169 if (obj5) {
093d3ff1
RD
6170 {
6171 arg6 = (long)(SWIG_As_long(obj5));
6172 if (SWIG_arg_fail(6)) SWIG_fail;
6173 }
994141e6 6174 }
d14a1e28
RD
6175 if (obj6) {
6176 {
6177 arg7 = wxString_in_helper(obj6);
6178 if (arg7 == NULL) SWIG_fail;
ae8162c8 6179 temp7 = true;
d14a1e28
RD
6180 }
6181 }
6182 {
e3b71cb8 6183 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6186
6187 wxPyEndAllowThreads(__tstate);
110da5b0 6188 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6189 }
15afbcd0 6190 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
6191 {
6192 if (temp3)
6193 delete arg3;
6194 }
6195 {
6196 if (temp7)
6197 delete arg7;
6198 }
6199 return resultobj;
6200 fail:
6201 {
6202 if (temp3)
6203 delete arg3;
6204 }
6205 {
6206 if (temp7)
6207 delete arg7;
6208 }
6209 return NULL;
6210}
6211
6212
c32bde28 6213static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6214 PyObject *resultobj;
6215 wxMiniFrame *result;
6216 char *kwnames[] = {
6217 NULL
6218 };
6219
6220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6221 {
e3b71cb8 6222 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6223 PyThreadState* __tstate = wxPyBeginAllowThreads();
6224 result = (wxMiniFrame *)new wxMiniFrame();
6225
6226 wxPyEndAllowThreads(__tstate);
110da5b0 6227 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6228 }
15afbcd0 6229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
6230 return resultobj;
6231 fail:
6232 return NULL;
6233}
6234
6235
c32bde28 6236static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6237 PyObject *resultobj;
6238 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6239 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6240 int arg3 = (int) (int)-1 ;
6241 wxString const &arg4_defvalue = wxPyEmptyString ;
6242 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
6243 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6244 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6245 wxSize const &arg6_defvalue = wxDefaultSize ;
6246 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6247 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6248 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6249 wxString *arg8 = (wxString *) &arg8_defvalue ;
6250 bool result;
ae8162c8 6251 bool temp4 = false ;
d14a1e28
RD
6252 wxPoint temp5 ;
6253 wxSize temp6 ;
ae8162c8 6254 bool temp8 = false ;
d14a1e28
RD
6255 PyObject * obj0 = 0 ;
6256 PyObject * obj1 = 0 ;
994141e6 6257 PyObject * obj2 = 0 ;
d14a1e28
RD
6258 PyObject * obj3 = 0 ;
6259 PyObject * obj4 = 0 ;
6260 PyObject * obj5 = 0 ;
994141e6 6261 PyObject * obj6 = 0 ;
d14a1e28
RD
6262 PyObject * obj7 = 0 ;
6263 char *kwnames[] = {
6264 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6265 };
6266
248ed943 6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6269 if (SWIG_arg_fail(1)) SWIG_fail;
6270 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6271 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6272 if (obj2) {
093d3ff1
RD
6273 {
6274 arg3 = (int const)(SWIG_As_int(obj2));
6275 if (SWIG_arg_fail(3)) SWIG_fail;
6276 }
248ed943
RD
6277 }
6278 if (obj3) {
6279 {
6280 arg4 = wxString_in_helper(obj3);
6281 if (arg4 == NULL) SWIG_fail;
ae8162c8 6282 temp4 = true;
248ed943 6283 }
d14a1e28
RD
6284 }
6285 if (obj4) {
6286 {
6287 arg5 = &temp5;
6288 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6289 }
6290 }
6291 if (obj5) {
6292 {
6293 arg6 = &temp6;
6294 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6295 }
6296 }
994141e6 6297 if (obj6) {
093d3ff1
RD
6298 {
6299 arg7 = (long)(SWIG_As_long(obj6));
6300 if (SWIG_arg_fail(7)) SWIG_fail;
6301 }
994141e6 6302 }
d14a1e28
RD
6303 if (obj7) {
6304 {
6305 arg8 = wxString_in_helper(obj7);
6306 if (arg8 == NULL) SWIG_fail;
ae8162c8 6307 temp8 = true;
d14a1e28
RD
6308 }
6309 }
6310 {
6311 PyThreadState* __tstate = wxPyBeginAllowThreads();
6312 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6313
6314 wxPyEndAllowThreads(__tstate);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
4f89f6a3
RD
6317 {
6318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6319 }
d14a1e28
RD
6320 {
6321 if (temp4)
6322 delete arg4;
6323 }
6324 {
6325 if (temp8)
6326 delete arg8;
6327 }
6328 return resultobj;
6329 fail:
6330 {
6331 if (temp4)
6332 delete arg4;
6333 }
6334 {
6335 if (temp8)
6336 delete arg8;
6337 }
6338 return NULL;
6339}
6340
6341
c32bde28 6342static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6343 PyObject *obj;
6344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6345 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6346 Py_INCREF(obj);
6347 return Py_BuildValue((char *)"");
6348}
c32bde28 6349static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6350 PyObject *resultobj;
6351 wxBitmap *arg1 = 0 ;
6352 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 6353 int arg3 ;
d14a1e28
RD
6354 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6355 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6356 wxSize const &arg5_defvalue = wxDefaultSize ;
6357 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6358 long arg6 = (long) wxNO_BORDER ;
6359 wxSplashScreenWindow *result;
6360 wxPoint temp4 ;
6361 wxSize temp5 ;
6362 PyObject * obj0 = 0 ;
6363 PyObject * obj1 = 0 ;
994141e6 6364 PyObject * obj2 = 0 ;
d14a1e28
RD
6365 PyObject * obj3 = 0 ;
6366 PyObject * obj4 = 0 ;
994141e6 6367 PyObject * obj5 = 0 ;
d14a1e28
RD
6368 char *kwnames[] = {
6369 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6370 };
6371
994141e6 6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6373 {
6374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6375 if (SWIG_arg_fail(1)) SWIG_fail;
6376 if (arg1 == NULL) {
6377 SWIG_null_ref("wxBitmap");
6378 }
6379 if (SWIG_arg_fail(1)) SWIG_fail;
6380 }
6381 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6382 if (SWIG_arg_fail(2)) SWIG_fail;
6383 {
6384 arg3 = (int)(SWIG_As_int(obj2));
6385 if (SWIG_arg_fail(3)) SWIG_fail;
6386 }
d14a1e28
RD
6387 if (obj3) {
6388 {
6389 arg4 = &temp4;
6390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6391 }
6392 }
6393 if (obj4) {
6394 {
6395 arg5 = &temp5;
6396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6397 }
6398 }
994141e6 6399 if (obj5) {
093d3ff1
RD
6400 {
6401 arg6 = (long)(SWIG_As_long(obj5));
6402 if (SWIG_arg_fail(6)) SWIG_fail;
6403 }
994141e6 6404 }
d14a1e28 6405 {
e3b71cb8 6406 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6407 PyThreadState* __tstate = wxPyBeginAllowThreads();
6408 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6409
6410 wxPyEndAllowThreads(__tstate);
110da5b0 6411 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6412 }
15afbcd0 6413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
d14a1e28
RD
6414 return resultobj;
6415 fail:
6416 return NULL;
6417}
6418
6419
c32bde28 6420static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6421 PyObject *resultobj;
6422 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6423 wxBitmap *arg2 = 0 ;
6424 PyObject * obj0 = 0 ;
6425 PyObject * obj1 = 0 ;
6426 char *kwnames[] = {
6427 (char *) "self",(char *) "bitmap", NULL
6428 };
6429
6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6432 if (SWIG_arg_fail(1)) SWIG_fail;
6433 {
6434 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6435 if (SWIG_arg_fail(2)) SWIG_fail;
6436 if (arg2 == NULL) {
6437 SWIG_null_ref("wxBitmap");
6438 }
6439 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6440 }
6441 {
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6444
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 Py_INCREF(Py_None); resultobj = Py_None;
6449 return resultobj;
6450 fail:
6451 return NULL;
6452}
6453
6454
c32bde28 6455static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6456 PyObject *resultobj;
6457 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6458 wxBitmap *result;
6459 PyObject * obj0 = 0 ;
6460 char *kwnames[] = {
6461 (char *) "self", NULL
6462 };
6463
6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
6465 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6466 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 {
6470 wxBitmap &_result_ref = (arg1)->GetBitmap();
6471 result = (wxBitmap *) &_result_ref;
6472 }
6473
6474 wxPyEndAllowThreads(__tstate);
6475 if (PyErr_Occurred()) SWIG_fail;
6476 }
4276dc52
RD
6477 {
6478 wxBitmap* resultptr = new wxBitmap(*result);
6479 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6480 }
d14a1e28
RD
6481 return resultobj;
6482 fail:
6483 return NULL;
6484}
6485
6486
c32bde28 6487static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6488 PyObject *obj;
6489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6490 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6491 Py_INCREF(obj);
6492 return Py_BuildValue((char *)"");
6493}
c32bde28 6494static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6495 PyObject *resultobj;
6496 wxBitmap *arg1 = 0 ;
6497 long arg2 ;
6498 int arg3 ;
6499 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 6500 int arg5 = (int) -1 ;
d14a1e28
RD
6501 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6502 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6503 wxSize const &arg7_defvalue = wxDefaultSize ;
6504 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6505 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6506 wxSplashScreen *result;
6507 wxPoint temp6 ;
6508 wxSize temp7 ;
6509 PyObject * obj0 = 0 ;
994141e6
RD
6510 PyObject * obj1 = 0 ;
6511 PyObject * obj2 = 0 ;
d14a1e28 6512 PyObject * obj3 = 0 ;
994141e6 6513 PyObject * obj4 = 0 ;
d14a1e28
RD
6514 PyObject * obj5 = 0 ;
6515 PyObject * obj6 = 0 ;
994141e6 6516 PyObject * obj7 = 0 ;
d14a1e28
RD
6517 char *kwnames[] = {
6518 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6519 };
6520
248ed943 6521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6522 {
6523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6524 if (SWIG_arg_fail(1)) SWIG_fail;
6525 if (arg1 == NULL) {
6526 SWIG_null_ref("wxBitmap");
6527 }
6528 if (SWIG_arg_fail(1)) SWIG_fail;
6529 }
6530 {
6531 arg2 = (long)(SWIG_As_long(obj1));
6532 if (SWIG_arg_fail(2)) SWIG_fail;
6533 }
6534 {
6535 arg3 = (int)(SWIG_As_int(obj2));
6536 if (SWIG_arg_fail(3)) SWIG_fail;
6537 }
6538 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6539 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 6540 if (obj4) {
093d3ff1
RD
6541 {
6542 arg5 = (int)(SWIG_As_int(obj4));
6543 if (SWIG_arg_fail(5)) SWIG_fail;
6544 }
248ed943 6545 }
d14a1e28
RD
6546 if (obj5) {
6547 {
6548 arg6 = &temp6;
6549 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6550 }
6551 }
6552 if (obj6) {
6553 {
6554 arg7 = &temp7;
6555 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6556 }
6557 }
994141e6 6558 if (obj7) {
093d3ff1
RD
6559 {
6560 arg8 = (long)(SWIG_As_long(obj7));
6561 if (SWIG_arg_fail(8)) SWIG_fail;
6562 }
994141e6 6563 }
d14a1e28 6564 {
e3b71cb8 6565 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6568
6569 wxPyEndAllowThreads(__tstate);
110da5b0 6570 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6571 }
15afbcd0 6572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
d14a1e28
RD
6573 return resultobj;
6574 fail:
6575 return NULL;
6576}
6577
6578
c32bde28 6579static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6580 PyObject *resultobj;
6581 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6582 long result;
6583 PyObject * obj0 = 0 ;
6584 char *kwnames[] = {
6585 (char *) "self", NULL
6586 };
6587
6588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
6589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6590 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6594
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
093d3ff1
RD
6598 {
6599 resultobj = SWIG_From_long((long)(result));
6600 }
d14a1e28
RD
6601 return resultobj;
6602 fail:
6603 return NULL;
6604}
6605
6606
c32bde28 6607static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6608 PyObject *resultobj;
6609 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6610 wxSplashScreenWindow *result;
6611 PyObject * obj0 = 0 ;
6612 char *kwnames[] = {
6613 (char *) "self", NULL
6614 };
6615
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6618 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6619 {
6620 PyThreadState* __tstate = wxPyBeginAllowThreads();
6621 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6622
6623 wxPyEndAllowThreads(__tstate);
6624 if (PyErr_Occurred()) SWIG_fail;
6625 }
15afbcd0 6626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
d14a1e28
RD
6627 return resultobj;
6628 fail:
6629 return NULL;
6630}
6631
6632
c32bde28 6633static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6634 PyObject *resultobj;
6635 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6636 int result;
6637 PyObject * obj0 = 0 ;
6638 char *kwnames[] = {
6639 (char *) "self", NULL
6640 };
6641
6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
093d3ff1
RD
6643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6644 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6645 {
6646 PyThreadState* __tstate = wxPyBeginAllowThreads();
6647 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6648
6649 wxPyEndAllowThreads(__tstate);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
093d3ff1
RD
6652 {
6653 resultobj = SWIG_From_int((int)(result));
6654 }
d14a1e28
RD
6655 return resultobj;
6656 fail:
6657 return NULL;
6658}
6659
6660
c32bde28 6661static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6662 PyObject *obj;
6663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6664 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6665 Py_INCREF(obj);
6666 return Py_BuildValue((char *)"");
6667}
c32bde28 6668static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6669 PyObject *resultobj;
6670 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 6671 int arg2 = (int) -1 ;
6d88e192 6672 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
d14a1e28
RD
6673 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6674 wxString *arg4 = (wxString *) &arg4_defvalue ;
6675 wxStatusBar *result;
ae8162c8 6676 bool temp4 = false ;
d14a1e28 6677 PyObject * obj0 = 0 ;
994141e6
RD
6678 PyObject * obj1 = 0 ;
6679 PyObject * obj2 = 0 ;
d14a1e28
RD
6680 PyObject * obj3 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6683 };
6684
994141e6 6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6687 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 6688 if (obj1) {
093d3ff1
RD
6689 {
6690 arg2 = (int)(SWIG_As_int(obj1));
6691 if (SWIG_arg_fail(2)) SWIG_fail;
6692 }
994141e6
RD
6693 }
6694 if (obj2) {
093d3ff1
RD
6695 {
6696 arg3 = (long)(SWIG_As_long(obj2));
6697 if (SWIG_arg_fail(3)) SWIG_fail;
6698 }
994141e6 6699 }
d14a1e28
RD
6700 if (obj3) {
6701 {
6702 arg4 = wxString_in_helper(obj3);
6703 if (arg4 == NULL) SWIG_fail;
ae8162c8 6704 temp4 = true;
d14a1e28
RD
6705 }
6706 }
6707 {
e3b71cb8 6708 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6711
6712 wxPyEndAllowThreads(__tstate);
110da5b0 6713 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6714 }
b0f7404b 6715 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d14a1e28
RD
6716 {
6717 if (temp4)
6718 delete arg4;
6719 }
6720 return resultobj;
6721 fail:
6722 {
6723 if (temp4)
6724 delete arg4;
6725 }
6726 return NULL;
6727}
6728
6729
c32bde28 6730static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6731 PyObject *resultobj;
6732 wxStatusBar *result;
6733 char *kwnames[] = {
6734 NULL
6735 };
6736
6737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6738 {
e3b71cb8 6739 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6740 PyThreadState* __tstate = wxPyBeginAllowThreads();
6741 result = (wxStatusBar *)new wxStatusBar();
6742
6743 wxPyEndAllowThreads(__tstate);
110da5b0 6744 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6745 }
b0f7404b 6746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d14a1e28
RD
6747 return resultobj;
6748 fail:
6749 return NULL;
6750}
6751
6752
c32bde28 6753static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6754 PyObject *resultobj;
6755 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6756 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6757 int arg3 = (int) -1 ;
d14a1e28
RD
6758 long arg4 = (long) wxST_SIZEGRIP ;
6759 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6760 wxString *arg5 = (wxString *) &arg5_defvalue ;
6761 bool result;
ae8162c8 6762 bool temp5 = false ;
d14a1e28
RD
6763 PyObject * obj0 = 0 ;
6764 PyObject * obj1 = 0 ;
994141e6
RD
6765 PyObject * obj2 = 0 ;
6766 PyObject * obj3 = 0 ;
d14a1e28
RD
6767 PyObject * obj4 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6770 };
6771
248ed943 6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6774 if (SWIG_arg_fail(1)) SWIG_fail;
6775 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6776 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6777 if (obj2) {
093d3ff1
RD
6778 {
6779 arg3 = (int)(SWIG_As_int(obj2));
6780 if (SWIG_arg_fail(3)) SWIG_fail;
6781 }
248ed943 6782 }
994141e6 6783 if (obj3) {
093d3ff1
RD
6784 {
6785 arg4 = (long)(SWIG_As_long(obj3));
6786 if (SWIG_arg_fail(4)) SWIG_fail;
6787 }
994141e6 6788 }
d14a1e28
RD
6789 if (obj4) {
6790 {
6791 arg5 = wxString_in_helper(obj4);
6792 if (arg5 == NULL) SWIG_fail;
ae8162c8 6793 temp5 = true;
d14a1e28
RD
6794 }
6795 }
6796 {
6797 PyThreadState* __tstate = wxPyBeginAllowThreads();
6798 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6799
6800 wxPyEndAllowThreads(__tstate);
6801 if (PyErr_Occurred()) SWIG_fail;
6802 }
4f89f6a3
RD
6803 {
6804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6805 }
d14a1e28
RD
6806 {
6807 if (temp5)
6808 delete arg5;
6809 }
6810 return resultobj;
6811 fail:
6812 {
6813 if (temp5)
6814 delete arg5;
6815 }
6816 return NULL;
6817}
6818
6819
c32bde28 6820static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6821 PyObject *resultobj;
6822 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6823 int arg2 = (int) 1 ;
6824 PyObject * obj0 = 0 ;
994141e6 6825 PyObject * obj1 = 0 ;
d14a1e28
RD
6826 char *kwnames[] = {
6827 (char *) "self",(char *) "number", NULL
6828 };
6829
994141e6 6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6832 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 6833 if (obj1) {
093d3ff1
RD
6834 {
6835 arg2 = (int)(SWIG_As_int(obj1));
6836 if (SWIG_arg_fail(2)) SWIG_fail;
6837 }
994141e6 6838 }
d14a1e28
RD
6839 {
6840 PyThreadState* __tstate = wxPyBeginAllowThreads();
6841 (arg1)->SetFieldsCount(arg2);
6842
6843 wxPyEndAllowThreads(__tstate);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 }
6846 Py_INCREF(Py_None); resultobj = Py_None;
6847 return resultobj;
6848 fail:
6849 return NULL;
6850}
6851
6852
c32bde28 6853static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6854 PyObject *resultobj;
6855 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6856 int result;
6857 PyObject * obj0 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
6863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6864 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
093d3ff1
RD
6872 {
6873 resultobj = SWIG_From_int((int)(result));
6874 }
d14a1e28
RD
6875 return resultobj;
6876 fail:
6877 return NULL;
6878}
6879
6880
c32bde28 6881static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6882 PyObject *resultobj;
6883 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6884 wxString *arg2 = 0 ;
6885 int arg3 = (int) 0 ;
ae8162c8 6886 bool temp2 = false ;
d14a1e28
RD
6887 PyObject * obj0 = 0 ;
6888 PyObject * obj1 = 0 ;
994141e6 6889 PyObject * obj2 = 0 ;
d14a1e28
RD
6890 char *kwnames[] = {
6891 (char *) "self",(char *) "text",(char *) "number", NULL
6892 };
6893
994141e6 6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6896 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6897 {
6898 arg2 = wxString_in_helper(obj1);
6899 if (arg2 == NULL) SWIG_fail;
ae8162c8 6900 temp2 = true;
d14a1e28 6901 }
994141e6 6902 if (obj2) {
093d3ff1
RD
6903 {
6904 arg3 = (int)(SWIG_As_int(obj2));
6905 if (SWIG_arg_fail(3)) SWIG_fail;
6906 }
994141e6 6907 }
d14a1e28
RD
6908 {
6909 PyThreadState* __tstate = wxPyBeginAllowThreads();
6910 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6911
6912 wxPyEndAllowThreads(__tstate);
6913 if (PyErr_Occurred()) SWIG_fail;
6914 }
6915 Py_INCREF(Py_None); resultobj = Py_None;
6916 {
6917 if (temp2)
6918 delete arg2;
6919 }
6920 return resultobj;
6921 fail:
6922 {
6923 if (temp2)
6924 delete arg2;
6925 }
6926 return NULL;
6927}
6928
6929
c32bde28 6930static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6931 PyObject *resultobj;
6932 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6933 int arg2 = (int) 0 ;
6934 wxString result;
6935 PyObject * obj0 = 0 ;
994141e6 6936 PyObject * obj1 = 0 ;
d14a1e28
RD
6937 char *kwnames[] = {
6938 (char *) "self",(char *) "number", NULL
6939 };
6940
994141e6 6941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) 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;
994141e6 6944 if (obj1) {
093d3ff1
RD
6945 {
6946 arg2 = (int)(SWIG_As_int(obj1));
6947 if (SWIG_arg_fail(2)) SWIG_fail;
6948 }
994141e6 6949 }
d14a1e28
RD
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6953
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 {
6958#if wxUSE_UNICODE
6959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6960#else
6961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6962#endif
6963 }
6964 return resultobj;
6965 fail:
6966 return NULL;
6967}
6968
6969
c32bde28 6970static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6971 PyObject *resultobj;
6972 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6973 wxString *arg2 = 0 ;
6974 int arg3 = (int) 0 ;
ae8162c8 6975 bool temp2 = false ;
d14a1e28
RD
6976 PyObject * obj0 = 0 ;
6977 PyObject * obj1 = 0 ;
994141e6 6978 PyObject * obj2 = 0 ;
d14a1e28
RD
6979 char *kwnames[] = {
6980 (char *) "self",(char *) "text",(char *) "number", NULL
6981 };
6982
994141e6 6983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6985 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6986 {
6987 arg2 = wxString_in_helper(obj1);
6988 if (arg2 == NULL) SWIG_fail;
ae8162c8 6989 temp2 = true;
d14a1e28 6990 }
994141e6 6991 if (obj2) {
093d3ff1
RD
6992 {
6993 arg3 = (int)(SWIG_As_int(obj2));
6994 if (SWIG_arg_fail(3)) SWIG_fail;
6995 }
994141e6 6996 }
d14a1e28
RD
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 Py_INCREF(Py_None); resultobj = Py_None;
7005 {
7006 if (temp2)
7007 delete arg2;
7008 }
7009 return resultobj;
7010 fail:
7011 {
7012 if (temp2)
7013 delete arg2;
7014 }
7015 return NULL;
7016}
7017
7018
c32bde28 7019static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7020 PyObject *resultobj;
7021 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7022 int arg2 = (int) 0 ;
7023 PyObject * obj0 = 0 ;
994141e6 7024 PyObject * obj1 = 0 ;
d14a1e28
RD
7025 char *kwnames[] = {
7026 (char *) "self",(char *) "number", NULL
7027 };
7028
994141e6 7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7031 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 7032 if (obj1) {
093d3ff1
RD
7033 {
7034 arg2 = (int)(SWIG_As_int(obj1));
7035 if (SWIG_arg_fail(2)) SWIG_fail;
7036 }
994141e6 7037 }
d14a1e28
RD
7038 {
7039 PyThreadState* __tstate = wxPyBeginAllowThreads();
7040 (arg1)->PopStatusText(arg2);
7041
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 Py_INCREF(Py_None); resultobj = Py_None;
7046 return resultobj;
7047 fail:
7048 return NULL;
7049}
7050
7051
c32bde28 7052static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7053 PyObject *resultobj;
7054 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7055 int arg2 ;
7056 int *arg3 = (int *) 0 ;
7057 PyObject * obj0 = 0 ;
7058 PyObject * obj1 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "self",(char *) "widths", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7065 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7066 {
7067 arg2 = PyList_Size(obj1);
7068 arg3 = int_LIST_helper(obj1);
7069 if (arg3 == NULL) SWIG_fail;
7070 }
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7074
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 Py_INCREF(Py_None); resultobj = Py_None;
7079 {
7080 if (arg3) delete [] arg3;
7081 }
7082 return resultobj;
7083 fail:
7084 {
7085 if (arg3) delete [] arg3;
7086 }
7087 return NULL;
7088}
7089
7090
c32bde28 7091static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
f16ab95d
RD
7092 PyObject *resultobj;
7093 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7094 int arg2 ;
7095 int *arg3 = (int *) 0 ;
7096 PyObject * obj0 = 0 ;
7097 PyObject * obj1 = 0 ;
7098 char *kwnames[] = {
7099 (char *) "self",(char *) "styles", NULL
7100 };
7101
7102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7104 if (SWIG_arg_fail(1)) SWIG_fail;
f16ab95d
RD
7105 {
7106 arg2 = PyList_Size(obj1);
7107 arg3 = int_LIST_helper(obj1);
7108 if (arg3 == NULL) SWIG_fail;
7109 }
7110 {
7111 PyThreadState* __tstate = wxPyBeginAllowThreads();
7112 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7113
7114 wxPyEndAllowThreads(__tstate);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 }
7117 Py_INCREF(Py_None); resultobj = Py_None;
7118 {
7119 if (arg3) delete [] arg3;
7120 }
7121 return resultobj;
7122 fail:
7123 {
7124 if (arg3) delete [] arg3;
7125 }
7126 return NULL;
7127}
7128
7129
c32bde28 7130static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7131 PyObject *resultobj;
7132 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7133 int arg2 ;
7722248d 7134 wxRect result;
d14a1e28 7135 PyObject * obj0 = 0 ;
994141e6 7136 PyObject * obj1 = 0 ;
d14a1e28 7137 char *kwnames[] = {
7722248d 7138 (char *) "self",(char *) "i", NULL
d14a1e28
RD
7139 };
7140
994141e6 7141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7143 if (SWIG_arg_fail(1)) SWIG_fail;
7144 {
7145 arg2 = (int)(SWIG_As_int(obj1));
7146 if (SWIG_arg_fail(2)) SWIG_fail;
7147 }
d14a1e28
RD
7148 {
7149 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 7150 result = wxStatusBar_GetFieldRect(arg1,arg2);
d14a1e28
RD
7151
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7722248d
RD
7155 {
7156 wxRect * resultptr;
093d3ff1 7157 resultptr = new wxRect((wxRect &)(result));
15afbcd0 7158 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7722248d 7159 }
d14a1e28
RD
7160 return resultobj;
7161 fail:
7162 return NULL;
7163}
7164
7165
c32bde28 7166static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7167 PyObject *resultobj;
7168 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7169 int arg2 ;
7170 PyObject * obj0 = 0 ;
994141e6 7171 PyObject * obj1 = 0 ;
d14a1e28
RD
7172 char *kwnames[] = {
7173 (char *) "self",(char *) "height", NULL
7174 };
7175
994141e6 7176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7178 if (SWIG_arg_fail(1)) SWIG_fail;
7179 {
7180 arg2 = (int)(SWIG_As_int(obj1));
7181 if (SWIG_arg_fail(2)) SWIG_fail;
7182 }
d14a1e28
RD
7183 {
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 (arg1)->SetMinHeight(arg2);
7186
7187 wxPyEndAllowThreads(__tstate);
7188 if (PyErr_Occurred()) SWIG_fail;
7189 }
7190 Py_INCREF(Py_None); resultobj = Py_None;
7191 return resultobj;
7192 fail:
7193 return NULL;
7194}
7195
7196
c32bde28 7197static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7198 PyObject *resultobj;
7199 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7200 int result;
7201 PyObject * obj0 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "self", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
093d3ff1
RD
7207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7208 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
093d3ff1
RD
7216 {
7217 resultobj = SWIG_From_int((int)(result));
7218 }
d14a1e28
RD
7219 return resultobj;
7220 fail:
7221 return NULL;
7222}
7223
7224
c32bde28 7225static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7226 PyObject *resultobj;
7227 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7228 int result;
7229 PyObject * obj0 = 0 ;
7230 char *kwnames[] = {
7231 (char *) "self", NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
093d3ff1
RD
7235 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7236 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
093d3ff1
RD
7244 {
7245 resultobj = SWIG_From_int((int)(result));
7246 }
d14a1e28
RD
7247 return resultobj;
7248 fail:
7249 return NULL;
7250}
7251
7252
c32bde28 7253static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 7254 PyObject *resultobj;
093d3ff1 7255 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
7256 wxVisualAttributes result;
7257 PyObject * obj0 = 0 ;
7258 char *kwnames[] = {
7259 (char *) "variant", NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7263 if (obj0) {
093d3ff1
RD
7264 {
7265 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7266 if (SWIG_arg_fail(1)) SWIG_fail;
7267 }
22bfe96c
RD
7268 }
7269 {
e3b71cb8 7270 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
7272 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7273
7274 wxPyEndAllowThreads(__tstate);
110da5b0 7275 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
7276 }
7277 {
7278 wxVisualAttributes * resultptr;
093d3ff1 7279 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
7280 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7281 }
7282 return resultobj;
7283 fail:
7284 return NULL;
7285}
7286
7287
c32bde28 7288static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7289 PyObject *obj;
7290 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7291 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7292 Py_INCREF(obj);
7293 return Py_BuildValue((char *)"");
7294}
c32bde28 7295static int _wrap_SplitterNameStr_set(PyObject *) {
b2dc1044
RD
7296 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7297 return 1;
7298}
7299
7300
093d3ff1 7301static PyObject *_wrap_SplitterNameStr_get(void) {
b2dc1044
RD
7302 PyObject *pyobj;
7303
7304 {
7305#if wxUSE_UNICODE
7306 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7307#else
7308 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7309#endif
7310 }
7311 return pyobj;
7312}
7313
7314
c32bde28 7315static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7316 PyObject *resultobj;
7317 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 7318 int arg2 = (int) -1 ;
d14a1e28
RD
7319 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7320 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7321 wxSize const &arg4_defvalue = wxDefaultSize ;
7322 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7323 long arg5 = (long) wxSP_3D ;
7324 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7325 wxString *arg6 = (wxString *) &arg6_defvalue ;
7326 wxSplitterWindow *result;
7327 wxPoint temp3 ;
7328 wxSize temp4 ;
ae8162c8 7329 bool temp6 = false ;
d14a1e28 7330 PyObject * obj0 = 0 ;
994141e6 7331 PyObject * obj1 = 0 ;
d14a1e28
RD
7332 PyObject * obj2 = 0 ;
7333 PyObject * obj3 = 0 ;
994141e6 7334 PyObject * obj4 = 0 ;
d14a1e28
RD
7335 PyObject * obj5 = 0 ;
7336 char *kwnames[] = {
994141e6 7337 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
7338 };
7339
74a57fcd 7340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7342 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd 7343 if (obj1) {
093d3ff1
RD
7344 {
7345 arg2 = (int)(SWIG_As_int(obj1));
7346 if (SWIG_arg_fail(2)) SWIG_fail;
7347 }
74a57fcd 7348 }
d14a1e28
RD
7349 if (obj2) {
7350 {
7351 arg3 = &temp3;
7352 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7353 }
7354 }
7355 if (obj3) {
7356 {
7357 arg4 = &temp4;
7358 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7359 }
7360 }
15afbcd0 7361 if (obj4) {
093d3ff1
RD
7362 {
7363 arg5 = (long)(SWIG_As_long(obj4));
7364 if (SWIG_arg_fail(5)) SWIG_fail;
7365 }
994141e6 7366 }
d14a1e28
RD
7367 if (obj5) {
7368 {
7369 arg6 = wxString_in_helper(obj5);
7370 if (arg6 == NULL) SWIG_fail;
ae8162c8 7371 temp6 = true;
d14a1e28
RD
7372 }
7373 }
7374 {
e3b71cb8 7375 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7376 PyThreadState* __tstate = wxPyBeginAllowThreads();
7377 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7378
7379 wxPyEndAllowThreads(__tstate);
110da5b0 7380 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7381 }
15afbcd0 7382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
7383 {
7384 if (temp6)
7385 delete arg6;
7386 }
7387 return resultobj;
7388 fail:
7389 {
7390 if (temp6)
7391 delete arg6;
7392 }
7393 return NULL;
7394}
7395
7396
c32bde28 7397static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7398 PyObject *resultobj;
7399 wxSplitterWindow *result;
7400 char *kwnames[] = {
7401 NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7405 {
e3b71cb8 7406 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 result = (wxSplitterWindow *)new wxSplitterWindow();
7409
7410 wxPyEndAllowThreads(__tstate);
110da5b0 7411 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7412 }
15afbcd0 7413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
7414 return resultobj;
7415 fail:
7416 return NULL;
7417}
7418
7419
c32bde28 7420static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7421 PyObject *resultobj;
7422 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7423 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 7424 int arg3 = (int) -1 ;
d14a1e28
RD
7425 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7426 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7427 wxSize const &arg5_defvalue = wxDefaultSize ;
7428 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7429 long arg6 = (long) wxSP_3D ;
7430 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7431 wxString *arg7 = (wxString *) &arg7_defvalue ;
7432 bool result;
7433 wxPoint temp4 ;
7434 wxSize temp5 ;
ae8162c8 7435 bool temp7 = false ;
d14a1e28
RD
7436 PyObject * obj0 = 0 ;
7437 PyObject * obj1 = 0 ;
994141e6 7438 PyObject * obj2 = 0 ;
d14a1e28
RD
7439 PyObject * obj3 = 0 ;
7440 PyObject * obj4 = 0 ;
994141e6 7441 PyObject * obj5 = 0 ;
d14a1e28
RD
7442 PyObject * obj6 = 0 ;
7443 char *kwnames[] = {
994141e6 7444 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
7445 };
7446
74a57fcd 7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7449 if (SWIG_arg_fail(1)) SWIG_fail;
7450 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7451 if (SWIG_arg_fail(2)) SWIG_fail;
74a57fcd 7452 if (obj2) {
093d3ff1
RD
7453 {
7454 arg3 = (int)(SWIG_As_int(obj2));
7455 if (SWIG_arg_fail(3)) SWIG_fail;
7456 }
74a57fcd 7457 }
d14a1e28
RD
7458 if (obj3) {
7459 {
7460 arg4 = &temp4;
7461 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7462 }
7463 }
7464 if (obj4) {
7465 {
7466 arg5 = &temp5;
7467 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7468 }
7469 }
994141e6 7470 if (obj5) {
093d3ff1
RD
7471 {
7472 arg6 = (long)(SWIG_As_long(obj5));
7473 if (SWIG_arg_fail(6)) SWIG_fail;
7474 }
994141e6 7475 }
d14a1e28
RD
7476 if (obj6) {
7477 {
7478 arg7 = wxString_in_helper(obj6);
7479 if (arg7 == NULL) SWIG_fail;
ae8162c8 7480 temp7 = true;
d14a1e28
RD
7481 }
7482 }
7483 {
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7486
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
4f89f6a3
RD
7490 {
7491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7492 }
d14a1e28
RD
7493 {
7494 if (temp7)
7495 delete arg7;
7496 }
7497 return resultobj;
7498 fail:
7499 {
7500 if (temp7)
7501 delete arg7;
7502 }
7503 return NULL;
7504}
7505
7506
c32bde28 7507static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7508 PyObject *resultobj;
7509 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7510 wxWindow *result;
7511 PyObject * obj0 = 0 ;
7512 char *kwnames[] = {
7513 (char *) "self", NULL
7514 };
7515
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
093d3ff1
RD
7517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7518 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7519 {
7520 PyThreadState* __tstate = wxPyBeginAllowThreads();
7521 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7522
7523 wxPyEndAllowThreads(__tstate);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 }
7526 {
412d302d 7527 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7528 }
7529 return resultobj;
7530 fail:
7531 return NULL;
7532}
7533
7534
c32bde28 7535static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7536 PyObject *resultobj;
7537 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7538 wxWindow *result;
7539 PyObject * obj0 = 0 ;
7540 char *kwnames[] = {
7541 (char *) "self", NULL
7542 };
7543
7544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
093d3ff1
RD
7545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7546 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7547 {
7548 PyThreadState* __tstate = wxPyBeginAllowThreads();
7549 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7550
7551 wxPyEndAllowThreads(__tstate);
7552 if (PyErr_Occurred()) SWIG_fail;
7553 }
7554 {
412d302d 7555 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7556 }
7557 return resultobj;
7558 fail:
7559 return NULL;
7560}
7561
7562
c32bde28 7563static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7564 PyObject *resultobj;
7565 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7566 int arg2 ;
7567 PyObject * obj0 = 0 ;
994141e6 7568 PyObject * obj1 = 0 ;
d14a1e28
RD
7569 char *kwnames[] = {
7570 (char *) "self",(char *) "mode", NULL
7571 };
7572
994141e6 7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7575 if (SWIG_arg_fail(1)) SWIG_fail;
7576 {
7577 arg2 = (int)(SWIG_As_int(obj1));
7578 if (SWIG_arg_fail(2)) SWIG_fail;
7579 }
d14a1e28
RD
7580 {
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 (arg1)->SetSplitMode(arg2);
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 Py_INCREF(Py_None); resultobj = Py_None;
7588 return resultobj;
7589 fail:
7590 return NULL;
7591}
7592
7593
c32bde28 7594static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7595 PyObject *resultobj;
7596 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
093d3ff1 7597 wxSplitMode result;
d14a1e28
RD
7598 PyObject * obj0 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "self", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
7604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7605 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7606 {
7607 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7608 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
d14a1e28
RD
7609
7610 wxPyEndAllowThreads(__tstate);
7611 if (PyErr_Occurred()) SWIG_fail;
7612 }
093d3ff1 7613 resultobj = SWIG_From_int((result));
d14a1e28
RD
7614 return resultobj;
7615 fail:
7616 return NULL;
7617}
7618
7619
c32bde28 7620static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7621 PyObject *resultobj;
7622 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7623 wxWindow *arg2 = (wxWindow *) 0 ;
7624 PyObject * obj0 = 0 ;
7625 PyObject * obj1 = 0 ;
7626 char *kwnames[] = {
7627 (char *) "self",(char *) "window", NULL
7628 };
7629
7630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7632 if (SWIG_arg_fail(1)) SWIG_fail;
7633 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7634 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 (arg1)->Initialize(arg2);
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 Py_INCREF(Py_None); resultobj = Py_None;
7643 return resultobj;
7644 fail:
7645 return NULL;
7646}
7647
7648
c32bde28 7649static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7650 PyObject *resultobj;
7651 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7652 wxWindow *arg2 = (wxWindow *) 0 ;
7653 wxWindow *arg3 = (wxWindow *) 0 ;
7654 int arg4 = (int) 0 ;
7655 bool result;
7656 PyObject * obj0 = 0 ;
7657 PyObject * obj1 = 0 ;
7658 PyObject * obj2 = 0 ;
994141e6 7659 PyObject * obj3 = 0 ;
d14a1e28
RD
7660 char *kwnames[] = {
7661 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7662 };
7663
994141e6 7664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7666 if (SWIG_arg_fail(1)) SWIG_fail;
7667 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7668 if (SWIG_arg_fail(2)) SWIG_fail;
7669 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7670 if (SWIG_arg_fail(3)) SWIG_fail;
994141e6 7671 if (obj3) {
093d3ff1
RD
7672 {
7673 arg4 = (int)(SWIG_As_int(obj3));
7674 if (SWIG_arg_fail(4)) SWIG_fail;
7675 }
994141e6 7676 }
d14a1e28
RD
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7679 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7680
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
4f89f6a3
RD
7684 {
7685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7686 }
d14a1e28
RD
7687 return resultobj;
7688 fail:
7689 return NULL;
7690}
7691
7692
c32bde28 7693static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7694 PyObject *resultobj;
7695 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7696 wxWindow *arg2 = (wxWindow *) 0 ;
7697 wxWindow *arg3 = (wxWindow *) 0 ;
7698 int arg4 = (int) 0 ;
7699 bool result;
7700 PyObject * obj0 = 0 ;
7701 PyObject * obj1 = 0 ;
7702 PyObject * obj2 = 0 ;
994141e6 7703 PyObject * obj3 = 0 ;
d14a1e28
RD
7704 char *kwnames[] = {
7705 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7706 };
7707
994141e6 7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7710 if (SWIG_arg_fail(1)) SWIG_fail;
7711 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7712 if (SWIG_arg_fail(2)) SWIG_fail;
7713 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7714 if (SWIG_arg_fail(3)) SWIG_fail;
994141e6 7715 if (obj3) {
093d3ff1
RD
7716 {
7717 arg4 = (int)(SWIG_As_int(obj3));
7718 if (SWIG_arg_fail(4)) SWIG_fail;
7719 }
994141e6 7720 }
d14a1e28
RD
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7724
7725 wxPyEndAllowThreads(__tstate);
7726 if (PyErr_Occurred()) SWIG_fail;
7727 }
4f89f6a3
RD
7728 {
7729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7730 }
d14a1e28
RD
7731 return resultobj;
7732 fail:
7733 return NULL;
7734}
7735
7736
c32bde28 7737static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7738 PyObject *resultobj;
7739 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7740 wxWindow *arg2 = (wxWindow *) NULL ;
7741 bool result;
7742 PyObject * obj0 = 0 ;
7743 PyObject * obj1 = 0 ;
7744 char *kwnames[] = {
7745 (char *) "self",(char *) "toRemove", NULL
7746 };
7747
7748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7750 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7751 if (obj1) {
093d3ff1
RD
7752 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7753 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7754 }
7755 {
7756 PyThreadState* __tstate = wxPyBeginAllowThreads();
7757 result = (bool)(arg1)->Unsplit(arg2);
7758
7759 wxPyEndAllowThreads(__tstate);
7760 if (PyErr_Occurred()) SWIG_fail;
7761 }
4f89f6a3
RD
7762 {
7763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7764 }
d14a1e28
RD
7765 return resultobj;
7766 fail:
7767 return NULL;
7768}
7769
7770
c32bde28 7771static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7772 PyObject *resultobj;
7773 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7774 wxWindow *arg2 = (wxWindow *) 0 ;
7775 wxWindow *arg3 = (wxWindow *) 0 ;
7776 bool result;
7777 PyObject * obj0 = 0 ;
7778 PyObject * obj1 = 0 ;
7779 PyObject * obj2 = 0 ;
7780 char *kwnames[] = {
7781 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7782 };
7783
7784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7786 if (SWIG_arg_fail(1)) SWIG_fail;
7787 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7788 if (SWIG_arg_fail(2)) SWIG_fail;
7789 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7790 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
4f89f6a3
RD
7798 {
7799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7800 }
d14a1e28
RD
7801 return resultobj;
7802 fail:
7803 return NULL;
7804}
7805
7806
c32bde28 7807static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
d00d1b88
RD
7808 PyObject *resultobj;
7809 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7810 PyObject * obj0 = 0 ;
7811 char *kwnames[] = {
7812 (char *) "self", NULL
7813 };
7814
7815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7817 if (SWIG_arg_fail(1)) SWIG_fail;
d00d1b88
RD
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 (arg1)->UpdateSize();
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 Py_INCREF(Py_None); resultobj = Py_None;
7826 return resultobj;
7827 fail:
7828 return NULL;
7829}
7830
7831
c32bde28 7832static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7833 PyObject *resultobj;
7834 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7835 bool result;
7836 PyObject * obj0 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "self", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
093d3ff1
RD
7842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7843 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7844 {
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7847
7848 wxPyEndAllowThreads(__tstate);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 }
4f89f6a3
RD
7851 {
7852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7853 }
d14a1e28
RD
7854 return resultobj;
7855 fail:
7856 return NULL;
7857}
7858
7859
c32bde28 7860static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7861 PyObject *resultobj;
7862 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7863 int arg2 ;
7864 PyObject * obj0 = 0 ;
994141e6 7865 PyObject * obj1 = 0 ;
d14a1e28
RD
7866 char *kwnames[] = {
7867 (char *) "self",(char *) "width", NULL
7868 };
7869
994141e6 7870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7872 if (SWIG_arg_fail(1)) SWIG_fail;
7873 {
7874 arg2 = (int)(SWIG_As_int(obj1));
7875 if (SWIG_arg_fail(2)) SWIG_fail;
7876 }
d14a1e28
RD
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 (arg1)->SetSashSize(arg2);
7880
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 Py_INCREF(Py_None); resultobj = Py_None;
7885 return resultobj;
7886 fail:
7887 return NULL;
7888}
7889
7890
c32bde28 7891static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7892 PyObject *resultobj;
7893 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7894 int arg2 ;
7895 PyObject * obj0 = 0 ;
994141e6 7896 PyObject * obj1 = 0 ;
d14a1e28
RD
7897 char *kwnames[] = {
7898 (char *) "self",(char *) "width", NULL
7899 };
7900
994141e6 7901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7903 if (SWIG_arg_fail(1)) SWIG_fail;
7904 {
7905 arg2 = (int)(SWIG_As_int(obj1));
7906 if (SWIG_arg_fail(2)) SWIG_fail;
7907 }
d14a1e28
RD
7908 {
7909 PyThreadState* __tstate = wxPyBeginAllowThreads();
7910 (arg1)->SetBorderSize(arg2);
7911
7912 wxPyEndAllowThreads(__tstate);
7913 if (PyErr_Occurred()) SWIG_fail;
7914 }
7915 Py_INCREF(Py_None); resultobj = Py_None;
7916 return resultobj;
7917 fail:
7918 return NULL;
7919}
7920
7921
c32bde28 7922static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7923 PyObject *resultobj;
7924 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7925 int result;
7926 PyObject * obj0 = 0 ;
7927 char *kwnames[] = {
7928 (char *) "self", NULL
7929 };
7930
7931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7933 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7934 {
7935 PyThreadState* __tstate = wxPyBeginAllowThreads();
7936 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7937
7938 wxPyEndAllowThreads(__tstate);
7939 if (PyErr_Occurred()) SWIG_fail;
7940 }
093d3ff1
RD
7941 {
7942 resultobj = SWIG_From_int((int)(result));
7943 }
d14a1e28
RD
7944 return resultobj;
7945 fail:
7946 return NULL;
7947}
7948
7949
c32bde28 7950static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7951 PyObject *resultobj;
7952 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7953 int result;
7954 PyObject * obj0 = 0 ;
7955 char *kwnames[] = {
7956 (char *) "self", NULL
7957 };
7958
7959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7961 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
093d3ff1
RD
7969 {
7970 resultobj = SWIG_From_int((int)(result));
7971 }
d14a1e28
RD
7972 return resultobj;
7973 fail:
7974 return NULL;
7975}
7976
7977
c32bde28 7978static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7979 PyObject *resultobj;
7980 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7981 int arg2 ;
ae8162c8 7982 bool arg3 = (bool) true ;
d14a1e28 7983 PyObject * obj0 = 0 ;
994141e6 7984 PyObject * obj1 = 0 ;
d14a1e28
RD
7985 PyObject * obj2 = 0 ;
7986 char *kwnames[] = {
7987 (char *) "self",(char *) "position",(char *) "redraw", NULL
7988 };
7989
994141e6 7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7992 if (SWIG_arg_fail(1)) SWIG_fail;
7993 {
7994 arg2 = (int)(SWIG_As_int(obj1));
7995 if (SWIG_arg_fail(2)) SWIG_fail;
7996 }
d14a1e28 7997 if (obj2) {
093d3ff1
RD
7998 {
7999 arg3 = (bool)(SWIG_As_bool(obj2));
8000 if (SWIG_arg_fail(3)) SWIG_fail;
8001 }
d14a1e28
RD
8002 }
8003 {
8004 PyThreadState* __tstate = wxPyBeginAllowThreads();
8005 (arg1)->SetSashPosition(arg2,arg3);
8006
8007 wxPyEndAllowThreads(__tstate);
8008 if (PyErr_Occurred()) SWIG_fail;
8009 }
8010 Py_INCREF(Py_None); resultobj = Py_None;
8011 return resultobj;
8012 fail:
8013 return NULL;
8014}
8015
8016
c32bde28 8017static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8018 PyObject *resultobj;
8019 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8020 int result;
8021 PyObject * obj0 = 0 ;
8022 char *kwnames[] = {
8023 (char *) "self", NULL
8024 };
8025
8026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8028 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) SWIG_fail;
8035 }
093d3ff1
RD
8036 {
8037 resultobj = SWIG_From_int((int)(result));
8038 }
d14a1e28
RD
8039 return resultobj;
8040 fail:
8041 return NULL;
8042}
8043
8044
5cbf236d
RD
8045static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8046 PyObject *resultobj;
8047 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8048 double arg2 ;
8049 PyObject * obj0 = 0 ;
8050 PyObject * obj1 = 0 ;
8051 char *kwnames[] = {
8052 (char *) "self",(char *) "gravity", NULL
8053 };
8054
8055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8057 if (SWIG_arg_fail(1)) SWIG_fail;
8058 {
8059 arg2 = (double)(SWIG_As_double(obj1));
8060 if (SWIG_arg_fail(2)) SWIG_fail;
8061 }
5cbf236d
RD
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 (arg1)->SetSashGravity(arg2);
8065
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 Py_INCREF(Py_None); resultobj = Py_None;
8070 return resultobj;
8071 fail:
8072 return NULL;
8073}
8074
8075
8076static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8077 PyObject *resultobj;
8078 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8079 double result;
8080 PyObject * obj0 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "self", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
093d3ff1
RD
8086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
8088 {
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8090 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8091
8092 wxPyEndAllowThreads(__tstate);
8093 if (PyErr_Occurred()) SWIG_fail;
8094 }
093d3ff1
RD
8095 {
8096 resultobj = SWIG_From_double((double)(result));
8097 }
5cbf236d
RD
8098 return resultobj;
8099 fail:
8100 return NULL;
8101}
8102
8103
c32bde28 8104static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8105 PyObject *resultobj;
8106 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8107 int arg2 ;
8108 PyObject * obj0 = 0 ;
994141e6 8109 PyObject * obj1 = 0 ;
d14a1e28
RD
8110 char *kwnames[] = {
8111 (char *) "self",(char *) "min", NULL
8112 };
8113
994141e6 8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8116 if (SWIG_arg_fail(1)) SWIG_fail;
8117 {
8118 arg2 = (int)(SWIG_As_int(obj1));
8119 if (SWIG_arg_fail(2)) SWIG_fail;
8120 }
d14a1e28
RD
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 (arg1)->SetMinimumPaneSize(arg2);
8124
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 Py_INCREF(Py_None); resultobj = Py_None;
8129 return resultobj;
8130 fail:
8131 return NULL;
8132}
8133
8134
c32bde28 8135static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8136 PyObject *resultobj;
8137 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8138 int result;
8139 PyObject * obj0 = 0 ;
8140 char *kwnames[] = {
8141 (char *) "self", NULL
8142 };
8143
8144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8146 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8147 {
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8150
8151 wxPyEndAllowThreads(__tstate);
8152 if (PyErr_Occurred()) SWIG_fail;
8153 }
093d3ff1
RD
8154 {
8155 resultobj = SWIG_From_int((int)(result));
8156 }
d14a1e28
RD
8157 return resultobj;
8158 fail:
8159 return NULL;
8160}
8161
8162
c32bde28 8163static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8164 PyObject *resultobj;
8165 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8166 int arg2 ;
8167 int arg3 ;
8168 int arg4 = (int) 5 ;
8169 bool result;
8170 PyObject * obj0 = 0 ;
994141e6
RD
8171 PyObject * obj1 = 0 ;
8172 PyObject * obj2 = 0 ;
8173 PyObject * obj3 = 0 ;
d14a1e28
RD
8174 char *kwnames[] = {
8175 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8176 };
8177
994141e6 8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8180 if (SWIG_arg_fail(1)) SWIG_fail;
8181 {
8182 arg2 = (int)(SWIG_As_int(obj1));
8183 if (SWIG_arg_fail(2)) SWIG_fail;
8184 }
8185 {
8186 arg3 = (int)(SWIG_As_int(obj2));
8187 if (SWIG_arg_fail(3)) SWIG_fail;
8188 }
994141e6 8189 if (obj3) {
093d3ff1
RD
8190 {
8191 arg4 = (int)(SWIG_As_int(obj3));
8192 if (SWIG_arg_fail(4)) SWIG_fail;
8193 }
994141e6 8194 }
d14a1e28
RD
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
4f89f6a3
RD
8202 {
8203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8204 }
d14a1e28
RD
8205 return resultobj;
8206 fail:
8207 return NULL;
8208}
8209
8210
c32bde28 8211static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8212 PyObject *resultobj;
8213 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8214 PyObject * obj0 = 0 ;
8215 char *kwnames[] = {
8216 (char *) "self", NULL
8217 };
8218
8219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
8220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8221 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8222 {
8223 PyThreadState* __tstate = wxPyBeginAllowThreads();
8224 (arg1)->SizeWindows();
8225
8226 wxPyEndAllowThreads(__tstate);
8227 if (PyErr_Occurred()) SWIG_fail;
8228 }
8229 Py_INCREF(Py_None); resultobj = Py_None;
8230 return resultobj;
8231 fail:
8232 return NULL;
8233}
8234
8235
c32bde28 8236static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8237 PyObject *resultobj;
8238 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8239 bool arg2 ;
8240 PyObject * obj0 = 0 ;
8241 PyObject * obj1 = 0 ;
8242 char *kwnames[] = {
8243 (char *) "self",(char *) "needUpdating", NULL
8244 };
8245
8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8248 if (SWIG_arg_fail(1)) SWIG_fail;
8249 {
8250 arg2 = (bool)(SWIG_As_bool(obj1));
8251 if (SWIG_arg_fail(2)) SWIG_fail;
8252 }
d14a1e28
RD
8253 {
8254 PyThreadState* __tstate = wxPyBeginAllowThreads();
8255 (arg1)->SetNeedUpdating(arg2);
8256
8257 wxPyEndAllowThreads(__tstate);
8258 if (PyErr_Occurred()) SWIG_fail;
8259 }
8260 Py_INCREF(Py_None); resultobj = Py_None;
8261 return resultobj;
8262 fail:
8263 return NULL;
8264}
8265
8266
c32bde28 8267static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8268 PyObject *resultobj;
8269 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8270 bool result;
8271 PyObject * obj0 = 0 ;
8272 char *kwnames[] = {
8273 (char *) "self", NULL
8274 };
8275
8276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
093d3ff1
RD
8277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8278 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
4f89f6a3
RD
8286 {
8287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8288 }
d14a1e28
RD
8289 return resultobj;
8290 fail:
8291 return NULL;
8292}
8293
8294
c32bde28 8295static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 8296 PyObject *resultobj;
093d3ff1 8297 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
8298 wxVisualAttributes result;
8299 PyObject * obj0 = 0 ;
8300 char *kwnames[] = {
8301 (char *) "variant", NULL
8302 };
8303
8304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8305 if (obj0) {
093d3ff1
RD
8306 {
8307 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8308 if (SWIG_arg_fail(1)) SWIG_fail;
8309 }
22bfe96c
RD
8310 }
8311 {
e3b71cb8 8312 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8315
8316 wxPyEndAllowThreads(__tstate);
110da5b0 8317 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
8318 }
8319 {
8320 wxVisualAttributes * resultptr;
093d3ff1 8321 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
8322 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8323 }
8324 return resultobj;
8325 fail:
8326 return NULL;
8327}
8328
8329
c32bde28 8330static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8331 PyObject *obj;
8332 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8333 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8334 Py_INCREF(obj);
8335 return Py_BuildValue((char *)"");
8336}
c32bde28 8337static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8338 PyObject *resultobj;
8339 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8340 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8341 wxSplitterEvent *result;
994141e6 8342 PyObject * obj0 = 0 ;
d14a1e28
RD
8343 PyObject * obj1 = 0 ;
8344 char *kwnames[] = {
8345 (char *) "type",(char *) "splitter", NULL
8346 };
8347
994141e6
RD
8348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8349 if (obj0) {
093d3ff1
RD
8350 {
8351 arg1 = (wxEventType)(SWIG_As_int(obj0));
8352 if (SWIG_arg_fail(1)) SWIG_fail;
8353 }
994141e6 8354 }
d14a1e28 8355 if (obj1) {
093d3ff1
RD
8356 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8357 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8358 }
8359 {
8360 PyThreadState* __tstate = wxPyBeginAllowThreads();
8361 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8362
8363 wxPyEndAllowThreads(__tstate);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 }
15afbcd0 8366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
d14a1e28
RD
8367 return resultobj;
8368 fail:
8369 return NULL;
8370}
8371
8372
c32bde28 8373static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8374 PyObject *resultobj;
8375 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8376 int arg2 ;
8377 PyObject * obj0 = 0 ;
994141e6 8378 PyObject * obj1 = 0 ;
d14a1e28
RD
8379 char *kwnames[] = {
8380 (char *) "self",(char *) "pos", NULL
8381 };
8382
994141e6 8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8385 if (SWIG_arg_fail(1)) SWIG_fail;
8386 {
8387 arg2 = (int)(SWIG_As_int(obj1));
8388 if (SWIG_arg_fail(2)) SWIG_fail;
8389 }
d14a1e28
RD
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 (arg1)->SetSashPosition(arg2);
8393
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 Py_INCREF(Py_None); resultobj = Py_None;
8398 return resultobj;
8399 fail:
8400 return NULL;
8401}
8402
8403
c32bde28 8404static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8405 PyObject *resultobj;
8406 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8407 int result;
8408 PyObject * obj0 = 0 ;
8409 char *kwnames[] = {
8410 (char *) "self", NULL
8411 };
8412
8413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8419
8420 wxPyEndAllowThreads(__tstate);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
093d3ff1
RD
8423 {
8424 resultobj = SWIG_From_int((int)(result));
8425 }
d14a1e28
RD
8426 return resultobj;
8427 fail:
8428 return NULL;
8429}
8430
8431
c32bde28 8432static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8433 PyObject *resultobj;
8434 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8435 wxWindow *result;
8436 PyObject * obj0 = 0 ;
8437 char *kwnames[] = {
8438 (char *) "self", NULL
8439 };
8440
8441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
093d3ff1
RD
8442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8443 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 {
412d302d 8452 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
8453 }
8454 return resultobj;
8455 fail:
8456 return NULL;
8457}
8458
8459
c32bde28 8460static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8461 PyObject *resultobj;
8462 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8463 int result;
8464 PyObject * obj0 = 0 ;
8465 char *kwnames[] = {
8466 (char *) "self", NULL
8467 };
8468
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
8470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8471 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8475
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
093d3ff1
RD
8479 {
8480 resultobj = SWIG_From_int((int)(result));
8481 }
d14a1e28
RD
8482 return resultobj;
8483 fail:
8484 return NULL;
8485}
8486
8487
c32bde28 8488static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8489 PyObject *resultobj;
8490 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8491 int result;
8492 PyObject * obj0 = 0 ;
8493 char *kwnames[] = {
8494 (char *) "self", NULL
8495 };
8496
8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
8498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8499 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8500 {
8501 PyThreadState* __tstate = wxPyBeginAllowThreads();
8502 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8503
8504 wxPyEndAllowThreads(__tstate);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
093d3ff1
RD
8507 {
8508 resultobj = SWIG_From_int((int)(result));
8509 }
d14a1e28
RD
8510 return resultobj;
8511 fail:
8512 return NULL;
8513}
8514
8515
c32bde28 8516static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8517 PyObject *obj;
8518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8519 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8520 Py_INCREF(obj);
8521 return Py_BuildValue((char *)"");
8522}
c32bde28 8523static int _wrap_SashNameStr_set(PyObject *) {
b2dc1044
RD
8524 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8525 return 1;
8526}
8527
8528
093d3ff1 8529static PyObject *_wrap_SashNameStr_get(void) {
b2dc1044
RD
8530 PyObject *pyobj;
8531
8532 {
8533#if wxUSE_UNICODE
8534 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8535#else
8536 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8537#endif
8538 }
8539 return pyobj;
8540}
8541
8542
c32bde28 8543static int _wrap_SashLayoutNameStr_set(PyObject *) {
b2dc1044
RD
8544 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8545 return 1;
8546}
8547
8548
093d3ff1 8549static PyObject *_wrap_SashLayoutNameStr_get(void) {
b2dc1044
RD
8550 PyObject *pyobj;
8551
8552 {
8553#if wxUSE_UNICODE
8554 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8555#else
8556 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8557#endif
8558 }
8559 return pyobj;
8560}
8561
8562
c32bde28 8563static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8564 PyObject *resultobj;
8565 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8566 int arg2 = (int) -1 ;
d14a1e28
RD
8567 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8568 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8569 wxSize const &arg4_defvalue = wxDefaultSize ;
8570 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8571 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8572 wxString const &arg6_defvalue = wxPySashNameStr ;
8573 wxString *arg6 = (wxString *) &arg6_defvalue ;
8574 wxSashWindow *result;
8575 wxPoint temp3 ;
8576 wxSize temp4 ;
ae8162c8 8577 bool temp6 = false ;
d14a1e28 8578 PyObject * obj0 = 0 ;
994141e6 8579 PyObject * obj1 = 0 ;
d14a1e28
RD
8580 PyObject * obj2 = 0 ;
8581 PyObject * obj3 = 0 ;
994141e6 8582 PyObject * obj4 = 0 ;
d14a1e28
RD
8583 PyObject * obj5 = 0 ;
8584 char *kwnames[] = {
8585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8586 };
8587
248ed943 8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
8589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8590 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8591 if (obj1) {
093d3ff1
RD
8592 {
8593 arg2 = (int)(SWIG_As_int(obj1));
8594 if (SWIG_arg_fail(2)) SWIG_fail;
8595 }
248ed943 8596 }
d14a1e28
RD
8597 if (obj2) {
8598 {
8599 arg3 = &temp3;
8600 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8601 }
8602 }
8603 if (obj3) {
8604 {
8605 arg4 = &temp4;
8606 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8607 }
8608 }
994141e6 8609 if (obj4) {
093d3ff1
RD
8610 {
8611 arg5 = (long)(SWIG_As_long(obj4));
8612 if (SWIG_arg_fail(5)) SWIG_fail;
8613 }
994141e6 8614 }
d14a1e28
RD
8615 if (obj5) {
8616 {
8617 arg6 = wxString_in_helper(obj5);
8618 if (arg6 == NULL) SWIG_fail;
ae8162c8 8619 temp6 = true;
d14a1e28
RD
8620 }
8621 }
8622 {
e3b71cb8 8623 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8626
8627 wxPyEndAllowThreads(__tstate);
110da5b0 8628 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8629 }
15afbcd0 8630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
8631 {
8632 if (temp6)
8633 delete arg6;
8634 }
8635 return resultobj;
8636 fail:
8637 {
8638 if (temp6)
8639 delete arg6;
8640 }
8641 return NULL;
8642}
8643
8644
c32bde28 8645static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8646 PyObject *resultobj;
8647 wxSashWindow *result;
8648 char *kwnames[] = {
8649 NULL
8650 };
8651
8652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8653 {
e3b71cb8 8654 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
8656 result = (wxSashWindow *)new wxSashWindow();
8657
8658 wxPyEndAllowThreads(__tstate);
110da5b0 8659 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8660 }
15afbcd0 8661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
8662 return resultobj;
8663 fail:
8664 return NULL;
8665}
8666
8667
c32bde28 8668static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8669 PyObject *resultobj;
8670 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8671 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8672 int arg3 = (int) -1 ;
d14a1e28
RD
8673 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8674 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8675 wxSize const &arg5_defvalue = wxDefaultSize ;
8676 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8677 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8678 wxString const &arg7_defvalue = wxPySashNameStr ;
8679 wxString *arg7 = (wxString *) &arg7_defvalue ;
8680 bool result;
8681 wxPoint temp4 ;
8682 wxSize temp5 ;
ae8162c8 8683 bool temp7 = false ;
d14a1e28
RD
8684 PyObject * obj0 = 0 ;
8685 PyObject * obj1 = 0 ;
994141e6 8686 PyObject * obj2 = 0 ;
d14a1e28
RD
8687 PyObject * obj3 = 0 ;
8688 PyObject * obj4 = 0 ;
994141e6 8689 PyObject * obj5 = 0 ;
d14a1e28
RD
8690 PyObject * obj6 = 0 ;
8691 char *kwnames[] = {
8692 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8693 };
8694
248ed943 8695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
8696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8697 if (SWIG_arg_fail(1)) SWIG_fail;
8698 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8699 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8700 if (obj2) {
093d3ff1
RD
8701 {
8702 arg3 = (int)(SWIG_As_int(obj2));
8703 if (SWIG_arg_fail(3)) SWIG_fail;
8704 }
248ed943 8705 }
d14a1e28
RD
8706 if (obj3) {
8707 {
8708 arg4 = &temp4;
8709 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8710 }
8711 }
8712 if (obj4) {
8713 {
8714 arg5 = &temp5;
8715 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8716 }
8717 }
994141e6 8718 if (obj5) {
093d3ff1
RD
8719 {
8720 arg6 = (long)(SWIG_As_long(obj5));
8721 if (SWIG_arg_fail(6)) SWIG_fail;
8722 }
994141e6 8723 }
d14a1e28
RD
8724 if (obj6) {
8725 {
8726 arg7 = wxString_in_helper(obj6);
8727 if (arg7 == NULL) SWIG_fail;
ae8162c8 8728 temp7 = true;
d14a1e28
RD
8729 }
8730 }
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8734
8735 wxPyEndAllowThreads(__tstate);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 }
4f89f6a3
RD
8738 {
8739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8740 }
d14a1e28
RD
8741 {
8742 if (temp7)
8743 delete arg7;
8744 }
8745 return resultobj;
8746 fail:
8747 {
8748 if (temp7)
8749 delete arg7;
8750 }
8751 return NULL;
8752}
8753
8754
c32bde28 8755static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8756 PyObject *resultobj;
8757 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8758 wxSashEdgePosition arg2 ;
d14a1e28
RD
8759 bool arg3 ;
8760 PyObject * obj0 = 0 ;
994141e6 8761 PyObject * obj1 = 0 ;
d14a1e28
RD
8762 PyObject * obj2 = 0 ;
8763 char *kwnames[] = {
8764 (char *) "self",(char *) "edge",(char *) "sash", NULL
8765 };
8766
994141e6 8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8769 if (SWIG_arg_fail(1)) SWIG_fail;
8770 {
8771 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8772 if (SWIG_arg_fail(2)) SWIG_fail;
8773 }
8774 {
8775 arg3 = (bool)(SWIG_As_bool(obj2));
8776 if (SWIG_arg_fail(3)) SWIG_fail;
8777 }
d14a1e28
RD
8778 {
8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
8780 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8781
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
8785 Py_INCREF(Py_None); resultobj = Py_None;
8786 return resultobj;
8787 fail:
8788 return NULL;
8789}
8790
8791
c32bde28 8792static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8793 PyObject *resultobj;
8794 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8795 wxSashEdgePosition arg2 ;
d14a1e28
RD
8796 bool result;
8797 PyObject * obj0 = 0 ;
994141e6 8798 PyObject * obj1 = 0 ;
d14a1e28
RD
8799 char *kwnames[] = {
8800 (char *) "self",(char *) "edge", NULL
8801 };
8802
994141e6 8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8805 if (SWIG_arg_fail(1)) SWIG_fail;
8806 {
8807 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8808 if (SWIG_arg_fail(2)) SWIG_fail;
8809 }
d14a1e28
RD
8810 {
8811 PyThreadState* __tstate = wxPyBeginAllowThreads();
8812 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8813
8814 wxPyEndAllowThreads(__tstate);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
4f89f6a3
RD
8817 {
8818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8819 }
d14a1e28
RD
8820 return resultobj;
8821 fail:
8822 return NULL;
8823}
8824
8825
c32bde28 8826static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8827 PyObject *resultobj;
8828 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8829 wxSashEdgePosition arg2 ;
d14a1e28
RD
8830 bool arg3 ;
8831 PyObject * obj0 = 0 ;
994141e6 8832 PyObject * obj1 = 0 ;
d14a1e28
RD
8833 PyObject * obj2 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self",(char *) "edge",(char *) "border", NULL
8836 };
8837
994141e6 8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8840 if (SWIG_arg_fail(1)) SWIG_fail;
8841 {
8842 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8843 if (SWIG_arg_fail(2)) SWIG_fail;
8844 }
8845 {
8846 arg3 = (bool)(SWIG_As_bool(obj2));
8847 if (SWIG_arg_fail(3)) SWIG_fail;
8848 }
d14a1e28
RD
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8852
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 Py_INCREF(Py_None); resultobj = Py_None;
8857 return resultobj;
8858 fail:
8859 return NULL;
8860}
8861
8862
c32bde28 8863static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8864 PyObject *resultobj;
8865 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8866 wxSashEdgePosition arg2 ;
d14a1e28
RD
8867 bool result;
8868 PyObject * obj0 = 0 ;
994141e6 8869 PyObject * obj1 = 0 ;
d14a1e28
RD
8870 char *kwnames[] = {
8871 (char *) "self",(char *) "edge", NULL
8872 };
8873
994141e6 8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8876 if (SWIG_arg_fail(1)) SWIG_fail;
8877 {
8878 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8879 if (SWIG_arg_fail(2)) SWIG_fail;
8880 }
d14a1e28
RD
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8884
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
4f89f6a3
RD
8888 {
8889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8890 }
d14a1e28
RD
8891 return resultobj;
8892 fail:
8893 return NULL;
8894}
8895
8896
c32bde28 8897static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8898 PyObject *resultobj;
8899 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8900 wxSashEdgePosition arg2 ;
d14a1e28
RD
8901 int result;
8902 PyObject * obj0 = 0 ;
994141e6 8903 PyObject * obj1 = 0 ;
d14a1e28
RD
8904 char *kwnames[] = {
8905 (char *) "self",(char *) "edge", NULL
8906 };
8907
994141e6 8908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8910 if (SWIG_arg_fail(1)) SWIG_fail;
8911 {
8912 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8913 if (SWIG_arg_fail(2)) SWIG_fail;
8914 }
d14a1e28
RD
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
093d3ff1
RD
8922 {
8923 resultobj = SWIG_From_int((int)(result));
8924 }
d14a1e28
RD
8925 return resultobj;
8926 fail:
8927 return NULL;
8928}
8929
8930
c32bde28 8931static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8932 PyObject *resultobj;
8933 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8934 int arg2 ;
8935 PyObject * obj0 = 0 ;
994141e6 8936 PyObject * obj1 = 0 ;
d14a1e28
RD
8937 char *kwnames[] = {
8938 (char *) "self",(char *) "width", NULL
8939 };
8940
994141e6 8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8943 if (SWIG_arg_fail(1)) SWIG_fail;
8944 {
8945 arg2 = (int)(SWIG_As_int(obj1));
8946 if (SWIG_arg_fail(2)) SWIG_fail;
8947 }
d14a1e28
RD
8948 {
8949 PyThreadState* __tstate = wxPyBeginAllowThreads();
8950 (arg1)->SetDefaultBorderSize(arg2);
8951
8952 wxPyEndAllowThreads(__tstate);
8953 if (PyErr_Occurred()) SWIG_fail;
8954 }
8955 Py_INCREF(Py_None); resultobj = Py_None;
8956 return resultobj;
8957 fail:
8958 return NULL;
8959}
8960
8961
c32bde28 8962static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8963 PyObject *resultobj;
8964 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8965 int result;
8966 PyObject * obj0 = 0 ;
8967 char *kwnames[] = {
8968 (char *) "self", NULL
8969 };
8970
8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8973 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8974 {
8975 PyThreadState* __tstate = wxPyBeginAllowThreads();
8976 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
8977
8978 wxPyEndAllowThreads(__tstate);
8979 if (PyErr_Occurred()) SWIG_fail;
8980 }
093d3ff1
RD
8981 {
8982 resultobj = SWIG_From_int((int)(result));
8983 }
d14a1e28
RD
8984 return resultobj;
8985 fail:
8986 return NULL;
8987}
8988
8989
c32bde28 8990static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8991 PyObject *resultobj;
8992 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8993 int arg2 ;
8994 PyObject * obj0 = 0 ;
994141e6 8995 PyObject * obj1 = 0 ;
d14a1e28
RD
8996 char *kwnames[] = {
8997 (char *) "self",(char *) "width", NULL
8998 };
8999
994141e6 9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9002 if (SWIG_arg_fail(1)) SWIG_fail;
9003 {
9004 arg2 = (int)(SWIG_As_int(obj1));
9005 if (SWIG_arg_fail(2)) SWIG_fail;
9006 }
d14a1e28
RD
9007 {
9008 PyThreadState* __tstate = wxPyBeginAllowThreads();
9009 (arg1)->SetExtraBorderSize(arg2);
9010
9011 wxPyEndAllowThreads(__tstate);
9012 if (PyErr_Occurred()) SWIG_fail;
9013 }
9014 Py_INCREF(Py_None); resultobj = Py_None;
9015 return resultobj;
9016 fail:
9017 return NULL;
9018}
9019
9020
c32bde28 9021static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9022 PyObject *resultobj;
9023 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9024 int result;
9025 PyObject * obj0 = 0 ;
9026 char *kwnames[] = {
9027 (char *) "self", NULL
9028 };
9029
9030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9032 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
093d3ff1
RD
9040 {
9041 resultobj = SWIG_From_int((int)(result));
9042 }
d14a1e28
RD
9043 return resultobj;
9044 fail:
9045 return NULL;
9046}
9047
9048
c32bde28 9049static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9050 PyObject *resultobj;
9051 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9052 int arg2 ;
9053 PyObject * obj0 = 0 ;
994141e6 9054 PyObject * obj1 = 0 ;
d14a1e28
RD
9055 char *kwnames[] = {
9056 (char *) "self",(char *) "min", NULL
9057 };
9058
994141e6 9059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9061 if (SWIG_arg_fail(1)) SWIG_fail;
9062 {
9063 arg2 = (int)(SWIG_As_int(obj1));
9064 if (SWIG_arg_fail(2)) SWIG_fail;
9065 }
d14a1e28
RD
9066 {
9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
9068 (arg1)->SetMinimumSizeX(arg2);
9069
9070 wxPyEndAllowThreads(__tstate);
9071 if (PyErr_Occurred()) SWIG_fail;
9072 }
9073 Py_INCREF(Py_None); resultobj = Py_None;
9074 return resultobj;
9075 fail:
9076 return NULL;
9077}
9078
9079
c32bde28 9080static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9081 PyObject *resultobj;
9082 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9083 int arg2 ;
9084 PyObject * obj0 = 0 ;
994141e6 9085 PyObject * obj1 = 0 ;
d14a1e28
RD
9086 char *kwnames[] = {
9087 (char *) "self",(char *) "min", NULL
9088 };
9089
994141e6 9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9092 if (SWIG_arg_fail(1)) SWIG_fail;
9093 {
9094 arg2 = (int)(SWIG_As_int(obj1));
9095 if (SWIG_arg_fail(2)) SWIG_fail;
9096 }
d14a1e28
RD
9097 {
9098 PyThreadState* __tstate = wxPyBeginAllowThreads();
9099 (arg1)->SetMinimumSizeY(arg2);
9100
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 Py_INCREF(Py_None); resultobj = Py_None;
9105 return resultobj;
9106 fail:
9107 return NULL;
9108}
9109
9110
c32bde28 9111static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9112 PyObject *resultobj;
9113 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9114 int result;
9115 PyObject * obj0 = 0 ;
9116 char *kwnames[] = {
9117 (char *) "self", NULL
9118 };
9119
9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9122 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9123 {
9124 PyThreadState* __tstate = wxPyBeginAllowThreads();
9125 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9126
9127 wxPyEndAllowThreads(__tstate);
9128 if (PyErr_Occurred()) SWIG_fail;
9129 }
093d3ff1
RD
9130 {
9131 resultobj = SWIG_From_int((int)(result));
9132 }
d14a1e28
RD
9133 return resultobj;
9134 fail:
9135 return NULL;
9136}
9137
9138
c32bde28 9139static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9140 PyObject *resultobj;
9141 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9142 int result;
9143 PyObject * obj0 = 0 ;
9144 char *kwnames[] = {
9145 (char *) "self", NULL
9146 };
9147
9148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9150 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
093d3ff1
RD
9158 {
9159 resultobj = SWIG_From_int((int)(result));
9160 }
d14a1e28
RD
9161 return resultobj;
9162 fail:
9163 return NULL;
9164}
9165
9166
c32bde28 9167static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9168 PyObject *resultobj;
9169 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9170 int arg2 ;
9171 PyObject * obj0 = 0 ;
994141e6 9172 PyObject * obj1 = 0 ;
d14a1e28
RD
9173 char *kwnames[] = {
9174 (char *) "self",(char *) "max", NULL
9175 };
9176
994141e6 9177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9179 if (SWIG_arg_fail(1)) SWIG_fail;
9180 {
9181 arg2 = (int)(SWIG_As_int(obj1));
9182 if (SWIG_arg_fail(2)) SWIG_fail;
9183 }
d14a1e28
RD
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 (arg1)->SetMaximumSizeX(arg2);
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 }
9191 Py_INCREF(Py_None); resultobj = Py_None;
9192 return resultobj;
9193 fail:
9194 return NULL;
9195}
9196
9197
c32bde28 9198static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9199 PyObject *resultobj;
9200 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9201 int arg2 ;
9202 PyObject * obj0 = 0 ;
994141e6 9203 PyObject * obj1 = 0 ;
d14a1e28
RD
9204 char *kwnames[] = {
9205 (char *) "self",(char *) "max", NULL
9206 };
9207
994141e6 9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9210 if (SWIG_arg_fail(1)) SWIG_fail;
9211 {
9212 arg2 = (int)(SWIG_As_int(obj1));
9213 if (SWIG_arg_fail(2)) SWIG_fail;
9214 }
d14a1e28
RD
9215 {
9216 PyThreadState* __tstate = wxPyBeginAllowThreads();
9217 (arg1)->SetMaximumSizeY(arg2);
9218
9219 wxPyEndAllowThreads(__tstate);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 }
9222 Py_INCREF(Py_None); resultobj = Py_None;
9223 return resultobj;
9224 fail:
9225 return NULL;
9226}
9227
9228
c32bde28 9229static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9230 PyObject *resultobj;
9231 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9232 int result;
9233 PyObject * obj0 = 0 ;
9234 char *kwnames[] = {
9235 (char *) "self", NULL
9236 };
9237
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9240 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9241 {
9242 PyThreadState* __tstate = wxPyBeginAllowThreads();
9243 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9244
9245 wxPyEndAllowThreads(__tstate);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
093d3ff1
RD
9248 {
9249 resultobj = SWIG_From_int((int)(result));
9250 }
d14a1e28
RD
9251 return resultobj;
9252 fail:
9253 return NULL;
9254}
9255
9256
c32bde28 9257static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9258 PyObject *resultobj;
9259 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9260 int result;
9261 PyObject * obj0 = 0 ;
9262 char *kwnames[] = {
9263 (char *) "self", NULL
9264 };
9265
9266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9268 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9269 {
9270 PyThreadState* __tstate = wxPyBeginAllowThreads();
9271 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9272
9273 wxPyEndAllowThreads(__tstate);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 }
093d3ff1
RD
9276 {
9277 resultobj = SWIG_From_int((int)(result));
9278 }
d14a1e28
RD
9279 return resultobj;
9280 fail:
9281 return NULL;
9282}
9283
9284
c32bde28 9285static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9286 PyObject *resultobj;
9287 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9288 int arg2 ;
9289 int arg3 ;
9290 int arg4 = (int) 2 ;
093d3ff1 9291 wxSashEdgePosition result;
d14a1e28 9292 PyObject * obj0 = 0 ;
994141e6
RD
9293 PyObject * obj1 = 0 ;
9294 PyObject * obj2 = 0 ;
9295 PyObject * obj3 = 0 ;
d14a1e28
RD
9296 char *kwnames[] = {
9297 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9298 };
9299
994141e6 9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9302 if (SWIG_arg_fail(1)) SWIG_fail;
9303 {
9304 arg2 = (int)(SWIG_As_int(obj1));
9305 if (SWIG_arg_fail(2)) SWIG_fail;
9306 }
9307 {
9308 arg3 = (int)(SWIG_As_int(obj2));
9309 if (SWIG_arg_fail(3)) SWIG_fail;
9310 }
994141e6 9311 if (obj3) {
093d3ff1
RD
9312 {
9313 arg4 = (int)(SWIG_As_int(obj3));
9314 if (SWIG_arg_fail(4)) SWIG_fail;
9315 }
994141e6 9316 }
d14a1e28
RD
9317 {
9318 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9319 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
d14a1e28
RD
9320
9321 wxPyEndAllowThreads(__tstate);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 }
093d3ff1 9324 resultobj = SWIG_From_int((result));
d14a1e28
RD
9325 return resultobj;
9326 fail:
9327 return NULL;
9328}
9329
9330
c32bde28 9331static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9332 PyObject *resultobj;
9333 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9334 PyObject * obj0 = 0 ;
9335 char *kwnames[] = {
9336 (char *) "self", NULL
9337 };
9338
9339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
9340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9341 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9342 {
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 (arg1)->SizeWindows();
9345
9346 wxPyEndAllowThreads(__tstate);
9347 if (PyErr_Occurred()) SWIG_fail;
9348 }
9349 Py_INCREF(Py_None); resultobj = Py_None;
9350 return resultobj;
9351 fail:
9352 return NULL;
9353}
9354
9355
c32bde28 9356static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9357 PyObject *obj;
9358 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9359 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9360 Py_INCREF(obj);
9361 return Py_BuildValue((char *)"");
9362}
c32bde28 9363static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9364 PyObject *resultobj;
9365 int arg1 = (int) 0 ;
093d3ff1 9366 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
d14a1e28 9367 wxSashEvent *result;
994141e6
RD
9368 PyObject * obj0 = 0 ;
9369 PyObject * obj1 = 0 ;
d14a1e28
RD
9370 char *kwnames[] = {
9371 (char *) "id",(char *) "edge", NULL
9372 };
9373
994141e6
RD
9374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9375 if (obj0) {
093d3ff1
RD
9376 {
9377 arg1 = (int)(SWIG_As_int(obj0));
9378 if (SWIG_arg_fail(1)) SWIG_fail;
9379 }
994141e6
RD
9380 }
9381 if (obj1) {
093d3ff1
RD
9382 {
9383 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9384 if (SWIG_arg_fail(2)) SWIG_fail;
9385 }
994141e6 9386 }
d14a1e28
RD
9387 {
9388 PyThreadState* __tstate = wxPyBeginAllowThreads();
9389 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9390
9391 wxPyEndAllowThreads(__tstate);
9392 if (PyErr_Occurred()) SWIG_fail;
9393 }
15afbcd0 9394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
d14a1e28
RD
9395 return resultobj;
9396 fail:
9397 return NULL;
9398}
9399
9400
c32bde28 9401static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9402 PyObject *resultobj;
9403 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9404 wxSashEdgePosition arg2 ;
d14a1e28 9405 PyObject * obj0 = 0 ;
994141e6 9406 PyObject * obj1 = 0 ;
d14a1e28
RD
9407 char *kwnames[] = {
9408 (char *) "self",(char *) "edge", NULL
9409 };
9410
994141e6 9411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9413 if (SWIG_arg_fail(1)) SWIG_fail;
9414 {
9415 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9416 if (SWIG_arg_fail(2)) SWIG_fail;
9417 }
d14a1e28
RD
9418 {
9419 PyThreadState* __tstate = wxPyBeginAllowThreads();
9420 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9421
9422 wxPyEndAllowThreads(__tstate);
9423 if (PyErr_Occurred()) SWIG_fail;
9424 }
9425 Py_INCREF(Py_None); resultobj = Py_None;
9426 return resultobj;
9427 fail:
9428 return NULL;
9429}
9430
9431
c32bde28 9432static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9433 PyObject *resultobj;
9434 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9435 wxSashEdgePosition result;
d14a1e28
RD
9436 PyObject * obj0 = 0 ;
9437 char *kwnames[] = {
9438 (char *) "self", NULL
9439 };
9440
9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
093d3ff1
RD
9442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9443 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9444 {
9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9446 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
d14a1e28
RD
9447
9448 wxPyEndAllowThreads(__tstate);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 }
093d3ff1 9451 resultobj = SWIG_From_int((result));
d14a1e28
RD
9452 return resultobj;
9453 fail:
9454 return NULL;
9455}
9456
9457
c32bde28 9458static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9459 PyObject *resultobj;
9460 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9461 wxRect *arg2 = 0 ;
9462 wxRect temp2 ;
9463 PyObject * obj0 = 0 ;
9464 PyObject * obj1 = 0 ;
9465 char *kwnames[] = {
9466 (char *) "self",(char *) "rect", NULL
9467 };
9468
9469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9471 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9472 {
9473 arg2 = &temp2;
9474 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9475 }
9476 {
9477 PyThreadState* __tstate = wxPyBeginAllowThreads();
9478 (arg1)->SetDragRect((wxRect const &)*arg2);
9479
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 Py_INCREF(Py_None); resultobj = Py_None;
9484 return resultobj;
9485 fail:
9486 return NULL;
9487}
9488
9489
c32bde28 9490static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9491 PyObject *resultobj;
9492 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9493 wxRect result;
9494 PyObject * obj0 = 0 ;
9495 char *kwnames[] = {
9496 (char *) "self", NULL
9497 };
9498
9499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
9500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9501 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9502 {
9503 PyThreadState* __tstate = wxPyBeginAllowThreads();
9504 result = ((wxSashEvent const *)arg1)->GetDragRect();
9505
9506 wxPyEndAllowThreads(__tstate);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 }
9509 {
9510 wxRect * resultptr;
093d3ff1 9511 resultptr = new wxRect((wxRect &)(result));
15afbcd0 9512 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
9513 }
9514 return resultobj;
9515 fail:
9516 return NULL;
9517}
9518
9519
c32bde28 9520static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9521 PyObject *resultobj;
9522 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9523 wxSashDragStatus arg2 ;
d14a1e28 9524 PyObject * obj0 = 0 ;
994141e6 9525 PyObject * obj1 = 0 ;
d14a1e28
RD
9526 char *kwnames[] = {
9527 (char *) "self",(char *) "status", NULL
9528 };
9529
994141e6 9530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9532 if (SWIG_arg_fail(1)) SWIG_fail;
9533 {
9534 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9535 if (SWIG_arg_fail(2)) SWIG_fail;
9536 }
d14a1e28
RD
9537 {
9538 PyThreadState* __tstate = wxPyBeginAllowThreads();
9539 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9540
9541 wxPyEndAllowThreads(__tstate);
9542 if (PyErr_Occurred()) SWIG_fail;
9543 }
9544 Py_INCREF(Py_None); resultobj = Py_None;
9545 return resultobj;
9546 fail:
9547 return NULL;
9548}
9549
9550
c32bde28 9551static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9552 PyObject *resultobj;
9553 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9554 wxSashDragStatus result;
d14a1e28
RD
9555 PyObject * obj0 = 0 ;
9556 char *kwnames[] = {
9557 (char *) "self", NULL
9558 };
9559
9560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
093d3ff1
RD
9561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9562 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9565 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
d14a1e28
RD
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
093d3ff1 9570 resultobj = SWIG_From_int((result));
d14a1e28
RD
9571 return resultobj;
9572 fail:
9573 return NULL;
9574}
9575
9576
c32bde28 9577static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9578 PyObject *obj;
9579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9580 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9581 Py_INCREF(obj);
9582 return Py_BuildValue((char *)"");
9583}
c32bde28 9584static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 9585 PyObject *resultobj;
e811c8ce 9586 int arg1 = (int) 0 ;
d14a1e28 9587 wxQueryLayoutInfoEvent *result;
994141e6 9588 PyObject * obj0 = 0 ;
d14a1e28
RD
9589 char *kwnames[] = {
9590 (char *) "id", NULL
9591 };
9592
994141e6
RD
9593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9594 if (obj0) {
093d3ff1
RD
9595 {
9596 arg1 = (int)(SWIG_As_int(obj0));
9597 if (SWIG_arg_fail(1)) SWIG_fail;
9598 }
994141e6 9599 }
d14a1e28
RD
9600 {
9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
9602 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9603
9604 wxPyEndAllowThreads(__tstate);
9605 if (PyErr_Occurred()) SWIG_fail;
9606 }
15afbcd0 9607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
d14a1e28
RD
9608 return resultobj;
9609 fail:
9610 return NULL;
9611}
9612
9613
c32bde28 9614static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9615 PyObject *resultobj;
9616 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9617 int arg2 ;
9618 PyObject * obj0 = 0 ;
994141e6 9619 PyObject * obj1 = 0 ;
d14a1e28
RD
9620 char *kwnames[] = {
9621 (char *) "self",(char *) "length", NULL
9622 };
9623
994141e6 9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9626 if (SWIG_arg_fail(1)) SWIG_fail;
9627 {
9628 arg2 = (int)(SWIG_As_int(obj1));
9629 if (SWIG_arg_fail(2)) SWIG_fail;
9630 }
d14a1e28
RD
9631 {
9632 PyThreadState* __tstate = wxPyBeginAllowThreads();
9633 (arg1)->SetRequestedLength(arg2);
9634
9635 wxPyEndAllowThreads(__tstate);
9636 if (PyErr_Occurred()) SWIG_fail;
9637 }
9638 Py_INCREF(Py_None); resultobj = Py_None;
9639 return resultobj;
9640 fail:
9641 return NULL;
9642}
9643
9644
c32bde28 9645static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9646 PyObject *resultobj;
9647 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9648 int result;
9649 PyObject * obj0 = 0 ;
9650 char *kwnames[] = {
9651 (char *) "self", NULL
9652 };
9653
9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
9655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9657 {
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
9659 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9660
9661 wxPyEndAllowThreads(__tstate);
9662 if (PyErr_Occurred()) SWIG_fail;
9663 }
093d3ff1
RD
9664 {
9665 resultobj = SWIG_From_int((int)(result));
9666 }
d14a1e28
RD
9667 return resultobj;
9668 fail:
9669 return NULL;
9670}
9671
9672
c32bde28 9673static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9674 PyObject *resultobj;
9675 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9676 int arg2 ;
9677 PyObject * obj0 = 0 ;
994141e6 9678 PyObject * obj1 = 0 ;
d14a1e28
RD
9679 char *kwnames[] = {
9680 (char *) "self",(char *) "flags", NULL
9681 };
9682
994141e6 9683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9685 if (SWIG_arg_fail(1)) SWIG_fail;
9686 {
9687 arg2 = (int)(SWIG_As_int(obj1));
9688 if (SWIG_arg_fail(2)) SWIG_fail;
9689 }
d14a1e28
RD
9690 {
9691 PyThreadState* __tstate = wxPyBeginAllowThreads();
9692 (arg1)->SetFlags(arg2);
9693
9694 wxPyEndAllowThreads(__tstate);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 }
9697 Py_INCREF(Py_None); resultobj = Py_None;
9698 return resultobj;
9699 fail:
9700 return NULL;
9701}
9702
9703
c32bde28 9704static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9705 PyObject *resultobj;
9706 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9707 int result;
9708 PyObject * obj0 = 0 ;
9709 char *kwnames[] = {
9710 (char *) "self", NULL
9711 };
9712
9713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9715 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9716 {
9717 PyThreadState* __tstate = wxPyBeginAllowThreads();
9718 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9719
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
093d3ff1
RD
9723 {
9724 resultobj = SWIG_From_int((int)(result));
9725 }
d14a1e28
RD
9726 return resultobj;
9727 fail:
9728 return NULL;
9729}
9730
9731
c32bde28 9732static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9733 PyObject *resultobj;
9734 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9735 wxSize *arg2 = 0 ;
9736 wxSize temp2 ;
9737 PyObject * obj0 = 0 ;
9738 PyObject * obj1 = 0 ;
9739 char *kwnames[] = {
9740 (char *) "self",(char *) "size", NULL
9741 };
9742
9743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9745 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9746 {
9747 arg2 = &temp2;
9748 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9749 }
9750 {
9751 PyThreadState* __tstate = wxPyBeginAllowThreads();
9752 (arg1)->SetSize((wxSize const &)*arg2);
9753
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 Py_INCREF(Py_None); resultobj = Py_None;
9758 return resultobj;
9759 fail:
9760 return NULL;
9761}
9762
9763
c32bde28 9764static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9765 PyObject *resultobj;
9766 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9767 wxSize result;
9768 PyObject * obj0 = 0 ;
9769 char *kwnames[] = {
9770 (char *) "self", NULL
9771 };
9772
9773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9775 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9776 {
9777 PyThreadState* __tstate = wxPyBeginAllowThreads();
9778 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9779
9780 wxPyEndAllowThreads(__tstate);
9781 if (PyErr_Occurred()) SWIG_fail;
9782 }
9783 {
9784 wxSize * resultptr;
093d3ff1 9785 resultptr = new wxSize((wxSize &)(result));
15afbcd0 9786 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
9787 }
9788 return resultobj;
9789 fail:
9790 return NULL;
9791}
9792
9793
c32bde28 9794static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9795 PyObject *resultobj;
9796 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9797 wxLayoutOrientation arg2 ;
d14a1e28 9798 PyObject * obj0 = 0 ;
994141e6 9799 PyObject * obj1 = 0 ;
d14a1e28
RD
9800 char *kwnames[] = {
9801 (char *) "self",(char *) "orient", NULL
9802 };
9803
994141e6 9804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9806 if (SWIG_arg_fail(1)) SWIG_fail;
9807 {
9808 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9809 if (SWIG_arg_fail(2)) SWIG_fail;
9810 }
d14a1e28
RD
9811 {
9812 PyThreadState* __tstate = wxPyBeginAllowThreads();
9813 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9814
9815 wxPyEndAllowThreads(__tstate);
9816 if (PyErr_Occurred()) SWIG_fail;
9817 }
9818 Py_INCREF(Py_None); resultobj = Py_None;
9819 return resultobj;
9820 fail:
9821 return NULL;
9822}
9823
9824
c32bde28 9825static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9826 PyObject *resultobj;
9827 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9828 wxLayoutOrientation result;
d14a1e28
RD
9829 PyObject * obj0 = 0 ;
9830 char *kwnames[] = {
9831 (char *) "self", NULL
9832 };
9833
9834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
9835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9836 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9837 {
9838 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9839 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
d14a1e28
RD
9840
9841 wxPyEndAllowThreads(__tstate);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
093d3ff1 9844 resultobj = SWIG_From_int((result));
d14a1e28
RD
9845 return resultobj;
9846 fail:
9847 return NULL;
9848}
9849
9850
c32bde28 9851static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9852 PyObject *resultobj;
9853 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9854 wxLayoutAlignment arg2 ;
d14a1e28 9855 PyObject * obj0 = 0 ;
994141e6 9856 PyObject * obj1 = 0 ;
d14a1e28
RD
9857 char *kwnames[] = {
9858 (char *) "self",(char *) "align", NULL
9859 };
9860
994141e6 9861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9863 if (SWIG_arg_fail(1)) SWIG_fail;
9864 {
9865 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9866 if (SWIG_arg_fail(2)) SWIG_fail;
9867 }
d14a1e28
RD
9868 {
9869 PyThreadState* __tstate = wxPyBeginAllowThreads();
9870 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9871
9872 wxPyEndAllowThreads(__tstate);
9873 if (PyErr_Occurred()) SWIG_fail;
9874 }
9875 Py_INCREF(Py_None); resultobj = Py_None;
9876 return resultobj;
9877 fail:
9878 return NULL;
9879}
9880
9881
c32bde28 9882static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9883 PyObject *resultobj;
9884 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9885 wxLayoutAlignment result;
d14a1e28
RD
9886 PyObject * obj0 = 0 ;
9887 char *kwnames[] = {
9888 (char *) "self", NULL
9889 };
9890
9891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9893 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9894 {
9895 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9896 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
d14a1e28
RD
9897
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
093d3ff1 9901 resultobj = SWIG_From_int((result));
d14a1e28
RD
9902 return resultobj;
9903 fail:
9904 return NULL;
9905}
9906
9907
c32bde28 9908static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9909 PyObject *obj;
9910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9911 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9912 Py_INCREF(obj);
9913 return Py_BuildValue((char *)"");
9914}
c32bde28 9915static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 9916 PyObject *resultobj;
e811c8ce 9917 int arg1 = (int) 0 ;
d14a1e28 9918 wxCalculateLayoutEvent *result;
994141e6 9919 PyObject * obj0 = 0 ;
d14a1e28
RD
9920 char *kwnames[] = {
9921 (char *) "id", NULL
9922 };
9923
994141e6
RD
9924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9925 if (obj0) {
093d3ff1
RD
9926 {
9927 arg1 = (int)(SWIG_As_int(obj0));
9928 if (SWIG_arg_fail(1)) SWIG_fail;
9929 }
994141e6 9930 }
d14a1e28
RD
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
15afbcd0 9938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
d14a1e28
RD
9939 return resultobj;
9940 fail:
9941 return NULL;
9942}
9943
9944
c32bde28 9945static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9946 PyObject *resultobj;
9947 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9948 int arg2 ;
9949 PyObject * obj0 = 0 ;
994141e6 9950 PyObject * obj1 = 0 ;
d14a1e28
RD
9951 char *kwnames[] = {
9952 (char *) "self",(char *) "flags", NULL
9953 };
9954
994141e6 9955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9957 if (SWIG_arg_fail(1)) SWIG_fail;
9958 {
9959 arg2 = (int)(SWIG_As_int(obj1));
9960 if (SWIG_arg_fail(2)) SWIG_fail;
9961 }
d14a1e28
RD
9962 {
9963 PyThreadState* __tstate = wxPyBeginAllowThreads();
9964 (arg1)->SetFlags(arg2);
9965
9966 wxPyEndAllowThreads(__tstate);
9967 if (PyErr_Occurred()) SWIG_fail;
9968 }
9969 Py_INCREF(Py_None); resultobj = Py_None;
9970 return resultobj;
9971 fail:
9972 return NULL;
9973}
9974
9975
c32bde28 9976static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9977 PyObject *resultobj;
9978 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9979 int result;
9980 PyObject * obj0 = 0 ;
9981 char *kwnames[] = {
9982 (char *) "self", NULL
9983 };
9984
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9987 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9988 {
9989 PyThreadState* __tstate = wxPyBeginAllowThreads();
9990 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
9991
9992 wxPyEndAllowThreads(__tstate);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
093d3ff1
RD
9995 {
9996 resultobj = SWIG_From_int((int)(result));
9997 }
d14a1e28
RD
9998 return resultobj;
9999 fail:
10000 return NULL;
10001}
10002
10003
c32bde28 10004static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10005 PyObject *resultobj;
10006 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10007 wxRect *arg2 = 0 ;
10008 wxRect temp2 ;
10009 PyObject * obj0 = 0 ;
10010 PyObject * obj1 = 0 ;
10011 char *kwnames[] = {
10012 (char *) "self",(char *) "rect", NULL
10013 };
10014
10015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10017 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10018 {
10019 arg2 = &temp2;
10020 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10021 }
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
10024 (arg1)->SetRect((wxRect const &)*arg2);
10025
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) SWIG_fail;
10028 }
10029 Py_INCREF(Py_None); resultobj = Py_None;
10030 return resultobj;
10031 fail:
10032 return NULL;
10033}
10034
10035
c32bde28 10036static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10037 PyObject *resultobj;
10038 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10039 wxRect result;
10040 PyObject * obj0 = 0 ;
10041 char *kwnames[] = {
10042 (char *) "self", NULL
10043 };
10044
10045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
10046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10047 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10048 {
10049 PyThreadState* __tstate = wxPyBeginAllowThreads();
10050 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10051
10052 wxPyEndAllowThreads(__tstate);
10053 if (PyErr_Occurred()) SWIG_fail;
10054 }
10055 {
10056 wxRect * resultptr;
093d3ff1 10057 resultptr = new wxRect((wxRect &)(result));
15afbcd0 10058 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
10059 }
10060 return resultobj;
10061 fail:
10062 return NULL;
10063}
10064
10065
c32bde28 10066static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10067 PyObject *obj;
10068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10069 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10070 Py_INCREF(obj);
10071 return Py_BuildValue((char *)"");
10072}
c32bde28 10073static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10074 PyObject *resultobj;
10075 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 10076 int arg2 = (int) -1 ;
d14a1e28
RD
10077 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10078 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10079 wxSize const &arg4_defvalue = wxDefaultSize ;
10080 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10081 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10082 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10083 wxString *arg6 = (wxString *) &arg6_defvalue ;
10084 wxSashLayoutWindow *result;
10085 wxPoint temp3 ;
10086 wxSize temp4 ;
ae8162c8 10087 bool temp6 = false ;
d14a1e28 10088 PyObject * obj0 = 0 ;
994141e6 10089 PyObject * obj1 = 0 ;
d14a1e28
RD
10090 PyObject * obj2 = 0 ;
10091 PyObject * obj3 = 0 ;
994141e6 10092 PyObject * obj4 = 0 ;
d14a1e28
RD
10093 PyObject * obj5 = 0 ;
10094 char *kwnames[] = {
10095 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10096 };
10097
248ed943 10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
10099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10100 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 10101 if (obj1) {
093d3ff1
RD
10102 {
10103 arg2 = (int)(SWIG_As_int(obj1));
10104 if (SWIG_arg_fail(2)) SWIG_fail;
10105 }
248ed943 10106 }
d14a1e28
RD
10107 if (obj2) {
10108 {
10109 arg3 = &temp3;
10110 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10111 }
10112 }
10113 if (obj3) {
10114 {
10115 arg4 = &temp4;
10116 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10117 }
10118 }
994141e6 10119 if (obj4) {
093d3ff1
RD
10120 {
10121 arg5 = (long)(SWIG_As_long(obj4));
10122 if (SWIG_arg_fail(5)) SWIG_fail;
10123 }
994141e6 10124 }
d14a1e28
RD
10125 if (obj5) {
10126 {
10127 arg6 = wxString_in_helper(obj5);
10128 if (arg6 == NULL) SWIG_fail;
ae8162c8 10129 temp6 = true;
d14a1e28
RD
10130 }
10131 }
10132 {
e3b71cb8 10133 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10136
10137 wxPyEndAllowThreads(__tstate);
110da5b0 10138 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10139 }
15afbcd0 10140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
10141 {
10142 if (temp6)
10143 delete arg6;
10144 }
10145 return resultobj;
10146 fail:
10147 {
10148 if (temp6)
10149 delete arg6;
10150 }
10151 return NULL;
10152}
10153
10154
c32bde28 10155static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10156 PyObject *resultobj;
10157 wxSashLayoutWindow *result;
10158 char *kwnames[] = {
10159 NULL
10160 };
10161
10162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10163 {
e3b71cb8 10164 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10165 PyThreadState* __tstate = wxPyBeginAllowThreads();
10166 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10167
10168 wxPyEndAllowThreads(__tstate);
110da5b0 10169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10170 }
15afbcd0 10171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
10172 return resultobj;
10173 fail:
10174 return NULL;
10175}
10176
10177
c32bde28 10178static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10179 PyObject *resultobj;
10180 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10181 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 10182 int arg3 = (int) -1 ;
d14a1e28
RD
10183 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10184 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10185 wxSize const &arg5_defvalue = wxDefaultSize ;
10186 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10187 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10188 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10189 wxString *arg7 = (wxString *) &arg7_defvalue ;
10190 bool result;
10191 wxPoint temp4 ;
10192 wxSize temp5 ;
ae8162c8 10193 bool temp7 = false ;
d14a1e28
RD
10194 PyObject * obj0 = 0 ;
10195 PyObject * obj1 = 0 ;
994141e6 10196 PyObject * obj2 = 0 ;
d14a1e28
RD
10197 PyObject * obj3 = 0 ;
10198 PyObject * obj4 = 0 ;
994141e6 10199 PyObject * obj5 = 0 ;
d14a1e28
RD
10200 PyObject * obj6 = 0 ;
10201 char *kwnames[] = {
10202 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10203 };
10204
248ed943 10205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
10206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10207 if (SWIG_arg_fail(1)) SWIG_fail;
10208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10209 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 10210 if (obj2) {
093d3ff1
RD
10211 {
10212 arg3 = (int)(SWIG_As_int(obj2));
10213 if (SWIG_arg_fail(3)) SWIG_fail;
10214 }
248ed943 10215 }
d14a1e28
RD
10216 if (obj3) {
10217 {
10218 arg4 = &temp4;
10219 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10220 }
10221 }
10222 if (obj4) {
10223 {
10224 arg5 = &temp5;
10225 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10226 }
10227 }
994141e6 10228 if (obj5) {
093d3ff1
RD
10229 {
10230 arg6 = (long)(SWIG_As_long(obj5));
10231 if (SWIG_arg_fail(6)) SWIG_fail;
10232 }
994141e6 10233 }
d14a1e28
RD
10234 if (obj6) {
10235 {
10236 arg7 = wxString_in_helper(obj6);
10237 if (arg7 == NULL) SWIG_fail;
ae8162c8 10238 temp7 = true;
d14a1e28
RD
10239 }
10240 }
10241 {
10242 PyThreadState* __tstate = wxPyBeginAllowThreads();
10243 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10244
10245 wxPyEndAllowThreads(__tstate);
10246 if (PyErr_Occurred()) SWIG_fail;
10247 }
4f89f6a3
RD
10248 {
10249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10250 }
d14a1e28
RD
10251 {
10252 if (temp7)
10253 delete arg7;
10254 }
10255 return resultobj;
10256 fail:
10257 {
10258 if (temp7)
10259 delete arg7;
10260 }
10261 return NULL;
10262}
10263
10264
c32bde28 10265static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10266 PyObject *resultobj;
10267 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10268 wxLayoutAlignment result;
d14a1e28
RD
10269 PyObject * obj0 = 0 ;
10270 char *kwnames[] = {
10271 (char *) "self", NULL
10272 };
10273
10274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
10275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10276 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10277 {
10278 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10279 result = (wxLayoutAlignment)(arg1)->GetAlignment();
d14a1e28
RD
10280
10281 wxPyEndAllowThreads(__tstate);
10282 if (PyErr_Occurred()) SWIG_fail;
10283 }
093d3ff1 10284 resultobj = SWIG_From_int((result));
d14a1e28
RD
10285 return resultobj;
10286 fail:
10287 return NULL;
10288}
10289
10290
c32bde28 10291static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10292 PyObject *resultobj;
10293 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10294 wxLayoutOrientation result;
d14a1e28
RD
10295 PyObject * obj0 = 0 ;
10296 char *kwnames[] = {
10297 (char *) "self", NULL
10298 };
10299
10300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
10301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10302 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10305 result = (wxLayoutOrientation)(arg1)->GetOrientation();
d14a1e28
RD
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
093d3ff1 10310 resultobj = SWIG_From_int((result));
d14a1e28
RD
10311 return resultobj;
10312 fail:
10313 return NULL;
10314}
10315
10316
c32bde28 10317static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10318 PyObject *resultobj;
10319 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10320 wxLayoutAlignment arg2 ;
d14a1e28 10321 PyObject * obj0 = 0 ;
994141e6 10322 PyObject * obj1 = 0 ;
d14a1e28
RD
10323 char *kwnames[] = {
10324 (char *) "self",(char *) "alignment", NULL
10325 };
10326
994141e6 10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10329 if (SWIG_arg_fail(1)) SWIG_fail;
10330 {
10331 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10332 if (SWIG_arg_fail(2)) SWIG_fail;
10333 }
d14a1e28
RD
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 Py_INCREF(Py_None); resultobj = Py_None;
10342 return resultobj;
10343 fail:
10344 return NULL;
10345}
10346
10347
c32bde28 10348static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10349 PyObject *resultobj;
10350 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10351 wxSize *arg2 = 0 ;
10352 wxSize temp2 ;
10353 PyObject * obj0 = 0 ;
10354 PyObject * obj1 = 0 ;
10355 char *kwnames[] = {
10356 (char *) "self",(char *) "size", NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10362 {
10363 arg2 = &temp2;
10364 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10365 }
10366 {
10367 PyThreadState* __tstate = wxPyBeginAllowThreads();
10368 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10369
10370 wxPyEndAllowThreads(__tstate);
10371 if (PyErr_Occurred()) SWIG_fail;
10372 }
10373 Py_INCREF(Py_None); resultobj = Py_None;
10374 return resultobj;
10375 fail:
10376 return NULL;
10377}
10378
10379
c32bde28 10380static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10381 PyObject *resultobj;
10382 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10383 wxLayoutOrientation arg2 ;
d14a1e28 10384 PyObject * obj0 = 0 ;
994141e6 10385 PyObject * obj1 = 0 ;
d14a1e28
RD
10386 char *kwnames[] = {
10387 (char *) "self",(char *) "orientation", NULL
10388 };
10389
994141e6 10390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10392 if (SWIG_arg_fail(1)) SWIG_fail;
10393 {
10394 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10395 if (SWIG_arg_fail(2)) SWIG_fail;
10396 }
d14a1e28
RD
10397 {
10398 PyThreadState* __tstate = wxPyBeginAllowThreads();
10399 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10400
10401 wxPyEndAllowThreads(__tstate);
10402 if (PyErr_Occurred()) SWIG_fail;
10403 }
10404 Py_INCREF(Py_None); resultobj = Py_None;
10405 return resultobj;
10406 fail:
10407 return NULL;
10408}
10409
10410
c32bde28 10411static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10412 PyObject *obj;
10413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10414 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10415 Py_INCREF(obj);
10416 return Py_BuildValue((char *)"");
10417}
c32bde28 10418static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10419 PyObject *resultobj;
10420 wxLayoutAlgorithm *result;
10421 char *kwnames[] = {
10422 NULL
10423 };
10424
10425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10426 {
10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
10428 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10429
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
15afbcd0 10433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
d14a1e28
RD
10434 return resultobj;
10435 fail:
10436 return NULL;
10437}
10438
10439
c32bde28 10440static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10441 PyObject *resultobj;
10442 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10443 PyObject * obj0 = 0 ;
10444 char *kwnames[] = {
10445 (char *) "self", NULL
10446 };
10447
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
093d3ff1
RD
10449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10450 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 delete arg1;
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 Py_INCREF(Py_None); resultobj = Py_None;
10459 return resultobj;
10460 fail:
10461 return NULL;
10462}
10463
10464
c32bde28 10465static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10466 PyObject *resultobj;
10467 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10468 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10469 wxRect *arg3 = (wxRect *) NULL ;
10470 bool result;
10471 PyObject * obj0 = 0 ;
10472 PyObject * obj1 = 0 ;
10473 PyObject * obj2 = 0 ;
10474 char *kwnames[] = {
10475 (char *) "self",(char *) "frame",(char *) "rect", NULL
10476 };
10477
10478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10480 if (SWIG_arg_fail(1)) SWIG_fail;
10481 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10482 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10483 if (obj2) {
093d3ff1
RD
10484 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10485 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10486 }
10487 {
10488 PyThreadState* __tstate = wxPyBeginAllowThreads();
10489 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10490
10491 wxPyEndAllowThreads(__tstate);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 }
4f89f6a3
RD
10494 {
10495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10496 }
d14a1e28
RD
10497 return resultobj;
10498 fail:
10499 return NULL;
10500}
10501
10502
c32bde28 10503static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10504 PyObject *resultobj;
10505 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10506 wxFrame *arg2 = (wxFrame *) 0 ;
10507 wxWindow *arg3 = (wxWindow *) NULL ;
10508 bool result;
10509 PyObject * obj0 = 0 ;
10510 PyObject * obj1 = 0 ;
10511 PyObject * obj2 = 0 ;
10512 char *kwnames[] = {
10513 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10514 };
10515
10516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10518 if (SWIG_arg_fail(1)) SWIG_fail;
10519 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10520 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10521 if (obj2) {
093d3ff1
RD
10522 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10523 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10524 }
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10528
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
4f89f6a3
RD
10532 {
10533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10534 }
d14a1e28
RD
10535 return resultobj;
10536 fail:
10537 return NULL;
10538}
10539
10540
c32bde28 10541static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10542 PyObject *resultobj;
10543 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10544 wxWindow *arg2 = (wxWindow *) 0 ;
10545 wxWindow *arg3 = (wxWindow *) NULL ;
10546 bool result;
10547 PyObject * obj0 = 0 ;
10548 PyObject * obj1 = 0 ;
10549 PyObject * obj2 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10556 if (SWIG_arg_fail(1)) SWIG_fail;
10557 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10558 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10559 if (obj2) {
093d3ff1
RD
10560 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10561 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10562 }
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10566
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
4f89f6a3
RD
10570 {
10571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10572 }
d14a1e28
RD
10573 return resultobj;
10574 fail:
10575 return NULL;
10576}
10577
10578
c32bde28 10579static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10580 PyObject *obj;
10581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10582 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10583 Py_INCREF(obj);
10584 return Py_BuildValue((char *)"");
10585}
c32bde28 10586static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10587 PyObject *resultobj;
10588 wxWindow *arg1 = (wxWindow *) 0 ;
10589 int arg2 = (int) wxBORDER_NONE ;
10590 wxPopupWindow *result;
10591 PyObject * obj0 = 0 ;
994141e6 10592 PyObject * obj1 = 0 ;
d14a1e28
RD
10593 char *kwnames[] = {
10594 (char *) "parent",(char *) "flags", NULL
10595 };
10596
994141e6 10597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10599 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 10600 if (obj1) {
093d3ff1
RD
10601 {
10602 arg2 = (int)(SWIG_As_int(obj1));
10603 if (SWIG_arg_fail(2)) SWIG_fail;
10604 }
994141e6 10605 }
d14a1e28 10606 {
e3b71cb8 10607 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10608 PyThreadState* __tstate = wxPyBeginAllowThreads();
10609 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10610
10611 wxPyEndAllowThreads(__tstate);
110da5b0 10612 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10613 }
15afbcd0 10614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
10615 return resultobj;
10616 fail:
10617 return NULL;
10618}
10619
10620
c32bde28 10621static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10622 PyObject *resultobj;
10623 wxPopupWindow *result;
10624 char *kwnames[] = {
10625 NULL
10626 };
10627
10628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10629 {
e3b71cb8 10630 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 result = (wxPopupWindow *)new wxPopupWindow();
10633
10634 wxPyEndAllowThreads(__tstate);
110da5b0 10635 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10636 }
15afbcd0 10637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
10638 return resultobj;
10639 fail:
10640 return NULL;
10641}
10642
10643
c32bde28 10644static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10645 PyObject *resultobj;
10646 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10647 wxWindow *arg2 = (wxWindow *) 0 ;
10648 int arg3 = (int) wxBORDER_NONE ;
10649 bool result;
10650 PyObject * obj0 = 0 ;
10651 PyObject * obj1 = 0 ;
994141e6 10652 PyObject * obj2 = 0 ;
d14a1e28
RD
10653 char *kwnames[] = {
10654 (char *) "self",(char *) "parent",(char *) "flags", NULL
10655 };
10656
994141e6 10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10659 if (SWIG_arg_fail(1)) SWIG_fail;
10660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10661 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 10662 if (obj2) {
093d3ff1
RD
10663 {
10664 arg3 = (int)(SWIG_As_int(obj2));
10665 if (SWIG_arg_fail(3)) SWIG_fail;
10666 }
994141e6 10667 }
d14a1e28
RD
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 result = (bool)(arg1)->Create(arg2,arg3);
10671
10672 wxPyEndAllowThreads(__tstate);
10673 if (PyErr_Occurred()) SWIG_fail;
10674 }
4f89f6a3
RD
10675 {
10676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10677 }
d14a1e28
RD
10678 return resultobj;
10679 fail:
10680 return NULL;
10681}
10682
10683
c32bde28 10684static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10685 PyObject *resultobj;
10686 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10687 wxPoint *arg2 = 0 ;
10688 wxSize *arg3 = 0 ;
10689 wxPoint temp2 ;
10690 wxSize temp3 ;
10691 PyObject * obj0 = 0 ;
10692 PyObject * obj1 = 0 ;
10693 PyObject * obj2 = 0 ;
10694 char *kwnames[] = {
10695 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10696 };
10697
10698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10700 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10701 {
10702 arg2 = &temp2;
10703 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10704 }
10705 {
10706 arg3 = &temp3;
10707 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10708 }
10709 {
10710 PyThreadState* __tstate = wxPyBeginAllowThreads();
10711 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10712
10713 wxPyEndAllowThreads(__tstate);
10714 if (PyErr_Occurred()) SWIG_fail;
10715 }
10716 Py_INCREF(Py_None); resultobj = Py_None;
10717 return resultobj;
10718 fail:
10719 return NULL;
10720}
10721
10722
c32bde28 10723static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10724 PyObject *obj;
10725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10726 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10727 Py_INCREF(obj);
10728 return Py_BuildValue((char *)"");
10729}
c32bde28 10730static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10731 PyObject *resultobj;
10732 wxWindow *arg1 = (wxWindow *) 0 ;
10733 int arg2 = (int) wxBORDER_NONE ;
10734 wxPyPopupTransientWindow *result;
10735 PyObject * obj0 = 0 ;
994141e6 10736 PyObject * obj1 = 0 ;
d14a1e28
RD
10737 char *kwnames[] = {
10738 (char *) "parent",(char *) "style", NULL
10739 };
10740
994141e6 10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10743 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 10744 if (obj1) {
093d3ff1
RD
10745 {
10746 arg2 = (int)(SWIG_As_int(obj1));
10747 if (SWIG_arg_fail(2)) SWIG_fail;
10748 }
994141e6 10749 }
d14a1e28 10750 {
e3b71cb8 10751 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10754
10755 wxPyEndAllowThreads(__tstate);
110da5b0 10756 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10757 }
15afbcd0 10758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
10759 return resultobj;
10760 fail:
10761 return NULL;
10762}
10763
10764
c32bde28 10765static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10766 PyObject *resultobj;
10767 wxPyPopupTransientWindow *result;
10768 char *kwnames[] = {
10769 NULL
10770 };
10771
10772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10773 {
e3b71cb8 10774 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10775 PyThreadState* __tstate = wxPyBeginAllowThreads();
10776 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10777
10778 wxPyEndAllowThreads(__tstate);
110da5b0 10779 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10780 }
15afbcd0 10781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
10782 return resultobj;
10783 fail:
10784 return NULL;
10785}
10786
10787
c32bde28 10788static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10789 PyObject *resultobj;
10790 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10791 PyObject *arg2 = (PyObject *) 0 ;
10792 PyObject *arg3 = (PyObject *) 0 ;
10793 PyObject * obj0 = 0 ;
10794 PyObject * obj1 = 0 ;
10795 PyObject * obj2 = 0 ;
10796 char *kwnames[] = {
10797 (char *) "self",(char *) "self",(char *) "_class", NULL
10798 };
10799
10800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10802 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10803 arg2 = obj1;
10804 arg3 = obj2;
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 (arg1)->_setCallbackInfo(arg2,arg3);
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 Py_INCREF(Py_None); resultobj = Py_None;
10813 return resultobj;
10814 fail:
10815 return NULL;
10816}
10817
10818
c32bde28 10819static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10820 PyObject *resultobj;
10821 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10822 wxWindow *arg2 = (wxWindow *) NULL ;
10823 PyObject * obj0 = 0 ;
10824 PyObject * obj1 = 0 ;
10825 char *kwnames[] = {
10826 (char *) "self",(char *) "focus", NULL
10827 };
10828
10829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10831 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 10832 if (obj1) {
093d3ff1
RD
10833 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10834 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10835 }
10836 {
10837 PyThreadState* __tstate = wxPyBeginAllowThreads();
10838 (arg1)->Popup(arg2);
10839
10840 wxPyEndAllowThreads(__tstate);
10841 if (PyErr_Occurred()) SWIG_fail;
10842 }
10843 Py_INCREF(Py_None); resultobj = Py_None;
10844 return resultobj;
10845 fail:
10846 return NULL;
10847}
10848
10849
c32bde28 10850static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10851 PyObject *resultobj;
10852 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10853 PyObject * obj0 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self", NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
093d3ff1
RD
10859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10860 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10861 {
10862 PyThreadState* __tstate = wxPyBeginAllowThreads();
10863 (arg1)->Dismiss();
10864
10865 wxPyEndAllowThreads(__tstate);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 }
10868 Py_INCREF(Py_None); resultobj = Py_None;
10869 return resultobj;
10870 fail:
10871 return NULL;
10872}
10873
10874
c32bde28 10875static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10876 PyObject *obj;
10877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10878 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10879 Py_INCREF(obj);
10880 return Py_BuildValue((char *)"");
10881}
c32bde28 10882static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10883 PyObject *resultobj;
10884 wxWindow *arg1 = (wxWindow *) 0 ;
fd3f2efe 10885 wxString *arg2 = 0 ;
e811c8ce 10886 int arg3 = (int) 100 ;
d14a1e28
RD
10887 wxRect *arg4 = (wxRect *) NULL ;
10888 wxTipWindow *result;
ae8162c8 10889 bool temp2 = false ;
d14a1e28
RD
10890 PyObject * obj0 = 0 ;
10891 PyObject * obj1 = 0 ;
994141e6 10892 PyObject * obj2 = 0 ;
d14a1e28
RD
10893 PyObject * obj3 = 0 ;
10894 char *kwnames[] = {
10895 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10896 };
10897
994141e6 10898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10900 if (SWIG_arg_fail(1)) SWIG_fail;
fd3f2efe
RD
10901 {
10902 arg2 = wxString_in_helper(obj1);
10903 if (arg2 == NULL) SWIG_fail;
ae8162c8 10904 temp2 = true;
fd3f2efe 10905 }
994141e6 10906 if (obj2) {
093d3ff1
RD
10907 {
10908 arg3 = (int)(SWIG_As_int(obj2));
10909 if (SWIG_arg_fail(3)) SWIG_fail;
10910 }
994141e6 10911 }
d14a1e28 10912 if (obj3) {
093d3ff1
RD
10913 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10914 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
10915 }
10916 {
e3b71cb8 10917 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
fd3f2efe 10919 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
10920
10921 wxPyEndAllowThreads(__tstate);
110da5b0 10922 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10923 }
15afbcd0 10924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
fd3f2efe
RD
10925 {
10926 if (temp2)
10927 delete arg2;
10928 }
d14a1e28
RD
10929 return resultobj;
10930 fail:
fd3f2efe
RD
10931 {
10932 if (temp2)
10933 delete arg2;
10934 }
d14a1e28
RD
10935 return NULL;
10936}
10937
10938
c32bde28 10939static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10940 PyObject *resultobj;
10941 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10942 wxRect *arg2 = 0 ;
10943 wxRect temp2 ;
10944 PyObject * obj0 = 0 ;
10945 PyObject * obj1 = 0 ;
10946 char *kwnames[] = {
10947 (char *) "self",(char *) "rectBound", NULL
10948 };
10949
10950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10952 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10953 {
10954 arg2 = &temp2;
10955 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10956 }
10957 {
10958 PyThreadState* __tstate = wxPyBeginAllowThreads();
10959 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10960
10961 wxPyEndAllowThreads(__tstate);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 }
10964 Py_INCREF(Py_None); resultobj = Py_None;
10965 return resultobj;
10966 fail:
10967 return NULL;
10968}
10969
10970
c32bde28 10971static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10972 PyObject *resultobj;
10973 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10974 PyObject * obj0 = 0 ;
10975 char *kwnames[] = {
10976 (char *) "self", NULL
10977 };
10978
10979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
10980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10981 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10982 {
10983 PyThreadState* __tstate = wxPyBeginAllowThreads();
10984 (arg1)->Close();
10985
10986 wxPyEndAllowThreads(__tstate);
10987 if (PyErr_Occurred()) SWIG_fail;
10988 }
10989 Py_INCREF(Py_None); resultobj = Py_None;
10990 return resultobj;
10991 fail:
10992 return NULL;
10993}
10994
10995
c32bde28 10996static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10997 PyObject *obj;
10998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10999 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
11000 Py_INCREF(obj);
11001 return Py_BuildValue((char *)"");
11002}
c32bde28 11003static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11004 PyObject *resultobj;
11005 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11006 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
11007 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11008 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11009 wxSize const &arg4_defvalue = wxDefaultSize ;
11010 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11011 long arg5 = (long) 0 ;
11012 wxString const &arg6_defvalue = wxPyPanelNameStr ;
11013 wxString *arg6 = (wxString *) &arg6_defvalue ;
11014 wxPyVScrolledWindow *result;
11015 wxPoint temp3 ;
11016 wxSize temp4 ;
ae8162c8 11017 bool temp6 = false ;
d14a1e28 11018 PyObject * obj0 = 0 ;
994141e6 11019 PyObject * obj1 = 0 ;
d14a1e28
RD
11020 PyObject * obj2 = 0 ;
11021 PyObject * obj3 = 0 ;
994141e6 11022 PyObject * obj4 = 0 ;
d14a1e28
RD
11023 PyObject * obj5 = 0 ;
11024 char *kwnames[] = {
11025 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11026 };
11027
994141e6 11028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11030 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 11031 if (obj1) {
093d3ff1
RD
11032 {
11033 arg2 = (int)(SWIG_As_int(obj1));
11034 if (SWIG_arg_fail(2)) SWIG_fail;
11035 }
994141e6 11036 }
d14a1e28
RD
11037 if (obj2) {
11038 {
11039 arg3 = &temp3;
11040 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11041 }
11042 }
11043 if (obj3) {
11044 {
11045 arg4 = &temp4;
11046 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11047 }
11048 }
994141e6 11049 if (obj4) {
093d3ff1
RD
11050 {
11051 arg5 = (long)(SWIG_As_long(obj4));
11052 if (SWIG_arg_fail(5)) SWIG_fail;
11053 }
994141e6 11054 }
d14a1e28
RD
11055 if (obj5) {
11056 {
11057 arg6 = wxString_in_helper(obj5);
11058 if (arg6 == NULL) SWIG_fail;
ae8162c8 11059 temp6 = true;
d14a1e28
RD
11060 }
11061 }
11062 {
e3b71cb8 11063 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
11065 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11066
11067 wxPyEndAllowThreads(__tstate);
110da5b0 11068 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11069 }
15afbcd0 11070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
11071 {
11072 if (temp6)
11073 delete arg6;
11074 }
11075 return resultobj;
11076 fail:
11077 {
11078 if (temp6)
11079 delete arg6;
11080 }
11081 return NULL;
11082}
11083
11084
c32bde28 11085static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11086 PyObject *resultobj;
11087 wxPyVScrolledWindow *result;
11088 char *kwnames[] = {
11089 NULL
11090 };
11091
11092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11093 {
e3b71cb8 11094 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11095 PyThreadState* __tstate = wxPyBeginAllowThreads();
11096 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11097
11098 wxPyEndAllowThreads(__tstate);
110da5b0 11099 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11100 }
15afbcd0 11101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
11102 return resultobj;
11103 fail:
11104 return NULL;
11105}
11106
11107
c32bde28 11108static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11109 PyObject *resultobj;
11110 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11111 PyObject *arg2 = (PyObject *) 0 ;
11112 PyObject *arg3 = (PyObject *) 0 ;
11113 PyObject * obj0 = 0 ;
11114 PyObject * obj1 = 0 ;
11115 PyObject * obj2 = 0 ;
11116 char *kwnames[] = {
11117 (char *) "self",(char *) "self",(char *) "_class", NULL
11118 };
11119
11120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11122 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11123 arg2 = obj1;
11124 arg3 = obj2;
11125 {
11126 PyThreadState* __tstate = wxPyBeginAllowThreads();
11127 (arg1)->_setCallbackInfo(arg2,arg3);
11128
11129 wxPyEndAllowThreads(__tstate);
11130 if (PyErr_Occurred()) SWIG_fail;
11131 }
11132 Py_INCREF(Py_None); resultobj = Py_None;
11133 return resultobj;
11134 fail:
11135 return NULL;
11136}
11137
11138
c32bde28 11139static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11140 PyObject *resultobj;
11141 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11142 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11143 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
11144 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11145 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11146 wxSize const &arg5_defvalue = wxDefaultSize ;
11147 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11148 long arg6 = (long) 0 ;
11149 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11150 wxString *arg7 = (wxString *) &arg7_defvalue ;
11151 bool result;
11152 wxPoint temp4 ;
11153 wxSize temp5 ;
ae8162c8 11154 bool temp7 = false ;
d14a1e28
RD
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
994141e6 11157 PyObject * obj2 = 0 ;
d14a1e28
RD
11158 PyObject * obj3 = 0 ;
11159 PyObject * obj4 = 0 ;
994141e6 11160 PyObject * obj5 = 0 ;
d14a1e28
RD
11161 PyObject * obj6 = 0 ;
11162 char *kwnames[] = {
11163 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11164 };
11165
994141e6 11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11168 if (SWIG_arg_fail(1)) SWIG_fail;
11169 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11170 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 11171 if (obj2) {
093d3ff1
RD
11172 {
11173 arg3 = (int)(SWIG_As_int(obj2));
11174 if (SWIG_arg_fail(3)) SWIG_fail;
11175 }
994141e6 11176 }
d14a1e28
RD
11177 if (obj3) {
11178 {
11179 arg4 = &temp4;
11180 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11181 }
11182 }
11183 if (obj4) {
11184 {
11185 arg5 = &temp5;
11186 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11187 }
11188 }
994141e6 11189 if (obj5) {
093d3ff1
RD
11190 {
11191 arg6 = (long)(SWIG_As_long(obj5));
11192 if (SWIG_arg_fail(6)) SWIG_fail;
11193 }
994141e6 11194 }
d14a1e28
RD
11195 if (obj6) {
11196 {
11197 arg7 = wxString_in_helper(obj6);
11198 if (arg7 == NULL) SWIG_fail;
ae8162c8 11199 temp7 = true;
d14a1e28
RD
11200 }
11201 }
11202 {
11203 PyThreadState* __tstate = wxPyBeginAllowThreads();
11204 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11205
11206 wxPyEndAllowThreads(__tstate);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
4f89f6a3
RD
11209 {
11210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11211 }
d14a1e28
RD
11212 {
11213 if (temp7)
11214 delete arg7;
11215 }
11216 return resultobj;
11217 fail:
11218 {
11219 if (temp7)
11220 delete arg7;
11221 }
11222 return NULL;
11223}
11224
11225
c32bde28 11226static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11227 PyObject *resultobj;
11228 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11229 size_t arg2 ;
11230 PyObject * obj0 = 0 ;
11231 PyObject * obj1 = 0 ;
11232 char *kwnames[] = {
11233 (char *) "self",(char *) "count", NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail;
11239 {
11240 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11241 if (SWIG_arg_fail(2)) SWIG_fail;
11242 }
d14a1e28
RD
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 (arg1)->SetLineCount(arg2);
11246
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 Py_INCREF(Py_None); resultobj = Py_None;
11251 return resultobj;
11252 fail:
11253 return NULL;
11254}
11255
11256
c32bde28 11257static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11258 PyObject *resultobj;
11259 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11260 size_t arg2 ;
11261 bool result;
11262 PyObject * obj0 = 0 ;
11263 PyObject * obj1 = 0 ;
11264 char *kwnames[] = {
11265 (char *) "self",(char *) "line", NULL
11266 };
11267
11268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11270 if (SWIG_arg_fail(1)) SWIG_fail;
11271 {
11272 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11273 if (SWIG_arg_fail(2)) SWIG_fail;
11274 }
d14a1e28
RD
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
11277 result = (bool)(arg1)->ScrollToLine(arg2);
11278
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
4f89f6a3
RD
11282 {
11283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11284 }
d14a1e28
RD
11285 return resultobj;
11286 fail:
11287 return NULL;
11288}
11289
11290
c32bde28 11291static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11292 PyObject *resultobj;
11293 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11294 int arg2 ;
11295 bool result;
11296 PyObject * obj0 = 0 ;
994141e6 11297 PyObject * obj1 = 0 ;
d14a1e28
RD
11298 char *kwnames[] = {
11299 (char *) "self",(char *) "lines", NULL
11300 };
11301
994141e6 11302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11304 if (SWIG_arg_fail(1)) SWIG_fail;
11305 {
11306 arg2 = (int)(SWIG_As_int(obj1));
11307 if (SWIG_arg_fail(2)) SWIG_fail;
11308 }
d14a1e28
RD
11309 {
11310 PyThreadState* __tstate = wxPyBeginAllowThreads();
11311 result = (bool)(arg1)->ScrollLines(arg2);
11312
11313 wxPyEndAllowThreads(__tstate);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 }
4f89f6a3
RD
11316 {
11317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11318 }
d14a1e28
RD
11319 return resultobj;
11320 fail:
11321 return NULL;
11322}
11323
11324
c32bde28 11325static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11326 PyObject *resultobj;
11327 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11328 int arg2 ;
11329 bool result;
11330 PyObject * obj0 = 0 ;
994141e6 11331 PyObject * obj1 = 0 ;
d14a1e28
RD
11332 char *kwnames[] = {
11333 (char *) "self",(char *) "pages", NULL
11334 };
11335
994141e6 11336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11338 if (SWIG_arg_fail(1)) SWIG_fail;
11339 {
11340 arg2 = (int)(SWIG_As_int(obj1));
11341 if (SWIG_arg_fail(2)) SWIG_fail;
11342 }
d14a1e28
RD
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 result = (bool)(arg1)->ScrollPages(arg2);
11346
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
4f89f6a3
RD
11350 {
11351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11352 }
d14a1e28
RD
11353 return resultobj;
11354 fail:
11355 return NULL;
11356}
11357
11358
c32bde28 11359static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11360 PyObject *resultobj;
11361 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11362 size_t arg2 ;
11363 PyObject * obj0 = 0 ;
11364 PyObject * obj1 = 0 ;
11365 char *kwnames[] = {
11366 (char *) "self",(char *) "line", NULL
11367 };
11368
11369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11371 if (SWIG_arg_fail(1)) SWIG_fail;
11372 {
11373 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11374 if (SWIG_arg_fail(2)) SWIG_fail;
11375 }
d14a1e28
RD
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 (arg1)->RefreshLine(arg2);
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 Py_INCREF(Py_None); resultobj = Py_None;
11384 return resultobj;
11385 fail:
11386 return NULL;
11387}
11388
11389
c32bde28 11390static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11391 PyObject *resultobj;
11392 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11393 size_t arg2 ;
11394 size_t arg3 ;
11395 PyObject * obj0 = 0 ;
11396 PyObject * obj1 = 0 ;
11397 PyObject * obj2 = 0 ;
11398 char *kwnames[] = {
11399 (char *) "self",(char *) "from",(char *) "to", NULL
11400 };
11401
11402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11404 if (SWIG_arg_fail(1)) SWIG_fail;
11405 {
11406 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11407 if (SWIG_arg_fail(2)) SWIG_fail;
11408 }
11409 {
11410 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11411 if (SWIG_arg_fail(3)) SWIG_fail;
11412 }
d14a1e28
RD
11413 {
11414 PyThreadState* __tstate = wxPyBeginAllowThreads();
11415 (arg1)->RefreshLines(arg2,arg3);
11416
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 Py_INCREF(Py_None); resultobj = Py_None;
11421 return resultobj;
11422 fail:
11423 return NULL;
11424}
11425
11426
c32bde28 11427static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11428 PyObject *resultobj;
11429 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
e811c8ce
RD
11430 int arg2 ;
11431 int arg3 ;
d14a1e28
RD
11432 int result;
11433 PyObject * obj0 = 0 ;
994141e6
RD
11434 PyObject * obj1 = 0 ;
11435 PyObject * obj2 = 0 ;
d14a1e28
RD
11436 char *kwnames[] = {
11437 (char *) "self",(char *) "x",(char *) "y", NULL
11438 };
11439
354693ff 11440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11442 if (SWIG_arg_fail(1)) SWIG_fail;
11443 {
11444 arg2 = (int)(SWIG_As_int(obj1));
11445 if (SWIG_arg_fail(2)) SWIG_fail;
11446 }
11447 {
11448 arg3 = (int)(SWIG_As_int(obj2));
11449 if (SWIG_arg_fail(3)) SWIG_fail;
11450 }
d14a1e28
RD
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11454
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
093d3ff1
RD
11458 {
11459 resultobj = SWIG_From_int((int)(result));
11460 }
d14a1e28
RD
11461 return resultobj;
11462 fail:
11463 return NULL;
11464}
11465
11466
c32bde28 11467static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11468 PyObject *resultobj;
11469 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11470 wxPoint *arg2 = 0 ;
11471 int result;
11472 wxPoint temp2 ;
11473 PyObject * obj0 = 0 ;
11474 PyObject * obj1 = 0 ;
11475 char *kwnames[] = {
11476 (char *) "self",(char *) "pt", NULL
11477 };
11478
11479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11481 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11482 {
11483 arg2 = &temp2;
11484 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11485 }
11486 {
11487 PyThreadState* __tstate = wxPyBeginAllowThreads();
11488 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11489
11490 wxPyEndAllowThreads(__tstate);
11491 if (PyErr_Occurred()) SWIG_fail;
11492 }
093d3ff1
RD
11493 {
11494 resultobj = SWIG_From_int((int)(result));
11495 }
d14a1e28
RD
11496 return resultobj;
11497 fail:
11498 return NULL;
11499}
11500
11501
c32bde28 11502static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11503 PyObject *resultobj;
11504 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11505 PyObject * obj0 = 0 ;
11506 char *kwnames[] = {
11507 (char *) "self", NULL
11508 };
11509
11510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11512 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11513 {
11514 PyThreadState* __tstate = wxPyBeginAllowThreads();
11515 (arg1)->RefreshAll();
11516
11517 wxPyEndAllowThreads(__tstate);
11518 if (PyErr_Occurred()) SWIG_fail;
11519 }
11520 Py_INCREF(Py_None); resultobj = Py_None;
11521 return resultobj;
11522 fail:
11523 return NULL;
11524}
11525
11526
c32bde28 11527static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11528 PyObject *resultobj;
11529 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11530 size_t result;
11531 PyObject * obj0 = 0 ;
11532 char *kwnames[] = {
11533 (char *) "self", NULL
11534 };
11535
11536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
11537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11538 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11539 {
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
11541 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11542
11543 wxPyEndAllowThreads(__tstate);
11544 if (PyErr_Occurred()) SWIG_fail;
11545 }
093d3ff1
RD
11546 {
11547 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11548 }
d14a1e28
RD
11549 return resultobj;
11550 fail:
11551 return NULL;
11552}
11553
11554
70b7a5fe 11555static PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11556 PyObject *resultobj;
11557 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11558 size_t result;
11559 PyObject * obj0 = 0 ;
11560 char *kwnames[] = {
11561 (char *) "self", NULL
11562 };
11563
70b7a5fe 11564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames,&obj0)) goto fail;
093d3ff1
RD
11565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11566 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11567 {
11568 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b7a5fe 11569 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
d14a1e28
RD
11570
11571 wxPyEndAllowThreads(__tstate);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
093d3ff1
RD
11574 {
11575 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11576 }
d14a1e28
RD
11577 return resultobj;
11578 fail:
11579 return NULL;
11580}
11581
11582
70b7a5fe 11583static PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11584 PyObject *resultobj;
11585 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11586 size_t result;
11587 PyObject * obj0 = 0 ;
11588 char *kwnames[] = {
11589 (char *) "self", NULL
11590 };
11591
70b7a5fe 11592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames,&obj0)) goto fail;
093d3ff1
RD
11593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11594 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
70b7a5fe 11597 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
d14a1e28
RD
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
093d3ff1
RD
11602 {
11603 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11604 }
d14a1e28
RD
11605 return resultobj;
11606 fail:
11607 return NULL;
11608}
11609
11610
c32bde28 11611static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11612 PyObject *resultobj;
11613 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11614 size_t arg2 ;
11615 bool result;
11616 PyObject * obj0 = 0 ;
11617 PyObject * obj1 = 0 ;
11618 char *kwnames[] = {
11619 (char *) "self",(char *) "line", NULL
11620 };
11621
11622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11624 if (SWIG_arg_fail(1)) SWIG_fail;
11625 {
11626 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11627 if (SWIG_arg_fail(2)) SWIG_fail;
11628 }
d14a1e28
RD
11629 {
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11632
11633 wxPyEndAllowThreads(__tstate);
11634 if (PyErr_Occurred()) SWIG_fail;
11635 }
4f89f6a3
RD
11636 {
11637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11638 }
d14a1e28
RD
11639 return resultobj;
11640 fail:
11641 return NULL;
11642}
11643
11644
70b7a5fe
RD
11645static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11646 PyObject *resultobj;
11647 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11648 size_t result;
11649 PyObject * obj0 = 0 ;
11650 char *kwnames[] = {
11651 (char *) "self", NULL
11652 };
11653
11654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
11655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11656 if (SWIG_arg_fail(1)) SWIG_fail;
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11660
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
11664 {
11665 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11666 }
11667 return resultobj;
11668 fail:
11669 return NULL;
11670}
11671
11672
11673static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
11674 PyObject *resultobj;
11675 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11676 size_t result;
11677 PyObject * obj0 = 0 ;
11678 char *kwnames[] = {
11679 (char *) "self", NULL
11680 };
11681
11682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
11683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11684 if (SWIG_arg_fail(1)) SWIG_fail;
11685 {
11686 PyThreadState* __tstate = wxPyBeginAllowThreads();
11687 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11688
11689 wxPyEndAllowThreads(__tstate);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 }
11692 {
11693 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11694 }
11695 return resultobj;
11696 fail:
11697 return NULL;
11698}
11699
11700
c32bde28 11701static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11702 PyObject *obj;
11703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11704 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11705 Py_INCREF(obj);
11706 return Py_BuildValue((char *)"");
11707}
c32bde28 11708static int _wrap_VListBoxNameStr_set(PyObject *) {
b2dc1044
RD
11709 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11710 return 1;
11711}
11712
11713
093d3ff1 11714static PyObject *_wrap_VListBoxNameStr_get(void) {
b2dc1044
RD
11715 PyObject *pyobj;
11716
11717 {
11718#if wxUSE_UNICODE
11719 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11720#else
11721 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11722#endif
11723 }
11724 return pyobj;
11725}
11726
11727
c32bde28 11728static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11729 PyObject *resultobj;
11730 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11731 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
11732 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11733 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11734 wxSize const &arg4_defvalue = wxDefaultSize ;
11735 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11736 long arg5 = (long) 0 ;
11737 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11738 wxString *arg6 = (wxString *) &arg6_defvalue ;
11739 wxPyVListBox *result;
11740 wxPoint temp3 ;
11741 wxSize temp4 ;
ae8162c8 11742 bool temp6 = false ;
d14a1e28 11743 PyObject * obj0 = 0 ;
994141e6 11744 PyObject * obj1 = 0 ;
d14a1e28
RD
11745 PyObject * obj2 = 0 ;
11746 PyObject * obj3 = 0 ;
994141e6 11747 PyObject * obj4 = 0 ;
d14a1e28
RD
11748 PyObject * obj5 = 0 ;
11749 char *kwnames[] = {
11750 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11751 };
11752
994141e6 11753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11755 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 11756 if (obj1) {
093d3ff1
RD
11757 {
11758 arg2 = (int)(SWIG_As_int(obj1));
11759 if (SWIG_arg_fail(2)) SWIG_fail;
11760 }
994141e6 11761 }
d14a1e28
RD
11762 if (obj2) {
11763 {
11764 arg3 = &temp3;
11765 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11766 }
11767 }
11768 if (obj3) {
11769 {
11770 arg4 = &temp4;
11771 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11772 }
11773 }
994141e6 11774 if (obj4) {
093d3ff1
RD
11775 {
11776 arg5 = (long)(SWIG_As_long(obj4));
11777 if (SWIG_arg_fail(5)) SWIG_fail;
11778 }
994141e6 11779 }
d14a1e28
RD
11780 if (obj5) {
11781 {
11782 arg6 = wxString_in_helper(obj5);
11783 if (arg6 == NULL) SWIG_fail;
ae8162c8 11784 temp6 = true;
d14a1e28
RD
11785 }
11786 }
11787 {
e3b71cb8 11788 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11789 PyThreadState* __tstate = wxPyBeginAllowThreads();
11790 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11791
11792 wxPyEndAllowThreads(__tstate);
110da5b0 11793 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11794 }
15afbcd0 11795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
11796 {
11797 if (temp6)
11798 delete arg6;
11799 }
11800 return resultobj;
11801 fail:
11802 {
11803 if (temp6)
11804 delete arg6;
11805 }
11806 return NULL;
11807}
11808
11809
c32bde28 11810static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11811 PyObject *resultobj;
11812 wxPyVListBox *result;
11813 char *kwnames[] = {
11814 NULL
11815 };
11816
11817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11818 {
e3b71cb8 11819 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
11821 result = (wxPyVListBox *)new wxPyVListBox();
11822
11823 wxPyEndAllowThreads(__tstate);
110da5b0 11824 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11825 }
15afbcd0 11826 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
11827 return resultobj;
11828 fail:
11829 return NULL;
11830}
11831
11832
c32bde28 11833static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11834 PyObject *resultobj;
11835 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11836 PyObject *arg2 = (PyObject *) 0 ;
11837 PyObject *arg3 = (PyObject *) 0 ;
11838 PyObject * obj0 = 0 ;
11839 PyObject * obj1 = 0 ;
11840 PyObject * obj2 = 0 ;
11841 char *kwnames[] = {
11842 (char *) "self",(char *) "self",(char *) "_class", NULL
11843 };
11844
11845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11847 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11848 arg2 = obj1;
11849 arg3 = obj2;
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 (arg1)->_setCallbackInfo(arg2,arg3);
11853
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 Py_INCREF(Py_None); resultobj = Py_None;
11858 return resultobj;
11859 fail:
11860 return NULL;
11861}
11862
11863
c32bde28 11864static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11865 PyObject *resultobj;
11866 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11867 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11868 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
11869 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11870 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11871 wxSize const &arg5_defvalue = wxDefaultSize ;
11872 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11873 long arg6 = (long) 0 ;
11874 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11875 wxString *arg7 = (wxString *) &arg7_defvalue ;
11876 bool result;
11877 wxPoint temp4 ;
11878 wxSize temp5 ;
ae8162c8 11879 bool temp7 = false ;
d14a1e28
RD
11880 PyObject * obj0 = 0 ;
11881 PyObject * obj1 = 0 ;
994141e6 11882 PyObject * obj2 = 0 ;
d14a1e28
RD
11883 PyObject * obj3 = 0 ;
11884 PyObject * obj4 = 0 ;
994141e6 11885 PyObject * obj5 = 0 ;
d14a1e28
RD
11886 PyObject * obj6 = 0 ;
11887 char *kwnames[] = {
11888 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11889 };
11890
994141e6 11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11893 if (SWIG_arg_fail(1)) SWIG_fail;
11894 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11895 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 11896 if (obj2) {
093d3ff1
RD
11897 {
11898 arg3 = (int)(SWIG_As_int(obj2));
11899 if (SWIG_arg_fail(3)) SWIG_fail;
11900 }
994141e6 11901 }
d14a1e28
RD
11902 if (obj3) {
11903 {
11904 arg4 = &temp4;
11905 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11906 }
11907 }
11908 if (obj4) {
11909 {
11910 arg5 = &temp5;
11911 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11912 }
11913 }
994141e6 11914 if (obj5) {
093d3ff1
RD
11915 {
11916 arg6 = (long)(SWIG_As_long(obj5));
11917 if (SWIG_arg_fail(6)) SWIG_fail;
11918 }
994141e6 11919 }
d14a1e28
RD
11920 if (obj6) {
11921 {
11922 arg7 = wxString_in_helper(obj6);
11923 if (arg7 == NULL) SWIG_fail;
ae8162c8 11924 temp7 = true;
d14a1e28
RD
11925 }
11926 }
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
4f89f6a3
RD
11934 {
11935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11936 }
d14a1e28
RD
11937 {
11938 if (temp7)
11939 delete arg7;
11940 }
11941 return resultobj;
11942 fail:
11943 {
11944 if (temp7)
11945 delete arg7;
11946 }
11947 return NULL;
11948}
11949
11950
c32bde28 11951static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11952 PyObject *resultobj;
11953 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11954 size_t result;
11955 PyObject * obj0 = 0 ;
11956 char *kwnames[] = {
11957 (char *) "self", NULL
11958 };
11959
11960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
11961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11962 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11963 {
11964 PyThreadState* __tstate = wxPyBeginAllowThreads();
11965 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
11966
11967 wxPyEndAllowThreads(__tstate);
11968 if (PyErr_Occurred()) SWIG_fail;
11969 }
093d3ff1
RD
11970 {
11971 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11972 }
d14a1e28
RD
11973 return resultobj;
11974 fail:
11975 return NULL;
11976}
11977
11978
c32bde28 11979static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11980 PyObject *resultobj;
11981 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11982 bool result;
11983 PyObject * obj0 = 0 ;
11984 char *kwnames[] = {
11985 (char *) "self", NULL
11986 };
11987
11988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
11989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11990 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11991 {
11992 PyThreadState* __tstate = wxPyBeginAllowThreads();
11993 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
11994
11995 wxPyEndAllowThreads(__tstate);
11996 if (PyErr_Occurred()) SWIG_fail;
11997 }
4f89f6a3
RD
11998 {
11999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12000 }
d14a1e28
RD
12001 return resultobj;
12002 fail:
12003 return NULL;
12004}
12005
12006
c32bde28 12007static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12008 PyObject *resultobj;
12009 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12010 int result;
12011 PyObject * obj0 = 0 ;
12012 char *kwnames[] = {
12013 (char *) "self", NULL
12014 };
12015
12016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
12017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12018 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
12022
12023 wxPyEndAllowThreads(__tstate);
12024 if (PyErr_Occurred()) SWIG_fail;
12025 }
093d3ff1
RD
12026 {
12027 resultobj = SWIG_From_int((int)(result));
12028 }
d14a1e28
RD
12029 return resultobj;
12030 fail:
12031 return NULL;
12032}
12033
12034
c32bde28 12035static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12036 PyObject *resultobj;
12037 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12038 size_t arg2 ;
12039 bool result;
12040 PyObject * obj0 = 0 ;
12041 PyObject * obj1 = 0 ;
12042 char *kwnames[] = {
12043 (char *) "self",(char *) "item", NULL
12044 };
12045
12046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12048 if (SWIG_arg_fail(1)) SWIG_fail;
12049 {
12050 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12051 if (SWIG_arg_fail(2)) SWIG_fail;
12052 }
d14a1e28
RD
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
12056
12057 wxPyEndAllowThreads(__tstate);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
4f89f6a3
RD
12060 {
12061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12062 }
d14a1e28
RD
12063 return resultobj;
12064 fail:
12065 return NULL;
12066}
12067
12068
c32bde28 12069static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12070 PyObject *resultobj;
12071 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12072 size_t arg2 ;
12073 bool result;
12074 PyObject * obj0 = 0 ;
12075 PyObject * obj1 = 0 ;
12076 char *kwnames[] = {
12077 (char *) "self",(char *) "item", NULL
12078 };
12079
12080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12082 if (SWIG_arg_fail(1)) SWIG_fail;
12083 {
12084 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12085 if (SWIG_arg_fail(2)) SWIG_fail;
12086 }
d14a1e28
RD
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
12090
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
4f89f6a3
RD
12094 {
12095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12096 }
d14a1e28
RD
12097 return resultobj;
12098 fail:
12099 return NULL;
12100}
12101
12102
c32bde28 12103static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12104 PyObject *resultobj;
12105 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12106 size_t result;
12107 PyObject * obj0 = 0 ;
12108 char *kwnames[] = {
12109 (char *) "self", NULL
12110 };
12111
12112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
12113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12114 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12118
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
093d3ff1
RD
12122 {
12123 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12124 }
d14a1e28
RD
12125 return resultobj;
12126 fail:
12127 return NULL;
12128}
12129
12130
c32bde28 12131static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12132 PyObject *resultobj;
12133 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 12134 PyObject *result;
d14a1e28 12135 PyObject * obj0 = 0 ;
d14a1e28 12136 char *kwnames[] = {
09c21d3b 12137 (char *) "self", NULL
d14a1e28
RD
12138 };
12139
09c21d3b 12140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
12141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12142 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12143 {
12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12145 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d14a1e28
RD
12146
12147 wxPyEndAllowThreads(__tstate);
12148 if (PyErr_Occurred()) SWIG_fail;
12149 }
09c21d3b 12150 resultobj = result;
d14a1e28
RD
12151 return resultobj;
12152 fail:
12153 return NULL;
12154}
12155
12156
c32bde28 12157static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12158 PyObject *resultobj;
12159 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
12160 unsigned long arg2 ;
12161 PyObject *result;
d14a1e28
RD
12162 PyObject * obj0 = 0 ;
12163 PyObject * obj1 = 0 ;
12164 char *kwnames[] = {
12165 (char *) "self",(char *) "cookie", NULL
12166 };
12167
12168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12170 if (SWIG_arg_fail(1)) SWIG_fail;
12171 {
12172 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
12173 if (SWIG_arg_fail(2)) SWIG_fail;
12174 }
d14a1e28
RD
12175 {
12176 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12177 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d14a1e28
RD
12178
12179 wxPyEndAllowThreads(__tstate);
12180 if (PyErr_Occurred()) SWIG_fail;
12181 }
09c21d3b 12182 resultobj = result;
d14a1e28
RD
12183 return resultobj;
12184 fail:
12185 return NULL;
12186}
12187
12188
c32bde28 12189static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12190 PyObject *resultobj;
12191 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12192 wxPoint result;
12193 PyObject * obj0 = 0 ;
12194 char *kwnames[] = {
12195 (char *) "self", NULL
12196 };
12197
12198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
12199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12200 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
12203 result = ((wxPyVListBox const *)arg1)->GetMargins();
12204
12205 wxPyEndAllowThreads(__tstate);
12206 if (PyErr_Occurred()) SWIG_fail;
12207 }
12208 {
12209 wxPoint * resultptr;
093d3ff1 12210 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 12211 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
12212 }
12213 return resultobj;
12214 fail:
12215 return NULL;
12216}
12217
12218
c32bde28 12219static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12220 PyObject *resultobj;
12221 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12222 wxColour *result;
12223 PyObject * obj0 = 0 ;
12224 char *kwnames[] = {
12225 (char *) "self", NULL
12226 };
12227
12228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
093d3ff1
RD
12229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12230 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12231 {
12232 PyThreadState* __tstate = wxPyBeginAllowThreads();
12233 {
12234 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12235 result = (wxColour *) &_result_ref;
12236 }
12237
12238 wxPyEndAllowThreads(__tstate);
12239 if (PyErr_Occurred()) SWIG_fail;
12240 }
15afbcd0 12241 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
12242 return resultobj;
12243 fail:
12244 return NULL;
12245}
12246
12247
c32bde28 12248static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12249 PyObject *resultobj;
12250 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12251 size_t arg2 ;
12252 PyObject * obj0 = 0 ;
12253 PyObject * obj1 = 0 ;
12254 char *kwnames[] = {
12255 (char *) "self",(char *) "count", NULL
12256 };
12257
12258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12260 if (SWIG_arg_fail(1)) SWIG_fail;
12261 {
12262 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12263 if (SWIG_arg_fail(2)) SWIG_fail;
12264 }
d14a1e28
RD
12265 {
12266 PyThreadState* __tstate = wxPyBeginAllowThreads();
12267 (arg1)->SetItemCount(arg2);
12268
12269 wxPyEndAllowThreads(__tstate);
12270 if (PyErr_Occurred()) SWIG_fail;
12271 }
12272 Py_INCREF(Py_None); resultobj = Py_None;
12273 return resultobj;
12274 fail:
12275 return NULL;
12276}
12277
12278
c32bde28 12279static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12280 PyObject *resultobj;
12281 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12282 PyObject * obj0 = 0 ;
12283 char *kwnames[] = {
12284 (char *) "self", NULL
12285 };
12286
12287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
12288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12289 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12290 {
12291 PyThreadState* __tstate = wxPyBeginAllowThreads();
12292 (arg1)->Clear();
12293
12294 wxPyEndAllowThreads(__tstate);
12295 if (PyErr_Occurred()) SWIG_fail;
12296 }
12297 Py_INCREF(Py_None); resultobj = Py_None;
12298 return resultobj;
12299 fail:
12300 return NULL;
12301}
12302
12303
c32bde28 12304static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12305 PyObject *resultobj;
12306 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12307 int arg2 ;
12308 PyObject * obj0 = 0 ;
994141e6 12309 PyObject * obj1 = 0 ;
d14a1e28
RD
12310 char *kwnames[] = {
12311 (char *) "self",(char *) "selection", NULL
12312 };
12313
994141e6 12314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12316 if (SWIG_arg_fail(1)) SWIG_fail;
12317 {
12318 arg2 = (int)(SWIG_As_int(obj1));
12319 if (SWIG_arg_fail(2)) SWIG_fail;
12320 }
d14a1e28
RD
12321 {
12322 PyThreadState* __tstate = wxPyBeginAllowThreads();
12323 (arg1)->SetSelection(arg2);
12324
12325 wxPyEndAllowThreads(__tstate);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 }
12328 Py_INCREF(Py_None); resultobj = Py_None;
12329 return resultobj;
12330 fail:
12331 return NULL;
12332}
12333
12334
c32bde28 12335static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12336 PyObject *resultobj;
12337 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12338 size_t arg2 ;
ae8162c8 12339 bool arg3 = (bool) true ;
d14a1e28
RD
12340 bool result;
12341 PyObject * obj0 = 0 ;
12342 PyObject * obj1 = 0 ;
12343 PyObject * obj2 = 0 ;
12344 char *kwnames[] = {
12345 (char *) "self",(char *) "item",(char *) "select", NULL
12346 };
12347
12348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12350 if (SWIG_arg_fail(1)) SWIG_fail;
12351 {
12352 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12353 if (SWIG_arg_fail(2)) SWIG_fail;
12354 }
a41e16b6 12355 if (obj2) {
093d3ff1
RD
12356 {
12357 arg3 = (bool)(SWIG_As_bool(obj2));
12358 if (SWIG_arg_fail(3)) SWIG_fail;
12359 }
a41e16b6 12360 }
d14a1e28
RD
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 result = (bool)(arg1)->Select(arg2,arg3);
12364
12365 wxPyEndAllowThreads(__tstate);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 }
4f89f6a3
RD
12368 {
12369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12370 }
d14a1e28
RD
12371 return resultobj;
12372 fail:
12373 return NULL;
12374}
12375
12376
c32bde28 12377static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12378 PyObject *resultobj;
12379 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12380 size_t arg2 ;
12381 size_t arg3 ;
12382 bool result;
12383 PyObject * obj0 = 0 ;
12384 PyObject * obj1 = 0 ;
12385 PyObject * obj2 = 0 ;
15afbcd0
RD
12386 char *kwnames[] = {
12387 (char *) "self",(char *) "from",(char *) "to", NULL
12388 };
12389
12390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12392 if (SWIG_arg_fail(1)) SWIG_fail;
12393 {
12394 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12395 if (SWIG_arg_fail(2)) SWIG_fail;
12396 }
12397 {
12398 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12399 if (SWIG_arg_fail(3)) SWIG_fail;
12400 }
d14a1e28
RD
12401 {
12402 PyThreadState* __tstate = wxPyBeginAllowThreads();
12403 result = (bool)(arg1)->SelectRange(arg2,arg3);
12404
12405 wxPyEndAllowThreads(__tstate);
12406 if (PyErr_Occurred()) SWIG_fail;
12407 }
4f89f6a3
RD
12408 {
12409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12410 }
d14a1e28
RD
12411 return resultobj;
12412 fail:
12413 return NULL;
12414}
12415
12416
c32bde28 12417static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12418 PyObject *resultobj;
12419 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12420 size_t arg2 ;
12421 PyObject * obj0 = 0 ;
12422 PyObject * obj1 = 0 ;
12423 char *kwnames[] = {
12424 (char *) "self",(char *) "item", NULL
12425 };
12426
12427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12429 if (SWIG_arg_fail(1)) SWIG_fail;
12430 {
12431 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12432 if (SWIG_arg_fail(2)) SWIG_fail;
12433 }
d14a1e28
RD
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
12436 (arg1)->Toggle(arg2);
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
12441 Py_INCREF(Py_None); resultobj = Py_None;
12442 return resultobj;
12443 fail:
12444 return NULL;
12445}
12446
12447
c32bde28 12448static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12449 PyObject *resultobj;
12450 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12451 bool result;
12452 PyObject * obj0 = 0 ;
12453 char *kwnames[] = {
12454 (char *) "self", NULL
12455 };
12456
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 result = (bool)(arg1)->SelectAll();
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
4f89f6a3
RD
12467 {
12468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12469 }
d14a1e28
RD
12470 return resultobj;
12471 fail:
12472 return NULL;
12473}
12474
12475
c32bde28 12476static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12477 PyObject *resultobj;
12478 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12479 bool result;
12480 PyObject * obj0 = 0 ;
12481 char *kwnames[] = {
12482 (char *) "self", NULL
12483 };
12484
12485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12487 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12488 {
12489 PyThreadState* __tstate = wxPyBeginAllowThreads();
12490 result = (bool)(arg1)->DeselectAll();
12491
12492 wxPyEndAllowThreads(__tstate);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 }
4f89f6a3
RD
12495 {
12496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12497 }
d14a1e28
RD
12498 return resultobj;
12499 fail:
12500 return NULL;
12501}
12502
12503
c32bde28 12504static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12505 PyObject *resultobj;
12506 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12507 wxPoint *arg2 = 0 ;
12508 wxPoint temp2 ;
12509 PyObject * obj0 = 0 ;
12510 PyObject * obj1 = 0 ;
12511 char *kwnames[] = {
12512 (char *) "self",(char *) "pt", NULL
12513 };
12514
12515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12517 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12518 {
12519 arg2 = &temp2;
12520 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12521 }
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 (arg1)->SetMargins((wxPoint const &)*arg2);
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 Py_INCREF(Py_None); resultobj = Py_None;
12530 return resultobj;
12531 fail:
12532 return NULL;
12533}
12534
12535
c32bde28 12536static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12537 PyObject *resultobj;
12538 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
e811c8ce
RD
12539 int arg2 ;
12540 int arg3 ;
d14a1e28 12541 PyObject * obj0 = 0 ;
994141e6
RD
12542 PyObject * obj1 = 0 ;
12543 PyObject * obj2 = 0 ;
d14a1e28
RD
12544 char *kwnames[] = {
12545 (char *) "self",(char *) "x",(char *) "y", NULL
12546 };
12547
994141e6 12548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12550 if (SWIG_arg_fail(1)) SWIG_fail;
12551 {
12552 arg2 = (int)(SWIG_As_int(obj1));
12553 if (SWIG_arg_fail(2)) SWIG_fail;
12554 }
12555 {
12556 arg3 = (int)(SWIG_As_int(obj2));
12557 if (SWIG_arg_fail(3)) SWIG_fail;
12558 }
d14a1e28
RD
12559 {
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 (arg1)->SetMargins(arg2,arg3);
12562
12563 wxPyEndAllowThreads(__tstate);
12564 if (PyErr_Occurred()) SWIG_fail;
12565 }
12566 Py_INCREF(Py_None); resultobj = Py_None;
12567 return resultobj;
12568 fail:
12569 return NULL;
12570}
12571
12572
c32bde28 12573static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12574 PyObject *resultobj;
12575 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12576 wxColour *arg2 = 0 ;
12577 wxColour temp2 ;
12578 PyObject * obj0 = 0 ;
12579 PyObject * obj1 = 0 ;
12580 char *kwnames[] = {
12581 (char *) "self",(char *) "col", NULL
12582 };
12583
12584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12586 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12587 {
12588 arg2 = &temp2;
12589 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12590 }
12591 {
12592 PyThreadState* __tstate = wxPyBeginAllowThreads();
12593 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12594
12595 wxPyEndAllowThreads(__tstate);
12596 if (PyErr_Occurred()) SWIG_fail;
12597 }
12598 Py_INCREF(Py_None); resultobj = Py_None;
12599 return resultobj;
12600 fail:
12601 return NULL;
12602}
12603
12604
c32bde28 12605static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12606 PyObject *obj;
12607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12608 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12609 Py_INCREF(obj);
12610 return Py_BuildValue((char *)"");
12611}
c32bde28 12612static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12613 PyObject *resultobj;
12614 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12615 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
12616 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12617 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12618 wxSize const &arg4_defvalue = wxDefaultSize ;
12619 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12620 long arg5 = (long) 0 ;
12621 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12622 wxString *arg6 = (wxString *) &arg6_defvalue ;
12623 wxPyHtmlListBox *result;
12624 wxPoint temp3 ;
12625 wxSize temp4 ;
ae8162c8 12626 bool temp6 = false ;
d14a1e28 12627 PyObject * obj0 = 0 ;
994141e6 12628 PyObject * obj1 = 0 ;
d14a1e28
RD
12629 PyObject * obj2 = 0 ;
12630 PyObject * obj3 = 0 ;
994141e6 12631 PyObject * obj4 = 0 ;
d14a1e28
RD
12632 PyObject * obj5 = 0 ;
12633 char *kwnames[] = {
12634 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12635 };
12636
994141e6 12637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12639 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 12640 if (obj1) {
093d3ff1
RD
12641 {
12642 arg2 = (int)(SWIG_As_int(obj1));
12643 if (SWIG_arg_fail(2)) SWIG_fail;
12644 }
994141e6 12645 }
d14a1e28
RD
12646 if (obj2) {
12647 {
12648 arg3 = &temp3;
12649 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12650 }
12651 }
12652 if (obj3) {
12653 {
12654 arg4 = &temp4;
12655 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12656 }
12657 }
994141e6 12658 if (obj4) {
093d3ff1
RD
12659 {
12660 arg5 = (long)(SWIG_As_long(obj4));
12661 if (SWIG_arg_fail(5)) SWIG_fail;
12662 }
994141e6 12663 }
d14a1e28
RD
12664 if (obj5) {
12665 {
12666 arg6 = wxString_in_helper(obj5);
12667 if (arg6 == NULL) SWIG_fail;
ae8162c8 12668 temp6 = true;
d14a1e28
RD
12669 }
12670 }
12671 {
e3b71cb8 12672 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12673 PyThreadState* __tstate = wxPyBeginAllowThreads();
12674 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12675
12676 wxPyEndAllowThreads(__tstate);
110da5b0 12677 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12678 }
15afbcd0 12679 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
12680 {
12681 if (temp6)
12682 delete arg6;
12683 }
12684 return resultobj;
12685 fail:
12686 {
12687 if (temp6)
12688 delete arg6;
12689 }
12690 return NULL;
12691}
12692
12693
c32bde28 12694static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12695 PyObject *resultobj;
12696 wxPyHtmlListBox *result;
12697 char *kwnames[] = {
12698 NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12702 {
e3b71cb8 12703 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12704 PyThreadState* __tstate = wxPyBeginAllowThreads();
12705 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12706
12707 wxPyEndAllowThreads(__tstate);
110da5b0 12708 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12709 }
15afbcd0 12710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
12711 return resultobj;
12712 fail:
12713 return NULL;
12714}
12715
12716
c32bde28 12717static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12718 PyObject *resultobj;
12719 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12720 PyObject *arg2 = (PyObject *) 0 ;
12721 PyObject *arg3 = (PyObject *) 0 ;
12722 PyObject * obj0 = 0 ;
12723 PyObject * obj1 = 0 ;
12724 PyObject * obj2 = 0 ;
12725 char *kwnames[] = {
12726 (char *) "self",(char *) "self",(char *) "_class", NULL
12727 };
12728
12729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12731 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12732 arg2 = obj1;
12733 arg3 = obj2;
12734 {
12735 PyThreadState* __tstate = wxPyBeginAllowThreads();
12736 (arg1)->_setCallbackInfo(arg2,arg3);
12737
12738 wxPyEndAllowThreads(__tstate);
12739 if (PyErr_Occurred()) SWIG_fail;
12740 }
12741 Py_INCREF(Py_None); resultobj = Py_None;
12742 return resultobj;
12743 fail:
12744 return NULL;
12745}
12746
12747
c32bde28 12748static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12749 PyObject *resultobj;
12750 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12751 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12752 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
12753 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12754 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12755 wxSize const &arg5_defvalue = wxDefaultSize ;
12756 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12757 long arg6 = (long) 0 ;
12758 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12759 wxString *arg7 = (wxString *) &arg7_defvalue ;
12760 bool result;
12761 wxPoint temp4 ;
12762 wxSize temp5 ;
ae8162c8 12763 bool temp7 = false ;
d14a1e28
RD
12764 PyObject * obj0 = 0 ;
12765 PyObject * obj1 = 0 ;
994141e6 12766 PyObject * obj2 = 0 ;
d14a1e28
RD
12767 PyObject * obj3 = 0 ;
12768 PyObject * obj4 = 0 ;
994141e6 12769 PyObject * obj5 = 0 ;
d14a1e28
RD
12770 PyObject * obj6 = 0 ;
12771 char *kwnames[] = {
12772 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12773 };
12774
994141e6 12775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12777 if (SWIG_arg_fail(1)) SWIG_fail;
12778 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12779 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12780 if (obj2) {
093d3ff1
RD
12781 {
12782 arg3 = (int)(SWIG_As_int(obj2));
12783 if (SWIG_arg_fail(3)) SWIG_fail;
12784 }
994141e6 12785 }
d14a1e28
RD
12786 if (obj3) {
12787 {
12788 arg4 = &temp4;
12789 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12790 }
12791 }
12792 if (obj4) {
12793 {
12794 arg5 = &temp5;
12795 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12796 }
12797 }
994141e6 12798 if (obj5) {
093d3ff1
RD
12799 {
12800 arg6 = (long)(SWIG_As_long(obj5));
12801 if (SWIG_arg_fail(6)) SWIG_fail;
12802 }
994141e6 12803 }
d14a1e28
RD
12804 if (obj6) {
12805 {
12806 arg7 = wxString_in_helper(obj6);
12807 if (arg7 == NULL) SWIG_fail;
ae8162c8 12808 temp7 = true;
d14a1e28
RD
12809 }
12810 }
12811 {
12812 PyThreadState* __tstate = wxPyBeginAllowThreads();
12813 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12814
12815 wxPyEndAllowThreads(__tstate);
12816 if (PyErr_Occurred()) SWIG_fail;
12817 }
4f89f6a3
RD
12818 {
12819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12820 }
d14a1e28
RD
12821 {
12822 if (temp7)
12823 delete arg7;
12824 }
12825 return resultobj;
12826 fail:
12827 {
12828 if (temp7)
12829 delete arg7;
12830 }
12831 return NULL;
12832}
12833
12834
c32bde28 12835static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12836 PyObject *resultobj;
12837 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12838 PyObject * obj0 = 0 ;
12839 char *kwnames[] = {
12840 (char *) "self", NULL
12841 };
12842
12843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12845 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12846 {
12847 PyThreadState* __tstate = wxPyBeginAllowThreads();
12848 (arg1)->RefreshAll();
12849
12850 wxPyEndAllowThreads(__tstate);
12851 if (PyErr_Occurred()) SWIG_fail;
12852 }
12853 Py_INCREF(Py_None); resultobj = Py_None;
12854 return resultobj;
12855 fail:
12856 return NULL;
12857}
12858
12859
c32bde28 12860static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12861 PyObject *resultobj;
12862 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12863 size_t arg2 ;
12864 PyObject * obj0 = 0 ;
12865 PyObject * obj1 = 0 ;
12866 char *kwnames[] = {
12867 (char *) "self",(char *) "count", NULL
12868 };
12869
12870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12872 if (SWIG_arg_fail(1)) SWIG_fail;
12873 {
12874 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12875 if (SWIG_arg_fail(2)) SWIG_fail;
12876 }
d14a1e28
RD
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 (arg1)->SetItemCount(arg2);
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 Py_INCREF(Py_None); resultobj = Py_None;
12885 return resultobj;
12886 fail:
12887 return NULL;
12888}
12889
12890
c32bde28 12891static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
7fdaaabe
RD
12892 PyObject *resultobj;
12893 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12894 wxFileSystem *result;
12895 PyObject * obj0 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
093d3ff1
RD
12901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12902 if (SWIG_arg_fail(1)) SWIG_fail;
7fdaaabe
RD
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 {
12906 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12907 result = (wxFileSystem *) &_result_ref;
12908 }
12909
12910 wxPyEndAllowThreads(__tstate);
12911 if (PyErr_Occurred()) SWIG_fail;
12912 }
12913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12914 return resultobj;
12915 fail:
12916 return NULL;
12917}
12918
12919
c32bde28 12920static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12921 PyObject *obj;
12922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12923 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12924 Py_INCREF(obj);
12925 return Py_BuildValue((char *)"");
12926}
c32bde28 12927static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12928 PyObject *resultobj;
5e483524 12929 wxPyTaskBarIcon *result;
d14a1e28
RD
12930 char *kwnames[] = {
12931 NULL
12932 };
12933
12934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12935 {
e3b71cb8 12936 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12938 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d14a1e28
RD
12939
12940 wxPyEndAllowThreads(__tstate);
110da5b0 12941 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12942 }
5e483524 12943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d14a1e28
RD
12944 return resultobj;
12945 fail:
12946 return NULL;
12947}
12948
12949
5e483524 12950static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12951 PyObject *resultobj;
5e483524
RD
12952 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12953 PyObject *arg2 = (PyObject *) 0 ;
12954 PyObject *arg3 = (PyObject *) 0 ;
12955 int arg4 ;
d14a1e28 12956 PyObject * obj0 = 0 ;
5e483524
RD
12957 PyObject * obj1 = 0 ;
12958 PyObject * obj2 = 0 ;
12959 PyObject * obj3 = 0 ;
d14a1e28 12960 char *kwnames[] = {
5e483524 12961 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d14a1e28
RD
12962 };
12963
5e483524 12964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12966 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
12967 arg2 = obj1;
12968 arg3 = obj2;
093d3ff1
RD
12969 {
12970 arg4 = (int)(SWIG_As_int(obj3));
12971 if (SWIG_arg_fail(4)) SWIG_fail;
12972 }
d14a1e28
RD
12973 {
12974 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12975 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d14a1e28
RD
12976
12977 wxPyEndAllowThreads(__tstate);
12978 if (PyErr_Occurred()) SWIG_fail;
12979 }
12980 Py_INCREF(Py_None); resultobj = Py_None;
12981 return resultobj;
12982 fail:
12983 return NULL;
12984}
12985
12986
c32bde28 12987static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd 12988 PyObject *resultobj;
5e483524 12989 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
74a57fcd
RD
12990 PyObject * obj0 = 0 ;
12991 char *kwnames[] = {
12992 (char *) "self", NULL
12993 };
12994
12995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
12996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12997 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
12998 {
12999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13000 wxPyTaskBarIcon_Destroy(arg1);
74a57fcd
RD
13001
13002 wxPyEndAllowThreads(__tstate);
13003 if (PyErr_Occurred()) SWIG_fail;
13004 }
13005 Py_INCREF(Py_None); resultobj = Py_None;
13006 return resultobj;
13007 fail:
13008 return NULL;
13009}
13010
13011
c32bde28 13012static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13013 PyObject *resultobj;
5e483524 13014 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13015 bool result;
13016 PyObject * obj0 = 0 ;
13017 char *kwnames[] = {
13018 (char *) "self", NULL
13019 };
13020
13021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
13022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13023 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13024 {
13025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13026 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
d14a1e28
RD
13027
13028 wxPyEndAllowThreads(__tstate);
13029 if (PyErr_Occurred()) SWIG_fail;
13030 }
4f89f6a3
RD
13031 {
13032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13033 }
d14a1e28
RD
13034 return resultobj;
13035 fail:
13036 return NULL;
13037}
13038
13039
c32bde28 13040static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13041 PyObject *resultobj;
5e483524 13042 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13043 bool result;
13044 PyObject * obj0 = 0 ;
13045 char *kwnames[] = {
13046 (char *) "self", NULL
13047 };
13048
13049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
093d3ff1
RD
13050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13051 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 13054 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
d14a1e28
RD
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
4f89f6a3
RD
13059 {
13060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13061 }
d14a1e28
RD
13062 return resultobj;
13063 fail:
13064 return NULL;
13065}
13066
13067
c32bde28 13068static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13069 PyObject *resultobj;
5e483524 13070 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13071 wxIcon *arg2 = 0 ;
13072 wxString const &arg3_defvalue = wxPyEmptyString ;
13073 wxString *arg3 = (wxString *) &arg3_defvalue ;
13074 bool result;
ae8162c8 13075 bool temp3 = false ;
d14a1e28
RD
13076 PyObject * obj0 = 0 ;
13077 PyObject * obj1 = 0 ;
13078 PyObject * obj2 = 0 ;
13079 char *kwnames[] = {
13080 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13081 };
13082
13083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13085 if (SWIG_arg_fail(1)) SWIG_fail;
13086 {
13087 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
13088 if (SWIG_arg_fail(2)) SWIG_fail;
13089 if (arg2 == NULL) {
13090 SWIG_null_ref("wxIcon");
13091 }
13092 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13093 }
13094 if (obj2) {
13095 {
13096 arg3 = wxString_in_helper(obj2);
13097 if (arg3 == NULL) SWIG_fail;
ae8162c8 13098 temp3 = true;
d14a1e28
RD
13099 }
13100 }
13101 {
13102 PyThreadState* __tstate = wxPyBeginAllowThreads();
13103 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
13104
13105 wxPyEndAllowThreads(__tstate);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
4f89f6a3
RD
13108 {
13109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13110 }
d14a1e28
RD
13111 {
13112 if (temp3)
13113 delete arg3;
13114 }
13115 return resultobj;
13116 fail:
13117 {
13118 if (temp3)
13119 delete arg3;
13120 }
13121 return NULL;
13122}
13123
13124
c32bde28 13125static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13126 PyObject *resultobj;
5e483524 13127 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13128 bool result;
13129 PyObject * obj0 = 0 ;
13130 char *kwnames[] = {
13131 (char *) "self", NULL
13132 };
13133
13134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
13135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13136 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 result = (bool)(arg1)->RemoveIcon();
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
4f89f6a3
RD
13144 {
13145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13146 }
d14a1e28
RD
13147 return resultobj;
13148 fail:
13149 return NULL;
13150}
13151
13152
c32bde28 13153static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13154 PyObject *resultobj;
5e483524 13155 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13156 wxMenu *arg2 = (wxMenu *) 0 ;
13157 bool result;
13158 PyObject * obj0 = 0 ;
13159 PyObject * obj1 = 0 ;
13160 char *kwnames[] = {
13161 (char *) "self",(char *) "menu", NULL
13162 };
13163
13164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13166 if (SWIG_arg_fail(1)) SWIG_fail;
13167 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13168 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 result = (bool)(arg1)->PopupMenu(arg2);
13172
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
4f89f6a3
RD
13176 {
13177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13178 }
d14a1e28
RD
13179 return resultobj;
13180 fail:
13181 return NULL;
13182}
13183
13184
c32bde28 13185static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13186 PyObject *obj;
13187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 13188 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d14a1e28
RD
13189 Py_INCREF(obj);
13190 return Py_BuildValue((char *)"");
13191}
c32bde28 13192static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13193 PyObject *resultobj;
13194 wxEventType arg1 ;
13195 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13196 wxTaskBarIconEvent *result;
994141e6 13197 PyObject * obj0 = 0 ;
d14a1e28
RD
13198 PyObject * obj1 = 0 ;
13199 char *kwnames[] = {
13200 (char *) "evtType",(char *) "tbIcon", NULL
13201 };
13202
994141e6 13203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13204 {
13205 arg1 = (wxEventType)(SWIG_As_int(obj0));
13206 if (SWIG_arg_fail(1)) SWIG_fail;
13207 }
13208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13209 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13210 {
13211 PyThreadState* __tstate = wxPyBeginAllowThreads();
13212 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13213
13214 wxPyEndAllowThreads(__tstate);
13215 if (PyErr_Occurred()) SWIG_fail;
13216 }
15afbcd0 13217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
d14a1e28
RD
13218 return resultobj;
13219 fail:
13220 return NULL;
13221}
13222
13223
c32bde28 13224static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13225 PyObject *obj;
13226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13227 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13228 Py_INCREF(obj);
13229 return Py_BuildValue((char *)"");
13230}
c32bde28 13231static int _wrap_FileSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
13232 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13233 return 1;
13234}
13235
13236
093d3ff1 13237static PyObject *_wrap_FileSelectorPromptStr_get(void) {
b2dc1044
RD
13238 PyObject *pyobj;
13239
13240 {
13241#if wxUSE_UNICODE
13242 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13243#else
13244 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13245#endif
13246 }
13247 return pyobj;
13248}
13249
13250
c32bde28 13251static int _wrap_DirSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
13252 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13253 return 1;
13254}
13255
13256
093d3ff1 13257static PyObject *_wrap_DirSelectorPromptStr_get(void) {
b2dc1044
RD
13258 PyObject *pyobj;
13259
13260 {
13261#if wxUSE_UNICODE
13262 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13263#else
13264 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13265#endif
13266 }
13267 return pyobj;
13268}
13269
13270
c32bde28 13271static int _wrap_DirDialogNameStr_set(PyObject *) {
b2dc1044
RD
13272 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13273 return 1;
13274}
13275
13276
093d3ff1 13277static PyObject *_wrap_DirDialogNameStr_get(void) {
b2dc1044
RD
13278 PyObject *pyobj;
13279
13280 {
13281#if wxUSE_UNICODE
13282 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13283#else
13284 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13285#endif
13286 }
13287 return pyobj;
13288}
13289
13290
c32bde28 13291static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
b2dc1044
RD
13292 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13293 return 1;
13294}
13295
13296
093d3ff1 13297static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
b2dc1044
RD
13298 PyObject *pyobj;
13299
13300 {
13301#if wxUSE_UNICODE
13302 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13303#else
13304 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13305#endif
13306 }
13307 return pyobj;
13308}
13309
13310
c32bde28 13311static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
b2dc1044
RD
13312 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13313 return 1;
13314}
13315
13316
093d3ff1 13317static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
b2dc1044
RD
13318 PyObject *pyobj;
13319
13320 {
13321#if wxUSE_UNICODE
13322 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13323#else
13324 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13325#endif
13326 }
13327 return pyobj;
13328}
13329
13330
c32bde28 13331static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
b2dc1044
RD
13332 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13333 return 1;
13334}
13335
13336
093d3ff1 13337static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
b2dc1044
RD
13338 PyObject *pyobj;
13339
13340 {
13341#if wxUSE_UNICODE
13342 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13343#else
13344 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13345#endif
13346 }
13347 return pyobj;
13348}
13349
13350
c32bde28 13351static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13352 PyObject *resultobj;
13353 wxColourData *result;
13354 char *kwnames[] = {
13355 NULL
13356 };
13357
13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13359 {
13360 PyThreadState* __tstate = wxPyBeginAllowThreads();
13361 result = (wxColourData *)new wxColourData();
13362
13363 wxPyEndAllowThreads(__tstate);
13364 if (PyErr_Occurred()) SWIG_fail;
13365 }
15afbcd0 13366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
d14a1e28
RD
13367 return resultobj;
13368 fail:
13369 return NULL;
13370}
13371
13372
c32bde28 13373static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13374 PyObject *resultobj;
13375 wxColourData *arg1 = (wxColourData *) 0 ;
13376 PyObject * obj0 = 0 ;
13377 char *kwnames[] = {
13378 (char *) "self", NULL
13379 };
13380
13381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13383 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13384 {
13385 PyThreadState* __tstate = wxPyBeginAllowThreads();
13386 delete arg1;
13387
13388 wxPyEndAllowThreads(__tstate);
13389 if (PyErr_Occurred()) SWIG_fail;
13390 }
13391 Py_INCREF(Py_None); resultobj = Py_None;
13392 return resultobj;
13393 fail:
13394 return NULL;
13395}
13396
13397
c32bde28 13398static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13399 PyObject *resultobj;
13400 wxColourData *arg1 = (wxColourData *) 0 ;
13401 bool result;
13402 PyObject * obj0 = 0 ;
13403 char *kwnames[] = {
13404 (char *) "self", NULL
13405 };
13406
13407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
093d3ff1
RD
13408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13409 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 result = (bool)(arg1)->GetChooseFull();
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
4f89f6a3
RD
13417 {
13418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13419 }
d14a1e28
RD
13420 return resultobj;
13421 fail:
13422 return NULL;
13423}
13424
13425
c32bde28 13426static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13427 PyObject *resultobj;
13428 wxColourData *arg1 = (wxColourData *) 0 ;
13429 wxColour result;
13430 PyObject * obj0 = 0 ;
13431 char *kwnames[] = {
13432 (char *) "self", NULL
13433 };
13434
13435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
13436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13437 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 result = (arg1)->GetColour();
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 {
13446 wxColour * resultptr;
093d3ff1 13447 resultptr = new wxColour((wxColour &)(result));
15afbcd0 13448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13449 }
13450 return resultobj;
13451 fail:
13452 return NULL;
13453}
13454
13455
c32bde28 13456static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13457 PyObject *resultobj;
13458 wxColourData *arg1 = (wxColourData *) 0 ;
13459 int arg2 ;
13460 wxColour result;
13461 PyObject * obj0 = 0 ;
994141e6 13462 PyObject * obj1 = 0 ;
d14a1e28
RD
13463 char *kwnames[] = {
13464 (char *) "self",(char *) "i", NULL
13465 };
13466
994141e6 13467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13469 if (SWIG_arg_fail(1)) SWIG_fail;
13470 {
13471 arg2 = (int)(SWIG_As_int(obj1));
13472 if (SWIG_arg_fail(2)) SWIG_fail;
13473 }
d14a1e28
RD
13474 {
13475 PyThreadState* __tstate = wxPyBeginAllowThreads();
13476 result = (arg1)->GetCustomColour(arg2);
13477
13478 wxPyEndAllowThreads(__tstate);
13479 if (PyErr_Occurred()) SWIG_fail;
13480 }
13481 {
13482 wxColour * resultptr;
093d3ff1 13483 resultptr = new wxColour((wxColour &)(result));
15afbcd0 13484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13485 }
13486 return resultobj;
13487 fail:
13488 return NULL;
13489}
13490
13491
c32bde28 13492static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13493 PyObject *resultobj;
13494 wxColourData *arg1 = (wxColourData *) 0 ;
13495 int arg2 ;
13496 PyObject * obj0 = 0 ;
994141e6 13497 PyObject * obj1 = 0 ;
d14a1e28
RD
13498 char *kwnames[] = {
13499 (char *) "self",(char *) "flag", NULL
13500 };
13501
994141e6 13502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13504 if (SWIG_arg_fail(1)) SWIG_fail;
13505 {
13506 arg2 = (int)(SWIG_As_int(obj1));
13507 if (SWIG_arg_fail(2)) SWIG_fail;
13508 }
d14a1e28
RD
13509 {
13510 PyThreadState* __tstate = wxPyBeginAllowThreads();
13511 (arg1)->SetChooseFull(arg2);
13512
13513 wxPyEndAllowThreads(__tstate);
13514 if (PyErr_Occurred()) SWIG_fail;
13515 }
13516 Py_INCREF(Py_None); resultobj = Py_None;
13517 return resultobj;
13518 fail:
13519 return NULL;
13520}
13521
13522
c32bde28 13523static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13524 PyObject *resultobj;
13525 wxColourData *arg1 = (wxColourData *) 0 ;
13526 wxColour *arg2 = 0 ;
13527 wxColour temp2 ;
13528 PyObject * obj0 = 0 ;
13529 PyObject * obj1 = 0 ;
13530 char *kwnames[] = {
13531 (char *) "self",(char *) "colour", NULL
13532 };
13533
13534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13536 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13537 {
13538 arg2 = &temp2;
13539 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13540 }
13541 {
13542 PyThreadState* __tstate = wxPyBeginAllowThreads();
13543 (arg1)->SetColour((wxColour const &)*arg2);
13544
13545 wxPyEndAllowThreads(__tstate);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 }
13548 Py_INCREF(Py_None); resultobj = Py_None;
13549 return resultobj;
13550 fail:
13551 return NULL;
13552}
13553
13554
c32bde28 13555static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13556 PyObject *resultobj;
13557 wxColourData *arg1 = (wxColourData *) 0 ;
13558 int arg2 ;
13559 wxColour *arg3 = 0 ;
13560 wxColour temp3 ;
13561 PyObject * obj0 = 0 ;
994141e6 13562 PyObject * obj1 = 0 ;
d14a1e28
RD
13563 PyObject * obj2 = 0 ;
13564 char *kwnames[] = {
13565 (char *) "self",(char *) "i",(char *) "colour", NULL
13566 };
13567
994141e6 13568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13570 if (SWIG_arg_fail(1)) SWIG_fail;
13571 {
13572 arg2 = (int)(SWIG_As_int(obj1));
13573 if (SWIG_arg_fail(2)) SWIG_fail;
13574 }
d14a1e28
RD
13575 {
13576 arg3 = &temp3;
13577 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13578 }
13579 {
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
13581 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13582
13583 wxPyEndAllowThreads(__tstate);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 Py_INCREF(Py_None); resultobj = Py_None;
13587 return resultobj;
13588 fail:
13589 return NULL;
13590}
13591
13592
c32bde28 13593static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13594 PyObject *obj;
13595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13596 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13597 Py_INCREF(obj);
13598 return Py_BuildValue((char *)"");
13599}
c32bde28 13600static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13601 PyObject *resultobj;
13602 wxWindow *arg1 = (wxWindow *) 0 ;
13603 wxColourData *arg2 = (wxColourData *) NULL ;
13604 wxColourDialog *result;
13605 PyObject * obj0 = 0 ;
13606 PyObject * obj1 = 0 ;
13607 char *kwnames[] = {
13608 (char *) "parent",(char *) "data", NULL
13609 };
13610
13611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13613 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13614 if (obj1) {
093d3ff1
RD
13615 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13616 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13617 }
13618 {
e3b71cb8 13619 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13620 PyThreadState* __tstate = wxPyBeginAllowThreads();
13621 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13622
13623 wxPyEndAllowThreads(__tstate);
110da5b0 13624 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13625 }
15afbcd0 13626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
d14a1e28
RD
13627 return resultobj;
13628 fail:
13629 return NULL;
13630}
13631
13632
c32bde28 13633static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13634 PyObject *resultobj;
13635 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13636 wxColourData *result;
13637 PyObject * obj0 = 0 ;
13638 char *kwnames[] = {
13639 (char *) "self", NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13644 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13645 {
13646 PyThreadState* __tstate = wxPyBeginAllowThreads();
13647 {
13648 wxColourData &_result_ref = (arg1)->GetColourData();
13649 result = (wxColourData *) &_result_ref;
13650 }
13651
13652 wxPyEndAllowThreads(__tstate);
13653 if (PyErr_Occurred()) SWIG_fail;
13654 }
15afbcd0 13655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
d14a1e28
RD
13656 return resultobj;
13657 fail:
13658 return NULL;
13659}
13660
13661
c32bde28 13662static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13663 PyObject *obj;
13664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13665 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13666 Py_INCREF(obj);
13667 return Py_BuildValue((char *)"");
13668}
c32bde28 13669static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13670 PyObject *resultobj;
13671 wxWindow *arg1 = (wxWindow *) 0 ;
13672 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13673 wxString *arg2 = (wxString *) &arg2_defvalue ;
13674 wxString const &arg3_defvalue = wxPyEmptyString ;
13675 wxString *arg3 = (wxString *) &arg3_defvalue ;
13676 long arg4 = (long) 0 ;
13677 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13678 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13679 wxSize const &arg6_defvalue = wxDefaultSize ;
13680 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13681 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13682 wxString *arg7 = (wxString *) &arg7_defvalue ;
13683 wxDirDialog *result;
ae8162c8
RD
13684 bool temp2 = false ;
13685 bool temp3 = false ;
d14a1e28
RD
13686 wxPoint temp5 ;
13687 wxSize temp6 ;
ae8162c8 13688 bool temp7 = false ;
d14a1e28
RD
13689 PyObject * obj0 = 0 ;
13690 PyObject * obj1 = 0 ;
13691 PyObject * obj2 = 0 ;
994141e6 13692 PyObject * obj3 = 0 ;
d14a1e28
RD
13693 PyObject * obj4 = 0 ;
13694 PyObject * obj5 = 0 ;
13695 PyObject * obj6 = 0 ;
13696 char *kwnames[] = {
13697 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13698 };
13699
994141e6 13700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13702 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13703 if (obj1) {
13704 {
13705 arg2 = wxString_in_helper(obj1);
13706 if (arg2 == NULL) SWIG_fail;
ae8162c8 13707 temp2 = true;
d14a1e28
RD
13708 }
13709 }
13710 if (obj2) {
13711 {
13712 arg3 = wxString_in_helper(obj2);
13713 if (arg3 == NULL) SWIG_fail;
ae8162c8 13714 temp3 = true;
d14a1e28
RD
13715 }
13716 }
994141e6 13717 if (obj3) {
093d3ff1
RD
13718 {
13719 arg4 = (long)(SWIG_As_long(obj3));
13720 if (SWIG_arg_fail(4)) SWIG_fail;
13721 }
994141e6 13722 }
d14a1e28
RD
13723 if (obj4) {
13724 {
13725 arg5 = &temp5;
13726 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13727 }
13728 }
13729 if (obj5) {
13730 {
13731 arg6 = &temp6;
13732 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13733 }
13734 }
13735 if (obj6) {
13736 {
13737 arg7 = wxString_in_helper(obj6);
13738 if (arg7 == NULL) SWIG_fail;
ae8162c8 13739 temp7 = true;
d14a1e28
RD
13740 }
13741 }
13742 {
e3b71cb8 13743 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13746
13747 wxPyEndAllowThreads(__tstate);
110da5b0 13748 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13749 }
15afbcd0 13750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
d14a1e28
RD
13751 {
13752 if (temp2)
13753 delete arg2;
13754 }
13755 {
13756 if (temp3)
13757 delete arg3;
13758 }
13759 {
13760 if (temp7)
13761 delete arg7;
13762 }
13763 return resultobj;
13764 fail:
13765 {
13766 if (temp2)
13767 delete arg2;
13768 }
13769 {
13770 if (temp3)
13771 delete arg3;
13772 }
13773 {
13774 if (temp7)
13775 delete arg7;
13776 }
13777 return NULL;
13778}
13779
13780
c32bde28 13781static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13782 PyObject *resultobj;
13783 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13784 wxString result;
13785 PyObject * obj0 = 0 ;
13786 char *kwnames[] = {
13787 (char *) "self", NULL
13788 };
13789
13790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
13791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13792 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13793 {
13794 PyThreadState* __tstate = wxPyBeginAllowThreads();
13795 result = (arg1)->GetPath();
13796
13797 wxPyEndAllowThreads(__tstate);
13798 if (PyErr_Occurred()) SWIG_fail;
13799 }
13800 {
13801#if wxUSE_UNICODE
13802 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13803#else
13804 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13805#endif
13806 }
13807 return resultobj;
13808 fail:
13809 return NULL;
13810}
13811
13812
c32bde28 13813static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13814 PyObject *resultobj;
13815 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13816 wxString result;
13817 PyObject * obj0 = 0 ;
13818 char *kwnames[] = {
13819 (char *) "self", NULL
13820 };
13821
13822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
13823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13824 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13825 {
13826 PyThreadState* __tstate = wxPyBeginAllowThreads();
13827 result = (arg1)->GetMessage();
13828
13829 wxPyEndAllowThreads(__tstate);
13830 if (PyErr_Occurred()) SWIG_fail;
13831 }
13832 {
13833#if wxUSE_UNICODE
13834 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13835#else
13836 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13837#endif
13838 }
13839 return resultobj;
13840 fail:
13841 return NULL;
13842}
13843
13844
c32bde28 13845static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13846 PyObject *resultobj;
13847 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13848 long result;
13849 PyObject * obj0 = 0 ;
13850 char *kwnames[] = {
13851 (char *) "self", NULL
13852 };
13853
13854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
13855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13856 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13857 {
13858 PyThreadState* __tstate = wxPyBeginAllowThreads();
13859 result = (long)(arg1)->GetStyle();
13860
13861 wxPyEndAllowThreads(__tstate);
13862 if (PyErr_Occurred()) SWIG_fail;
13863 }
093d3ff1
RD
13864 {
13865 resultobj = SWIG_From_long((long)(result));
13866 }
d14a1e28
RD
13867 return resultobj;
13868 fail:
13869 return NULL;
13870}
13871
13872
c32bde28 13873static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13874 PyObject *resultobj;
13875 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13876 wxString *arg2 = 0 ;
ae8162c8 13877 bool temp2 = false ;
d14a1e28
RD
13878 PyObject * obj0 = 0 ;
13879 PyObject * obj1 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self",(char *) "message", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13886 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13887 {
13888 arg2 = wxString_in_helper(obj1);
13889 if (arg2 == NULL) SWIG_fail;
ae8162c8 13890 temp2 = true;
d14a1e28
RD
13891 }
13892 {
13893 PyThreadState* __tstate = wxPyBeginAllowThreads();
13894 (arg1)->SetMessage((wxString const &)*arg2);
13895
13896 wxPyEndAllowThreads(__tstate);
13897 if (PyErr_Occurred()) SWIG_fail;
13898 }
13899 Py_INCREF(Py_None); resultobj = Py_None;
13900 {
13901 if (temp2)
13902 delete arg2;
13903 }
13904 return resultobj;
13905 fail:
13906 {
13907 if (temp2)
13908 delete arg2;
13909 }
13910 return NULL;
13911}
13912
13913
c32bde28 13914static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13915 PyObject *resultobj;
13916 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13917 wxString *arg2 = 0 ;
ae8162c8 13918 bool temp2 = false ;
d14a1e28
RD
13919 PyObject * obj0 = 0 ;
13920 PyObject * obj1 = 0 ;
13921 char *kwnames[] = {
13922 (char *) "self",(char *) "path", NULL
13923 };
13924
13925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13927 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13928 {
13929 arg2 = wxString_in_helper(obj1);
13930 if (arg2 == NULL) SWIG_fail;
ae8162c8 13931 temp2 = true;
d14a1e28
RD
13932 }
13933 {
13934 PyThreadState* __tstate = wxPyBeginAllowThreads();
13935 (arg1)->SetPath((wxString const &)*arg2);
13936
13937 wxPyEndAllowThreads(__tstate);
13938 if (PyErr_Occurred()) SWIG_fail;
13939 }
13940 Py_INCREF(Py_None); resultobj = Py_None;
13941 {
13942 if (temp2)
13943 delete arg2;
13944 }
13945 return resultobj;
13946 fail:
13947 {
13948 if (temp2)
13949 delete arg2;
13950 }
13951 return NULL;
13952}
13953
13954
c32bde28 13955static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13956 PyObject *obj;
13957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13958 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13959 Py_INCREF(obj);
13960 return Py_BuildValue((char *)"");
13961}
c32bde28 13962static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13963 PyObject *resultobj;
13964 wxWindow *arg1 = (wxWindow *) 0 ;
13965 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
13966 wxString *arg2 = (wxString *) &arg2_defvalue ;
13967 wxString const &arg3_defvalue = wxPyEmptyString ;
13968 wxString *arg3 = (wxString *) &arg3_defvalue ;
13969 wxString const &arg4_defvalue = wxPyEmptyString ;
13970 wxString *arg4 = (wxString *) &arg4_defvalue ;
13971 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
13972 wxString *arg5 = (wxString *) &arg5_defvalue ;
13973 long arg6 = (long) 0 ;
13974 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13975 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13976 wxFileDialog *result;
ae8162c8
RD
13977 bool temp2 = false ;
13978 bool temp3 = false ;
13979 bool temp4 = false ;
13980 bool temp5 = false ;
d14a1e28
RD
13981 wxPoint temp7 ;
13982 PyObject * obj0 = 0 ;
13983 PyObject * obj1 = 0 ;
13984 PyObject * obj2 = 0 ;
13985 PyObject * obj3 = 0 ;
13986 PyObject * obj4 = 0 ;
994141e6 13987 PyObject * obj5 = 0 ;
d14a1e28
RD
13988 PyObject * obj6 = 0 ;
13989 char *kwnames[] = {
13990 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13991 };
13992
994141e6 13993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13995 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13996 if (obj1) {
13997 {
13998 arg2 = wxString_in_helper(obj1);
13999 if (arg2 == NULL) SWIG_fail;
ae8162c8 14000 temp2 = true;
d14a1e28
RD
14001 }
14002 }
14003 if (obj2) {
14004 {
14005 arg3 = wxString_in_helper(obj2);
14006 if (arg3 == NULL) SWIG_fail;
ae8162c8 14007 temp3 = true;
d14a1e28
RD
14008 }
14009 }
14010 if (obj3) {
14011 {
14012 arg4 = wxString_in_helper(obj3);
14013 if (arg4 == NULL) SWIG_fail;
ae8162c8 14014 temp4 = true;
d14a1e28
RD
14015 }
14016 }
14017 if (obj4) {
14018 {
14019 arg5 = wxString_in_helper(obj4);
14020 if (arg5 == NULL) SWIG_fail;
ae8162c8 14021 temp5 = true;
d14a1e28
RD
14022 }
14023 }
994141e6 14024 if (obj5) {
093d3ff1
RD
14025 {
14026 arg6 = (long)(SWIG_As_long(obj5));
14027 if (SWIG_arg_fail(6)) SWIG_fail;
14028 }
994141e6 14029 }
d14a1e28
RD
14030 if (obj6) {
14031 {
14032 arg7 = &temp7;
14033 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14034 }
14035 }
14036 {
e3b71cb8 14037 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
14040
14041 wxPyEndAllowThreads(__tstate);
110da5b0 14042 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14043 }
15afbcd0 14044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
d14a1e28
RD
14045 {
14046 if (temp2)
14047 delete arg2;
14048 }
14049 {
14050 if (temp3)
14051 delete arg3;
14052 }
14053 {
14054 if (temp4)
14055 delete arg4;
14056 }
14057 {
14058 if (temp5)
14059 delete arg5;
14060 }
14061 return resultobj;
14062 fail:
14063 {
14064 if (temp2)
14065 delete arg2;
14066 }
14067 {
14068 if (temp3)
14069 delete arg3;
14070 }
14071 {
14072 if (temp4)
14073 delete arg4;
14074 }
14075 {
14076 if (temp5)
14077 delete arg5;
14078 }
14079 return NULL;
14080}
14081
14082
c32bde28 14083static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14084 PyObject *resultobj;
14085 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14086 wxString *arg2 = 0 ;
ae8162c8 14087 bool temp2 = false ;
d14a1e28
RD
14088 PyObject * obj0 = 0 ;
14089 PyObject * obj1 = 0 ;
14090 char *kwnames[] = {
14091 (char *) "self",(char *) "message", NULL
14092 };
14093
14094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14096 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14097 {
14098 arg2 = wxString_in_helper(obj1);
14099 if (arg2 == NULL) SWIG_fail;
ae8162c8 14100 temp2 = true;
d14a1e28
RD
14101 }
14102 {
14103 PyThreadState* __tstate = wxPyBeginAllowThreads();
14104 (arg1)->SetMessage((wxString const &)*arg2);
14105
14106 wxPyEndAllowThreads(__tstate);
14107 if (PyErr_Occurred()) SWIG_fail;
14108 }
14109 Py_INCREF(Py_None); resultobj = Py_None;
14110 {
14111 if (temp2)
14112 delete arg2;
14113 }
14114 return resultobj;
14115 fail:
14116 {
14117 if (temp2)
14118 delete arg2;
14119 }
14120 return NULL;
14121}
14122
14123
c32bde28 14124static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14125 PyObject *resultobj;
14126 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14127 wxString *arg2 = 0 ;
ae8162c8 14128 bool temp2 = false ;
d14a1e28
RD
14129 PyObject * obj0 = 0 ;
14130 PyObject * obj1 = 0 ;
14131 char *kwnames[] = {
14132 (char *) "self",(char *) "path", NULL
14133 };
14134
14135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14137 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14138 {
14139 arg2 = wxString_in_helper(obj1);
14140 if (arg2 == NULL) SWIG_fail;
ae8162c8 14141 temp2 = true;
d14a1e28
RD
14142 }
14143 {
14144 PyThreadState* __tstate = wxPyBeginAllowThreads();
14145 (arg1)->SetPath((wxString const &)*arg2);
14146
14147 wxPyEndAllowThreads(__tstate);
14148 if (PyErr_Occurred()) SWIG_fail;
14149 }
14150 Py_INCREF(Py_None); resultobj = Py_None;
14151 {
14152 if (temp2)
14153 delete arg2;
14154 }
14155 return resultobj;
14156 fail:
14157 {
14158 if (temp2)
14159 delete arg2;
14160 }
14161 return NULL;
14162}
14163
14164
c32bde28 14165static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14166 PyObject *resultobj;
14167 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14168 wxString *arg2 = 0 ;
ae8162c8 14169 bool temp2 = false ;
d14a1e28
RD
14170 PyObject * obj0 = 0 ;
14171 PyObject * obj1 = 0 ;
14172 char *kwnames[] = {
14173 (char *) "self",(char *) "dir", NULL
14174 };
14175
14176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14178 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14179 {
14180 arg2 = wxString_in_helper(obj1);
14181 if (arg2 == NULL) SWIG_fail;
ae8162c8 14182 temp2 = true;
d14a1e28
RD
14183 }
14184 {
14185 PyThreadState* __tstate = wxPyBeginAllowThreads();
14186 (arg1)->SetDirectory((wxString const &)*arg2);
14187
14188 wxPyEndAllowThreads(__tstate);
14189 if (PyErr_Occurred()) SWIG_fail;
14190 }
14191 Py_INCREF(Py_None); resultobj = Py_None;
14192 {
14193 if (temp2)
14194 delete arg2;
14195 }
14196 return resultobj;
14197 fail:
14198 {
14199 if (temp2)
14200 delete arg2;
14201 }
14202 return NULL;
14203}
14204
14205
c32bde28 14206static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14207 PyObject *resultobj;
14208 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14209 wxString *arg2 = 0 ;
ae8162c8 14210 bool temp2 = false ;
d14a1e28
RD
14211 PyObject * obj0 = 0 ;
14212 PyObject * obj1 = 0 ;
14213 char *kwnames[] = {
14214 (char *) "self",(char *) "name", NULL
14215 };
14216
14217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14219 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14220 {
14221 arg2 = wxString_in_helper(obj1);
14222 if (arg2 == NULL) SWIG_fail;
ae8162c8 14223 temp2 = true;
d14a1e28
RD
14224 }
14225 {
14226 PyThreadState* __tstate = wxPyBeginAllowThreads();
14227 (arg1)->SetFilename((wxString const &)*arg2);
14228
14229 wxPyEndAllowThreads(__tstate);
14230 if (PyErr_Occurred()) SWIG_fail;
14231 }
14232 Py_INCREF(Py_None); resultobj = Py_None;
14233 {
14234 if (temp2)
14235 delete arg2;
14236 }
14237 return resultobj;
14238 fail:
14239 {
14240 if (temp2)
14241 delete arg2;
14242 }
14243 return NULL;
14244}
14245
14246
c32bde28 14247static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14248 PyObject *resultobj;
14249 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14250 wxString *arg2 = 0 ;
ae8162c8 14251 bool temp2 = false ;
d14a1e28
RD
14252 PyObject * obj0 = 0 ;
14253 PyObject * obj1 = 0 ;
14254 char *kwnames[] = {
14255 (char *) "self",(char *) "wildCard", NULL
14256 };
14257
14258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14260 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14261 {
14262 arg2 = wxString_in_helper(obj1);
14263 if (arg2 == NULL) SWIG_fail;
ae8162c8 14264 temp2 = true;
d14a1e28
RD
14265 }
14266 {
14267 PyThreadState* __tstate = wxPyBeginAllowThreads();
14268 (arg1)->SetWildcard((wxString const &)*arg2);
14269
14270 wxPyEndAllowThreads(__tstate);
14271 if (PyErr_Occurred()) SWIG_fail;
14272 }
14273 Py_INCREF(Py_None); resultobj = Py_None;
14274 {
14275 if (temp2)
14276 delete arg2;
14277 }
14278 return resultobj;
14279 fail:
14280 {
14281 if (temp2)
14282 delete arg2;
14283 }
14284 return NULL;
14285}
14286
14287
c32bde28 14288static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14289 PyObject *resultobj;
14290 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14291 long arg2 ;
14292 PyObject * obj0 = 0 ;
994141e6 14293 PyObject * obj1 = 0 ;
d14a1e28
RD
14294 char *kwnames[] = {
14295 (char *) "self",(char *) "style", NULL
14296 };
14297
994141e6 14298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14300 if (SWIG_arg_fail(1)) SWIG_fail;
14301 {
14302 arg2 = (long)(SWIG_As_long(obj1));
14303 if (SWIG_arg_fail(2)) SWIG_fail;
14304 }
d14a1e28
RD
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 (arg1)->SetStyle(arg2);
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 Py_INCREF(Py_None); resultobj = Py_None;
14313 return resultobj;
14314 fail:
14315 return NULL;
14316}
14317
14318
c32bde28 14319static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14320 PyObject *resultobj;
14321 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14322 int arg2 ;
14323 PyObject * obj0 = 0 ;
994141e6 14324 PyObject * obj1 = 0 ;
d14a1e28
RD
14325 char *kwnames[] = {
14326 (char *) "self",(char *) "filterIndex", NULL
14327 };
14328
994141e6 14329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14331 if (SWIG_arg_fail(1)) SWIG_fail;
14332 {
14333 arg2 = (int)(SWIG_As_int(obj1));
14334 if (SWIG_arg_fail(2)) SWIG_fail;
14335 }
d14a1e28
RD
14336 {
14337 PyThreadState* __tstate = wxPyBeginAllowThreads();
14338 (arg1)->SetFilterIndex(arg2);
14339
14340 wxPyEndAllowThreads(__tstate);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 Py_INCREF(Py_None); resultobj = Py_None;
14344 return resultobj;
14345 fail:
14346 return NULL;
14347}
14348
14349
c32bde28 14350static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14351 PyObject *resultobj;
14352 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14353 wxString result;
14354 PyObject * obj0 = 0 ;
14355 char *kwnames[] = {
14356 (char *) "self", NULL
14357 };
14358
14359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
14360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14361 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14362 {
14363 PyThreadState* __tstate = wxPyBeginAllowThreads();
14364 result = ((wxFileDialog const *)arg1)->GetMessage();
14365
14366 wxPyEndAllowThreads(__tstate);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 }
14369 {
14370#if wxUSE_UNICODE
14371 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14372#else
14373 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14374#endif
14375 }
14376 return resultobj;
14377 fail:
14378 return NULL;
14379}
14380
14381
c32bde28 14382static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14383 PyObject *resultobj;
14384 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14385 wxString result;
14386 PyObject * obj0 = 0 ;
14387 char *kwnames[] = {
14388 (char *) "self", NULL
14389 };
14390
14391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
14392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14393 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14394 {
14395 PyThreadState* __tstate = wxPyBeginAllowThreads();
14396 result = ((wxFileDialog const *)arg1)->GetPath();
14397
14398 wxPyEndAllowThreads(__tstate);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 {
14402#if wxUSE_UNICODE
14403 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14404#else
14405 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14406#endif
14407 }
14408 return resultobj;
14409 fail:
14410 return NULL;
14411}
14412
14413
c32bde28 14414static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14415 PyObject *resultobj;
14416 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14417 wxString result;
14418 PyObject * obj0 = 0 ;
14419 char *kwnames[] = {
14420 (char *) "self", NULL
14421 };
14422
14423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
093d3ff1
RD
14424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14425 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14426 {
14427 PyThreadState* __tstate = wxPyBeginAllowThreads();
14428 result = ((wxFileDialog const *)arg1)->GetDirectory();
14429
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 {
14434#if wxUSE_UNICODE
14435 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14436#else
14437 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14438#endif
14439 }
14440 return resultobj;
14441 fail:
14442 return NULL;
14443}
14444
14445
c32bde28 14446static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14447 PyObject *resultobj;
14448 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14449 wxString result;
14450 PyObject * obj0 = 0 ;
14451 char *kwnames[] = {
14452 (char *) "self", NULL
14453 };
14454
14455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
14456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14457 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14458 {
14459 PyThreadState* __tstate = wxPyBeginAllowThreads();
14460 result = ((wxFileDialog const *)arg1)->GetFilename();
14461
14462 wxPyEndAllowThreads(__tstate);
14463 if (PyErr_Occurred()) SWIG_fail;
14464 }
14465 {
14466#if wxUSE_UNICODE
14467 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14468#else
14469 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14470#endif
14471 }
14472 return resultobj;
14473 fail:
14474 return NULL;
14475}
14476
14477
c32bde28 14478static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14479 PyObject *resultobj;
14480 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14481 wxString result;
14482 PyObject * obj0 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "self", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
093d3ff1
RD
14488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14489 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 result = ((wxFileDialog const *)arg1)->GetWildcard();
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 {
14498#if wxUSE_UNICODE
14499 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14500#else
14501 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14502#endif
14503 }
14504 return resultobj;
14505 fail:
14506 return NULL;
14507}
14508
14509
c32bde28 14510static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14511 PyObject *resultobj;
14512 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14513 long result;
14514 PyObject * obj0 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
14520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14521 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14525
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
093d3ff1
RD
14529 {
14530 resultobj = SWIG_From_long((long)(result));
14531 }
d14a1e28
RD
14532 return resultobj;
14533 fail:
14534 return NULL;
14535}
14536
14537
c32bde28 14538static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14539 PyObject *resultobj;
14540 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14541 int result;
14542 PyObject * obj0 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "self", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
14548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14549 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14550 {
14551 PyThreadState* __tstate = wxPyBeginAllowThreads();
14552 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14553
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
093d3ff1
RD
14557 {
14558 resultobj = SWIG_From_int((int)(result));
14559 }
d14a1e28
RD
14560 return resultobj;
14561 fail:
14562 return NULL;
14563}
14564
14565
c32bde28 14566static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14567 PyObject *resultobj;
14568 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14569 PyObject *result;
14570 PyObject * obj0 = 0 ;
14571 char *kwnames[] = {
14572 (char *) "self", NULL
14573 };
14574
14575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
14576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14577 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14578 {
14579 PyThreadState* __tstate = wxPyBeginAllowThreads();
14580 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14581
14582 wxPyEndAllowThreads(__tstate);
14583 if (PyErr_Occurred()) SWIG_fail;
14584 }
14585 resultobj = result;
14586 return resultobj;
14587 fail:
14588 return NULL;
14589}
14590
14591
c32bde28 14592static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14593 PyObject *resultobj;
14594 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14595 PyObject *result;
14596 PyObject * obj0 = 0 ;
14597 char *kwnames[] = {
14598 (char *) "self", NULL
14599 };
14600
14601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
093d3ff1
RD
14602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14603 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14604 {
14605 PyThreadState* __tstate = wxPyBeginAllowThreads();
14606 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14607
14608 wxPyEndAllowThreads(__tstate);
14609 if (PyErr_Occurred()) SWIG_fail;
14610 }
14611 resultobj = result;
14612 return resultobj;
14613 fail:
14614 return NULL;
14615}
14616
14617
c32bde28 14618static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14619 PyObject *obj;
14620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14621 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14622 Py_INCREF(obj);
14623 return Py_BuildValue((char *)"");
14624}
c32bde28 14625static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14626 PyObject *resultobj;
14627 wxWindow *arg1 = (wxWindow *) 0 ;
14628 wxString *arg2 = 0 ;
14629 wxString *arg3 = 0 ;
4d5c3d91 14630 int arg4 = (int) 0 ;
248ed943 14631 wxString *arg5 = (wxString *) NULL ;
d14a1e28
RD
14632 long arg6 = (long) wxCHOICEDLG_STYLE ;
14633 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14634 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14635 wxMultiChoiceDialog *result;
ae8162c8
RD
14636 bool temp2 = false ;
14637 bool temp3 = false ;
093d3ff1 14638 wxPoint temp7 ;
d14a1e28
RD
14639 PyObject * obj0 = 0 ;
14640 PyObject * obj1 = 0 ;
14641 PyObject * obj2 = 0 ;
994141e6 14642 PyObject * obj3 = 0 ;
d14a1e28 14643 PyObject * obj4 = 0 ;
994141e6 14644 PyObject * obj5 = 0 ;
d14a1e28 14645 char *kwnames[] = {
4d5c3d91 14646 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
d14a1e28
RD
14647 };
14648
4d5c3d91 14649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14651 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14652 {
14653 arg2 = wxString_in_helper(obj1);
14654 if (arg2 == NULL) SWIG_fail;
ae8162c8 14655 temp2 = true;
d14a1e28
RD
14656 }
14657 {
14658 arg3 = wxString_in_helper(obj2);
14659 if (arg3 == NULL) SWIG_fail;
ae8162c8 14660 temp3 = true;
d14a1e28 14661 }
4d5c3d91
RD
14662 if (obj3) {
14663 {
14664 arg4 = PyList_Size(obj3);
14665 arg5 = wxString_LIST_helper(obj3);
14666 if (arg5 == NULL) SWIG_fail;
14667 }
7eae615b 14668 }
4d5c3d91 14669 if (obj4) {
093d3ff1
RD
14670 {
14671 arg6 = (long)(SWIG_As_long(obj4));
14672 if (SWIG_arg_fail(6)) SWIG_fail;
14673 }
994141e6 14674 }
4d5c3d91 14675 if (obj5) {
d14a1e28 14676 {
093d3ff1 14677 arg7 = &temp7;
4d5c3d91 14678 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d14a1e28
RD
14679 }
14680 }
14681 {
e3b71cb8 14682 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14685
14686 wxPyEndAllowThreads(__tstate);
110da5b0 14687 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14688 }
15afbcd0 14689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
d14a1e28
RD
14690 {
14691 if (temp2)
14692 delete arg2;
14693 }
14694 {
14695 if (temp3)
14696 delete arg3;
14697 }
7eae615b 14698 {
4d5c3d91 14699 if (arg5) delete [] arg5;
7eae615b 14700 }
d14a1e28
RD
14701 return resultobj;
14702 fail:
14703 {
14704 if (temp2)
14705 delete arg2;
14706 }
14707 {
14708 if (temp3)
14709 delete arg3;
14710 }
7eae615b 14711 {
4d5c3d91 14712 if (arg5) delete [] arg5;
7eae615b 14713 }
d14a1e28
RD
14714 return NULL;
14715}
14716
14717
c32bde28 14718static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14719 PyObject *resultobj;
14720 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14721 wxArrayInt *arg2 = 0 ;
ae8162c8 14722 bool temp2 = false ;
d14a1e28
RD
14723 PyObject * obj0 = 0 ;
14724 PyObject * obj1 = 0 ;
14725 char *kwnames[] = {
14726 (char *) "self",(char *) "selections", NULL
14727 };
14728
14729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14731 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14732 {
14733 if (! PySequence_Check(obj1)) {
14734 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14735 SWIG_fail;
14736 }
14737 arg2 = new wxArrayInt;
ae8162c8 14738 temp2 = true;
d14a1e28
RD
14739 int i, len=PySequence_Length(obj1);
14740 for (i=0; i<len; i++) {
14741 PyObject* item = PySequence_GetItem(obj1, i);
14742 PyObject* number = PyNumber_Int(item);
14743 arg2->Add(PyInt_AS_LONG(number));
14744 Py_DECREF(item);
14745 Py_DECREF(number);
14746 }
14747 }
14748 {
14749 PyThreadState* __tstate = wxPyBeginAllowThreads();
14750 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14751
14752 wxPyEndAllowThreads(__tstate);
14753 if (PyErr_Occurred()) SWIG_fail;
14754 }
14755 Py_INCREF(Py_None); resultobj = Py_None;
14756 {
3adfb63b 14757 if (temp2) delete arg2;
d14a1e28
RD
14758 }
14759 return resultobj;
14760 fail:
14761 {
3adfb63b 14762 if (temp2) delete arg2;
d14a1e28
RD
14763 }
14764 return NULL;
14765}
14766
14767
c32bde28 14768static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14769 PyObject *resultobj;
14770 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14771 PyObject *result;
14772 PyObject * obj0 = 0 ;
14773 char *kwnames[] = {
14774 (char *) "self", NULL
14775 };
14776
14777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
14778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14779 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14780 {
14781 PyThreadState* __tstate = wxPyBeginAllowThreads();
14782 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14783
14784 wxPyEndAllowThreads(__tstate);
14785 if (PyErr_Occurred()) SWIG_fail;
14786 }
14787 resultobj = result;
14788 return resultobj;
14789 fail:
14790 return NULL;
14791}
14792
14793
c32bde28 14794static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14795 PyObject *obj;
14796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14797 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14798 Py_INCREF(obj);
14799 return Py_BuildValue((char *)"");
14800}
c32bde28 14801static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14802 PyObject *resultobj;
14803 wxWindow *arg1 = (wxWindow *) 0 ;
14804 wxString *arg2 = 0 ;
14805 wxString *arg3 = 0 ;
14806 int arg4 ;
14807 wxString *arg5 = (wxString *) 0 ;
14808 long arg6 = (long) wxCHOICEDLG_STYLE ;
14809 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14810 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14811 wxSingleChoiceDialog *result;
ae8162c8
RD
14812 bool temp2 = false ;
14813 bool temp3 = false ;
093d3ff1 14814 wxPoint temp7 ;
d14a1e28
RD
14815 PyObject * obj0 = 0 ;
14816 PyObject * obj1 = 0 ;
14817 PyObject * obj2 = 0 ;
14818 PyObject * obj3 = 0 ;
994141e6 14819 PyObject * obj4 = 0 ;
d14a1e28
RD
14820 PyObject * obj5 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14823 };
14824
994141e6 14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14827 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14828 {
14829 arg2 = wxString_in_helper(obj1);
14830 if (arg2 == NULL) SWIG_fail;
ae8162c8 14831 temp2 = true;
d14a1e28
RD
14832 }
14833 {
14834 arg3 = wxString_in_helper(obj2);
14835 if (arg3 == NULL) SWIG_fail;
ae8162c8 14836 temp3 = true;
d14a1e28
RD
14837 }
14838 {
14839 arg4 = PyList_Size(obj3);
14840 arg5 = wxString_LIST_helper(obj3);
14841 if (arg5 == NULL) SWIG_fail;
14842 }
994141e6 14843 if (obj4) {
093d3ff1
RD
14844 {
14845 arg6 = (long)(SWIG_As_long(obj4));
14846 if (SWIG_arg_fail(6)) SWIG_fail;
14847 }
994141e6 14848 }
d14a1e28
RD
14849 if (obj5) {
14850 {
093d3ff1 14851 arg7 = &temp7;
d14a1e28
RD
14852 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14853 }
14854 }
14855 {
e3b71cb8 14856 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14857 PyThreadState* __tstate = wxPyBeginAllowThreads();
14858 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14859
14860 wxPyEndAllowThreads(__tstate);
110da5b0 14861 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14862 }
15afbcd0 14863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
d14a1e28
RD
14864 {
14865 if (temp2)
14866 delete arg2;
14867 }
14868 {
14869 if (temp3)
14870 delete arg3;
14871 }
14872 {
14873 if (arg5) delete [] arg5;
14874 }
14875 return resultobj;
14876 fail:
14877 {
14878 if (temp2)
14879 delete arg2;
14880 }
14881 {
14882 if (temp3)
14883 delete arg3;
14884 }
14885 {
14886 if (arg5) delete [] arg5;
14887 }
14888 return NULL;
14889}
14890
14891
c32bde28 14892static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14893 PyObject *resultobj;
14894 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14895 int result;
14896 PyObject * obj0 = 0 ;
14897 char *kwnames[] = {
14898 (char *) "self", NULL
14899 };
14900
14901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14903 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14904 {
14905 PyThreadState* __tstate = wxPyBeginAllowThreads();
14906 result = (int)(arg1)->GetSelection();
14907
14908 wxPyEndAllowThreads(__tstate);
14909 if (PyErr_Occurred()) SWIG_fail;
14910 }
093d3ff1
RD
14911 {
14912 resultobj = SWIG_From_int((int)(result));
14913 }
d14a1e28
RD
14914 return resultobj;
14915 fail:
14916 return NULL;
14917}
14918
14919
c32bde28 14920static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14921 PyObject *resultobj;
14922 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14923 wxString result;
14924 PyObject * obj0 = 0 ;
14925 char *kwnames[] = {
14926 (char *) "self", NULL
14927 };
14928
14929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14931 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14932 {
14933 PyThreadState* __tstate = wxPyBeginAllowThreads();
14934 result = (arg1)->GetStringSelection();
14935
14936 wxPyEndAllowThreads(__tstate);
14937 if (PyErr_Occurred()) SWIG_fail;
14938 }
14939 {
14940#if wxUSE_UNICODE
14941 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14942#else
14943 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14944#endif
14945 }
14946 return resultobj;
14947 fail:
14948 return NULL;
14949}
14950
14951
c32bde28 14952static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14953 PyObject *resultobj;
14954 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14955 int arg2 ;
14956 PyObject * obj0 = 0 ;
994141e6 14957 PyObject * obj1 = 0 ;
d14a1e28
RD
14958 char *kwnames[] = {
14959 (char *) "self",(char *) "sel", NULL
14960 };
14961
994141e6 14962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14964 if (SWIG_arg_fail(1)) SWIG_fail;
14965 {
14966 arg2 = (int)(SWIG_As_int(obj1));
14967 if (SWIG_arg_fail(2)) SWIG_fail;
14968 }
d14a1e28
RD
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 (arg1)->SetSelection(arg2);
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 Py_INCREF(Py_None); resultobj = Py_None;
14977 return resultobj;
14978 fail:
14979 return NULL;
14980}
14981
14982
c32bde28 14983static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14984 PyObject *obj;
14985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14986 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
14987 Py_INCREF(obj);
14988 return Py_BuildValue((char *)"");
14989}
c32bde28 14990static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14991 PyObject *resultobj;
14992 wxWindow *arg1 = (wxWindow *) 0 ;
14993 wxString *arg2 = 0 ;
14994 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
14995 wxString *arg3 = (wxString *) &arg3_defvalue ;
14996 wxString const &arg4_defvalue = wxPyEmptyString ;
14997 wxString *arg4 = (wxString *) &arg4_defvalue ;
d3b6e4ff 14998 long arg5 = (long) wxTextEntryDialogStyle ;
d14a1e28
RD
14999 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15000 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15001 wxTextEntryDialog *result;
ae8162c8
RD
15002 bool temp2 = false ;
15003 bool temp3 = false ;
15004 bool temp4 = false ;
d14a1e28
RD
15005 wxPoint temp6 ;
15006 PyObject * obj0 = 0 ;
15007 PyObject * obj1 = 0 ;
15008 PyObject * obj2 = 0 ;
15009 PyObject * obj3 = 0 ;
994141e6 15010 PyObject * obj4 = 0 ;
d14a1e28
RD
15011 PyObject * obj5 = 0 ;
15012 char *kwnames[] = {
15013 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15014 };
15015
994141e6 15016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15018 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15019 {
15020 arg2 = wxString_in_helper(obj1);
15021 if (arg2 == NULL) SWIG_fail;
ae8162c8 15022 temp2 = true;
d14a1e28
RD
15023 }
15024 if (obj2) {
15025 {
15026 arg3 = wxString_in_helper(obj2);
15027 if (arg3 == NULL) SWIG_fail;
ae8162c8 15028 temp3 = true;
d14a1e28
RD
15029 }
15030 }
15031 if (obj3) {
15032 {
15033 arg4 = wxString_in_helper(obj3);
15034 if (arg4 == NULL) SWIG_fail;
ae8162c8 15035 temp4 = true;
d14a1e28
RD
15036 }
15037 }
994141e6 15038 if (obj4) {
093d3ff1
RD
15039 {
15040 arg5 = (long)(SWIG_As_long(obj4));
15041 if (SWIG_arg_fail(5)) SWIG_fail;
15042 }
994141e6 15043 }
d14a1e28
RD
15044 if (obj5) {
15045 {
15046 arg6 = &temp6;
15047 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15048 }
15049 }
15050 {
e3b71cb8 15051 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15052 PyThreadState* __tstate = wxPyBeginAllowThreads();
15053 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15054
15055 wxPyEndAllowThreads(__tstate);
110da5b0 15056 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15057 }
15afbcd0 15058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
d14a1e28
RD
15059 {
15060 if (temp2)
15061 delete arg2;
15062 }
15063 {
15064 if (temp3)
15065 delete arg3;
15066 }
15067 {
15068 if (temp4)
15069 delete arg4;
15070 }
15071 return resultobj;
15072 fail:
15073 {
15074 if (temp2)
15075 delete arg2;
15076 }
15077 {
15078 if (temp3)
15079 delete arg3;
15080 }
15081 {
15082 if (temp4)
15083 delete arg4;
15084 }
15085 return NULL;
15086}
15087
15088
c32bde28 15089static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15090 PyObject *resultobj;
15091 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15092 wxString result;
15093 PyObject * obj0 = 0 ;
15094 char *kwnames[] = {
15095 (char *) "self", NULL
15096 };
15097
15098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
15099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15100 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15101 {
15102 PyThreadState* __tstate = wxPyBeginAllowThreads();
15103 result = (arg1)->GetValue();
15104
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 {
15109#if wxUSE_UNICODE
15110 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15111#else
15112 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15113#endif
15114 }
15115 return resultobj;
15116 fail:
15117 return NULL;
15118}
15119
15120
c32bde28 15121static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15122 PyObject *resultobj;
15123 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15124 wxString *arg2 = 0 ;
ae8162c8 15125 bool temp2 = false ;
d14a1e28
RD
15126 PyObject * obj0 = 0 ;
15127 PyObject * obj1 = 0 ;
15128 char *kwnames[] = {
15129 (char *) "self",(char *) "value", NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15134 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15135 {
15136 arg2 = wxString_in_helper(obj1);
15137 if (arg2 == NULL) SWIG_fail;
ae8162c8 15138 temp2 = true;
d14a1e28
RD
15139 }
15140 {
15141 PyThreadState* __tstate = wxPyBeginAllowThreads();
15142 (arg1)->SetValue((wxString const &)*arg2);
15143
15144 wxPyEndAllowThreads(__tstate);
15145 if (PyErr_Occurred()) SWIG_fail;
15146 }
15147 Py_INCREF(Py_None); resultobj = Py_None;
15148 {
15149 if (temp2)
15150 delete arg2;
15151 }
15152 return resultobj;
15153 fail:
15154 {
15155 if (temp2)
15156 delete arg2;
15157 }
15158 return NULL;
15159}
15160
15161
c32bde28 15162static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15163 PyObject *obj;
15164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15165 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15166 Py_INCREF(obj);
15167 return Py_BuildValue((char *)"");
15168}
d3b6e4ff
RD
15169static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15170 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15171 return 1;
15172}
15173
15174
093d3ff1 15175static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
d3b6e4ff
RD
15176 PyObject *pyobj;
15177
15178 {
15179#if wxUSE_UNICODE
15180 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15181#else
15182 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15183#endif
15184 }
15185 return pyobj;
15186}
15187
15188
15189static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15190 PyObject *resultobj;
15191 wxWindow *arg1 = (wxWindow *) 0 ;
15192 wxString *arg2 = 0 ;
15193 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15194 wxString *arg3 = (wxString *) &arg3_defvalue ;
15195 wxString const &arg4_defvalue = wxPyEmptyString ;
15196 wxString *arg4 = (wxString *) &arg4_defvalue ;
15197 long arg5 = (long) wxTextEntryDialogStyle ;
15198 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15199 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15200 wxPasswordEntryDialog *result;
15201 bool temp2 = false ;
15202 bool temp3 = false ;
15203 bool temp4 = false ;
15204 wxPoint temp6 ;
15205 PyObject * obj0 = 0 ;
15206 PyObject * obj1 = 0 ;
15207 PyObject * obj2 = 0 ;
15208 PyObject * obj3 = 0 ;
15209 PyObject * obj4 = 0 ;
15210 PyObject * obj5 = 0 ;
15211 char *kwnames[] = {
15212 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15213 };
15214
15215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15217 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
15218 {
15219 arg2 = wxString_in_helper(obj1);
15220 if (arg2 == NULL) SWIG_fail;
15221 temp2 = true;
15222 }
15223 if (obj2) {
15224 {
15225 arg3 = wxString_in_helper(obj2);
15226 if (arg3 == NULL) SWIG_fail;
15227 temp3 = true;
15228 }
15229 }
15230 if (obj3) {
15231 {
15232 arg4 = wxString_in_helper(obj3);
15233 if (arg4 == NULL) SWIG_fail;
15234 temp4 = true;
15235 }
15236 }
15237 if (obj4) {
093d3ff1
RD
15238 {
15239 arg5 = (long)(SWIG_As_long(obj4));
15240 if (SWIG_arg_fail(5)) SWIG_fail;
15241 }
d3b6e4ff
RD
15242 }
15243 if (obj5) {
15244 {
15245 arg6 = &temp6;
15246 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15247 }
15248 }
15249 {
15250 PyThreadState* __tstate = wxPyBeginAllowThreads();
15251 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15252
15253 wxPyEndAllowThreads(__tstate);
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
15256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15257 {
15258 if (temp2)
15259 delete arg2;
15260 }
15261 {
15262 if (temp3)
15263 delete arg3;
15264 }
15265 {
15266 if (temp4)
15267 delete arg4;
15268 }
15269 return resultobj;
15270 fail:
15271 {
15272 if (temp2)
15273 delete arg2;
15274 }
15275 {
15276 if (temp3)
15277 delete arg3;
15278 }
15279 {
15280 if (temp4)
15281 delete arg4;
15282 }
15283 return NULL;
15284}
15285
15286
15287static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15288 PyObject *obj;
15289 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15290 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15291 Py_INCREF(obj);
15292 return Py_BuildValue((char *)"");
15293}
c32bde28 15294static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15295 PyObject *resultobj;
15296 wxFontData *result;
15297 char *kwnames[] = {
15298 NULL
15299 };
15300
15301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15302 {
15303 PyThreadState* __tstate = wxPyBeginAllowThreads();
15304 result = (wxFontData *)new wxFontData();
15305
15306 wxPyEndAllowThreads(__tstate);
15307 if (PyErr_Occurred()) SWIG_fail;
15308 }
15afbcd0 15309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
d14a1e28
RD
15310 return resultobj;
15311 fail:
15312 return NULL;
15313}
15314
15315
c32bde28 15316static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15317 PyObject *resultobj;
15318 wxFontData *arg1 = (wxFontData *) 0 ;
15319 PyObject * obj0 = 0 ;
15320 char *kwnames[] = {
15321 (char *) "self", NULL
15322 };
15323
15324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15326 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15327 {
15328 PyThreadState* __tstate = wxPyBeginAllowThreads();
15329 delete arg1;
15330
15331 wxPyEndAllowThreads(__tstate);
15332 if (PyErr_Occurred()) SWIG_fail;
15333 }
15334 Py_INCREF(Py_None); resultobj = Py_None;
15335 return resultobj;
15336 fail:
15337 return NULL;
15338}
15339
15340
c32bde28 15341static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15342 PyObject *resultobj;
15343 wxFontData *arg1 = (wxFontData *) 0 ;
15344 bool arg2 ;
15345 PyObject * obj0 = 0 ;
15346 PyObject * obj1 = 0 ;
15347 char *kwnames[] = {
15348 (char *) "self",(char *) "enable", NULL
15349 };
15350
15351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15353 if (SWIG_arg_fail(1)) SWIG_fail;
15354 {
15355 arg2 = (bool)(SWIG_As_bool(obj1));
15356 if (SWIG_arg_fail(2)) SWIG_fail;
15357 }
d14a1e28
RD
15358 {
15359 PyThreadState* __tstate = wxPyBeginAllowThreads();
15360 (arg1)->EnableEffects(arg2);
15361
15362 wxPyEndAllowThreads(__tstate);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 }
15365 Py_INCREF(Py_None); resultobj = Py_None;
15366 return resultobj;
15367 fail:
15368 return NULL;
15369}
15370
15371
c32bde28 15372static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15373 PyObject *resultobj;
15374 wxFontData *arg1 = (wxFontData *) 0 ;
15375 bool result;
15376 PyObject * obj0 = 0 ;
15377 char *kwnames[] = {
15378 (char *) "self", NULL
15379 };
15380
15381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
093d3ff1
RD
15382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15383 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15384 {
15385 PyThreadState* __tstate = wxPyBeginAllowThreads();
15386 result = (bool)(arg1)->GetAllowSymbols();
15387
15388 wxPyEndAllowThreads(__tstate);
15389 if (PyErr_Occurred()) SWIG_fail;
15390 }
4f89f6a3
RD
15391 {
15392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15393 }
d14a1e28
RD
15394 return resultobj;
15395 fail:
15396 return NULL;
15397}
15398
15399
c32bde28 15400static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15401 PyObject *resultobj;
15402 wxFontData *arg1 = (wxFontData *) 0 ;
15403 wxColour result;
15404 PyObject * obj0 = 0 ;
15405 char *kwnames[] = {
15406 (char *) "self", NULL
15407 };
15408
15409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
15410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15411 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 result = (arg1)->GetColour();
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
15419 {
15420 wxColour * resultptr;
093d3ff1 15421 resultptr = new wxColour((wxColour &)(result));
15afbcd0 15422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
15423 }
15424 return resultobj;
15425 fail:
15426 return NULL;
15427}
15428
15429
c32bde28 15430static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15431 PyObject *resultobj;
15432 wxFontData *arg1 = (wxFontData *) 0 ;
15433 wxFont result;
15434 PyObject * obj0 = 0 ;
15435 char *kwnames[] = {
15436 (char *) "self", NULL
15437 };
15438
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15441 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15442 {
15443 PyThreadState* __tstate = wxPyBeginAllowThreads();
15444 result = (arg1)->GetChosenFont();
15445
15446 wxPyEndAllowThreads(__tstate);
15447 if (PyErr_Occurred()) SWIG_fail;
15448 }
15449 {
15450 wxFont * resultptr;
093d3ff1 15451 resultptr = new wxFont((wxFont &)(result));
15afbcd0 15452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
15453 }
15454 return resultobj;
15455 fail:
15456 return NULL;
15457}
15458
15459
c32bde28 15460static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15461 PyObject *resultobj;
15462 wxFontData *arg1 = (wxFontData *) 0 ;
15463 bool result;
15464 PyObject * obj0 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "self", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
093d3ff1
RD
15470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15471 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15472 {
15473 PyThreadState* __tstate = wxPyBeginAllowThreads();
15474 result = (bool)(arg1)->GetEnableEffects();
15475
15476 wxPyEndAllowThreads(__tstate);
15477 if (PyErr_Occurred()) SWIG_fail;
15478 }
4f89f6a3
RD
15479 {
15480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15481 }
d14a1e28
RD
15482 return resultobj;
15483 fail:
15484 return NULL;
15485}
15486
15487
c32bde28 15488static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15489 PyObject *resultobj;
15490 wxFontData *arg1 = (wxFontData *) 0 ;
15491 wxFont result;
15492 PyObject * obj0 = 0 ;
15493 char *kwnames[] = {
15494 (char *) "self", NULL
15495 };
15496
15497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15499 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15500 {
15501 PyThreadState* __tstate = wxPyBeginAllowThreads();
15502 result = (arg1)->GetInitialFont();
15503
15504 wxPyEndAllowThreads(__tstate);
15505 if (PyErr_Occurred()) SWIG_fail;
15506 }
15507 {
15508 wxFont * resultptr;
093d3ff1 15509 resultptr = new wxFont((wxFont &)(result));
15afbcd0 15510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
15511 }
15512 return resultobj;
15513 fail:
15514 return NULL;
15515}
15516
15517
c32bde28 15518static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15519 PyObject *resultobj;
15520 wxFontData *arg1 = (wxFontData *) 0 ;
15521 bool result;
15522 PyObject * obj0 = 0 ;
15523 char *kwnames[] = {
15524 (char *) "self", NULL
15525 };
15526
15527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
15528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15529 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15530 {
15531 PyThreadState* __tstate = wxPyBeginAllowThreads();
15532 result = (bool)(arg1)->GetShowHelp();
15533
15534 wxPyEndAllowThreads(__tstate);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 }
4f89f6a3
RD
15537 {
15538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15539 }
d14a1e28
RD
15540 return resultobj;
15541 fail:
15542 return NULL;
15543}
15544
15545
c32bde28 15546static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15547 PyObject *resultobj;
15548 wxFontData *arg1 = (wxFontData *) 0 ;
15549 bool arg2 ;
15550 PyObject * obj0 = 0 ;
15551 PyObject * obj1 = 0 ;
15552 char *kwnames[] = {
15553 (char *) "self",(char *) "allowSymbols", NULL
15554 };
15555
15556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",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 arg2 = (bool)(SWIG_As_bool(obj1));
15561 if (SWIG_arg_fail(2)) SWIG_fail;
15562 }
d14a1e28
RD
15563 {
15564 PyThreadState* __tstate = wxPyBeginAllowThreads();
15565 (arg1)->SetAllowSymbols(arg2);
15566
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
15570 Py_INCREF(Py_None); resultobj = Py_None;
15571 return resultobj;
15572 fail:
15573 return NULL;
15574}
15575
15576
c32bde28 15577static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15578 PyObject *resultobj;
15579 wxFontData *arg1 = (wxFontData *) 0 ;
15580 wxFont *arg2 = 0 ;
15581 PyObject * obj0 = 0 ;
15582 PyObject * obj1 = 0 ;
15583 char *kwnames[] = {
15584 (char *) "self",(char *) "font", NULL
15585 };
15586
15587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15589 if (SWIG_arg_fail(1)) SWIG_fail;
15590 {
15591 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15592 if (SWIG_arg_fail(2)) SWIG_fail;
15593 if (arg2 == NULL) {
15594 SWIG_null_ref("wxFont");
15595 }
15596 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15597 }
15598 {
15599 PyThreadState* __tstate = wxPyBeginAllowThreads();
15600 (arg1)->SetChosenFont((wxFont const &)*arg2);
15601
15602 wxPyEndAllowThreads(__tstate);
15603 if (PyErr_Occurred()) SWIG_fail;
15604 }
15605 Py_INCREF(Py_None); resultobj = Py_None;
15606 return resultobj;
15607 fail:
15608 return NULL;
15609}
15610
15611
c32bde28 15612static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15613 PyObject *resultobj;
15614 wxFontData *arg1 = (wxFontData *) 0 ;
15615 wxColour *arg2 = 0 ;
15616 wxColour temp2 ;
15617 PyObject * obj0 = 0 ;
15618 PyObject * obj1 = 0 ;
15619 char *kwnames[] = {
15620 (char *) "self",(char *) "colour", NULL
15621 };
15622
15623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15625 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15626 {
15627 arg2 = &temp2;
15628 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15629 }
15630 {
15631 PyThreadState* __tstate = wxPyBeginAllowThreads();
15632 (arg1)->SetColour((wxColour const &)*arg2);
15633
15634 wxPyEndAllowThreads(__tstate);
15635 if (PyErr_Occurred()) SWIG_fail;
15636 }
15637 Py_INCREF(Py_None); resultobj = Py_None;
15638 return resultobj;
15639 fail:
15640 return NULL;
15641}
15642
15643
c32bde28 15644static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15645 PyObject *resultobj;
15646 wxFontData *arg1 = (wxFontData *) 0 ;
15647 wxFont *arg2 = 0 ;
15648 PyObject * obj0 = 0 ;
15649 PyObject * obj1 = 0 ;
15650 char *kwnames[] = {
15651 (char *) "self",(char *) "font", NULL
15652 };
15653
15654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15656 if (SWIG_arg_fail(1)) SWIG_fail;
15657 {
15658 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15659 if (SWIG_arg_fail(2)) SWIG_fail;
15660 if (arg2 == NULL) {
15661 SWIG_null_ref("wxFont");
15662 }
15663 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15664 }
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 (arg1)->SetInitialFont((wxFont const &)*arg2);
15668
15669 wxPyEndAllowThreads(__tstate);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 }
15672 Py_INCREF(Py_None); resultobj = Py_None;
15673 return resultobj;
15674 fail:
15675 return NULL;
15676}
15677
15678
c32bde28 15679static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15680 PyObject *resultobj;
15681 wxFontData *arg1 = (wxFontData *) 0 ;
15682 int arg2 ;
15683 int arg3 ;
15684 PyObject * obj0 = 0 ;
994141e6
RD
15685 PyObject * obj1 = 0 ;
15686 PyObject * obj2 = 0 ;
d14a1e28
RD
15687 char *kwnames[] = {
15688 (char *) "self",(char *) "min",(char *) "max", NULL
15689 };
15690
994141e6 15691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15693 if (SWIG_arg_fail(1)) SWIG_fail;
15694 {
15695 arg2 = (int)(SWIG_As_int(obj1));
15696 if (SWIG_arg_fail(2)) SWIG_fail;
15697 }
15698 {
15699 arg3 = (int)(SWIG_As_int(obj2));
15700 if (SWIG_arg_fail(3)) SWIG_fail;
15701 }
d14a1e28
RD
15702 {
15703 PyThreadState* __tstate = wxPyBeginAllowThreads();
15704 (arg1)->SetRange(arg2,arg3);
15705
15706 wxPyEndAllowThreads(__tstate);
15707 if (PyErr_Occurred()) SWIG_fail;
15708 }
15709 Py_INCREF(Py_None); resultobj = Py_None;
15710 return resultobj;
15711 fail:
15712 return NULL;
15713}
15714
15715
c32bde28 15716static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15717 PyObject *resultobj;
15718 wxFontData *arg1 = (wxFontData *) 0 ;
15719 bool arg2 ;
15720 PyObject * obj0 = 0 ;
15721 PyObject * obj1 = 0 ;
15722 char *kwnames[] = {
15723 (char *) "self",(char *) "showHelp", NULL
15724 };
15725
15726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15728 if (SWIG_arg_fail(1)) SWIG_fail;
15729 {
15730 arg2 = (bool)(SWIG_As_bool(obj1));
15731 if (SWIG_arg_fail(2)) SWIG_fail;
15732 }
d14a1e28
RD
15733 {
15734 PyThreadState* __tstate = wxPyBeginAllowThreads();
15735 (arg1)->SetShowHelp(arg2);
15736
15737 wxPyEndAllowThreads(__tstate);
15738 if (PyErr_Occurred()) SWIG_fail;
15739 }
15740 Py_INCREF(Py_None); resultobj = Py_None;
15741 return resultobj;
15742 fail:
15743 return NULL;
15744}
15745
15746
c32bde28 15747static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15748 PyObject *obj;
15749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15750 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15751 Py_INCREF(obj);
15752 return Py_BuildValue((char *)"");
15753}
c32bde28 15754static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15755 PyObject *resultobj;
e498079e
RD
15756 wxWindow *arg1 = (wxWindow *) 0 ;
15757 wxFontData *arg2 = 0 ;
15758 wxFontDialog *result;
d14a1e28 15759 PyObject * obj0 = 0 ;
e498079e 15760 PyObject * obj1 = 0 ;
15afbcd0
RD
15761 char *kwnames[] = {
15762 (char *) "parent",(char *) "data", NULL
15763 };
d14a1e28 15764
15afbcd0 15765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15767 if (SWIG_arg_fail(1)) SWIG_fail;
15768 {
15769 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15770 if (SWIG_arg_fail(2)) SWIG_fail;
15771 if (arg2 == NULL) {
15772 SWIG_null_ref("wxFontData");
15773 }
15774 if (SWIG_arg_fail(2)) SWIG_fail;
e498079e 15775 }
d14a1e28 15776 {
e3b71cb8 15777 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 15778 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15779 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
d14a1e28
RD
15780
15781 wxPyEndAllowThreads(__tstate);
110da5b0 15782 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15783 }
15afbcd0 15784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
d14a1e28
RD
15785 return resultobj;
15786 fail:
15787 return NULL;
15788}
15789
15790
c32bde28 15791static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15792 PyObject *resultobj;
15793 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
e498079e 15794 wxFontData *result;
d14a1e28
RD
15795 PyObject * obj0 = 0 ;
15796 char *kwnames[] = {
15797 (char *) "self", NULL
15798 };
15799
e498079e 15800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15802 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e
RD
15805 {
15806 wxFontData &_result_ref = (arg1)->GetFontData();
15807 result = (wxFontData *) &_result_ref;
15808 }
d14a1e28
RD
15809
15810 wxPyEndAllowThreads(__tstate);
15811 if (PyErr_Occurred()) SWIG_fail;
15812 }
15afbcd0 15813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
d14a1e28
RD
15814 return resultobj;
15815 fail:
15816 return NULL;
15817}
15818
15819
c32bde28 15820static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15821 PyObject *obj;
15822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15823 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15824 Py_INCREF(obj);
15825 return Py_BuildValue((char *)"");
15826}
c32bde28 15827static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15828 PyObject *resultobj;
15829 wxWindow *arg1 = (wxWindow *) 0 ;
15830 wxString *arg2 = 0 ;
15831 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15832 wxString *arg3 = (wxString *) &arg3_defvalue ;
15833 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15834 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15835 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15836 wxMessageDialog *result;
ae8162c8
RD
15837 bool temp2 = false ;
15838 bool temp3 = false ;
d14a1e28
RD
15839 wxPoint temp5 ;
15840 PyObject * obj0 = 0 ;
15841 PyObject * obj1 = 0 ;
15842 PyObject * obj2 = 0 ;
994141e6 15843 PyObject * obj3 = 0 ;
d14a1e28
RD
15844 PyObject * obj4 = 0 ;
15845 char *kwnames[] = {
15846 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15847 };
15848
994141e6 15849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
15850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15851 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15852 {
15853 arg2 = wxString_in_helper(obj1);
15854 if (arg2 == NULL) SWIG_fail;
ae8162c8 15855 temp2 = true;
d14a1e28
RD
15856 }
15857 if (obj2) {
15858 {
15859 arg3 = wxString_in_helper(obj2);
15860 if (arg3 == NULL) SWIG_fail;
ae8162c8 15861 temp3 = true;
d14a1e28
RD
15862 }
15863 }
994141e6 15864 if (obj3) {
093d3ff1
RD
15865 {
15866 arg4 = (long)(SWIG_As_long(obj3));
15867 if (SWIG_arg_fail(4)) SWIG_fail;
15868 }
994141e6 15869 }
d14a1e28
RD
15870 if (obj4) {
15871 {
15872 arg5 = &temp5;
15873 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15874 }
15875 }
15876 {
e3b71cb8 15877 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15880
15881 wxPyEndAllowThreads(__tstate);
110da5b0 15882 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15883 }
15afbcd0 15884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
d14a1e28
RD
15885 {
15886 if (temp2)
15887 delete arg2;
15888 }
15889 {
15890 if (temp3)
15891 delete arg3;
15892 }
15893 return resultobj;
15894 fail:
15895 {
15896 if (temp2)
15897 delete arg2;
15898 }
15899 {
15900 if (temp3)
15901 delete arg3;
15902 }
15903 return NULL;
15904}
15905
15906
c32bde28 15907static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15908 PyObject *obj;
15909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15910 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15911 Py_INCREF(obj);
15912 return Py_BuildValue((char *)"");
15913}
c32bde28 15914static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15915 PyObject *resultobj;
15916 wxString *arg1 = 0 ;
15917 wxString *arg2 = 0 ;
15918 int arg3 = (int) 100 ;
15919 wxWindow *arg4 = (wxWindow *) NULL ;
15920 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15921 wxProgressDialog *result;
ae8162c8
RD
15922 bool temp1 = false ;
15923 bool temp2 = false ;
d14a1e28
RD
15924 PyObject * obj0 = 0 ;
15925 PyObject * obj1 = 0 ;
994141e6 15926 PyObject * obj2 = 0 ;
d14a1e28 15927 PyObject * obj3 = 0 ;
994141e6 15928 PyObject * obj4 = 0 ;
d14a1e28
RD
15929 char *kwnames[] = {
15930 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15931 };
15932
994141e6 15933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
15934 {
15935 arg1 = wxString_in_helper(obj0);
15936 if (arg1 == NULL) SWIG_fail;
ae8162c8 15937 temp1 = true;
d14a1e28
RD
15938 }
15939 {
15940 arg2 = wxString_in_helper(obj1);
15941 if (arg2 == NULL) SWIG_fail;
ae8162c8 15942 temp2 = true;
d14a1e28 15943 }
994141e6 15944 if (obj2) {
093d3ff1
RD
15945 {
15946 arg3 = (int)(SWIG_As_int(obj2));
15947 if (SWIG_arg_fail(3)) SWIG_fail;
15948 }
994141e6 15949 }
d14a1e28 15950 if (obj3) {
093d3ff1
RD
15951 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15952 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28 15953 }
994141e6 15954 if (obj4) {
093d3ff1
RD
15955 {
15956 arg5 = (int)(SWIG_As_int(obj4));
15957 if (SWIG_arg_fail(5)) SWIG_fail;
15958 }
994141e6 15959 }
d14a1e28 15960 {
e3b71cb8 15961 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15962 PyThreadState* __tstate = wxPyBeginAllowThreads();
15963 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15964
15965 wxPyEndAllowThreads(__tstate);
110da5b0 15966 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15967 }
15afbcd0 15968 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
d14a1e28
RD
15969 {
15970 if (temp1)
15971 delete arg1;
15972 }
15973 {
15974 if (temp2)
15975 delete arg2;
15976 }
15977 return resultobj;
15978 fail:
15979 {
15980 if (temp1)
15981 delete arg1;
15982 }
15983 {
15984 if (temp2)
15985 delete arg2;
15986 }
15987 return NULL;
15988}
15989
15990
c32bde28 15991static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15992 PyObject *resultobj;
15993 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15994 int arg2 ;
15995 wxString const &arg3_defvalue = wxPyEmptyString ;
15996 wxString *arg3 = (wxString *) &arg3_defvalue ;
15997 bool result;
ae8162c8 15998 bool temp3 = false ;
d14a1e28 15999 PyObject * obj0 = 0 ;
994141e6 16000 PyObject * obj1 = 0 ;
d14a1e28
RD
16001 PyObject * obj2 = 0 ;
16002 char *kwnames[] = {
16003 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16004 };
16005
994141e6 16006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16008 if (SWIG_arg_fail(1)) SWIG_fail;
16009 {
16010 arg2 = (int)(SWIG_As_int(obj1));
16011 if (SWIG_arg_fail(2)) SWIG_fail;
16012 }
d14a1e28
RD
16013 if (obj2) {
16014 {
16015 arg3 = wxString_in_helper(obj2);
16016 if (arg3 == NULL) SWIG_fail;
ae8162c8 16017 temp3 = true;
d14a1e28
RD
16018 }
16019 }
16020 {
16021 PyThreadState* __tstate = wxPyBeginAllowThreads();
16022 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
16023
16024 wxPyEndAllowThreads(__tstate);
16025 if (PyErr_Occurred()) SWIG_fail;
16026 }
4f89f6a3
RD
16027 {
16028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16029 }
d14a1e28
RD
16030 {
16031 if (temp3)
16032 delete arg3;
16033 }
16034 return resultobj;
16035 fail:
16036 {
16037 if (temp3)
16038 delete arg3;
16039 }
16040 return NULL;
16041}
16042
16043
c32bde28 16044static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16045 PyObject *resultobj;
16046 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
16047 PyObject * obj0 = 0 ;
16048 char *kwnames[] = {
16049 (char *) "self", NULL
16050 };
16051
16052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
16053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
16054 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16055 {
16056 PyThreadState* __tstate = wxPyBeginAllowThreads();
16057 (arg1)->Resume();
16058
16059 wxPyEndAllowThreads(__tstate);
16060 if (PyErr_Occurred()) SWIG_fail;
16061 }
16062 Py_INCREF(Py_None); resultobj = Py_None;
16063 return resultobj;
16064 fail:
16065 return NULL;
16066}
16067
16068
c32bde28 16069static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16070 PyObject *obj;
16071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16072 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
16073 Py_INCREF(obj);
16074 return Py_BuildValue((char *)"");
16075}
c32bde28 16076static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16077 PyObject *resultobj;
16078 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16079 int arg2 = (int) 0 ;
16080 wxFindDialogEvent *result;
994141e6
RD
16081 PyObject * obj0 = 0 ;
16082 PyObject * obj1 = 0 ;
d14a1e28
RD
16083 char *kwnames[] = {
16084 (char *) "commandType",(char *) "id", NULL
16085 };
16086
994141e6
RD
16087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
16088 if (obj0) {
093d3ff1
RD
16089 {
16090 arg1 = (wxEventType)(SWIG_As_int(obj0));
16091 if (SWIG_arg_fail(1)) SWIG_fail;
16092 }
994141e6
RD
16093 }
16094 if (obj1) {
093d3ff1
RD
16095 {
16096 arg2 = (int)(SWIG_As_int(obj1));
16097 if (SWIG_arg_fail(2)) SWIG_fail;
16098 }
994141e6 16099 }
d14a1e28
RD
16100 {
16101 PyThreadState* __tstate = wxPyBeginAllowThreads();
16102 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
16103
16104 wxPyEndAllowThreads(__tstate);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
15afbcd0 16107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
d14a1e28
RD
16108 return resultobj;
16109 fail:
16110 return NULL;
16111}
16112
16113
c32bde28 16114static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16115 PyObject *resultobj;
16116 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16117 int result;
16118 PyObject * obj0 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",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 = (int)(arg1)->GetFlags();
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
093d3ff1
RD
16133 {
16134 resultobj = SWIG_From_int((int)(result));
16135 }
d14a1e28
RD
16136 return resultobj;
16137 fail:
16138 return NULL;
16139}
16140
16141
c32bde28 16142static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16143 PyObject *resultobj;
16144 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
cc6dd355 16145 wxString *result;
d14a1e28
RD
16146 PyObject * obj0 = 0 ;
16147 char *kwnames[] = {
16148 (char *) "self", NULL
16149 };
16150
16151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16153 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
cc6dd355
RD
16156 {
16157 wxString const &_result_ref = (arg1)->GetFindString();
16158 result = (wxString *) &_result_ref;
16159 }
d14a1e28
RD
16160
16161 wxPyEndAllowThreads(__tstate);
16162 if (PyErr_Occurred()) SWIG_fail;
16163 }
16164 {
16165#if wxUSE_UNICODE
cc6dd355 16166 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 16167#else
cc6dd355 16168 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
16169#endif
16170 }
16171 return resultobj;
16172 fail:
16173 return NULL;
16174}
16175
16176
c32bde28 16177static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16178 PyObject *resultobj;
16179 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16180 wxString *result;
16181 PyObject * obj0 = 0 ;
16182 char *kwnames[] = {
16183 (char *) "self", NULL
16184 };
16185
16186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16188 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16189 {
16190 PyThreadState* __tstate = wxPyBeginAllowThreads();
16191 {
16192 wxString const &_result_ref = (arg1)->GetReplaceString();
16193 result = (wxString *) &_result_ref;
16194 }
16195
16196 wxPyEndAllowThreads(__tstate);
16197 if (PyErr_Occurred()) SWIG_fail;
16198 }
cc6dd355
RD
16199 {
16200#if wxUSE_UNICODE
16201 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16202#else
16203 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16204#endif
16205 }
d14a1e28
RD
16206 return resultobj;
16207 fail:
16208 return NULL;
16209}
16210
16211
c32bde28 16212static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16213 PyObject *resultobj;
16214 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16215 wxFindReplaceDialog *result;
16216 PyObject * obj0 = 0 ;
16217 char *kwnames[] = {
16218 (char *) "self", NULL
16219 };
16220
16221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
16222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16223 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16224 {
16225 PyThreadState* __tstate = wxPyBeginAllowThreads();
16226 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16227
16228 wxPyEndAllowThreads(__tstate);
16229 if (PyErr_Occurred()) SWIG_fail;
16230 }
15afbcd0 16231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
d14a1e28
RD
16232 return resultobj;
16233 fail:
16234 return NULL;
16235}
16236
16237
c32bde28 16238static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16239 PyObject *resultobj;
16240 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16241 int arg2 ;
16242 PyObject * obj0 = 0 ;
994141e6 16243 PyObject * obj1 = 0 ;
d14a1e28
RD
16244 char *kwnames[] = {
16245 (char *) "self",(char *) "flags", NULL
16246 };
16247
994141e6 16248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16250 if (SWIG_arg_fail(1)) SWIG_fail;
16251 {
16252 arg2 = (int)(SWIG_As_int(obj1));
16253 if (SWIG_arg_fail(2)) SWIG_fail;
16254 }
d14a1e28
RD
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 (arg1)->SetFlags(arg2);
16258
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 Py_INCREF(Py_None); resultobj = Py_None;
16263 return resultobj;
16264 fail:
16265 return NULL;
16266}
16267
16268
c32bde28 16269static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16270 PyObject *resultobj;
16271 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16272 wxString *arg2 = 0 ;
ae8162c8 16273 bool temp2 = false ;
d14a1e28
RD
16274 PyObject * obj0 = 0 ;
16275 PyObject * obj1 = 0 ;
16276 char *kwnames[] = {
16277 (char *) "self",(char *) "str", NULL
16278 };
16279
16280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16282 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16283 {
16284 arg2 = wxString_in_helper(obj1);
16285 if (arg2 == NULL) SWIG_fail;
ae8162c8 16286 temp2 = true;
d14a1e28
RD
16287 }
16288 {
16289 PyThreadState* __tstate = wxPyBeginAllowThreads();
16290 (arg1)->SetFindString((wxString const &)*arg2);
16291
16292 wxPyEndAllowThreads(__tstate);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 }
16295 Py_INCREF(Py_None); resultobj = Py_None;
16296 {
16297 if (temp2)
16298 delete arg2;
16299 }
16300 return resultobj;
16301 fail:
16302 {
16303 if (temp2)
16304 delete arg2;
16305 }
16306 return NULL;
16307}
16308
16309
c32bde28 16310static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16311 PyObject *resultobj;
16312 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16313 wxString *arg2 = 0 ;
ae8162c8 16314 bool temp2 = false ;
d14a1e28
RD
16315 PyObject * obj0 = 0 ;
16316 PyObject * obj1 = 0 ;
16317 char *kwnames[] = {
16318 (char *) "self",(char *) "str", NULL
16319 };
16320
16321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16323 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16324 {
16325 arg2 = wxString_in_helper(obj1);
16326 if (arg2 == NULL) SWIG_fail;
ae8162c8 16327 temp2 = true;
d14a1e28
RD
16328 }
16329 {
16330 PyThreadState* __tstate = wxPyBeginAllowThreads();
16331 (arg1)->SetReplaceString((wxString const &)*arg2);
16332
16333 wxPyEndAllowThreads(__tstate);
16334 if (PyErr_Occurred()) SWIG_fail;
16335 }
16336 Py_INCREF(Py_None); resultobj = Py_None;
16337 {
16338 if (temp2)
16339 delete arg2;
16340 }
16341 return resultobj;
16342 fail:
16343 {
16344 if (temp2)
16345 delete arg2;
16346 }
16347 return NULL;
16348}
16349
16350
c32bde28 16351static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16352 PyObject *obj;
16353 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16354 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16355 Py_INCREF(obj);
16356 return Py_BuildValue((char *)"");
16357}
c32bde28 16358static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16359 PyObject *resultobj;
16360 int arg1 = (int) 0 ;
16361 wxFindReplaceData *result;
994141e6 16362 PyObject * obj0 = 0 ;
d14a1e28
RD
16363 char *kwnames[] = {
16364 (char *) "flags", NULL
16365 };
16366
994141e6
RD
16367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16368 if (obj0) {
093d3ff1
RD
16369 {
16370 arg1 = (int)(SWIG_As_int(obj0));
16371 if (SWIG_arg_fail(1)) SWIG_fail;
16372 }
994141e6 16373 }
d14a1e28
RD
16374 {
16375 PyThreadState* __tstate = wxPyBeginAllowThreads();
16376 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16377
16378 wxPyEndAllowThreads(__tstate);
16379 if (PyErr_Occurred()) SWIG_fail;
16380 }
15afbcd0 16381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
d14a1e28
RD
16382 return resultobj;
16383 fail:
16384 return NULL;
16385}
16386
16387
c32bde28 16388static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16389 PyObject *resultobj;
16390 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16391 PyObject * obj0 = 0 ;
16392 char *kwnames[] = {
16393 (char *) "self", NULL
16394 };
16395
16396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16398 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16399 {
16400 PyThreadState* __tstate = wxPyBeginAllowThreads();
16401 delete arg1;
16402
16403 wxPyEndAllowThreads(__tstate);
16404 if (PyErr_Occurred()) SWIG_fail;
16405 }
16406 Py_INCREF(Py_None); resultobj = Py_None;
16407 return resultobj;
16408 fail:
16409 return NULL;
16410}
16411
16412
c32bde28 16413static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16414 PyObject *resultobj;
16415 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16416 wxString *result;
16417 PyObject * obj0 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self", NULL
16420 };
16421
16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16424 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16425 {
16426 PyThreadState* __tstate = wxPyBeginAllowThreads();
16427 {
16428 wxString const &_result_ref = (arg1)->GetFindString();
16429 result = (wxString *) &_result_ref;
16430 }
16431
16432 wxPyEndAllowThreads(__tstate);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 }
cc6dd355
RD
16435 {
16436#if wxUSE_UNICODE
16437 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16438#else
16439 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16440#endif
16441 }
d14a1e28
RD
16442 return resultobj;
16443 fail:
16444 return NULL;
16445}
16446
16447
c32bde28 16448static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16449 PyObject *resultobj;
16450 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16451 wxString *result;
16452 PyObject * obj0 = 0 ;
16453 char *kwnames[] = {
16454 (char *) "self", NULL
16455 };
16456
16457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16459 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16460 {
16461 PyThreadState* __tstate = wxPyBeginAllowThreads();
16462 {
16463 wxString const &_result_ref = (arg1)->GetReplaceString();
16464 result = (wxString *) &_result_ref;
16465 }
16466
16467 wxPyEndAllowThreads(__tstate);
16468 if (PyErr_Occurred()) SWIG_fail;
16469 }
cc6dd355
RD
16470 {
16471#if wxUSE_UNICODE
16472 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16473#else
16474 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16475#endif
16476 }
d14a1e28
RD
16477 return resultobj;
16478 fail:
16479 return NULL;
16480}
16481
16482
c32bde28 16483static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16484 PyObject *resultobj;
16485 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16486 int result;
16487 PyObject * obj0 = 0 ;
16488 char *kwnames[] = {
16489 (char *) "self", NULL
16490 };
16491
16492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16494 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16495 {
16496 PyThreadState* __tstate = wxPyBeginAllowThreads();
16497 result = (int)(arg1)->GetFlags();
16498
16499 wxPyEndAllowThreads(__tstate);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
093d3ff1
RD
16502 {
16503 resultobj = SWIG_From_int((int)(result));
16504 }
d14a1e28
RD
16505 return resultobj;
16506 fail:
16507 return NULL;
16508}
16509
16510
c32bde28 16511static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16512 PyObject *resultobj;
16513 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16514 int arg2 ;
16515 PyObject * obj0 = 0 ;
994141e6 16516 PyObject * obj1 = 0 ;
d14a1e28
RD
16517 char *kwnames[] = {
16518 (char *) "self",(char *) "flags", NULL
16519 };
16520
994141e6 16521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16523 if (SWIG_arg_fail(1)) SWIG_fail;
16524 {
16525 arg2 = (int)(SWIG_As_int(obj1));
16526 if (SWIG_arg_fail(2)) SWIG_fail;
16527 }
d14a1e28
RD
16528 {
16529 PyThreadState* __tstate = wxPyBeginAllowThreads();
16530 (arg1)->SetFlags(arg2);
16531
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 Py_INCREF(Py_None); resultobj = Py_None;
16536 return resultobj;
16537 fail:
16538 return NULL;
16539}
16540
16541
c32bde28 16542static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16543 PyObject *resultobj;
16544 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16545 wxString *arg2 = 0 ;
ae8162c8 16546 bool temp2 = false ;
d14a1e28
RD
16547 PyObject * obj0 = 0 ;
16548 PyObject * obj1 = 0 ;
16549 char *kwnames[] = {
16550 (char *) "self",(char *) "str", NULL
16551 };
16552
16553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16555 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16556 {
16557 arg2 = wxString_in_helper(obj1);
16558 if (arg2 == NULL) SWIG_fail;
ae8162c8 16559 temp2 = true;
d14a1e28
RD
16560 }
16561 {
16562 PyThreadState* __tstate = wxPyBeginAllowThreads();
16563 (arg1)->SetFindString((wxString const &)*arg2);
16564
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
16568 Py_INCREF(Py_None); resultobj = Py_None;
16569 {
16570 if (temp2)
16571 delete arg2;
16572 }
16573 return resultobj;
16574 fail:
16575 {
16576 if (temp2)
16577 delete arg2;
16578 }
16579 return NULL;
16580}
16581
16582
c32bde28 16583static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16584 PyObject *resultobj;
16585 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16586 wxString *arg2 = 0 ;
ae8162c8 16587 bool temp2 = false ;
d14a1e28
RD
16588 PyObject * obj0 = 0 ;
16589 PyObject * obj1 = 0 ;
16590 char *kwnames[] = {
16591 (char *) "self",(char *) "str", NULL
16592 };
16593
16594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16596 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16597 {
16598 arg2 = wxString_in_helper(obj1);
16599 if (arg2 == NULL) SWIG_fail;
ae8162c8 16600 temp2 = true;
d14a1e28
RD
16601 }
16602 {
16603 PyThreadState* __tstate = wxPyBeginAllowThreads();
16604 (arg1)->SetReplaceString((wxString const &)*arg2);
16605
16606 wxPyEndAllowThreads(__tstate);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 }
16609 Py_INCREF(Py_None); resultobj = Py_None;
16610 {
16611 if (temp2)
16612 delete arg2;
16613 }
16614 return resultobj;
16615 fail:
16616 {
16617 if (temp2)
16618 delete arg2;
16619 }
16620 return NULL;
16621}
16622
16623
c32bde28 16624static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16625 PyObject *obj;
16626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16627 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16628 Py_INCREF(obj);
16629 return Py_BuildValue((char *)"");
16630}
c32bde28 16631static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16632 PyObject *resultobj;
16633 wxWindow *arg1 = (wxWindow *) 0 ;
16634 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16635 wxString *arg3 = 0 ;
16636 int arg4 = (int) 0 ;
16637 wxFindReplaceDialog *result;
ae8162c8 16638 bool temp3 = false ;
d14a1e28
RD
16639 PyObject * obj0 = 0 ;
16640 PyObject * obj1 = 0 ;
16641 PyObject * obj2 = 0 ;
994141e6 16642 PyObject * obj3 = 0 ;
d14a1e28
RD
16643 char *kwnames[] = {
16644 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16645 };
16646
994141e6 16647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
16648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16649 if (SWIG_arg_fail(1)) SWIG_fail;
16650 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16651 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16652 {
16653 arg3 = wxString_in_helper(obj2);
16654 if (arg3 == NULL) SWIG_fail;
ae8162c8 16655 temp3 = true;
d14a1e28 16656 }
994141e6 16657 if (obj3) {
093d3ff1
RD
16658 {
16659 arg4 = (int)(SWIG_As_int(obj3));
16660 if (SWIG_arg_fail(4)) SWIG_fail;
16661 }
994141e6 16662 }
d14a1e28 16663 {
e3b71cb8 16664 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16667
16668 wxPyEndAllowThreads(__tstate);
110da5b0 16669 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16670 }
15afbcd0 16671 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
16672 {
16673 if (temp3)
16674 delete arg3;
16675 }
16676 return resultobj;
16677 fail:
16678 {
16679 if (temp3)
16680 delete arg3;
16681 }
16682 return NULL;
16683}
16684
16685
c32bde28 16686static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16687 PyObject *resultobj;
16688 wxFindReplaceDialog *result;
16689 char *kwnames[] = {
16690 NULL
16691 };
16692
16693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16694 {
e3b71cb8 16695 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16696 PyThreadState* __tstate = wxPyBeginAllowThreads();
16697 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16698
16699 wxPyEndAllowThreads(__tstate);
110da5b0 16700 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16701 }
15afbcd0 16702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
16703 return resultobj;
16704 fail:
16705 return NULL;
16706}
16707
16708
c32bde28 16709static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16710 PyObject *resultobj;
16711 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16712 wxWindow *arg2 = (wxWindow *) 0 ;
16713 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16714 wxString *arg4 = 0 ;
16715 int arg5 = (int) 0 ;
16716 bool result;
ae8162c8 16717 bool temp4 = false ;
d14a1e28
RD
16718 PyObject * obj0 = 0 ;
16719 PyObject * obj1 = 0 ;
16720 PyObject * obj2 = 0 ;
16721 PyObject * obj3 = 0 ;
994141e6 16722 PyObject * obj4 = 0 ;
d14a1e28
RD
16723 char *kwnames[] = {
16724 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16725 };
16726
994141e6 16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16729 if (SWIG_arg_fail(1)) SWIG_fail;
16730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16731 if (SWIG_arg_fail(2)) SWIG_fail;
16732 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16733 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
16734 {
16735 arg4 = wxString_in_helper(obj3);
16736 if (arg4 == NULL) SWIG_fail;
ae8162c8 16737 temp4 = true;
d14a1e28 16738 }
994141e6 16739 if (obj4) {
093d3ff1
RD
16740 {
16741 arg5 = (int)(SWIG_As_int(obj4));
16742 if (SWIG_arg_fail(5)) SWIG_fail;
16743 }
994141e6 16744 }
d14a1e28
RD
16745 {
16746 PyThreadState* __tstate = wxPyBeginAllowThreads();
16747 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16748
16749 wxPyEndAllowThreads(__tstate);
16750 if (PyErr_Occurred()) SWIG_fail;
16751 }
4f89f6a3
RD
16752 {
16753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16754 }
d14a1e28
RD
16755 {
16756 if (temp4)
16757 delete arg4;
16758 }
16759 return resultobj;
16760 fail:
16761 {
16762 if (temp4)
16763 delete arg4;
16764 }
16765 return NULL;
16766}
16767
16768
c32bde28 16769static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16770 PyObject *resultobj;
16771 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16772 wxFindReplaceData *result;
16773 PyObject * obj0 = 0 ;
16774 char *kwnames[] = {
16775 (char *) "self", NULL
16776 };
16777
16778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16780 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16781 {
16782 PyThreadState* __tstate = wxPyBeginAllowThreads();
16783 result = (wxFindReplaceData *)(arg1)->GetData();
16784
16785 wxPyEndAllowThreads(__tstate);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
15afbcd0 16788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
d14a1e28
RD
16789 return resultobj;
16790 fail:
16791 return NULL;
16792}
16793
16794
c32bde28 16795static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16796 PyObject *resultobj;
16797 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16798 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16799 PyObject * obj0 = 0 ;
16800 PyObject * obj1 = 0 ;
16801 char *kwnames[] = {
16802 (char *) "self",(char *) "data", NULL
16803 };
16804
16805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16807 if (SWIG_arg_fail(1)) SWIG_fail;
16808 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16809 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16810 {
16811 PyThreadState* __tstate = wxPyBeginAllowThreads();
16812 (arg1)->SetData(arg2);
16813
16814 wxPyEndAllowThreads(__tstate);
16815 if (PyErr_Occurred()) SWIG_fail;
16816 }
16817 Py_INCREF(Py_None); resultobj = Py_None;
16818 return resultobj;
16819 fail:
16820 return NULL;
16821}
16822
16823
c32bde28 16824static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16825 PyObject *obj;
16826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16827 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16828 Py_INCREF(obj);
16829 return Py_BuildValue((char *)"");
16830}
c32bde28 16831static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16832 PyObject *resultobj;
16833 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
16834 int arg2 = (int) (int)-1 ;
16835 wxString const &arg3_defvalue = wxPyEmptyString ;
16836 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
16837 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16838 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16839 wxSize const &arg5_defvalue = wxDefaultSize ;
16840 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16841 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16842 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16843 wxString *arg7 = (wxString *) &arg7_defvalue ;
16844 wxMDIParentFrame *result;
ae8162c8 16845 bool temp3 = false ;
d14a1e28
RD
16846 wxPoint temp4 ;
16847 wxSize temp5 ;
ae8162c8 16848 bool temp7 = false ;
d14a1e28 16849 PyObject * obj0 = 0 ;
994141e6 16850 PyObject * obj1 = 0 ;
d14a1e28
RD
16851 PyObject * obj2 = 0 ;
16852 PyObject * obj3 = 0 ;
16853 PyObject * obj4 = 0 ;
994141e6 16854 PyObject * obj5 = 0 ;
d14a1e28
RD
16855 PyObject * obj6 = 0 ;
16856 char *kwnames[] = {
16857 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16858 };
16859
248ed943 16860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
16861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16862 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 16863 if (obj1) {
093d3ff1
RD
16864 {
16865 arg2 = (int const)(SWIG_As_int(obj1));
16866 if (SWIG_arg_fail(2)) SWIG_fail;
16867 }
248ed943
RD
16868 }
16869 if (obj2) {
16870 {
16871 arg3 = wxString_in_helper(obj2);
16872 if (arg3 == NULL) SWIG_fail;
ae8162c8 16873 temp3 = true;
248ed943 16874 }
d14a1e28
RD
16875 }
16876 if (obj3) {
16877 {
16878 arg4 = &temp4;
16879 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16880 }
16881 }
16882 if (obj4) {
16883 {
16884 arg5 = &temp5;
16885 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16886 }
16887 }
994141e6 16888 if (obj5) {
093d3ff1
RD
16889 {
16890 arg6 = (long)(SWIG_As_long(obj5));
16891 if (SWIG_arg_fail(6)) SWIG_fail;
16892 }
994141e6 16893 }
d14a1e28
RD
16894 if (obj6) {
16895 {
16896 arg7 = wxString_in_helper(obj6);
16897 if (arg7 == NULL) SWIG_fail;
ae8162c8 16898 temp7 = true;
d14a1e28
RD
16899 }
16900 }
16901 {
e3b71cb8 16902 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16903 PyThreadState* __tstate = wxPyBeginAllowThreads();
16904 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16905
16906 wxPyEndAllowThreads(__tstate);
110da5b0 16907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16908 }
15afbcd0 16909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
16910 {
16911 if (temp3)
16912 delete arg3;
16913 }
16914 {
16915 if (temp7)
16916 delete arg7;
16917 }
16918 return resultobj;
16919 fail:
16920 {
16921 if (temp3)
16922 delete arg3;
16923 }
16924 {
16925 if (temp7)
16926 delete arg7;
16927 }
16928 return NULL;
16929}
16930
16931
c32bde28 16932static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16933 PyObject *resultobj;
16934 wxMDIParentFrame *result;
16935 char *kwnames[] = {
16936 NULL
16937 };
16938
16939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16940 {
e3b71cb8 16941 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16942 PyThreadState* __tstate = wxPyBeginAllowThreads();
16943 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16944
16945 wxPyEndAllowThreads(__tstate);
110da5b0 16946 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16947 }
15afbcd0 16948 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
16949 return resultobj;
16950 fail:
16951 return NULL;
16952}
16953
16954
c32bde28 16955static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16956 PyObject *resultobj;
16957 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16958 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
16959 int arg3 = (int) (int)-1 ;
16960 wxString const &arg4_defvalue = wxPyEmptyString ;
16961 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
16962 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16963 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16964 wxSize const &arg6_defvalue = wxDefaultSize ;
16965 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16966 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16967 wxString const &arg8_defvalue = wxPyFrameNameStr ;
16968 wxString *arg8 = (wxString *) &arg8_defvalue ;
16969 bool result;
ae8162c8 16970 bool temp4 = false ;
d14a1e28
RD
16971 wxPoint temp5 ;
16972 wxSize temp6 ;
ae8162c8 16973 bool temp8 = false ;
d14a1e28
RD
16974 PyObject * obj0 = 0 ;
16975 PyObject * obj1 = 0 ;
994141e6 16976 PyObject * obj2 = 0 ;
d14a1e28
RD
16977 PyObject * obj3 = 0 ;
16978 PyObject * obj4 = 0 ;
16979 PyObject * obj5 = 0 ;
994141e6 16980 PyObject * obj6 = 0 ;
d14a1e28
RD
16981 PyObject * obj7 = 0 ;
16982 char *kwnames[] = {
16983 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16984 };
16985
248ed943 16986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
16987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16988 if (SWIG_arg_fail(1)) SWIG_fail;
16989 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16990 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 16991 if (obj2) {
093d3ff1
RD
16992 {
16993 arg3 = (int const)(SWIG_As_int(obj2));
16994 if (SWIG_arg_fail(3)) SWIG_fail;
16995 }
248ed943
RD
16996 }
16997 if (obj3) {
16998 {
16999 arg4 = wxString_in_helper(obj3);
17000 if (arg4 == NULL) SWIG_fail;
ae8162c8 17001 temp4 = true;
248ed943 17002 }
d14a1e28
RD
17003 }
17004 if (obj4) {
17005 {
17006 arg5 = &temp5;
17007 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17008 }
17009 }
17010 if (obj5) {
17011 {
17012 arg6 = &temp6;
17013 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17014 }
17015 }
994141e6 17016 if (obj6) {
093d3ff1
RD
17017 {
17018 arg7 = (long)(SWIG_As_long(obj6));
17019 if (SWIG_arg_fail(7)) SWIG_fail;
17020 }
994141e6 17021 }
d14a1e28
RD
17022 if (obj7) {
17023 {
17024 arg8 = wxString_in_helper(obj7);
17025 if (arg8 == NULL) SWIG_fail;
ae8162c8 17026 temp8 = true;
d14a1e28
RD
17027 }
17028 }
17029 {
17030 PyThreadState* __tstate = wxPyBeginAllowThreads();
17031 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17032
17033 wxPyEndAllowThreads(__tstate);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 }
4f89f6a3
RD
17036 {
17037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17038 }
d14a1e28
RD
17039 {
17040 if (temp4)
17041 delete arg4;
17042 }
17043 {
17044 if (temp8)
17045 delete arg8;
17046 }
17047 return resultobj;
17048 fail:
17049 {
17050 if (temp4)
17051 delete arg4;
17052 }
17053 {
17054 if (temp8)
17055 delete arg8;
17056 }
17057 return NULL;
17058}
17059
17060
c32bde28 17061static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17062 PyObject *resultobj;
17063 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17064 PyObject * obj0 = 0 ;
17065 char *kwnames[] = {
17066 (char *) "self", NULL
17067 };
17068
17069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
17070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17071 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17072 {
17073 PyThreadState* __tstate = wxPyBeginAllowThreads();
17074 (arg1)->ActivateNext();
17075
17076 wxPyEndAllowThreads(__tstate);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 Py_INCREF(Py_None); resultobj = Py_None;
17080 return resultobj;
17081 fail:
17082 return NULL;
17083}
17084
17085
c32bde28 17086static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17087 PyObject *resultobj;
17088 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17089 PyObject * obj0 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
17095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17096 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17097 {
17098 PyThreadState* __tstate = wxPyBeginAllowThreads();
17099 (arg1)->ActivatePrevious();
17100
17101 wxPyEndAllowThreads(__tstate);
17102 if (PyErr_Occurred()) SWIG_fail;
17103 }
17104 Py_INCREF(Py_None); resultobj = Py_None;
17105 return resultobj;
17106 fail:
17107 return NULL;
17108}
17109
17110
c32bde28 17111static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17112 PyObject *resultobj;
17113 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17114 PyObject * obj0 = 0 ;
17115 char *kwnames[] = {
17116 (char *) "self", NULL
17117 };
17118
17119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
093d3ff1
RD
17120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17121 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17122 {
17123 PyThreadState* __tstate = wxPyBeginAllowThreads();
17124 (arg1)->ArrangeIcons();
17125
17126 wxPyEndAllowThreads(__tstate);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
17129 Py_INCREF(Py_None); resultobj = Py_None;
17130 return resultobj;
17131 fail:
17132 return NULL;
17133}
17134
17135
c32bde28 17136static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17137 PyObject *resultobj;
17138 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17139 PyObject * obj0 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "self", NULL
17142 };
17143
17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
093d3ff1
RD
17145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17146 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17147 {
17148 PyThreadState* __tstate = wxPyBeginAllowThreads();
17149 (arg1)->Cascade();
17150
17151 wxPyEndAllowThreads(__tstate);
17152 if (PyErr_Occurred()) SWIG_fail;
17153 }
17154 Py_INCREF(Py_None); resultobj = Py_None;
17155 return resultobj;
17156 fail:
17157 return NULL;
17158}
17159
17160
c32bde28 17161static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17162 PyObject *resultobj;
17163 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17164 wxMDIChildFrame *result;
17165 PyObject * obj0 = 0 ;
17166 char *kwnames[] = {
17167 (char *) "self", NULL
17168 };
17169
17170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
17171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17172 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17173 {
17174 PyThreadState* __tstate = wxPyBeginAllowThreads();
17175 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17176
17177 wxPyEndAllowThreads(__tstate);
17178 if (PyErr_Occurred()) SWIG_fail;
17179 }
17180 {
412d302d 17181 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17182 }
17183 return resultobj;
17184 fail:
17185 return NULL;
17186}
17187
17188
c32bde28 17189static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17190 PyObject *resultobj;
17191 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17192 wxMDIClientWindow *result;
17193 PyObject * obj0 = 0 ;
17194 char *kwnames[] = {
17195 (char *) "self", NULL
17196 };
17197
17198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
17199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17200 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17201 {
17202 PyThreadState* __tstate = wxPyBeginAllowThreads();
17203 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17204
17205 wxPyEndAllowThreads(__tstate);
17206 if (PyErr_Occurred()) SWIG_fail;
17207 }
17208 {
412d302d 17209 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17210 }
17211 return resultobj;
17212 fail:
17213 return NULL;
17214}
17215
17216
c32bde28 17217static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17218 PyObject *resultobj;
17219 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17220 wxWindow *result;
17221 PyObject * obj0 = 0 ;
17222 char *kwnames[] = {
17223 (char *) "self", NULL
17224 };
17225
17226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
17227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17228 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 result = (wxWindow *)(arg1)->GetToolBar();
17232
17233 wxPyEndAllowThreads(__tstate);
17234 if (PyErr_Occurred()) SWIG_fail;
17235 }
17236 {
412d302d 17237 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17238 }
17239 return resultobj;
17240 fail:
17241 return NULL;
17242}
17243
17244
c32bde28 17245static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17246 PyObject *resultobj;
17247 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
396fb509 17248 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
d14a1e28 17249 PyObject * obj0 = 0 ;
396fb509 17250 PyObject * obj1 = 0 ;
d14a1e28 17251 char *kwnames[] = {
396fb509 17252 (char *) "self",(char *) "orient", NULL
d14a1e28
RD
17253 };
17254
396fb509 17255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17257 if (SWIG_arg_fail(1)) SWIG_fail;
396fb509
RD
17258 if (obj1) {
17259 {
17260 arg2 = (wxOrientation)(SWIG_As_int(obj1));
17261 if (SWIG_arg_fail(2)) SWIG_fail;
17262 }
17263 }
d14a1e28
RD
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
396fb509 17266 (arg1)->Tile((wxOrientation )arg2);
d14a1e28
RD
17267
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 Py_INCREF(Py_None); resultobj = Py_None;
17272 return resultobj;
17273 fail:
17274 return NULL;
17275}
17276
17277
c32bde28 17278static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17279 PyObject *obj;
17280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17281 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17282 Py_INCREF(obj);
17283 return Py_BuildValue((char *)"");
17284}
c32bde28 17285static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17286 PyObject *resultobj;
17287 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17288 int arg2 = (int) (int)-1 ;
17289 wxString const &arg3_defvalue = wxPyEmptyString ;
17290 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
17291 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17292 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17293 wxSize const &arg5_defvalue = wxDefaultSize ;
17294 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17295 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17296 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17297 wxString *arg7 = (wxString *) &arg7_defvalue ;
17298 wxMDIChildFrame *result;
ae8162c8 17299 bool temp3 = false ;
d14a1e28
RD
17300 wxPoint temp4 ;
17301 wxSize temp5 ;
ae8162c8 17302 bool temp7 = false ;
d14a1e28 17303 PyObject * obj0 = 0 ;
994141e6 17304 PyObject * obj1 = 0 ;
d14a1e28
RD
17305 PyObject * obj2 = 0 ;
17306 PyObject * obj3 = 0 ;
17307 PyObject * obj4 = 0 ;
994141e6 17308 PyObject * obj5 = 0 ;
d14a1e28
RD
17309 PyObject * obj6 = 0 ;
17310 char *kwnames[] = {
17311 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17312 };
17313
248ed943 17314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17316 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17317 if (obj1) {
093d3ff1
RD
17318 {
17319 arg2 = (int const)(SWIG_As_int(obj1));
17320 if (SWIG_arg_fail(2)) SWIG_fail;
17321 }
248ed943
RD
17322 }
17323 if (obj2) {
17324 {
17325 arg3 = wxString_in_helper(obj2);
17326 if (arg3 == NULL) SWIG_fail;
ae8162c8 17327 temp3 = true;
248ed943 17328 }
d14a1e28
RD
17329 }
17330 if (obj3) {
17331 {
17332 arg4 = &temp4;
17333 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17334 }
17335 }
17336 if (obj4) {
17337 {
17338 arg5 = &temp5;
17339 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17340 }
17341 }
994141e6 17342 if (obj5) {
093d3ff1
RD
17343 {
17344 arg6 = (long)(SWIG_As_long(obj5));
17345 if (SWIG_arg_fail(6)) SWIG_fail;
17346 }
994141e6 17347 }
d14a1e28
RD
17348 if (obj6) {
17349 {
17350 arg7 = wxString_in_helper(obj6);
17351 if (arg7 == NULL) SWIG_fail;
ae8162c8 17352 temp7 = true;
d14a1e28
RD
17353 }
17354 }
17355 {
e3b71cb8 17356 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17357 PyThreadState* __tstate = wxPyBeginAllowThreads();
17358 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17359
17360 wxPyEndAllowThreads(__tstate);
110da5b0 17361 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17362 }
b0f7404b 17363 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d14a1e28
RD
17364 {
17365 if (temp3)
17366 delete arg3;
17367 }
17368 {
17369 if (temp7)
17370 delete arg7;
17371 }
17372 return resultobj;
17373 fail:
17374 {
17375 if (temp3)
17376 delete arg3;
17377 }
17378 {
17379 if (temp7)
17380 delete arg7;
17381 }
17382 return NULL;
17383}
17384
17385
c32bde28 17386static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17387 PyObject *resultobj;
17388 wxMDIChildFrame *result;
17389 char *kwnames[] = {
17390 NULL
17391 };
17392
17393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17394 {
e3b71cb8 17395 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17396 PyThreadState* __tstate = wxPyBeginAllowThreads();
17397 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17398
17399 wxPyEndAllowThreads(__tstate);
110da5b0 17400 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17401 }
b0f7404b 17402 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d14a1e28
RD
17403 return resultobj;
17404 fail:
17405 return NULL;
17406}
17407
17408
c32bde28 17409static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17410 PyObject *resultobj;
17411 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17412 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17413 int arg3 = (int) (int)-1 ;
17414 wxString const &arg4_defvalue = wxPyEmptyString ;
17415 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
17416 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17417 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17418 wxSize const &arg6_defvalue = wxDefaultSize ;
17419 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17420 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17421 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17422 wxString *arg8 = (wxString *) &arg8_defvalue ;
17423 bool result;
ae8162c8 17424 bool temp4 = false ;
d14a1e28
RD
17425 wxPoint temp5 ;
17426 wxSize temp6 ;
ae8162c8 17427 bool temp8 = false ;
d14a1e28
RD
17428 PyObject * obj0 = 0 ;
17429 PyObject * obj1 = 0 ;
994141e6 17430 PyObject * obj2 = 0 ;
d14a1e28
RD
17431 PyObject * obj3 = 0 ;
17432 PyObject * obj4 = 0 ;
17433 PyObject * obj5 = 0 ;
994141e6 17434 PyObject * obj6 = 0 ;
d14a1e28
RD
17435 PyObject * obj7 = 0 ;
17436 char *kwnames[] = {
17437 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17438 };
17439
248ed943 17440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
17441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17442 if (SWIG_arg_fail(1)) SWIG_fail;
17443 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17444 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17445 if (obj2) {
093d3ff1
RD
17446 {
17447 arg3 = (int const)(SWIG_As_int(obj2));
17448 if (SWIG_arg_fail(3)) SWIG_fail;
17449 }
248ed943
RD
17450 }
17451 if (obj3) {
17452 {
17453 arg4 = wxString_in_helper(obj3);
17454 if (arg4 == NULL) SWIG_fail;
ae8162c8 17455 temp4 = true;
248ed943 17456 }
d14a1e28
RD
17457 }
17458 if (obj4) {
17459 {
17460 arg5 = &temp5;
17461 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17462 }
17463 }
17464 if (obj5) {
17465 {
17466 arg6 = &temp6;
17467 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17468 }
17469 }
994141e6 17470 if (obj6) {
093d3ff1
RD
17471 {
17472 arg7 = (long)(SWIG_As_long(obj6));
17473 if (SWIG_arg_fail(7)) SWIG_fail;
17474 }
994141e6 17475 }
d14a1e28
RD
17476 if (obj7) {
17477 {
17478 arg8 = wxString_in_helper(obj7);
17479 if (arg8 == NULL) SWIG_fail;
ae8162c8 17480 temp8 = true;
d14a1e28
RD
17481 }
17482 }
17483 {
17484 PyThreadState* __tstate = wxPyBeginAllowThreads();
17485 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17486
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
4f89f6a3
RD
17490 {
17491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17492 }
d14a1e28
RD
17493 {
17494 if (temp4)
17495 delete arg4;
17496 }
17497 {
17498 if (temp8)
17499 delete arg8;
17500 }
17501 return resultobj;
17502 fail:
17503 {
17504 if (temp4)
17505 delete arg4;
17506 }
17507 {
17508 if (temp8)
17509 delete arg8;
17510 }
17511 return NULL;
17512}
17513
17514
c32bde28 17515static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17516 PyObject *resultobj;
17517 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17518 PyObject * obj0 = 0 ;
17519 char *kwnames[] = {
17520 (char *) "self", NULL
17521 };
17522
17523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
093d3ff1
RD
17524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17525 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17526 {
17527 PyThreadState* __tstate = wxPyBeginAllowThreads();
17528 (arg1)->Activate();
17529
17530 wxPyEndAllowThreads(__tstate);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 }
17533 Py_INCREF(Py_None); resultobj = Py_None;
17534 return resultobj;
17535 fail:
17536 return NULL;
17537}
17538
17539
c32bde28 17540static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17541 PyObject *resultobj;
17542 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
5cbf236d 17543 bool arg2 = (bool) true ;
d14a1e28
RD
17544 PyObject * obj0 = 0 ;
17545 PyObject * obj1 = 0 ;
17546 char *kwnames[] = {
17547 (char *) "self",(char *) "maximize", NULL
17548 };
17549
5cbf236d 17550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17552 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d 17553 if (obj1) {
093d3ff1
RD
17554 {
17555 arg2 = (bool)(SWIG_As_bool(obj1));
17556 if (SWIG_arg_fail(2)) SWIG_fail;
17557 }
5cbf236d 17558 }
d14a1e28
RD
17559 {
17560 PyThreadState* __tstate = wxPyBeginAllowThreads();
17561 (arg1)->Maximize(arg2);
17562
17563 wxPyEndAllowThreads(__tstate);
17564 if (PyErr_Occurred()) SWIG_fail;
17565 }
17566 Py_INCREF(Py_None); resultobj = Py_None;
17567 return resultobj;
17568 fail:
17569 return NULL;
17570}
17571
17572
c32bde28 17573static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17574 PyObject *resultobj;
17575 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17576 PyObject * obj0 = 0 ;
17577 char *kwnames[] = {
17578 (char *) "self", NULL
17579 };
17580
17581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
17582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17583 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17584 {
17585 PyThreadState* __tstate = wxPyBeginAllowThreads();
17586 (arg1)->Restore();
17587
17588 wxPyEndAllowThreads(__tstate);
17589 if (PyErr_Occurred()) SWIG_fail;
17590 }
17591 Py_INCREF(Py_None); resultobj = Py_None;
17592 return resultobj;
17593 fail:
17594 return NULL;
17595}
17596
17597
c32bde28 17598static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17599 PyObject *obj;
17600 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17601 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17602 Py_INCREF(obj);
17603 return Py_BuildValue((char *)"");
17604}
c32bde28 17605static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17606 PyObject *resultobj;
17607 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17608 long arg2 = (long) 0 ;
17609 wxMDIClientWindow *result;
17610 PyObject * obj0 = 0 ;
994141e6 17611 PyObject * obj1 = 0 ;
d14a1e28
RD
17612 char *kwnames[] = {
17613 (char *) "parent",(char *) "style", NULL
17614 };
17615
994141e6 17616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17618 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 17619 if (obj1) {
093d3ff1
RD
17620 {
17621 arg2 = (long)(SWIG_As_long(obj1));
17622 if (SWIG_arg_fail(2)) SWIG_fail;
17623 }
994141e6 17624 }
d14a1e28 17625 {
e3b71cb8 17626 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17629
17630 wxPyEndAllowThreads(__tstate);
110da5b0 17631 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17632 }
b0f7404b 17633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d14a1e28
RD
17634 return resultobj;
17635 fail:
17636 return NULL;
17637}
17638
17639
c32bde28 17640static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17641 PyObject *resultobj;
17642 wxMDIClientWindow *result;
17643 char *kwnames[] = {
17644 NULL
17645 };
17646
17647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17648 {
e3b71cb8 17649 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17650 PyThreadState* __tstate = wxPyBeginAllowThreads();
17651 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17652
17653 wxPyEndAllowThreads(__tstate);
110da5b0 17654 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17655 }
b0f7404b 17656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d14a1e28
RD
17657 return resultobj;
17658 fail:
17659 return NULL;
17660}
17661
17662
c32bde28 17663static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17664 PyObject *resultobj;
17665 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17666 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17667 long arg3 = (long) 0 ;
17668 bool result;
17669 PyObject * obj0 = 0 ;
17670 PyObject * obj1 = 0 ;
994141e6 17671 PyObject * obj2 = 0 ;
d14a1e28
RD
17672 char *kwnames[] = {
17673 (char *) "self",(char *) "parent",(char *) "style", NULL
17674 };
17675
994141e6 17676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17678 if (SWIG_arg_fail(1)) SWIG_fail;
17679 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17680 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 17681 if (obj2) {
093d3ff1
RD
17682 {
17683 arg3 = (long)(SWIG_As_long(obj2));
17684 if (SWIG_arg_fail(3)) SWIG_fail;
17685 }
994141e6 17686 }
d14a1e28
RD
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 result = (bool)(arg1)->Create(arg2,arg3);
17690
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
4f89f6a3
RD
17694 {
17695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17696 }
d14a1e28
RD
17697 return resultobj;
17698 fail:
17699 return NULL;
17700}
17701
17702
c32bde28 17703static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17704 PyObject *obj;
17705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17706 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17707 Py_INCREF(obj);
17708 return Py_BuildValue((char *)"");
17709}
c32bde28 17710static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17711 PyObject *resultobj;
17712 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 17713 int arg2 = (int) (int)-1 ;
d14a1e28
RD
17714 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17715 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17716 wxSize const &arg4_defvalue = wxDefaultSize ;
17717 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17718 long arg5 = (long) 0 ;
17719 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17720 wxString *arg6 = (wxString *) &arg6_defvalue ;
17721 wxPyWindow *result;
17722 wxPoint temp3 ;
17723 wxSize temp4 ;
ae8162c8 17724 bool temp6 = false ;
d14a1e28 17725 PyObject * obj0 = 0 ;
994141e6 17726 PyObject * obj1 = 0 ;
d14a1e28
RD
17727 PyObject * obj2 = 0 ;
17728 PyObject * obj3 = 0 ;
994141e6 17729 PyObject * obj4 = 0 ;
d14a1e28
RD
17730 PyObject * obj5 = 0 ;
17731 char *kwnames[] = {
17732 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17733 };
17734
248ed943 17735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17737 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17738 if (obj1) {
093d3ff1
RD
17739 {
17740 arg2 = (int const)(SWIG_As_int(obj1));
17741 if (SWIG_arg_fail(2)) SWIG_fail;
17742 }
248ed943 17743 }
d14a1e28
RD
17744 if (obj2) {
17745 {
17746 arg3 = &temp3;
17747 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17748 }
17749 }
17750 if (obj3) {
17751 {
17752 arg4 = &temp4;
17753 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17754 }
17755 }
994141e6 17756 if (obj4) {
093d3ff1
RD
17757 {
17758 arg5 = (long)(SWIG_As_long(obj4));
17759 if (SWIG_arg_fail(5)) SWIG_fail;
17760 }
994141e6 17761 }
d14a1e28
RD
17762 if (obj5) {
17763 {
17764 arg6 = wxString_in_helper(obj5);
17765 if (arg6 == NULL) SWIG_fail;
ae8162c8 17766 temp6 = true;
d14a1e28
RD
17767 }
17768 }
17769 {
e3b71cb8 17770 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17771 PyThreadState* __tstate = wxPyBeginAllowThreads();
17772 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17773
17774 wxPyEndAllowThreads(__tstate);
110da5b0 17775 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17776 }
15afbcd0 17777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
d14a1e28
RD
17778 {
17779 if (temp6)
17780 delete arg6;
17781 }
17782 return resultobj;
17783 fail:
17784 {
17785 if (temp6)
17786 delete arg6;
17787 }
17788 return NULL;
17789}
17790
17791
c32bde28 17792static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17793 PyObject *resultobj;
17794 wxPyWindow *result;
17795 char *kwnames[] = {
17796 NULL
17797 };
17798
17799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17800 {
e3b71cb8 17801 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
17802 PyThreadState* __tstate = wxPyBeginAllowThreads();
17803 result = (wxPyWindow *)new wxPyWindow();
17804
17805 wxPyEndAllowThreads(__tstate);
110da5b0 17806 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
17807 }
17808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17809 return resultobj;
17810 fail:
17811 return NULL;
17812}
17813
17814
c32bde28 17815static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17816 PyObject *resultobj;
17817 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17818 PyObject *arg2 = (PyObject *) 0 ;
17819 PyObject *arg3 = (PyObject *) 0 ;
17820 PyObject * obj0 = 0 ;
17821 PyObject * obj1 = 0 ;
17822 PyObject * obj2 = 0 ;
17823 char *kwnames[] = {
17824 (char *) "self",(char *) "self",(char *) "_class", NULL
17825 };
17826
17827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17829 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17830 arg2 = obj1;
17831 arg3 = obj2;
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 (arg1)->_setCallbackInfo(arg2,arg3);
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 Py_INCREF(Py_None); resultobj = Py_None;
17840 return resultobj;
17841 fail:
17842 return NULL;
17843}
17844
17845
c32bde28 17846static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
17847 PyObject *resultobj;
17848 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17849 wxSize *arg2 = 0 ;
17850 wxSize temp2 ;
17851 PyObject * obj0 = 0 ;
17852 PyObject * obj1 = 0 ;
17853 char *kwnames[] = {
17854 (char *) "self",(char *) "size", NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17859 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
17860 {
17861 arg2 = &temp2;
17862 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17863 }
17864 {
17865 PyThreadState* __tstate = wxPyBeginAllowThreads();
17866 (arg1)->SetBestSize((wxSize const &)*arg2);
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
976dbff5
RD
17878static PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
17879 PyObject *resultobj;
17880 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17881 wxDC *arg2 = (wxDC *) 0 ;
17882 bool result;
17883 PyObject * obj0 = 0 ;
17884 PyObject * obj1 = 0 ;
17885 char *kwnames[] = {
17886 (char *) "self",(char *) "dc", NULL
17887 };
17888
17889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
17890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17891 if (SWIG_arg_fail(1)) SWIG_fail;
17892 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
17893 if (SWIG_arg_fail(2)) SWIG_fail;
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 result = (bool)(arg1)->DoEraseBackground(arg2);
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 {
17902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17903 }
17904 return resultobj;
17905 fail:
17906 return NULL;
17907}
17908
17909
c32bde28 17910static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17911 PyObject *resultobj;
17912 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17913 int arg2 ;
17914 int arg3 ;
17915 int arg4 ;
17916 int arg5 ;
17917 PyObject * obj0 = 0 ;
994141e6
RD
17918 PyObject * obj1 = 0 ;
17919 PyObject * obj2 = 0 ;
17920 PyObject * obj3 = 0 ;
17921 PyObject * obj4 = 0 ;
d14a1e28
RD
17922 char *kwnames[] = {
17923 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17924 };
17925
994141e6 17926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
17927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17928 if (SWIG_arg_fail(1)) SWIG_fail;
17929 {
17930 arg2 = (int)(SWIG_As_int(obj1));
17931 if (SWIG_arg_fail(2)) SWIG_fail;
17932 }
17933 {
17934 arg3 = (int)(SWIG_As_int(obj2));
17935 if (SWIG_arg_fail(3)) SWIG_fail;
17936 }
17937 {
17938 arg4 = (int)(SWIG_As_int(obj3));
17939 if (SWIG_arg_fail(4)) SWIG_fail;
17940 }
17941 {
17942 arg5 = (int)(SWIG_As_int(obj4));
17943 if (SWIG_arg_fail(5)) SWIG_fail;
17944 }
d14a1e28
RD
17945 {
17946 PyThreadState* __tstate = wxPyBeginAllowThreads();
17947 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17948
17949 wxPyEndAllowThreads(__tstate);
17950 if (PyErr_Occurred()) SWIG_fail;
17951 }
17952 Py_INCREF(Py_None); resultobj = Py_None;
17953 return resultobj;
17954 fail:
17955 return NULL;
17956}
17957
17958
c32bde28 17959static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17960 PyObject *resultobj;
17961 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17962 int arg2 ;
17963 int arg3 ;
17964 int arg4 ;
17965 int arg5 ;
17966 int arg6 = (int) wxSIZE_AUTO ;
17967 PyObject * obj0 = 0 ;
994141e6
RD
17968 PyObject * obj1 = 0 ;
17969 PyObject * obj2 = 0 ;
17970 PyObject * obj3 = 0 ;
17971 PyObject * obj4 = 0 ;
17972 PyObject * obj5 = 0 ;
d14a1e28
RD
17973 char *kwnames[] = {
17974 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17975 };
17976
994141e6 17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17979 if (SWIG_arg_fail(1)) SWIG_fail;
17980 {
17981 arg2 = (int)(SWIG_As_int(obj1));
17982 if (SWIG_arg_fail(2)) SWIG_fail;
17983 }
17984 {
17985 arg3 = (int)(SWIG_As_int(obj2));
17986 if (SWIG_arg_fail(3)) SWIG_fail;
17987 }
17988 {
17989 arg4 = (int)(SWIG_As_int(obj3));
17990 if (SWIG_arg_fail(4)) SWIG_fail;
17991 }
17992 {
17993 arg5 = (int)(SWIG_As_int(obj4));
17994 if (SWIG_arg_fail(5)) SWIG_fail;
17995 }
994141e6 17996 if (obj5) {
093d3ff1
RD
17997 {
17998 arg6 = (int)(SWIG_As_int(obj5));
17999 if (SWIG_arg_fail(6)) SWIG_fail;
18000 }
994141e6 18001 }
d14a1e28
RD
18002 {
18003 PyThreadState* __tstate = wxPyBeginAllowThreads();
18004 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18005
18006 wxPyEndAllowThreads(__tstate);
18007 if (PyErr_Occurred()) SWIG_fail;
18008 }
18009 Py_INCREF(Py_None); resultobj = Py_None;
18010 return resultobj;
18011 fail:
18012 return NULL;
18013}
18014
18015
c32bde28 18016static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18017 PyObject *resultobj;
18018 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18019 int arg2 ;
18020 int arg3 ;
18021 PyObject * obj0 = 0 ;
994141e6
RD
18022 PyObject * obj1 = 0 ;
18023 PyObject * obj2 = 0 ;
d14a1e28
RD
18024 char *kwnames[] = {
18025 (char *) "self",(char *) "width",(char *) "height", NULL
18026 };
18027
994141e6 18028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18030 if (SWIG_arg_fail(1)) SWIG_fail;
18031 {
18032 arg2 = (int)(SWIG_As_int(obj1));
18033 if (SWIG_arg_fail(2)) SWIG_fail;
18034 }
18035 {
18036 arg3 = (int)(SWIG_As_int(obj2));
18037 if (SWIG_arg_fail(3)) SWIG_fail;
18038 }
d14a1e28
RD
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 (arg1)->base_DoSetClientSize(arg2,arg3);
18042
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 Py_INCREF(Py_None); resultobj = Py_None;
18047 return resultobj;
18048 fail:
18049 return NULL;
18050}
18051
18052
c32bde28 18053static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18054 PyObject *resultobj;
18055 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18056 int arg2 ;
18057 int arg3 ;
18058 PyObject * obj0 = 0 ;
994141e6
RD
18059 PyObject * obj1 = 0 ;
18060 PyObject * obj2 = 0 ;
d14a1e28 18061 char *kwnames[] = {
15afbcd0
RD
18062 (char *) "self",(char *) "x",(char *) "y", NULL
18063 };
18064
18065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18067 if (SWIG_arg_fail(1)) SWIG_fail;
18068 {
18069 arg2 = (int)(SWIG_As_int(obj1));
18070 if (SWIG_arg_fail(2)) SWIG_fail;
18071 }
18072 {
18073 arg3 = (int)(SWIG_As_int(obj2));
18074 if (SWIG_arg_fail(3)) SWIG_fail;
18075 }
d14a1e28
RD
18076 {
18077 PyThreadState* __tstate = wxPyBeginAllowThreads();
18078 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18079
18080 wxPyEndAllowThreads(__tstate);
18081 if (PyErr_Occurred()) SWIG_fail;
18082 }
18083 Py_INCREF(Py_None); resultobj = Py_None;
18084 return resultobj;
18085 fail:
18086 return NULL;
18087}
18088
18089
c32bde28 18090static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18091 PyObject *resultobj;
18092 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18093 int *arg2 = (int *) 0 ;
18094 int *arg3 = (int *) 0 ;
18095 int temp2 ;
c32bde28 18096 int res2 = 0 ;
d14a1e28 18097 int temp3 ;
c32bde28 18098 int res3 = 0 ;
d14a1e28
RD
18099 PyObject * obj0 = 0 ;
18100 char *kwnames[] = {
18101 (char *) "self", NULL
18102 };
18103
c32bde28
RD
18104 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18105 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18108 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18109 {
18110 PyThreadState* __tstate = wxPyBeginAllowThreads();
18111 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
18112
18113 wxPyEndAllowThreads(__tstate);
18114 if (PyErr_Occurred()) SWIG_fail;
18115 }
18116 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18117 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18118 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18119 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18120 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18121 return resultobj;
18122 fail:
18123 return NULL;
18124}
18125
18126
c32bde28 18127static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18128 PyObject *resultobj;
18129 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18130 int *arg2 = (int *) 0 ;
18131 int *arg3 = (int *) 0 ;
18132 int temp2 ;
c32bde28 18133 int res2 = 0 ;
d14a1e28 18134 int temp3 ;
c32bde28 18135 int res3 = 0 ;
d14a1e28
RD
18136 PyObject * obj0 = 0 ;
18137 char *kwnames[] = {
18138 (char *) "self", NULL
18139 };
18140
c32bde28
RD
18141 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18142 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18145 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18154 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18155 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18156 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18157 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18158 return resultobj;
18159 fail:
18160 return NULL;
18161}
18162
18163
c32bde28 18164static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18165 PyObject *resultobj;
18166 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18167 int *arg2 = (int *) 0 ;
18168 int *arg3 = (int *) 0 ;
18169 int temp2 ;
c32bde28 18170 int res2 = 0 ;
d14a1e28 18171 int temp3 ;
c32bde28 18172 int res3 = 0 ;
d14a1e28
RD
18173 PyObject * obj0 = 0 ;
18174 char *kwnames[] = {
18175 (char *) "self", NULL
18176 };
18177
c32bde28
RD
18178 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18179 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
18181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18182 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18186
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18191 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18192 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18193 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18194 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18195 return resultobj;
18196 fail:
18197 return NULL;
18198}
18199
18200
c32bde28 18201static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18202 PyObject *resultobj;
18203 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18204 wxSize result;
18205 PyObject * obj0 = 0 ;
18206 char *kwnames[] = {
18207 (char *) "self", NULL
18208 };
18209
18210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18212 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18213 {
18214 PyThreadState* __tstate = wxPyBeginAllowThreads();
18215 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18216
18217 wxPyEndAllowThreads(__tstate);
18218 if (PyErr_Occurred()) SWIG_fail;
18219 }
18220 {
18221 wxSize * resultptr;
093d3ff1 18222 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18223 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18224 }
18225 return resultobj;
18226 fail:
18227 return NULL;
18228}
18229
18230
c32bde28 18231static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18232 PyObject *resultobj;
18233 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18234 wxSize result;
18235 PyObject * obj0 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18243 {
18244 PyThreadState* __tstate = wxPyBeginAllowThreads();
18245 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18246
18247 wxPyEndAllowThreads(__tstate);
18248 if (PyErr_Occurred()) SWIG_fail;
18249 }
18250 {
18251 wxSize * resultptr;
093d3ff1 18252 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18253 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18254 }
18255 return resultobj;
18256 fail:
18257 return NULL;
18258}
18259
18260
c32bde28 18261static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18262 PyObject *resultobj;
18263 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18264 PyObject * obj0 = 0 ;
18265 char *kwnames[] = {
18266 (char *) "self", NULL
18267 };
18268
18269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",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 (arg1)->base_InitDialog();
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
18279 Py_INCREF(Py_None); resultobj = Py_None;
18280 return resultobj;
18281 fail:
18282 return NULL;
18283}
18284
18285
c32bde28 18286static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18287 PyObject *resultobj;
18288 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18289 bool result;
18290 PyObject * obj0 = 0 ;
18291 char *kwnames[] = {
18292 (char *) "self", NULL
18293 };
18294
18295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18297 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18298 {
18299 PyThreadState* __tstate = wxPyBeginAllowThreads();
18300 result = (bool)(arg1)->base_TransferDataToWindow();
18301
18302 wxPyEndAllowThreads(__tstate);
18303 if (PyErr_Occurred()) SWIG_fail;
18304 }
4f89f6a3
RD
18305 {
18306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18307 }
d14a1e28
RD
18308 return resultobj;
18309 fail:
18310 return NULL;
18311}
18312
18313
c32bde28 18314static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18315 PyObject *resultobj;
18316 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18317 bool result;
18318 PyObject * obj0 = 0 ;
18319 char *kwnames[] = {
18320 (char *) "self", NULL
18321 };
18322
18323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18325 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18326 {
18327 PyThreadState* __tstate = wxPyBeginAllowThreads();
18328 result = (bool)(arg1)->base_TransferDataFromWindow();
18329
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
4f89f6a3
RD
18333 {
18334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18335 }
d14a1e28
RD
18336 return resultobj;
18337 fail:
18338 return NULL;
18339}
18340
18341
c32bde28 18342static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18343 PyObject *resultobj;
18344 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18345 bool result;
18346 PyObject * obj0 = 0 ;
18347 char *kwnames[] = {
18348 (char *) "self", NULL
18349 };
18350
18351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
18352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18353 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18354 {
18355 PyThreadState* __tstate = wxPyBeginAllowThreads();
18356 result = (bool)(arg1)->base_Validate();
18357
18358 wxPyEndAllowThreads(__tstate);
18359 if (PyErr_Occurred()) SWIG_fail;
18360 }
4f89f6a3
RD
18361 {
18362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18363 }
d14a1e28
RD
18364 return resultobj;
18365 fail:
18366 return NULL;
18367}
18368
18369
c32bde28 18370static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18371 PyObject *resultobj;
18372 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18373 bool result;
18374 PyObject * obj0 = 0 ;
18375 char *kwnames[] = {
18376 (char *) "self", NULL
18377 };
18378
18379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
18380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18381 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
4f89f6a3
RD
18389 {
18390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18391 }
d14a1e28
RD
18392 return resultobj;
18393 fail:
18394 return NULL;
18395}
18396
18397
c32bde28 18398static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18399 PyObject *resultobj;
18400 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18401 bool result;
18402 PyObject * obj0 = 0 ;
18403 char *kwnames[] = {
18404 (char *) "self", NULL
18405 };
18406
18407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
18408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18409 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18410 {
18411 PyThreadState* __tstate = wxPyBeginAllowThreads();
18412 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18413
18414 wxPyEndAllowThreads(__tstate);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 }
4f89f6a3
RD
18417 {
18418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18419 }
d14a1e28
RD
18420 return resultobj;
18421 fail:
18422 return NULL;
18423}
18424
18425
c32bde28 18426static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18427 PyObject *resultobj;
18428 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18429 wxSize result;
18430 PyObject * obj0 = 0 ;
18431 char *kwnames[] = {
18432 (char *) "self", NULL
18433 };
18434
18435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18437 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18438 {
18439 PyThreadState* __tstate = wxPyBeginAllowThreads();
18440 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18441
18442 wxPyEndAllowThreads(__tstate);
18443 if (PyErr_Occurred()) SWIG_fail;
18444 }
18445 {
18446 wxSize * resultptr;
093d3ff1 18447 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18448 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18449 }
18450 return resultobj;
18451 fail:
18452 return NULL;
18453}
18454
18455
c32bde28 18456static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18457 PyObject *resultobj;
18458 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18459 wxWindow *arg2 = (wxWindow *) 0 ;
18460 PyObject * obj0 = 0 ;
18461 PyObject * obj1 = 0 ;
18462 char *kwnames[] = {
18463 (char *) "self",(char *) "child", NULL
18464 };
18465
18466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail;
18469 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18470 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 (arg1)->base_AddChild(arg2);
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 Py_INCREF(Py_None); resultobj = Py_None;
18479 return resultobj;
18480 fail:
18481 return NULL;
18482}
18483
18484
c32bde28 18485static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18486 PyObject *resultobj;
18487 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18488 wxWindow *arg2 = (wxWindow *) 0 ;
18489 PyObject * obj0 = 0 ;
18490 PyObject * obj1 = 0 ;
18491 char *kwnames[] = {
18492 (char *) "self",(char *) "child", NULL
18493 };
18494
18495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18497 if (SWIG_arg_fail(1)) SWIG_fail;
18498 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18499 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
18500 {
18501 PyThreadState* __tstate = wxPyBeginAllowThreads();
18502 (arg1)->base_RemoveChild(arg2);
18503
18504 wxPyEndAllowThreads(__tstate);
18505 if (PyErr_Occurred()) SWIG_fail;
18506 }
18507 Py_INCREF(Py_None); resultobj = Py_None;
18508 return resultobj;
18509 fail:
18510 return NULL;
18511}
18512
18513
c32bde28 18514static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18515 PyObject *resultobj;
18516 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18517 bool result;
18518 PyObject * obj0 = 0 ;
18519 char *kwnames[] = {
18520 (char *) "self", NULL
18521 };
18522
18523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
18524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18525 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
18526 {
18527 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 18528 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
18529
18530 wxPyEndAllowThreads(__tstate);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 }
18533 {
18534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18535 }
18536 return resultobj;
18537 fail:
18538 return NULL;
18539}
18540
18541
c32bde28 18542static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
18543 PyObject *resultobj;
18544 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18545 wxVisualAttributes result;
18546 PyObject * obj0 = 0 ;
18547 char *kwnames[] = {
18548 (char *) "self", NULL
18549 };
18550
18551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18553 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 result = (arg1)->base_GetDefaultAttributes();
18557
18558 wxPyEndAllowThreads(__tstate);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 {
18562 wxVisualAttributes * resultptr;
093d3ff1 18563 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
db3e571a
RD
18564 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18565 }
18566 return resultobj;
18567 fail:
18568 return NULL;
18569}
18570
18571
c32bde28 18572static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18573 PyObject *obj;
18574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18575 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18576 Py_INCREF(obj);
18577 return Py_BuildValue((char *)"");
18578}
c32bde28 18579static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18580 PyObject *resultobj;
18581 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 18582 int arg2 = (int) (int)-1 ;
d14a1e28
RD
18583 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18584 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18585 wxSize const &arg4_defvalue = wxDefaultSize ;
18586 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18587 long arg5 = (long) 0 ;
18588 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18589 wxString *arg6 = (wxString *) &arg6_defvalue ;
18590 wxPyPanel *result;
18591 wxPoint temp3 ;
18592 wxSize temp4 ;
ae8162c8 18593 bool temp6 = false ;
d14a1e28 18594 PyObject * obj0 = 0 ;
994141e6 18595 PyObject * obj1 = 0 ;
d14a1e28
RD
18596 PyObject * obj2 = 0 ;
18597 PyObject * obj3 = 0 ;
994141e6 18598 PyObject * obj4 = 0 ;
d14a1e28
RD
18599 PyObject * obj5 = 0 ;
18600 char *kwnames[] = {
18601 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18602 };
18603
248ed943 18604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18606 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 18607 if (obj1) {
093d3ff1
RD
18608 {
18609 arg2 = (int const)(SWIG_As_int(obj1));
18610 if (SWIG_arg_fail(2)) SWIG_fail;
18611 }
248ed943 18612 }
d14a1e28
RD
18613 if (obj2) {
18614 {
18615 arg3 = &temp3;
18616 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18617 }
18618 }
18619 if (obj3) {
18620 {
18621 arg4 = &temp4;
18622 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18623 }
18624 }
994141e6 18625 if (obj4) {
093d3ff1
RD
18626 {
18627 arg5 = (long)(SWIG_As_long(obj4));
18628 if (SWIG_arg_fail(5)) SWIG_fail;
18629 }
994141e6 18630 }
d14a1e28
RD
18631 if (obj5) {
18632 {
18633 arg6 = wxString_in_helper(obj5);
18634 if (arg6 == NULL) SWIG_fail;
ae8162c8 18635 temp6 = true;
d14a1e28
RD
18636 }
18637 }
18638 {
e3b71cb8 18639 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
18640 PyThreadState* __tstate = wxPyBeginAllowThreads();
18641 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18642
18643 wxPyEndAllowThreads(__tstate);
110da5b0 18644 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 18645 }
15afbcd0 18646 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
d14a1e28
RD
18647 {
18648 if (temp6)
18649 delete arg6;
18650 }
18651 return resultobj;
18652 fail:
18653 {
18654 if (temp6)
18655 delete arg6;
18656 }
18657 return NULL;
18658}
18659
18660
c32bde28 18661static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18662 PyObject *resultobj;
18663 wxPyPanel *result;
18664 char *kwnames[] = {
18665 NULL
18666 };
18667
18668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18669 {
e3b71cb8 18670 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
18671 PyThreadState* __tstate = wxPyBeginAllowThreads();
18672 result = (wxPyPanel *)new wxPyPanel();
18673
18674 wxPyEndAllowThreads(__tstate);
110da5b0 18675 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
18676 }
18677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18678 return resultobj;
18679 fail:
18680 return NULL;
18681}
18682
18683
c32bde28 18684static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18685 PyObject *resultobj;
18686 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18687 PyObject *arg2 = (PyObject *) 0 ;
18688 PyObject *arg3 = (PyObject *) 0 ;
18689 PyObject * obj0 = 0 ;
18690 PyObject * obj1 = 0 ;
18691 PyObject * obj2 = 0 ;
18692 char *kwnames[] = {
18693 (char *) "self",(char *) "self",(char *) "_class", NULL
18694 };
18695
18696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18698 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18699 arg2 = obj1;
18700 arg3 = obj2;
18701 {
18702 PyThreadState* __tstate = wxPyBeginAllowThreads();
18703 (arg1)->_setCallbackInfo(arg2,arg3);
18704
18705 wxPyEndAllowThreads(__tstate);
18706 if (PyErr_Occurred()) SWIG_fail;
18707 }
18708 Py_INCREF(Py_None); resultobj = Py_None;
18709 return resultobj;
18710 fail:
18711 return NULL;
18712}
18713
18714
c32bde28 18715static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
18716 PyObject *resultobj;
18717 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18718 wxSize *arg2 = 0 ;
18719 wxSize temp2 ;
18720 PyObject * obj0 = 0 ;
18721 PyObject * obj1 = 0 ;
18722 char *kwnames[] = {
18723 (char *) "self",(char *) "size", NULL
18724 };
18725
18726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18728 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
18729 {
18730 arg2 = &temp2;
18731 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18732 }
18733 {
18734 PyThreadState* __tstate = wxPyBeginAllowThreads();
18735 (arg1)->SetBestSize((wxSize const &)*arg2);
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
976dbff5
RD
18747static PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
18748 PyObject *resultobj;
18749 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18750 wxDC *arg2 = (wxDC *) 0 ;
18751 bool result;
18752 PyObject * obj0 = 0 ;
18753 PyObject * obj1 = 0 ;
18754 char *kwnames[] = {
18755 (char *) "self",(char *) "dc", NULL
18756 };
18757
18758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
18759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18760 if (SWIG_arg_fail(1)) SWIG_fail;
18761 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
18762 if (SWIG_arg_fail(2)) SWIG_fail;
18763 {
18764 PyThreadState* __tstate = wxPyBeginAllowThreads();
18765 result = (bool)(arg1)->DoEraseBackground(arg2);
18766
18767 wxPyEndAllowThreads(__tstate);
18768 if (PyErr_Occurred()) SWIG_fail;
18769 }
18770 {
18771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18772 }
18773 return resultobj;
18774 fail:
18775 return NULL;
18776}
18777
18778
c32bde28 18779static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18780 PyObject *resultobj;
18781 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18782 int arg2 ;
18783 int arg3 ;
18784 int arg4 ;
18785 int arg5 ;
18786 PyObject * obj0 = 0 ;
994141e6
RD
18787 PyObject * obj1 = 0 ;
18788 PyObject * obj2 = 0 ;
18789 PyObject * obj3 = 0 ;
18790 PyObject * obj4 = 0 ;
d14a1e28
RD
18791 char *kwnames[] = {
18792 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18793 };
18794
994141e6 18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
18796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18797 if (SWIG_arg_fail(1)) SWIG_fail;
18798 {
18799 arg2 = (int)(SWIG_As_int(obj1));
18800 if (SWIG_arg_fail(2)) SWIG_fail;
18801 }
18802 {
18803 arg3 = (int)(SWIG_As_int(obj2));
18804 if (SWIG_arg_fail(3)) SWIG_fail;
18805 }
18806 {
18807 arg4 = (int)(SWIG_As_int(obj3));
18808 if (SWIG_arg_fail(4)) SWIG_fail;
18809 }
18810 {
18811 arg5 = (int)(SWIG_As_int(obj4));
18812 if (SWIG_arg_fail(5)) SWIG_fail;
18813 }
d14a1e28
RD
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 Py_INCREF(Py_None); resultobj = Py_None;
18822 return resultobj;
18823 fail:
18824 return NULL;
18825}
18826
18827
c32bde28 18828static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18829 PyObject *resultobj;
18830 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18831 int arg2 ;
18832 int arg3 ;
18833 int arg4 ;
18834 int arg5 ;
18835 int arg6 = (int) wxSIZE_AUTO ;
18836 PyObject * obj0 = 0 ;
994141e6
RD
18837 PyObject * obj1 = 0 ;
18838 PyObject * obj2 = 0 ;
18839 PyObject * obj3 = 0 ;
18840 PyObject * obj4 = 0 ;
18841 PyObject * obj5 = 0 ;
d14a1e28
RD
18842 char *kwnames[] = {
18843 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18844 };
18845
994141e6 18846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18848 if (SWIG_arg_fail(1)) SWIG_fail;
18849 {
18850 arg2 = (int)(SWIG_As_int(obj1));
18851 if (SWIG_arg_fail(2)) SWIG_fail;
18852 }
18853 {
18854 arg3 = (int)(SWIG_As_int(obj2));
18855 if (SWIG_arg_fail(3)) SWIG_fail;
18856 }
18857 {
18858 arg4 = (int)(SWIG_As_int(obj3));
18859 if (SWIG_arg_fail(4)) SWIG_fail;
18860 }
18861 {
18862 arg5 = (int)(SWIG_As_int(obj4));
18863 if (SWIG_arg_fail(5)) SWIG_fail;
18864 }
994141e6 18865 if (obj5) {
093d3ff1
RD
18866 {
18867 arg6 = (int)(SWIG_As_int(obj5));
18868 if (SWIG_arg_fail(6)) SWIG_fail;
18869 }
994141e6 18870 }
d14a1e28
RD
18871 {
18872 PyThreadState* __tstate = wxPyBeginAllowThreads();
18873 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18874
18875 wxPyEndAllowThreads(__tstate);
18876 if (PyErr_Occurred()) SWIG_fail;
18877 }
18878 Py_INCREF(Py_None); resultobj = Py_None;
18879 return resultobj;
18880 fail:
18881 return NULL;
18882}
18883
18884
c32bde28 18885static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18886 PyObject *resultobj;
18887 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18888 int arg2 ;
18889 int arg3 ;
18890 PyObject * obj0 = 0 ;
994141e6
RD
18891 PyObject * obj1 = 0 ;
18892 PyObject * obj2 = 0 ;
d14a1e28
RD
18893 char *kwnames[] = {
18894 (char *) "self",(char *) "width",(char *) "height", NULL
18895 };
18896
994141e6 18897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18899 if (SWIG_arg_fail(1)) SWIG_fail;
18900 {
18901 arg2 = (int)(SWIG_As_int(obj1));
18902 if (SWIG_arg_fail(2)) SWIG_fail;
18903 }
18904 {
18905 arg3 = (int)(SWIG_As_int(obj2));
18906 if (SWIG_arg_fail(3)) SWIG_fail;
18907 }
d14a1e28
RD
18908 {
18909 PyThreadState* __tstate = wxPyBeginAllowThreads();
18910 (arg1)->base_DoSetClientSize(arg2,arg3);
18911
18912 wxPyEndAllowThreads(__tstate);
18913 if (PyErr_Occurred()) SWIG_fail;
18914 }
18915 Py_INCREF(Py_None); resultobj = Py_None;
18916 return resultobj;
18917 fail:
18918 return NULL;
18919}
18920
18921
c32bde28 18922static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18923 PyObject *resultobj;
18924 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18925 int arg2 ;
18926 int arg3 ;
18927 PyObject * obj0 = 0 ;
994141e6
RD
18928 PyObject * obj1 = 0 ;
18929 PyObject * obj2 = 0 ;
d14a1e28
RD
18930 char *kwnames[] = {
18931 (char *) "self",(char *) "x",(char *) "y", NULL
18932 };
18933
994141e6 18934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18936 if (SWIG_arg_fail(1)) SWIG_fail;
18937 {
18938 arg2 = (int)(SWIG_As_int(obj1));
18939 if (SWIG_arg_fail(2)) SWIG_fail;
18940 }
18941 {
18942 arg3 = (int)(SWIG_As_int(obj2));
18943 if (SWIG_arg_fail(3)) SWIG_fail;
18944 }
d14a1e28
RD
18945 {
18946 PyThreadState* __tstate = wxPyBeginAllowThreads();
18947 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18948
18949 wxPyEndAllowThreads(__tstate);
18950 if (PyErr_Occurred()) SWIG_fail;
18951 }
18952 Py_INCREF(Py_None); resultobj = Py_None;
18953 return resultobj;
18954 fail:
18955 return NULL;
18956}
18957
18958
c32bde28 18959static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18960 PyObject *resultobj;
18961 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18962 int *arg2 = (int *) 0 ;
18963 int *arg3 = (int *) 0 ;
18964 int temp2 ;
c32bde28 18965 int res2 = 0 ;
d14a1e28 18966 int temp3 ;
c32bde28 18967 int res3 = 0 ;
d14a1e28
RD
18968 PyObject * obj0 = 0 ;
18969 char *kwnames[] = {
18970 (char *) "self", NULL
18971 };
18972
c32bde28
RD
18973 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18974 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18977 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18978 {
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
18981
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18986 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18987 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18988 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18989 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18990 return resultobj;
18991 fail:
18992 return NULL;
18993}
18994
18995
c32bde28 18996static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18997 PyObject *resultobj;
18998 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18999 int *arg2 = (int *) 0 ;
19000 int *arg3 = (int *) 0 ;
19001 int temp2 ;
c32bde28 19002 int res2 = 0 ;
d14a1e28 19003 int temp3 ;
c32bde28 19004 int res3 = 0 ;
d14a1e28
RD
19005 PyObject * obj0 = 0 ;
19006 char *kwnames[] = {
19007 (char *) "self", NULL
19008 };
19009
c32bde28
RD
19010 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19011 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 19012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19014 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19015 {
19016 PyThreadState* __tstate = wxPyBeginAllowThreads();
19017 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
19018
19019 wxPyEndAllowThreads(__tstate);
19020 if (PyErr_Occurred()) SWIG_fail;
19021 }
19022 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19023 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19024 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19025 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19026 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
19027 return resultobj;
19028 fail:
19029 return NULL;
19030}
19031
19032
c32bde28 19033static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19034 PyObject *resultobj;
19035 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19036 int *arg2 = (int *) 0 ;
19037 int *arg3 = (int *) 0 ;
19038 int temp2 ;
c32bde28 19039 int res2 = 0 ;
d14a1e28 19040 int temp3 ;
c32bde28 19041 int res3 = 0 ;
d14a1e28
RD
19042 PyObject * obj0 = 0 ;
19043 char *kwnames[] = {
19044 (char *) "self", NULL
19045 };
19046
c32bde28
RD
19047 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19048 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 19049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
19050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19051 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19052 {
19053 PyThreadState* __tstate = wxPyBeginAllowThreads();
19054 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
19055
19056 wxPyEndAllowThreads(__tstate);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19060 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19061 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19062 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19063 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
19064 return resultobj;
19065 fail:
19066 return NULL;
19067}
19068
19069
c32bde28 19070static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19071 PyObject *resultobj;
19072 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19073 wxSize result;
19074 PyObject * obj0 = 0 ;
19075 char *kwnames[] = {
19076 (char *) "self", NULL
19077 };
19078
19079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19081 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19082 {
19083 PyThreadState* __tstate = wxPyBeginAllowThreads();
19084 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
19085
19086 wxPyEndAllowThreads(__tstate);
19087 if (PyErr_Occurred()) SWIG_fail;
19088 }
19089 {
19090 wxSize * resultptr;
093d3ff1 19091 resultptr = new wxSize((wxSize &)(result));
15afbcd0 19092 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
19093 }
19094 return resultobj;
19095 fail:
19096 return NULL;
19097}
19098
19099
c32bde28 19100static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19101 PyObject *resultobj;
19102 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19103 wxSize result;
19104 PyObject * obj0 = 0 ;
19105 char *kwnames[] = {
19106 (char *) "self", NULL
19107 };
19108
19109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19111 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19112 {
19113 PyThreadState* __tstate = wxPyBeginAllowThreads();
19114 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
19115
19116 wxPyEndAllowThreads(__tstate);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 }
19119 {
19120 wxSize * resultptr;
093d3ff1 19121 resultptr = new wxSize((wxSize &)(result));
15afbcd0 19122 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
19123 }
19124 return resultobj;
19125 fail:
19126 return NULL;
19127}
19128
19129
c32bde28 19130static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19131 PyObject *resultobj;
19132 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19133 PyObject * obj0 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "self", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",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 (arg1)->base_InitDialog();
19144
19145 wxPyEndAllowThreads(__tstate);
19146 if (PyErr_Occurred()) SWIG_fail;
19147 }
19148 Py_INCREF(Py_None); resultobj = Py_None;
19149 return resultobj;
19150 fail:
19151 return NULL;
19152}
19153
19154
c32bde28 19155static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19156 PyObject *resultobj;
19157 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19158 bool result;
19159 PyObject * obj0 = 0 ;
19160 char *kwnames[] = {
19161 (char *) "self", NULL
19162 };
19163
19164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19166 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19167 {
19168 PyThreadState* __tstate = wxPyBeginAllowThreads();
19169 result = (bool)(arg1)->base_TransferDataToWindow();
19170
19171 wxPyEndAllowThreads(__tstate);
19172 if (PyErr_Occurred()) SWIG_fail;
19173 }
4f89f6a3
RD
19174 {
19175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19176 }
d14a1e28
RD
19177 return resultobj;
19178 fail:
19179 return NULL;
19180}
19181
19182
c32bde28 19183static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19184 PyObject *resultobj;
19185 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19186 bool result;
19187 PyObject * obj0 = 0 ;
19188 char *kwnames[] = {
19189 (char *) "self", NULL
19190 };
19191
19192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19194 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19195 {
19196 PyThreadState* __tstate = wxPyBeginAllowThreads();
19197 result = (bool)(arg1)->base_TransferDataFromWindow();
19198
19199 wxPyEndAllowThreads(__tstate);
19200 if (PyErr_Occurred()) SWIG_fail;
19201 }
4f89f6a3
RD
19202 {
19203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19204 }
d14a1e28
RD
19205 return resultobj;
19206 fail:
19207 return NULL;
19208}
19209
19210
c32bde28 19211static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19212 PyObject *resultobj;
19213 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19214 bool result;
19215 PyObject * obj0 = 0 ;
19216 char *kwnames[] = {
19217 (char *) "self", NULL
19218 };
19219
19220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
19221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19222 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19223 {
19224 PyThreadState* __tstate = wxPyBeginAllowThreads();
19225 result = (bool)(arg1)->base_Validate();
19226
19227 wxPyEndAllowThreads(__tstate);
19228 if (PyErr_Occurred()) SWIG_fail;
19229 }
4f89f6a3
RD
19230 {
19231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19232 }
d14a1e28
RD
19233 return resultobj;
19234 fail:
19235 return NULL;
19236}
19237
19238
c32bde28 19239static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19240 PyObject *resultobj;
19241 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19242 bool result;
19243 PyObject * obj0 = 0 ;
19244 char *kwnames[] = {
19245 (char *) "self", NULL
19246 };
19247
19248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
19249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19250 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
4f89f6a3
RD
19258 {
19259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19260 }
d14a1e28
RD
19261 return resultobj;
19262 fail:
19263 return NULL;
19264}
19265
19266
c32bde28 19267static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19268 PyObject *resultobj;
19269 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19270 bool result;
19271 PyObject * obj0 = 0 ;
19272 char *kwnames[] = {
19273 (char *) "self", NULL
19274 };
19275
19276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
19277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19278 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19279 {
19280 PyThreadState* __tstate = wxPyBeginAllowThreads();
19281 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19282
19283 wxPyEndAllowThreads(__tstate);
19284 if (PyErr_Occurred()) SWIG_fail;
19285 }
4f89f6a3
RD
19286 {
19287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19288 }
d14a1e28
RD
19289 return resultobj;
19290 fail:
19291 return NULL;
19292}
19293
19294
c32bde28 19295static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19296 PyObject *resultobj;
19297 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19298 wxSize result;
19299 PyObject * obj0 = 0 ;
19300 char *kwnames[] = {
19301 (char *) "self", NULL
19302 };
19303
19304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19306 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
19309 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19310
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 {
19315 wxSize * resultptr;
093d3ff1 19316 resultptr = new wxSize((wxSize &)(result));
15afbcd0 19317 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
19318 }
19319 return resultobj;
19320 fail:
19321 return NULL;
19322}
19323
19324
c32bde28 19325static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19326 PyObject *resultobj;
19327 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19328 wxWindow *arg2 = (wxWindow *) 0 ;
19329 PyObject * obj0 = 0 ;
19330 PyObject * obj1 = 0 ;
19331 char *kwnames[] = {
19332 (char *) "self",(char *) "child", NULL
19333 };
19334
19335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19337 if (SWIG_arg_fail(1)) SWIG_fail;
19338 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19339 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19340 {
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 (arg1)->base_AddChild(arg2);
19343
19344 wxPyEndAllowThreads(__tstate);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 }
19347 Py_INCREF(Py_None); resultobj = Py_None;
19348 return resultobj;
19349 fail:
19350 return NULL;
19351}
19352
19353
c32bde28 19354static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19355 PyObject *resultobj;
19356 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19357 wxWindow *arg2 = (wxWindow *) 0 ;
19358 PyObject * obj0 = 0 ;
19359 PyObject * obj1 = 0 ;
19360 char *kwnames[] = {
19361 (char *) "self",(char *) "child", NULL
19362 };
19363
19364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19366 if (SWIG_arg_fail(1)) SWIG_fail;
19367 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19368 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19369 {
19370 PyThreadState* __tstate = wxPyBeginAllowThreads();
19371 (arg1)->base_RemoveChild(arg2);
19372
19373 wxPyEndAllowThreads(__tstate);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 }
19376 Py_INCREF(Py_None); resultobj = Py_None;
19377 return resultobj;
19378 fail:
19379 return NULL;
19380}
19381
19382
c32bde28 19383static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19384 PyObject *resultobj;
1cb4a8aa
RD
19385 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19386 bool result;
19387 PyObject * obj0 = 0 ;
d14a1e28 19388 char *kwnames[] = {
1cb4a8aa 19389 (char *) "self", NULL
d14a1e28
RD
19390 };
19391
1cb4a8aa 19392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
19393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19394 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19395 {
19396 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 19397 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d14a1e28
RD
19398
19399 wxPyEndAllowThreads(__tstate);
19400 if (PyErr_Occurred()) SWIG_fail;
19401 }
1cb4a8aa
RD
19402 {
19403 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19404 }
d14a1e28
RD
19405 return resultobj;
19406 fail:
19407 return NULL;
19408}
19409
19410
c32bde28 19411static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
19412 PyObject *resultobj;
19413 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19414 wxVisualAttributes result;
19415 PyObject * obj0 = 0 ;
19416 char *kwnames[] = {
19417 (char *) "self", NULL
19418 };
19419
19420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
19421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19422 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 result = (arg1)->base_GetDefaultAttributes();
19426
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 {
19431 wxVisualAttributes * resultptr;
093d3ff1 19432 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
db3e571a
RD
19433 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19434 }
19435 return resultobj;
19436 fail:
19437 return NULL;
19438}
19439
19440
c32bde28 19441static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
1cb4a8aa
RD
19442 PyObject *obj;
19443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19444 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19445 Py_INCREF(obj);
19446 return Py_BuildValue((char *)"");
19447}
c32bde28 19448static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19449 PyObject *resultobj;
1cb4a8aa 19450 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 19451 int arg2 = (int) (int)-1 ;
1cb4a8aa
RD
19452 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19453 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19454 wxSize const &arg4_defvalue = wxDefaultSize ;
19455 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19456 long arg5 = (long) 0 ;
19457 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19458 wxString *arg6 = (wxString *) &arg6_defvalue ;
19459 wxPyScrolledWindow *result;
19460 wxPoint temp3 ;
19461 wxSize temp4 ;
ae8162c8 19462 bool temp6 = false ;
d14a1e28 19463 PyObject * obj0 = 0 ;
1cb4a8aa
RD
19464 PyObject * obj1 = 0 ;
19465 PyObject * obj2 = 0 ;
19466 PyObject * obj3 = 0 ;
19467 PyObject * obj4 = 0 ;
19468 PyObject * obj5 = 0 ;
d14a1e28 19469 char *kwnames[] = {
1cb4a8aa 19470 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
19471 };
19472
248ed943 19473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19475 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 19476 if (obj1) {
093d3ff1
RD
19477 {
19478 arg2 = (int const)(SWIG_As_int(obj1));
19479 if (SWIG_arg_fail(2)) SWIG_fail;
19480 }
248ed943 19481 }
1cb4a8aa
RD
19482 if (obj2) {
19483 {
19484 arg3 = &temp3;
19485 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19486 }
19487 }
19488 if (obj3) {
19489 {
19490 arg4 = &temp4;
19491 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19492 }
19493 }
19494 if (obj4) {
093d3ff1
RD
19495 {
19496 arg5 = (long)(SWIG_As_long(obj4));
19497 if (SWIG_arg_fail(5)) SWIG_fail;
19498 }
1cb4a8aa
RD
19499 }
19500 if (obj5) {
19501 {
19502 arg6 = wxString_in_helper(obj5);
19503 if (arg6 == NULL) SWIG_fail;
ae8162c8 19504 temp6 = true;
1cb4a8aa
RD
19505 }
19506 }
19507 {
e3b71cb8 19508 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
19509 PyThreadState* __tstate = wxPyBeginAllowThreads();
19510 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19511
19512 wxPyEndAllowThreads(__tstate);
110da5b0 19513 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
19514 }
19515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19516 {
19517 if (temp6)
19518 delete arg6;
19519 }
19520 return resultobj;
19521 fail:
19522 {
19523 if (temp6)
19524 delete arg6;
19525 }
19526 return NULL;
19527}
19528
19529
c32bde28 19530static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19531 PyObject *resultobj;
19532 wxPyScrolledWindow *result;
19533 char *kwnames[] = {
19534 NULL
19535 };
19536
19537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19538 {
e3b71cb8 19539 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
19540 PyThreadState* __tstate = wxPyBeginAllowThreads();
19541 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19542
19543 wxPyEndAllowThreads(__tstate);
110da5b0 19544 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
19545 }
19546 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19547 return resultobj;
19548 fail:
19549 return NULL;
19550}
19551
19552
c32bde28 19553static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19554 PyObject *resultobj;
19555 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19556 PyObject *arg2 = (PyObject *) 0 ;
19557 PyObject *arg3 = (PyObject *) 0 ;
19558 PyObject * obj0 = 0 ;
19559 PyObject * obj1 = 0 ;
19560 PyObject * obj2 = 0 ;
19561 char *kwnames[] = {
19562 (char *) "self",(char *) "self",(char *) "_class", NULL
19563 };
19564
19565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19567 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19568 arg2 = obj1;
19569 arg3 = obj2;
19570 {
19571 PyThreadState* __tstate = wxPyBeginAllowThreads();
19572 (arg1)->_setCallbackInfo(arg2,arg3);
19573
19574 wxPyEndAllowThreads(__tstate);
19575 if (PyErr_Occurred()) SWIG_fail;
19576 }
19577 Py_INCREF(Py_None); resultobj = Py_None;
19578 return resultobj;
19579 fail:
19580 return NULL;
19581}
19582
19583
c32bde28 19584static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
19585 PyObject *resultobj;
19586 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19587 wxSize *arg2 = 0 ;
19588 wxSize temp2 ;
19589 PyObject * obj0 = 0 ;
19590 PyObject * obj1 = 0 ;
19591 char *kwnames[] = {
19592 (char *) "self",(char *) "size", NULL
19593 };
19594
19595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19596 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19597 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
19598 {
19599 arg2 = &temp2;
19600 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19601 }
19602 {
19603 PyThreadState* __tstate = wxPyBeginAllowThreads();
19604 (arg1)->SetBestSize((wxSize const &)*arg2);
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
976dbff5
RD
19616static PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
19617 PyObject *resultobj;
19618 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19619 wxDC *arg2 = (wxDC *) 0 ;
19620 bool result;
19621 PyObject * obj0 = 0 ;
19622 PyObject * obj1 = 0 ;
19623 char *kwnames[] = {
19624 (char *) "self",(char *) "dc", NULL
19625 };
19626
19627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
19628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19629 if (SWIG_arg_fail(1)) SWIG_fail;
19630 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
19631 if (SWIG_arg_fail(2)) SWIG_fail;
19632 {
19633 PyThreadState* __tstate = wxPyBeginAllowThreads();
19634 result = (bool)(arg1)->DoEraseBackground(arg2);
19635
19636 wxPyEndAllowThreads(__tstate);
19637 if (PyErr_Occurred()) SWIG_fail;
19638 }
19639 {
19640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19641 }
19642 return resultobj;
19643 fail:
19644 return NULL;
19645}
19646
19647
c32bde28 19648static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19649 PyObject *resultobj;
19650 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19651 int arg2 ;
19652 int arg3 ;
19653 int arg4 ;
19654 int arg5 ;
19655 PyObject * obj0 = 0 ;
19656 PyObject * obj1 = 0 ;
19657 PyObject * obj2 = 0 ;
19658 PyObject * obj3 = 0 ;
19659 PyObject * obj4 = 0 ;
19660 char *kwnames[] = {
19661 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19662 };
19663
19664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
19665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19666 if (SWIG_arg_fail(1)) SWIG_fail;
19667 {
19668 arg2 = (int)(SWIG_As_int(obj1));
19669 if (SWIG_arg_fail(2)) SWIG_fail;
19670 }
19671 {
19672 arg3 = (int)(SWIG_As_int(obj2));
19673 if (SWIG_arg_fail(3)) SWIG_fail;
19674 }
19675 {
19676 arg4 = (int)(SWIG_As_int(obj3));
19677 if (SWIG_arg_fail(4)) SWIG_fail;
19678 }
19679 {
19680 arg5 = (int)(SWIG_As_int(obj4));
19681 if (SWIG_arg_fail(5)) SWIG_fail;
19682 }
1cb4a8aa
RD
19683 {
19684 PyThreadState* __tstate = wxPyBeginAllowThreads();
19685 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19686
19687 wxPyEndAllowThreads(__tstate);
19688 if (PyErr_Occurred()) SWIG_fail;
19689 }
19690 Py_INCREF(Py_None); resultobj = Py_None;
19691 return resultobj;
19692 fail:
19693 return NULL;
19694}
19695
19696
c32bde28 19697static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19698 PyObject *resultobj;
19699 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19700 int arg2 ;
19701 int arg3 ;
19702 int arg4 ;
19703 int arg5 ;
19704 int arg6 = (int) wxSIZE_AUTO ;
19705 PyObject * obj0 = 0 ;
19706 PyObject * obj1 = 0 ;
19707 PyObject * obj2 = 0 ;
19708 PyObject * obj3 = 0 ;
19709 PyObject * obj4 = 0 ;
19710 PyObject * obj5 = 0 ;
19711 char *kwnames[] = {
19712 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19713 };
19714
19715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19717 if (SWIG_arg_fail(1)) SWIG_fail;
19718 {
19719 arg2 = (int)(SWIG_As_int(obj1));
19720 if (SWIG_arg_fail(2)) SWIG_fail;
19721 }
19722 {
19723 arg3 = (int)(SWIG_As_int(obj2));
19724 if (SWIG_arg_fail(3)) SWIG_fail;
19725 }
19726 {
19727 arg4 = (int)(SWIG_As_int(obj3));
19728 if (SWIG_arg_fail(4)) SWIG_fail;
19729 }
19730 {
19731 arg5 = (int)(SWIG_As_int(obj4));
19732 if (SWIG_arg_fail(5)) SWIG_fail;
19733 }
1cb4a8aa 19734 if (obj5) {
093d3ff1
RD
19735 {
19736 arg6 = (int)(SWIG_As_int(obj5));
19737 if (SWIG_arg_fail(6)) SWIG_fail;
19738 }
1cb4a8aa
RD
19739 }
19740 {
19741 PyThreadState* __tstate = wxPyBeginAllowThreads();
19742 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19743
19744 wxPyEndAllowThreads(__tstate);
19745 if (PyErr_Occurred()) SWIG_fail;
19746 }
19747 Py_INCREF(Py_None); resultobj = Py_None;
19748 return resultobj;
19749 fail:
19750 return NULL;
19751}
19752
19753
c32bde28 19754static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19755 PyObject *resultobj;
19756 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19757 int arg2 ;
19758 int arg3 ;
19759 PyObject * obj0 = 0 ;
19760 PyObject * obj1 = 0 ;
19761 PyObject * obj2 = 0 ;
19762 char *kwnames[] = {
19763 (char *) "self",(char *) "width",(char *) "height", NULL
19764 };
19765
19766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19768 if (SWIG_arg_fail(1)) SWIG_fail;
19769 {
19770 arg2 = (int)(SWIG_As_int(obj1));
19771 if (SWIG_arg_fail(2)) SWIG_fail;
19772 }
19773 {
19774 arg3 = (int)(SWIG_As_int(obj2));
19775 if (SWIG_arg_fail(3)) SWIG_fail;
19776 }
1cb4a8aa
RD
19777 {
19778 PyThreadState* __tstate = wxPyBeginAllowThreads();
19779 (arg1)->base_DoSetClientSize(arg2,arg3);
19780
19781 wxPyEndAllowThreads(__tstate);
19782 if (PyErr_Occurred()) SWIG_fail;
19783 }
19784 Py_INCREF(Py_None); resultobj = Py_None;
19785 return resultobj;
19786 fail:
19787 return NULL;
19788}
19789
19790
c32bde28 19791static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19792 PyObject *resultobj;
19793 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19794 int arg2 ;
19795 int arg3 ;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798 PyObject * obj2 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self",(char *) "x",(char *) "y", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19805 if (SWIG_arg_fail(1)) SWIG_fail;
19806 {
19807 arg2 = (int)(SWIG_As_int(obj1));
19808 if (SWIG_arg_fail(2)) SWIG_fail;
19809 }
19810 {
19811 arg3 = (int)(SWIG_As_int(obj2));
19812 if (SWIG_arg_fail(3)) SWIG_fail;
19813 }
1cb4a8aa
RD
19814 {
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19817
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
19821 Py_INCREF(Py_None); resultobj = Py_None;
19822 return resultobj;
19823 fail:
19824 return NULL;
19825}
19826
19827
c32bde28 19828static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19829 PyObject *resultobj;
19830 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19831 int *arg2 = (int *) 0 ;
19832 int *arg3 = (int *) 0 ;
19833 int temp2 ;
c32bde28 19834 int res2 = 0 ;
1cb4a8aa 19835 int temp3 ;
c32bde28 19836 int res3 = 0 ;
1cb4a8aa
RD
19837 PyObject * obj0 = 0 ;
19838 char *kwnames[] = {
19839 (char *) "self", NULL
19840 };
19841
c32bde28
RD
19842 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19843 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa 19844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19846 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19850
19851 wxPyEndAllowThreads(__tstate);
19852 if (PyErr_Occurred()) SWIG_fail;
19853 }
19854 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19855 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19856 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19857 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19858 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
19859 return resultobj;
19860 fail:
19861 return NULL;
19862}
19863
19864
c32bde28 19865static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19866 PyObject *resultobj;
19867 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19868 int *arg2 = (int *) 0 ;
19869 int *arg3 = (int *) 0 ;
19870 int temp2 ;
c32bde28 19871 int res2 = 0 ;
1cb4a8aa 19872 int temp3 ;
c32bde28 19873 int res3 = 0 ;
1cb4a8aa
RD
19874 PyObject * obj0 = 0 ;
19875 char *kwnames[] = {
19876 (char *) "self", NULL
19877 };
19878
c32bde28
RD
19879 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19880 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa 19881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19883 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19884 {
19885 PyThreadState* __tstate = wxPyBeginAllowThreads();
19886 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19887
19888 wxPyEndAllowThreads(__tstate);
19889 if (PyErr_Occurred()) SWIG_fail;
19890 }
19891 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19892 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19893 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19894 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19895 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
19896 return resultobj;
19897 fail:
19898 return NULL;
19899}
19900
19901
c32bde28 19902static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19903 PyObject *resultobj;
19904 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19905 int *arg2 = (int *) 0 ;
19906 int *arg3 = (int *) 0 ;
19907 int temp2 ;
c32bde28 19908 int res2 = 0 ;
1cb4a8aa 19909 int temp3 ;
c32bde28 19910 int res3 = 0 ;
1cb4a8aa
RD
19911 PyObject * obj0 = 0 ;
19912 char *kwnames[] = {
19913 (char *) "self", NULL
19914 };
19915
c32bde28
RD
19916 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19917 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa 19918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
19919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19920 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19921 {
19922 PyThreadState* __tstate = wxPyBeginAllowThreads();
19923 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19924
19925 wxPyEndAllowThreads(__tstate);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 }
19928 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19929 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19930 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19931 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19932 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
19933 return resultobj;
19934 fail:
19935 return NULL;
19936}
19937
19938
c32bde28 19939static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19940 PyObject *resultobj;
19941 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19942 wxSize result;
19943 PyObject * obj0 = 0 ;
19944 char *kwnames[] = {
19945 (char *) "self", NULL
19946 };
19947
19948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19950 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19951 {
19952 PyThreadState* __tstate = wxPyBeginAllowThreads();
19953 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
19954
19955 wxPyEndAllowThreads(__tstate);
19956 if (PyErr_Occurred()) SWIG_fail;
19957 }
19958 {
19959 wxSize * resultptr;
093d3ff1 19960 resultptr = new wxSize((wxSize &)(result));
1cb4a8aa
RD
19961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19962 }
19963 return resultobj;
19964 fail:
19965 return NULL;
19966}
19967
19968
c32bde28 19969static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19970 PyObject *resultobj;
19971 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19972 wxSize result;
19973 PyObject * obj0 = 0 ;
19974 char *kwnames[] = {
19975 (char *) "self", NULL
19976 };
19977
19978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19980 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19981 {
19982 PyThreadState* __tstate = wxPyBeginAllowThreads();
19983 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
19984
19985 wxPyEndAllowThreads(__tstate);
19986 if (PyErr_Occurred()) SWIG_fail;
19987 }
19988 {
19989 wxSize * resultptr;
093d3ff1 19990 resultptr = new wxSize((wxSize &)(result));
1cb4a8aa
RD
19991 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19992 }
19993 return resultobj;
19994 fail:
19995 return NULL;
19996}
19997
19998
c32bde28 19999static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20000 PyObject *resultobj;
20001 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20002 PyObject * obj0 = 0 ;
20003 char *kwnames[] = {
20004 (char *) "self", NULL
20005 };
20006
20007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",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 (arg1)->base_InitDialog();
20013
20014 wxPyEndAllowThreads(__tstate);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 Py_INCREF(Py_None); resultobj = Py_None;
20018 return resultobj;
20019 fail:
20020 return NULL;
20021}
20022
20023
c32bde28 20024static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20025 PyObject *resultobj;
20026 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20027 bool result;
20028 PyObject * obj0 = 0 ;
20029 char *kwnames[] = {
20030 (char *) "self", NULL
20031 };
20032
20033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20035 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20036 {
20037 PyThreadState* __tstate = wxPyBeginAllowThreads();
20038 result = (bool)(arg1)->base_TransferDataToWindow();
20039
20040 wxPyEndAllowThreads(__tstate);
20041 if (PyErr_Occurred()) SWIG_fail;
20042 }
20043 {
20044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20045 }
20046 return resultobj;
20047 fail:
20048 return NULL;
20049}
20050
20051
c32bde28 20052static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20053 PyObject *resultobj;
20054 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20055 bool result;
20056 PyObject * obj0 = 0 ;
20057 char *kwnames[] = {
20058 (char *) "self", NULL
20059 };
20060
20061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
20062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20063 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 result = (bool)(arg1)->base_TransferDataFromWindow();
20067
20068 wxPyEndAllowThreads(__tstate);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 {
20072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20073 }
20074 return resultobj;
20075 fail:
20076 return NULL;
20077}
20078
20079
c32bde28 20080static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20081 PyObject *resultobj;
20082 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20083 bool result;
20084 PyObject * obj0 = 0 ;
20085 char *kwnames[] = {
20086 (char *) "self", NULL
20087 };
20088
20089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
20090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20091 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20092 {
20093 PyThreadState* __tstate = wxPyBeginAllowThreads();
20094 result = (bool)(arg1)->base_Validate();
20095
20096 wxPyEndAllowThreads(__tstate);
20097 if (PyErr_Occurred()) SWIG_fail;
20098 }
20099 {
20100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20101 }
20102 return resultobj;
20103 fail:
20104 return NULL;
20105}
20106
20107
c32bde28 20108static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20109 PyObject *resultobj;
20110 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20111 bool result;
20112 PyObject * obj0 = 0 ;
20113 char *kwnames[] = {
20114 (char *) "self", NULL
20115 };
20116
20117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
20118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20119 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20120 {
20121 PyThreadState* __tstate = wxPyBeginAllowThreads();
20122 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
20123
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 {
20128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20129 }
20130 return resultobj;
20131 fail:
20132 return NULL;
20133}
20134
20135
c32bde28 20136static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20137 PyObject *resultobj;
20138 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20139 bool result;
20140 PyObject * obj0 = 0 ;
20141 char *kwnames[] = {
20142 (char *) "self", NULL
20143 };
20144
20145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
20146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20147 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20148 {
20149 PyThreadState* __tstate = wxPyBeginAllowThreads();
20150 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20151
20152 wxPyEndAllowThreads(__tstate);
20153 if (PyErr_Occurred()) SWIG_fail;
20154 }
20155 {
20156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20157 }
20158 return resultobj;
20159 fail:
20160 return NULL;
20161}
20162
20163
c32bde28 20164static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20165 PyObject *resultobj;
20166 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20167 wxSize result;
20168 PyObject * obj0 = 0 ;
20169 char *kwnames[] = {
20170 (char *) "self", NULL
20171 };
20172
20173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20175 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20176 {
20177 PyThreadState* __tstate = wxPyBeginAllowThreads();
20178 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20179
20180 wxPyEndAllowThreads(__tstate);
20181 if (PyErr_Occurred()) SWIG_fail;
20182 }
20183 {
20184 wxSize * resultptr;
093d3ff1 20185 resultptr = new wxSize((wxSize &)(result));
1cb4a8aa
RD
20186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20187 }
20188 return resultobj;
20189 fail:
20190 return NULL;
20191}
20192
20193
c32bde28 20194static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20195 PyObject *resultobj;
20196 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20197 wxWindow *arg2 = (wxWindow *) 0 ;
20198 PyObject * obj0 = 0 ;
20199 PyObject * obj1 = 0 ;
20200 char *kwnames[] = {
20201 (char *) "self",(char *) "child", NULL
20202 };
20203
20204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20206 if (SWIG_arg_fail(1)) SWIG_fail;
20207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20208 if (SWIG_arg_fail(2)) SWIG_fail;
1cb4a8aa
RD
20209 {
20210 PyThreadState* __tstate = wxPyBeginAllowThreads();
20211 (arg1)->base_AddChild(arg2);
20212
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 Py_INCREF(Py_None); resultobj = Py_None;
20217 return resultobj;
20218 fail:
20219 return NULL;
20220}
20221
20222
c32bde28 20223static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20224 PyObject *resultobj;
20225 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20226 wxWindow *arg2 = (wxWindow *) 0 ;
20227 PyObject * obj0 = 0 ;
20228 PyObject * obj1 = 0 ;
20229 char *kwnames[] = {
20230 (char *) "self",(char *) "child", NULL
20231 };
20232
20233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20235 if (SWIG_arg_fail(1)) SWIG_fail;
20236 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20237 if (SWIG_arg_fail(2)) SWIG_fail;
1cb4a8aa
RD
20238 {
20239 PyThreadState* __tstate = wxPyBeginAllowThreads();
20240 (arg1)->base_RemoveChild(arg2);
20241
20242 wxPyEndAllowThreads(__tstate);
20243 if (PyErr_Occurred()) SWIG_fail;
20244 }
20245 Py_INCREF(Py_None); resultobj = Py_None;
20246 return resultobj;
20247 fail:
20248 return NULL;
20249}
20250
20251
c32bde28 20252static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20253 PyObject *resultobj;
20254 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20255 bool result;
20256 PyObject * obj0 = 0 ;
20257 char *kwnames[] = {
20258 (char *) "self", NULL
20259 };
20260
20261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
20262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20263 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 20266 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 {
20272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20273 }
20274 return resultobj;
20275 fail:
20276 return NULL;
20277}
20278
20279
c32bde28 20280static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
20281 PyObject *resultobj;
20282 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20283 wxVisualAttributes result;
20284 PyObject * obj0 = 0 ;
20285 char *kwnames[] = {
20286 (char *) "self", NULL
20287 };
20288
20289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
20290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20291 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
20292 {
20293 PyThreadState* __tstate = wxPyBeginAllowThreads();
20294 result = (arg1)->base_GetDefaultAttributes();
20295
20296 wxPyEndAllowThreads(__tstate);
20297 if (PyErr_Occurred()) SWIG_fail;
20298 }
20299 {
20300 wxVisualAttributes * resultptr;
093d3ff1 20301 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
db3e571a
RD
20302 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20303 }
20304 return resultobj;
20305 fail:
20306 return NULL;
20307}
20308
20309
c32bde28 20310static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
1cb4a8aa
RD
20311 PyObject *obj;
20312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20313 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20314 Py_INCREF(obj);
20315 return Py_BuildValue((char *)"");
20316}
c32bde28 20317static int _wrap_PrintoutTitleStr_set(PyObject *) {
1cb4a8aa
RD
20318 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20319 return 1;
20320}
20321
20322
093d3ff1 20323static PyObject *_wrap_PrintoutTitleStr_get(void) {
1cb4a8aa
RD
20324 PyObject *pyobj;
20325
20326 {
20327#if wxUSE_UNICODE
20328 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20329#else
20330 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20331#endif
20332 }
20333 return pyobj;
20334}
20335
20336
c32bde28 20337static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
1cb4a8aa
RD
20338 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20339 return 1;
20340}
20341
20342
093d3ff1 20343static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
1cb4a8aa
RD
20344 PyObject *pyobj;
20345
20346 {
20347#if wxUSE_UNICODE
20348 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20349#else
20350 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20351#endif
20352 }
20353 return pyobj;
20354}
20355
20356
c32bde28 20357static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
1cb4a8aa
RD
20358 PyObject *resultobj;
20359 wxPrintData *result;
1cb4a8aa 20360
11207aef 20361 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
1cb4a8aa
RD
20362 {
20363 PyThreadState* __tstate = wxPyBeginAllowThreads();
20364 result = (wxPrintData *)new wxPrintData();
20365
20366 wxPyEndAllowThreads(__tstate);
20367 if (PyErr_Occurred()) SWIG_fail;
20368 }
20369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20370 return resultobj;
20371 fail:
20372 return NULL;
20373}
20374
20375
c32bde28 20376static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
11207aef
RD
20377 PyObject *resultobj;
20378 wxPrintData *arg1 = 0 ;
20379 wxPrintData *result;
20380 PyObject * obj0 = 0 ;
20381
20382 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
093d3ff1
RD
20383 {
20384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20385 if (SWIG_arg_fail(1)) SWIG_fail;
20386 if (arg1 == NULL) {
20387 SWIG_null_ref("wxPrintData");
20388 }
20389 if (SWIG_arg_fail(1)) SWIG_fail;
11207aef
RD
20390 }
20391 {
20392 PyThreadState* __tstate = wxPyBeginAllowThreads();
20393 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20394
20395 wxPyEndAllowThreads(__tstate);
20396 if (PyErr_Occurred()) SWIG_fail;
20397 }
20398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20399 return resultobj;
20400 fail:
20401 return NULL;
20402}
20403
20404
20405static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20406 int argc;
20407 PyObject *argv[2];
20408 int ii;
20409
20410 argc = PyObject_Length(args);
20411 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20412 argv[ii] = PyTuple_GetItem(args,ii);
20413 }
20414 if (argc == 0) {
20415 return _wrap_new_PrintData__SWIG_0(self,args);
20416 }
20417 if (argc == 1) {
20418 int _v;
20419 {
093d3ff1 20420 void *ptr = 0;
11207aef
RD
20421 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20422 _v = 0;
20423 PyErr_Clear();
20424 } else {
093d3ff1 20425 _v = (ptr != 0);
11207aef
RD
20426 }
20427 }
20428 if (_v) {
20429 return _wrap_new_PrintData__SWIG_1(self,args);
20430 }
20431 }
20432
093d3ff1 20433 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
11207aef
RD
20434 return NULL;
20435}
20436
20437
c32bde28 20438static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20439 PyObject *resultobj;
20440 wxPrintData *arg1 = (wxPrintData *) 0 ;
20441 PyObject * obj0 = 0 ;
20442 char *kwnames[] = {
20443 (char *) "self", NULL
20444 };
20445
20446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
20447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20448 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20449 {
20450 PyThreadState* __tstate = wxPyBeginAllowThreads();
20451 delete arg1;
20452
20453 wxPyEndAllowThreads(__tstate);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 }
20456 Py_INCREF(Py_None); resultobj = Py_None;
20457 return resultobj;
20458 fail:
20459 return NULL;
20460}
20461
20462
c32bde28 20463static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20464 PyObject *resultobj;
20465 wxPrintData *arg1 = (wxPrintData *) 0 ;
20466 int result;
20467 PyObject * obj0 = 0 ;
20468 char *kwnames[] = {
20469 (char *) "self", NULL
20470 };
20471
20472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
20473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20474 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 result = (int)(arg1)->GetNoCopies();
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
093d3ff1
RD
20482 {
20483 resultobj = SWIG_From_int((int)(result));
20484 }
1cb4a8aa
RD
20485 return resultobj;
20486 fail:
d14a1e28
RD
20487 return NULL;
20488}
20489
20490
c32bde28 20491static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20492 PyObject *resultobj;
20493 wxPrintData *arg1 = (wxPrintData *) 0 ;
20494 bool result;
20495 PyObject * obj0 = 0 ;
20496 char *kwnames[] = {
20497 (char *) "self", NULL
20498 };
20499
20500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
20501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20502 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20503 {
20504 PyThreadState* __tstate = wxPyBeginAllowThreads();
20505 result = (bool)(arg1)->GetCollate();
20506
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
4f89f6a3
RD
20510 {
20511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20512 }
d14a1e28
RD
20513 return resultobj;
20514 fail:
20515 return NULL;
20516}
20517
20518
c32bde28 20519static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20520 PyObject *resultobj;
20521 wxPrintData *arg1 = (wxPrintData *) 0 ;
20522 int result;
20523 PyObject * obj0 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "self", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
20529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 result = (int)(arg1)->GetOrientation();
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
093d3ff1
RD
20538 {
20539 resultobj = SWIG_From_int((int)(result));
20540 }
d14a1e28
RD
20541 return resultobj;
20542 fail:
20543 return NULL;
20544}
20545
20546
c32bde28 20547static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20548 PyObject *resultobj;
20549 wxPrintData *arg1 = (wxPrintData *) 0 ;
20550 bool result;
20551 PyObject * obj0 = 0 ;
20552 char *kwnames[] = {
20553 (char *) "self", NULL
20554 };
20555
20556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
20557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = (bool)(arg1)->Ok();
20562
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
4f89f6a3
RD
20566 {
20567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20568 }
d14a1e28
RD
20569 return resultobj;
20570 fail:
20571 return NULL;
20572}
20573
20574
c32bde28 20575static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20576 PyObject *resultobj;
20577 wxPrintData *arg1 = (wxPrintData *) 0 ;
20578 wxString *result;
20579 PyObject * obj0 = 0 ;
20580 char *kwnames[] = {
20581 (char *) "self", NULL
20582 };
20583
20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
093d3ff1
RD
20585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20586 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20587 {
20588 PyThreadState* __tstate = wxPyBeginAllowThreads();
20589 {
20590 wxString const &_result_ref = (arg1)->GetPrinterName();
20591 result = (wxString *) &_result_ref;
20592 }
20593
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
cc6dd355
RD
20597 {
20598#if wxUSE_UNICODE
20599 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20600#else
20601 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20602#endif
20603 }
d14a1e28
RD
20604 return resultobj;
20605 fail:
20606 return NULL;
20607}
20608
20609
c32bde28 20610static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20611 PyObject *resultobj;
20612 wxPrintData *arg1 = (wxPrintData *) 0 ;
20613 bool result;
20614 PyObject * obj0 = 0 ;
20615 char *kwnames[] = {
20616 (char *) "self", NULL
20617 };
20618
20619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
20620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20621 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 result = (bool)(arg1)->GetColour();
20625
20626 wxPyEndAllowThreads(__tstate);
20627 if (PyErr_Occurred()) SWIG_fail;
20628 }
4f89f6a3
RD
20629 {
20630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20631 }
d14a1e28
RD
20632 return resultobj;
20633 fail:
20634 return NULL;
20635}
20636
20637
c32bde28 20638static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20639 PyObject *resultobj;
20640 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20641 wxDuplexMode result;
d14a1e28
RD
20642 PyObject * obj0 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
093d3ff1
RD
20648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20649 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20652 result = (wxDuplexMode)(arg1)->GetDuplex();
d14a1e28
RD
20653
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
093d3ff1 20657 resultobj = SWIG_From_int((result));
d14a1e28
RD
20658 return resultobj;
20659 fail:
20660 return NULL;
20661}
20662
20663
c32bde28 20664static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20665 PyObject *resultobj;
20666 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20667 wxPaperSize result;
d14a1e28
RD
20668 PyObject * obj0 = 0 ;
20669 char *kwnames[] = {
20670 (char *) "self", NULL
20671 };
20672
20673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
20674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20675 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20678 result = (wxPaperSize)(arg1)->GetPaperId();
d14a1e28
RD
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
093d3ff1 20683 resultobj = SWIG_From_int((result));
d14a1e28
RD
20684 return resultobj;
20685 fail:
20686 return NULL;
20687}
20688
20689
c32bde28 20690static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20691 PyObject *resultobj;
20692 wxPrintData *arg1 = (wxPrintData *) 0 ;
20693 wxSize *result;
20694 PyObject * obj0 = 0 ;
20695 char *kwnames[] = {
20696 (char *) "self", NULL
20697 };
20698
20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20701 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 {
20705 wxSize const &_result_ref = (arg1)->GetPaperSize();
20706 result = (wxSize *) &_result_ref;
20707 }
20708
20709 wxPyEndAllowThreads(__tstate);
20710 if (PyErr_Occurred()) SWIG_fail;
20711 }
15afbcd0 20712 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
20713 return resultobj;
20714 fail:
20715 return NULL;
20716}
20717
20718
c32bde28 20719static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20720 PyObject *resultobj;
20721 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 20722 int result;
d14a1e28
RD
20723 PyObject * obj0 = 0 ;
20724 char *kwnames[] = {
20725 (char *) "self", NULL
20726 };
20727
20728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
093d3ff1
RD
20729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20730 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20731 {
20732 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 20733 result = (int)(arg1)->GetQuality();
d14a1e28
RD
20734
20735 wxPyEndAllowThreads(__tstate);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 }
093d3ff1
RD
20738 {
20739 resultobj = SWIG_From_int((int)(result));
20740 }
d14a1e28
RD
20741 return resultobj;
20742 fail:
20743 return NULL;
20744}
20745
20746
2ef75293
RD
20747static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20748 PyObject *resultobj;
20749 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20750 wxPrintBin result;
2ef75293
RD
20751 PyObject * obj0 = 0 ;
20752 char *kwnames[] = {
20753 (char *) "self", NULL
20754 };
20755
20756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
093d3ff1
RD
20757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20758 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
20759 {
20760 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20761 result = (wxPrintBin)(arg1)->GetBin();
2ef75293
RD
20762
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
093d3ff1 20766 resultobj = SWIG_From_int((result));
2ef75293
RD
20767 return resultobj;
20768 fail:
20769 return NULL;
20770}
20771
20772
d3b6e4ff
RD
20773static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20774 PyObject *resultobj;
20775 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20776 wxPrintMode result;
d3b6e4ff
RD
20777 PyObject * obj0 = 0 ;
20778 char *kwnames[] = {
20779 (char *) "self", NULL
20780 };
20781
20782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
20783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20784 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
20785 {
20786 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20787 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
d3b6e4ff
RD
20788
20789 wxPyEndAllowThreads(__tstate);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
093d3ff1 20792 resultobj = SWIG_From_int((result));
d3b6e4ff
RD
20793 return resultobj;
20794 fail:
20795 return NULL;
20796}
20797
20798
c32bde28 20799static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20800 PyObject *resultobj;
20801 wxPrintData *arg1 = (wxPrintData *) 0 ;
20802 int arg2 ;
20803 PyObject * obj0 = 0 ;
994141e6 20804 PyObject * obj1 = 0 ;
d14a1e28
RD
20805 char *kwnames[] = {
20806 (char *) "self",(char *) "v", NULL
20807 };
20808
994141e6 20809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20811 if (SWIG_arg_fail(1)) SWIG_fail;
20812 {
20813 arg2 = (int)(SWIG_As_int(obj1));
20814 if (SWIG_arg_fail(2)) SWIG_fail;
20815 }
d14a1e28
RD
20816 {
20817 PyThreadState* __tstate = wxPyBeginAllowThreads();
20818 (arg1)->SetNoCopies(arg2);
20819
20820 wxPyEndAllowThreads(__tstate);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
20823 Py_INCREF(Py_None); resultobj = Py_None;
20824 return resultobj;
20825 fail:
20826 return NULL;
20827}
20828
20829
c32bde28 20830static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20831 PyObject *resultobj;
20832 wxPrintData *arg1 = (wxPrintData *) 0 ;
20833 bool arg2 ;
20834 PyObject * obj0 = 0 ;
20835 PyObject * obj1 = 0 ;
20836 char *kwnames[] = {
20837 (char *) "self",(char *) "flag", NULL
20838 };
20839
20840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20842 if (SWIG_arg_fail(1)) SWIG_fail;
20843 {
20844 arg2 = (bool)(SWIG_As_bool(obj1));
20845 if (SWIG_arg_fail(2)) SWIG_fail;
20846 }
d14a1e28
RD
20847 {
20848 PyThreadState* __tstate = wxPyBeginAllowThreads();
20849 (arg1)->SetCollate(arg2);
20850
20851 wxPyEndAllowThreads(__tstate);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 }
20854 Py_INCREF(Py_None); resultobj = Py_None;
20855 return resultobj;
20856 fail:
20857 return NULL;
20858}
20859
20860
c32bde28 20861static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20862 PyObject *resultobj;
20863 wxPrintData *arg1 = (wxPrintData *) 0 ;
20864 int arg2 ;
20865 PyObject * obj0 = 0 ;
994141e6 20866 PyObject * obj1 = 0 ;
d14a1e28
RD
20867 char *kwnames[] = {
20868 (char *) "self",(char *) "orient", NULL
20869 };
20870
994141e6 20871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20873 if (SWIG_arg_fail(1)) SWIG_fail;
20874 {
20875 arg2 = (int)(SWIG_As_int(obj1));
20876 if (SWIG_arg_fail(2)) SWIG_fail;
20877 }
d14a1e28
RD
20878 {
20879 PyThreadState* __tstate = wxPyBeginAllowThreads();
20880 (arg1)->SetOrientation(arg2);
20881
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 Py_INCREF(Py_None); resultobj = Py_None;
20886 return resultobj;
20887 fail:
20888 return NULL;
20889}
20890
20891
c32bde28 20892static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20893 PyObject *resultobj;
20894 wxPrintData *arg1 = (wxPrintData *) 0 ;
20895 wxString *arg2 = 0 ;
ae8162c8 20896 bool temp2 = false ;
d14a1e28
RD
20897 PyObject * obj0 = 0 ;
20898 PyObject * obj1 = 0 ;
20899 char *kwnames[] = {
20900 (char *) "self",(char *) "name", NULL
20901 };
20902
20903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20905 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20906 {
20907 arg2 = wxString_in_helper(obj1);
20908 if (arg2 == NULL) SWIG_fail;
ae8162c8 20909 temp2 = true;
d14a1e28
RD
20910 }
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 (arg1)->SetPrinterName((wxString const &)*arg2);
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 Py_INCREF(Py_None); resultobj = Py_None;
20919 {
20920 if (temp2)
20921 delete arg2;
20922 }
20923 return resultobj;
20924 fail:
20925 {
20926 if (temp2)
20927 delete arg2;
20928 }
20929 return NULL;
20930}
20931
20932
c32bde28 20933static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20934 PyObject *resultobj;
20935 wxPrintData *arg1 = (wxPrintData *) 0 ;
20936 bool arg2 ;
20937 PyObject * obj0 = 0 ;
20938 PyObject * obj1 = 0 ;
20939 char *kwnames[] = {
20940 (char *) "self",(char *) "colour", NULL
20941 };
20942
20943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20945 if (SWIG_arg_fail(1)) SWIG_fail;
20946 {
20947 arg2 = (bool)(SWIG_As_bool(obj1));
20948 if (SWIG_arg_fail(2)) SWIG_fail;
20949 }
d14a1e28
RD
20950 {
20951 PyThreadState* __tstate = wxPyBeginAllowThreads();
20952 (arg1)->SetColour(arg2);
20953
20954 wxPyEndAllowThreads(__tstate);
20955 if (PyErr_Occurred()) SWIG_fail;
20956 }
20957 Py_INCREF(Py_None); resultobj = Py_None;
20958 return resultobj;
20959 fail:
20960 return NULL;
20961}
20962
20963
c32bde28 20964static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20965 PyObject *resultobj;
20966 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20967 wxDuplexMode arg2 ;
d14a1e28 20968 PyObject * obj0 = 0 ;
994141e6 20969 PyObject * obj1 = 0 ;
d14a1e28
RD
20970 char *kwnames[] = {
20971 (char *) "self",(char *) "duplex", NULL
20972 };
20973
994141e6 20974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20976 if (SWIG_arg_fail(1)) SWIG_fail;
20977 {
20978 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
20979 if (SWIG_arg_fail(2)) SWIG_fail;
20980 }
d14a1e28
RD
20981 {
20982 PyThreadState* __tstate = wxPyBeginAllowThreads();
20983 (arg1)->SetDuplex((wxDuplexMode )arg2);
20984
20985 wxPyEndAllowThreads(__tstate);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 }
20988 Py_INCREF(Py_None); resultobj = Py_None;
20989 return resultobj;
20990 fail:
20991 return NULL;
20992}
20993
20994
c32bde28 20995static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20996 PyObject *resultobj;
20997 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20998 wxPaperSize arg2 ;
d14a1e28 20999 PyObject * obj0 = 0 ;
994141e6 21000 PyObject * obj1 = 0 ;
d14a1e28
RD
21001 char *kwnames[] = {
21002 (char *) "self",(char *) "sizeId", NULL
21003 };
21004
994141e6 21005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21007 if (SWIG_arg_fail(1)) SWIG_fail;
21008 {
21009 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
21010 if (SWIG_arg_fail(2)) SWIG_fail;
21011 }
d14a1e28
RD
21012 {
21013 PyThreadState* __tstate = wxPyBeginAllowThreads();
21014 (arg1)->SetPaperId((wxPaperSize )arg2);
21015
21016 wxPyEndAllowThreads(__tstate);
21017 if (PyErr_Occurred()) SWIG_fail;
21018 }
21019 Py_INCREF(Py_None); resultobj = Py_None;
21020 return resultobj;
21021 fail:
21022 return NULL;
21023}
21024
21025
c32bde28 21026static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21027 PyObject *resultobj;
21028 wxPrintData *arg1 = (wxPrintData *) 0 ;
21029 wxSize *arg2 = 0 ;
21030 wxSize temp2 ;
21031 PyObject * obj0 = 0 ;
21032 PyObject * obj1 = 0 ;
21033 char *kwnames[] = {
21034 (char *) "self",(char *) "sz", NULL
21035 };
21036
21037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21039 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21040 {
21041 arg2 = &temp2;
21042 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21043 }
21044 {
21045 PyThreadState* __tstate = wxPyBeginAllowThreads();
21046 (arg1)->SetPaperSize((wxSize const &)*arg2);
21047
21048 wxPyEndAllowThreads(__tstate);
21049 if (PyErr_Occurred()) SWIG_fail;
21050 }
21051 Py_INCREF(Py_None); resultobj = Py_None;
21052 return resultobj;
21053 fail:
21054 return NULL;
21055}
21056
21057
c32bde28 21058static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21059 PyObject *resultobj;
21060 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 21061 int arg2 ;
d14a1e28 21062 PyObject * obj0 = 0 ;
994141e6 21063 PyObject * obj1 = 0 ;
d14a1e28
RD
21064 char *kwnames[] = {
21065 (char *) "self",(char *) "quality", NULL
21066 };
21067
994141e6 21068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21070 if (SWIG_arg_fail(1)) SWIG_fail;
21071 {
21072 arg2 = (int)(SWIG_As_int(obj1));
21073 if (SWIG_arg_fail(2)) SWIG_fail;
21074 }
d14a1e28
RD
21075 {
21076 PyThreadState* __tstate = wxPyBeginAllowThreads();
21077 (arg1)->SetQuality(arg2);
21078
21079 wxPyEndAllowThreads(__tstate);
21080 if (PyErr_Occurred()) SWIG_fail;
21081 }
21082 Py_INCREF(Py_None); resultobj = Py_None;
21083 return resultobj;
21084 fail:
21085 return NULL;
21086}
21087
21088
2ef75293
RD
21089static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj;
21091 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21092 wxPrintBin arg2 ;
2ef75293
RD
21093 PyObject * obj0 = 0 ;
21094 PyObject * obj1 = 0 ;
21095 char *kwnames[] = {
21096 (char *) "self",(char *) "bin", NULL
21097 };
21098
21099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21101 if (SWIG_arg_fail(1)) SWIG_fail;
21102 {
21103 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
21104 if (SWIG_arg_fail(2)) SWIG_fail;
21105 }
2ef75293
RD
21106 {
21107 PyThreadState* __tstate = wxPyBeginAllowThreads();
21108 (arg1)->SetBin((wxPrintBin )arg2);
21109
21110 wxPyEndAllowThreads(__tstate);
21111 if (PyErr_Occurred()) SWIG_fail;
21112 }
21113 Py_INCREF(Py_None); resultobj = Py_None;
21114 return resultobj;
21115 fail:
21116 return NULL;
21117}
21118
21119
d3b6e4ff 21120static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21121 PyObject *resultobj;
21122 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21123 wxPrintMode arg2 ;
d3b6e4ff
RD
21124 PyObject * obj0 = 0 ;
21125 PyObject * obj1 = 0 ;
21126 char *kwnames[] = {
21127 (char *) "self",(char *) "printMode", NULL
21128 };
21129
21130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21132 if (SWIG_arg_fail(1)) SWIG_fail;
21133 {
21134 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
21135 if (SWIG_arg_fail(2)) SWIG_fail;
21136 }
d3b6e4ff
RD
21137 {
21138 PyThreadState* __tstate = wxPyBeginAllowThreads();
21139 (arg1)->SetPrintMode((wxPrintMode )arg2);
21140
21141 wxPyEndAllowThreads(__tstate);
21142 if (PyErr_Occurred()) SWIG_fail;
21143 }
21144 Py_INCREF(Py_None); resultobj = Py_None;
21145 return resultobj;
21146 fail:
21147 return NULL;
21148}
21149
21150
21151static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21152 PyObject *resultobj;
21153 wxPrintData *arg1 = (wxPrintData *) 0 ;
21154 wxString result;
d14a1e28
RD
21155 PyObject * obj0 = 0 ;
21156 char *kwnames[] = {
21157 (char *) "self", NULL
21158 };
21159
d3b6e4ff 21160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
21161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21162 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21163 {
21164 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 21165 result = ((wxPrintData const *)arg1)->GetFilename();
d14a1e28
RD
21166
21167 wxPyEndAllowThreads(__tstate);
21168 if (PyErr_Occurred()) SWIG_fail;
21169 }
cc6dd355
RD
21170 {
21171#if wxUSE_UNICODE
d3b6e4ff 21172 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
cc6dd355 21173#else
d3b6e4ff 21174 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
cc6dd355
RD
21175#endif
21176 }
d14a1e28
RD
21177 return resultobj;
21178 fail:
21179 return NULL;
21180}
21181
21182
d3b6e4ff
RD
21183static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21184 PyObject *resultobj;
21185 wxPrintData *arg1 = (wxPrintData *) 0 ;
21186 wxString *arg2 = 0 ;
21187 bool temp2 = false ;
21188 PyObject * obj0 = 0 ;
21189 PyObject * obj1 = 0 ;
21190 char *kwnames[] = {
21191 (char *) "self",(char *) "filename", NULL
21192 };
21193
21194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21196 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
21197 {
21198 arg2 = wxString_in_helper(obj1);
21199 if (arg2 == NULL) SWIG_fail;
21200 temp2 = true;
21201 }
21202 {
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 (arg1)->SetFilename((wxString const &)*arg2);
21205
21206 wxPyEndAllowThreads(__tstate);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 }
21209 Py_INCREF(Py_None); resultobj = Py_None;
21210 {
21211 if (temp2)
21212 delete arg2;
21213 }
21214 return resultobj;
21215 fail:
21216 {
21217 if (temp2)
21218 delete arg2;
21219 }
21220 return NULL;
21221}
21222
21223
b9d6a5f3
RD
21224static PyObject *_wrap_PrintData_GetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21225 PyObject *resultobj;
21226 wxPrintData *arg1 = (wxPrintData *) 0 ;
21227 PyObject *result;
21228 PyObject * obj0 = 0 ;
21229 char *kwnames[] = {
21230 (char *) "self", NULL
21231 };
21232
21233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrivData",kwnames,&obj0)) goto fail;
21234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21235 if (SWIG_arg_fail(1)) SWIG_fail;
21236 {
21237 PyThreadState* __tstate = wxPyBeginAllowThreads();
21238 result = (PyObject *)wxPrintData_GetPrivData(arg1);
21239
21240 wxPyEndAllowThreads(__tstate);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 }
21243 resultobj = result;
21244 return resultobj;
21245 fail:
21246 return NULL;
21247}
21248
21249
21250static PyObject *_wrap_PrintData_SetPrivData(PyObject *, PyObject *args, PyObject *kwargs) {
21251 PyObject *resultobj;
21252 wxPrintData *arg1 = (wxPrintData *) 0 ;
21253 PyObject *arg2 = (PyObject *) 0 ;
21254 PyObject * obj0 = 0 ;
21255 PyObject * obj1 = 0 ;
21256 char *kwnames[] = {
21257 (char *) "self",(char *) "data", NULL
21258 };
21259
21260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) goto fail;
21261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21262 if (SWIG_arg_fail(1)) SWIG_fail;
21263 arg2 = obj1;
21264 {
21265 PyThreadState* __tstate = wxPyBeginAllowThreads();
21266 wxPrintData_SetPrivData(arg1,arg2);
21267
21268 wxPyEndAllowThreads(__tstate);
21269 if (PyErr_Occurred()) SWIG_fail;
21270 }
21271 Py_INCREF(Py_None); resultobj = Py_None;
21272 return resultobj;
21273 fail:
21274 return NULL;
21275}
21276
21277
d3b6e4ff 21278static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21279 PyObject *resultobj;
21280 wxPrintData *arg1 = (wxPrintData *) 0 ;
21281 wxString *result;
21282 PyObject * obj0 = 0 ;
21283 char *kwnames[] = {
21284 (char *) "self", NULL
21285 };
21286
d3b6e4ff 21287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
21288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21289 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21290 {
21291 PyThreadState* __tstate = wxPyBeginAllowThreads();
21292 {
d3b6e4ff 21293 wxString const &_result_ref = (arg1)->GetPrinterCommand();
d14a1e28
RD
21294 result = (wxString *) &_result_ref;
21295 }
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
cc6dd355
RD
21300 {
21301#if wxUSE_UNICODE
21302 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21303#else
21304 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21305#endif
21306 }
d14a1e28
RD
21307 return resultobj;
21308 fail:
21309 return NULL;
21310}
21311
21312
d3b6e4ff 21313static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21314 PyObject *resultobj;
21315 wxPrintData *arg1 = (wxPrintData *) 0 ;
21316 wxString *result;
21317 PyObject * obj0 = 0 ;
21318 char *kwnames[] = {
21319 (char *) "self", NULL
21320 };
21321
d3b6e4ff 21322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
093d3ff1
RD
21323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21324 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21325 {
21326 PyThreadState* __tstate = wxPyBeginAllowThreads();
21327 {
d3b6e4ff 21328 wxString const &_result_ref = (arg1)->GetPrinterOptions();
d14a1e28
RD
21329 result = (wxString *) &_result_ref;
21330 }
21331
21332 wxPyEndAllowThreads(__tstate);
21333 if (PyErr_Occurred()) SWIG_fail;
21334 }
cc6dd355
RD
21335 {
21336#if wxUSE_UNICODE
21337 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21338#else
21339 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21340#endif
21341 }
d14a1e28
RD
21342 return resultobj;
21343 fail:
21344 return NULL;
21345}
21346
21347
d3b6e4ff 21348static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21349 PyObject *resultobj;
21350 wxPrintData *arg1 = (wxPrintData *) 0 ;
21351 wxString *result;
21352 PyObject * obj0 = 0 ;
21353 char *kwnames[] = {
21354 (char *) "self", NULL
21355 };
21356
d3b6e4ff 21357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
21358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21360 {
21361 PyThreadState* __tstate = wxPyBeginAllowThreads();
21362 {
d3b6e4ff 21363 wxString const &_result_ref = (arg1)->GetPreviewCommand();
d14a1e28
RD
21364 result = (wxString *) &_result_ref;
21365 }
21366
21367 wxPyEndAllowThreads(__tstate);
21368 if (PyErr_Occurred()) SWIG_fail;
21369 }
cc6dd355
RD
21370 {
21371#if wxUSE_UNICODE
21372 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21373#else
21374 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21375#endif
21376 }
d14a1e28
RD
21377 return resultobj;
21378 fail:
21379 return NULL;
21380}
21381
21382
c32bde28 21383static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21384 PyObject *resultobj;
21385 wxPrintData *arg1 = (wxPrintData *) 0 ;
21386 wxString *result;
21387 PyObject * obj0 = 0 ;
21388 char *kwnames[] = {
21389 (char *) "self", NULL
21390 };
21391
21392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
21393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21394 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21395 {
21396 PyThreadState* __tstate = wxPyBeginAllowThreads();
21397 {
21398 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21399 result = (wxString *) &_result_ref;
21400 }
21401
21402 wxPyEndAllowThreads(__tstate);
21403 if (PyErr_Occurred()) SWIG_fail;
21404 }
cc6dd355
RD
21405 {
21406#if wxUSE_UNICODE
21407 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21408#else
21409 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21410#endif
21411 }
d14a1e28
RD
21412 return resultobj;
21413 fail:
21414 return NULL;
21415}
21416
21417
c32bde28 21418static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21419 PyObject *resultobj;
21420 wxPrintData *arg1 = (wxPrintData *) 0 ;
21421 double result;
21422 PyObject * obj0 = 0 ;
21423 char *kwnames[] = {
21424 (char *) "self", NULL
21425 };
21426
21427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
093d3ff1
RD
21428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21429 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21430 {
21431 PyThreadState* __tstate = wxPyBeginAllowThreads();
21432 result = (double)(arg1)->GetPrinterScaleX();
21433
21434 wxPyEndAllowThreads(__tstate);
21435 if (PyErr_Occurred()) SWIG_fail;
21436 }
093d3ff1
RD
21437 {
21438 resultobj = SWIG_From_double((double)(result));
21439 }
d14a1e28
RD
21440 return resultobj;
21441 fail:
21442 return NULL;
21443}
21444
21445
c32bde28 21446static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21447 PyObject *resultobj;
21448 wxPrintData *arg1 = (wxPrintData *) 0 ;
21449 double result;
21450 PyObject * obj0 = 0 ;
21451 char *kwnames[] = {
21452 (char *) "self", NULL
21453 };
21454
21455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
093d3ff1
RD
21456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21457 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21458 {
21459 PyThreadState* __tstate = wxPyBeginAllowThreads();
21460 result = (double)(arg1)->GetPrinterScaleY();
21461
21462 wxPyEndAllowThreads(__tstate);
21463 if (PyErr_Occurred()) SWIG_fail;
21464 }
093d3ff1
RD
21465 {
21466 resultobj = SWIG_From_double((double)(result));
21467 }
d14a1e28
RD
21468 return resultobj;
21469 fail:
21470 return NULL;
21471}
21472
21473
c32bde28 21474static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21475 PyObject *resultobj;
21476 wxPrintData *arg1 = (wxPrintData *) 0 ;
21477 long result;
21478 PyObject * obj0 = 0 ;
21479 char *kwnames[] = {
21480 (char *) "self", NULL
21481 };
21482
21483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
093d3ff1
RD
21484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21485 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21486 {
21487 PyThreadState* __tstate = wxPyBeginAllowThreads();
21488 result = (long)(arg1)->GetPrinterTranslateX();
21489
21490 wxPyEndAllowThreads(__tstate);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
093d3ff1
RD
21493 {
21494 resultobj = SWIG_From_long((long)(result));
21495 }
d14a1e28
RD
21496 return resultobj;
21497 fail:
21498 return NULL;
21499}
21500
21501
c32bde28 21502static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21503 PyObject *resultobj;
21504 wxPrintData *arg1 = (wxPrintData *) 0 ;
21505 long result;
21506 PyObject * obj0 = 0 ;
21507 char *kwnames[] = {
21508 (char *) "self", NULL
21509 };
21510
21511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
093d3ff1
RD
21512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21513 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21514 {
21515 PyThreadState* __tstate = wxPyBeginAllowThreads();
21516 result = (long)(arg1)->GetPrinterTranslateY();
21517
21518 wxPyEndAllowThreads(__tstate);
21519 if (PyErr_Occurred()) SWIG_fail;
21520 }
093d3ff1
RD
21521 {
21522 resultobj = SWIG_From_long((long)(result));
21523 }
d14a1e28
RD
21524 return resultobj;
21525 fail:
21526 return NULL;
21527}
21528
21529
d3b6e4ff 21530static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21531 PyObject *resultobj;
21532 wxPrintData *arg1 = (wxPrintData *) 0 ;
d3b6e4ff
RD
21533 wxString *arg2 = 0 ;
21534 bool temp2 = false ;
d14a1e28 21535 PyObject * obj0 = 0 ;
d3b6e4ff 21536 PyObject * obj1 = 0 ;
d14a1e28 21537 char *kwnames[] = {
d3b6e4ff 21538 (char *) "self",(char *) "command", NULL
d14a1e28
RD
21539 };
21540
d3b6e4ff 21541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21543 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
21544 {
21545 arg2 = wxString_in_helper(obj1);
21546 if (arg2 == NULL) SWIG_fail;
21547 temp2 = true;
21548 }
d14a1e28
RD
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 21551 (arg1)->SetPrinterCommand((wxString const &)*arg2);
d14a1e28
RD
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
d3b6e4ff
RD
21556 Py_INCREF(Py_None); resultobj = Py_None;
21557 {
21558 if (temp2)
21559 delete arg2;
21560 }
d14a1e28
RD
21561 return resultobj;
21562 fail:
21563 {
21564 if (temp2)
21565 delete arg2;
21566 }
21567 return NULL;
21568}
21569
21570
c32bde28 21571static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21572 PyObject *resultobj;
21573 wxPrintData *arg1 = (wxPrintData *) 0 ;
21574 wxString *arg2 = 0 ;
ae8162c8 21575 bool temp2 = false ;
d14a1e28
RD
21576 PyObject * obj0 = 0 ;
21577 PyObject * obj1 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self",(char *) "options", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21584 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21585 {
21586 arg2 = wxString_in_helper(obj1);
21587 if (arg2 == NULL) SWIG_fail;
ae8162c8 21588 temp2 = true;
d14a1e28
RD
21589 }
21590 {
21591 PyThreadState* __tstate = wxPyBeginAllowThreads();
21592 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21593
21594 wxPyEndAllowThreads(__tstate);
21595 if (PyErr_Occurred()) SWIG_fail;
21596 }
21597 Py_INCREF(Py_None); resultobj = Py_None;
21598 {
21599 if (temp2)
21600 delete arg2;
21601 }
21602 return resultobj;
21603 fail:
21604 {
21605 if (temp2)
21606 delete arg2;
21607 }
21608 return NULL;
21609}
21610
21611
c32bde28 21612static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21613 PyObject *resultobj;
21614 wxPrintData *arg1 = (wxPrintData *) 0 ;
21615 wxString *arg2 = 0 ;
ae8162c8 21616 bool temp2 = false ;
d14a1e28
RD
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 char *kwnames[] = {
21620 (char *) "self",(char *) "command", NULL
21621 };
21622
21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21625 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21626 {
21627 arg2 = wxString_in_helper(obj1);
21628 if (arg2 == NULL) SWIG_fail;
ae8162c8 21629 temp2 = true;
d14a1e28
RD
21630 }
21631 {
21632 PyThreadState* __tstate = wxPyBeginAllowThreads();
21633 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21634
21635 wxPyEndAllowThreads(__tstate);
21636 if (PyErr_Occurred()) SWIG_fail;
21637 }
21638 Py_INCREF(Py_None); resultobj = Py_None;
21639 {
21640 if (temp2)
21641 delete arg2;
21642 }
21643 return resultobj;
21644 fail:
21645 {
21646 if (temp2)
21647 delete arg2;
21648 }
21649 return NULL;
21650}
21651
21652
c32bde28 21653static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21654 PyObject *resultobj;
21655 wxPrintData *arg1 = (wxPrintData *) 0 ;
21656 wxString *arg2 = 0 ;
ae8162c8 21657 bool temp2 = false ;
d14a1e28
RD
21658 PyObject * obj0 = 0 ;
21659 PyObject * obj1 = 0 ;
21660 char *kwnames[] = {
21661 (char *) "self",(char *) "path", NULL
21662 };
21663
21664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21666 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21667 {
21668 arg2 = wxString_in_helper(obj1);
21669 if (arg2 == NULL) SWIG_fail;
ae8162c8 21670 temp2 = true;
d14a1e28
RD
21671 }
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21675
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 Py_INCREF(Py_None); resultobj = Py_None;
21680 {
21681 if (temp2)
21682 delete arg2;
21683 }
21684 return resultobj;
21685 fail:
21686 {
21687 if (temp2)
21688 delete arg2;
21689 }
21690 return NULL;
21691}
21692
21693
c32bde28 21694static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21695 PyObject *resultobj;
21696 wxPrintData *arg1 = (wxPrintData *) 0 ;
21697 double arg2 ;
21698 PyObject * obj0 = 0 ;
994141e6 21699 PyObject * obj1 = 0 ;
d14a1e28
RD
21700 char *kwnames[] = {
21701 (char *) "self",(char *) "x", NULL
21702 };
21703
994141e6 21704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21706 if (SWIG_arg_fail(1)) SWIG_fail;
21707 {
21708 arg2 = (double)(SWIG_As_double(obj1));
21709 if (SWIG_arg_fail(2)) SWIG_fail;
21710 }
d14a1e28
RD
21711 {
21712 PyThreadState* __tstate = wxPyBeginAllowThreads();
21713 (arg1)->SetPrinterScaleX(arg2);
21714
21715 wxPyEndAllowThreads(__tstate);
21716 if (PyErr_Occurred()) SWIG_fail;
21717 }
21718 Py_INCREF(Py_None); resultobj = Py_None;
21719 return resultobj;
21720 fail:
21721 return NULL;
21722}
21723
21724
c32bde28 21725static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21726 PyObject *resultobj;
21727 wxPrintData *arg1 = (wxPrintData *) 0 ;
21728 double arg2 ;
21729 PyObject * obj0 = 0 ;
994141e6 21730 PyObject * obj1 = 0 ;
d14a1e28
RD
21731 char *kwnames[] = {
21732 (char *) "self",(char *) "y", NULL
21733 };
21734
994141e6 21735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21737 if (SWIG_arg_fail(1)) SWIG_fail;
21738 {
21739 arg2 = (double)(SWIG_As_double(obj1));
21740 if (SWIG_arg_fail(2)) SWIG_fail;
21741 }
d14a1e28
RD
21742 {
21743 PyThreadState* __tstate = wxPyBeginAllowThreads();
21744 (arg1)->SetPrinterScaleY(arg2);
21745
21746 wxPyEndAllowThreads(__tstate);
21747 if (PyErr_Occurred()) SWIG_fail;
21748 }
21749 Py_INCREF(Py_None); resultobj = Py_None;
21750 return resultobj;
21751 fail:
21752 return NULL;
21753}
21754
21755
c32bde28 21756static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21757 PyObject *resultobj;
21758 wxPrintData *arg1 = (wxPrintData *) 0 ;
21759 double arg2 ;
21760 double arg3 ;
21761 PyObject * obj0 = 0 ;
994141e6
RD
21762 PyObject * obj1 = 0 ;
21763 PyObject * obj2 = 0 ;
d14a1e28
RD
21764 char *kwnames[] = {
21765 (char *) "self",(char *) "x",(char *) "y", NULL
21766 };
21767
994141e6 21768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21770 if (SWIG_arg_fail(1)) SWIG_fail;
21771 {
21772 arg2 = (double)(SWIG_As_double(obj1));
21773 if (SWIG_arg_fail(2)) SWIG_fail;
21774 }
21775 {
21776 arg3 = (double)(SWIG_As_double(obj2));
21777 if (SWIG_arg_fail(3)) SWIG_fail;
21778 }
d14a1e28
RD
21779 {
21780 PyThreadState* __tstate = wxPyBeginAllowThreads();
21781 (arg1)->SetPrinterScaling(arg2,arg3);
21782
21783 wxPyEndAllowThreads(__tstate);
21784 if (PyErr_Occurred()) SWIG_fail;
21785 }
21786 Py_INCREF(Py_None); resultobj = Py_None;
21787 return resultobj;
21788 fail:
21789 return NULL;
21790}
21791
21792
c32bde28 21793static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21794 PyObject *resultobj;
21795 wxPrintData *arg1 = (wxPrintData *) 0 ;
21796 long arg2 ;
21797 PyObject * obj0 = 0 ;
994141e6 21798 PyObject * obj1 = 0 ;
d14a1e28
RD
21799 char *kwnames[] = {
21800 (char *) "self",(char *) "x", NULL
21801 };
21802
994141e6 21803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21805 if (SWIG_arg_fail(1)) SWIG_fail;
21806 {
21807 arg2 = (long)(SWIG_As_long(obj1));
21808 if (SWIG_arg_fail(2)) SWIG_fail;
21809 }
d14a1e28
RD
21810 {
21811 PyThreadState* __tstate = wxPyBeginAllowThreads();
21812 (arg1)->SetPrinterTranslateX(arg2);
21813
21814 wxPyEndAllowThreads(__tstate);
21815 if (PyErr_Occurred()) SWIG_fail;
21816 }
21817 Py_INCREF(Py_None); resultobj = Py_None;
21818 return resultobj;
21819 fail:
21820 return NULL;
21821}
21822
21823
c32bde28 21824static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21825 PyObject *resultobj;
21826 wxPrintData *arg1 = (wxPrintData *) 0 ;
21827 long arg2 ;
21828 PyObject * obj0 = 0 ;
994141e6 21829 PyObject * obj1 = 0 ;
d14a1e28
RD
21830 char *kwnames[] = {
21831 (char *) "self",(char *) "y", NULL
21832 };
21833
994141e6 21834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21836 if (SWIG_arg_fail(1)) SWIG_fail;
21837 {
21838 arg2 = (long)(SWIG_As_long(obj1));
21839 if (SWIG_arg_fail(2)) SWIG_fail;
21840 }
d14a1e28
RD
21841 {
21842 PyThreadState* __tstate = wxPyBeginAllowThreads();
21843 (arg1)->SetPrinterTranslateY(arg2);
21844
21845 wxPyEndAllowThreads(__tstate);
21846 if (PyErr_Occurred()) SWIG_fail;
21847 }
21848 Py_INCREF(Py_None); resultobj = Py_None;
21849 return resultobj;
21850 fail:
21851 return NULL;
21852}
21853
21854
c32bde28 21855static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21856 PyObject *resultobj;
21857 wxPrintData *arg1 = (wxPrintData *) 0 ;
21858 long arg2 ;
21859 long arg3 ;
21860 PyObject * obj0 = 0 ;
994141e6
RD
21861 PyObject * obj1 = 0 ;
21862 PyObject * obj2 = 0 ;
d14a1e28
RD
21863 char *kwnames[] = {
21864 (char *) "self",(char *) "x",(char *) "y", NULL
21865 };
21866
994141e6 21867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21869 if (SWIG_arg_fail(1)) SWIG_fail;
21870 {
21871 arg2 = (long)(SWIG_As_long(obj1));
21872 if (SWIG_arg_fail(2)) SWIG_fail;
21873 }
21874 {
21875 arg3 = (long)(SWIG_As_long(obj2));
21876 if (SWIG_arg_fail(3)) SWIG_fail;
21877 }
d14a1e28
RD
21878 {
21879 PyThreadState* __tstate = wxPyBeginAllowThreads();
21880 (arg1)->SetPrinterTranslation(arg2,arg3);
21881
21882 wxPyEndAllowThreads(__tstate);
21883 if (PyErr_Occurred()) SWIG_fail;
21884 }
21885 Py_INCREF(Py_None); resultobj = Py_None;
21886 return resultobj;
21887 fail:
21888 return NULL;
21889}
21890
21891
c32bde28 21892static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21893 PyObject *obj;
21894 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21895 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21896 Py_INCREF(obj);
21897 return Py_BuildValue((char *)"");
21898}
c32bde28 21899static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
21900 PyObject *resultobj;
21901 wxPageSetupDialogData *result;
d14a1e28 21902
11207aef 21903 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d14a1e28
RD
21904 {
21905 PyThreadState* __tstate = wxPyBeginAllowThreads();
21906 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21907
21908 wxPyEndAllowThreads(__tstate);
21909 if (PyErr_Occurred()) SWIG_fail;
21910 }
15afbcd0 21911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
d14a1e28
RD
21912 return resultobj;
21913 fail:
21914 return NULL;
21915}
21916
21917
c32bde28 21918static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
11207aef
RD
21919 PyObject *resultobj;
21920 wxPageSetupDialogData *arg1 = 0 ;
21921 wxPageSetupDialogData *result;
21922 PyObject * obj0 = 0 ;
21923
21924 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
093d3ff1
RD
21925 {
21926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21927 if (SWIG_arg_fail(1)) SWIG_fail;
21928 if (arg1 == NULL) {
21929 SWIG_null_ref("wxPageSetupDialogData");
21930 }
21931 if (SWIG_arg_fail(1)) SWIG_fail;
11207aef
RD
21932 }
21933 {
21934 PyThreadState* __tstate = wxPyBeginAllowThreads();
21935 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21936
21937 wxPyEndAllowThreads(__tstate);
21938 if (PyErr_Occurred()) SWIG_fail;
21939 }
21940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21941 return resultobj;
21942 fail:
21943 return NULL;
21944}
21945
21946
7557b9b5
RD
21947static PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *, PyObject *args) {
21948 PyObject *resultobj;
21949 wxPrintData *arg1 = 0 ;
21950 wxPageSetupDialogData *result;
21951 PyObject * obj0 = 0 ;
21952
21953 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
21954 {
21955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21956 if (SWIG_arg_fail(1)) SWIG_fail;
21957 if (arg1 == NULL) {
21958 SWIG_null_ref("wxPrintData");
21959 }
21960 if (SWIG_arg_fail(1)) SWIG_fail;
21961 }
21962 {
21963 PyThreadState* __tstate = wxPyBeginAllowThreads();
21964 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
21965
21966 wxPyEndAllowThreads(__tstate);
21967 if (PyErr_Occurred()) SWIG_fail;
21968 }
21969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21970 return resultobj;
21971 fail:
21972 return NULL;
21973}
21974
21975
11207aef
RD
21976static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21977 int argc;
21978 PyObject *argv[2];
21979 int ii;
21980
21981 argc = PyObject_Length(args);
21982 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21983 argv[ii] = PyTuple_GetItem(args,ii);
21984 }
21985 if (argc == 0) {
21986 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21987 }
21988 if (argc == 1) {
21989 int _v;
21990 {
093d3ff1 21991 void *ptr = 0;
11207aef
RD
21992 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21993 _v = 0;
21994 PyErr_Clear();
21995 } else {
093d3ff1 21996 _v = (ptr != 0);
11207aef
RD
21997 }
21998 }
21999 if (_v) {
22000 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
22001 }
22002 }
7557b9b5
RD
22003 if (argc == 1) {
22004 int _v;
22005 {
22006 void *ptr = 0;
22007 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22008 _v = 0;
22009 PyErr_Clear();
22010 } else {
22011 _v = (ptr != 0);
22012 }
22013 }
22014 if (_v) {
22015 return _wrap_new_PageSetupDialogData__SWIG_2(self,args);
22016 }
22017 }
11207aef 22018
093d3ff1 22019 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
11207aef
RD
22020 return NULL;
22021}
22022
22023
c32bde28 22024static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22025 PyObject *resultobj;
22026 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22027 PyObject * obj0 = 0 ;
22028 char *kwnames[] = {
22029 (char *) "self", NULL
22030 };
22031
22032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22034 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22035 {
22036 PyThreadState* __tstate = wxPyBeginAllowThreads();
22037 delete arg1;
22038
22039 wxPyEndAllowThreads(__tstate);
22040 if (PyErr_Occurred()) SWIG_fail;
22041 }
22042 Py_INCREF(Py_None); resultobj = Py_None;
22043 return resultobj;
22044 fail:
22045 return NULL;
22046}
22047
22048
c32bde28 22049static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22050 PyObject *resultobj;
22051 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22052 bool arg2 ;
22053 PyObject * obj0 = 0 ;
22054 PyObject * obj1 = 0 ;
22055 char *kwnames[] = {
22056 (char *) "self",(char *) "flag", NULL
22057 };
22058
22059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22061 if (SWIG_arg_fail(1)) SWIG_fail;
22062 {
22063 arg2 = (bool)(SWIG_As_bool(obj1));
22064 if (SWIG_arg_fail(2)) SWIG_fail;
22065 }
d14a1e28
RD
22066 {
22067 PyThreadState* __tstate = wxPyBeginAllowThreads();
22068 (arg1)->EnableHelp(arg2);
22069
22070 wxPyEndAllowThreads(__tstate);
22071 if (PyErr_Occurred()) SWIG_fail;
22072 }
22073 Py_INCREF(Py_None); resultobj = Py_None;
22074 return resultobj;
22075 fail:
22076 return NULL;
22077}
22078
22079
c32bde28 22080static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22081 PyObject *resultobj;
22082 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22083 bool arg2 ;
22084 PyObject * obj0 = 0 ;
22085 PyObject * obj1 = 0 ;
22086 char *kwnames[] = {
22087 (char *) "self",(char *) "flag", NULL
22088 };
22089
22090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22092 if (SWIG_arg_fail(1)) SWIG_fail;
22093 {
22094 arg2 = (bool)(SWIG_As_bool(obj1));
22095 if (SWIG_arg_fail(2)) SWIG_fail;
22096 }
d14a1e28
RD
22097 {
22098 PyThreadState* __tstate = wxPyBeginAllowThreads();
22099 (arg1)->EnableMargins(arg2);
22100
22101 wxPyEndAllowThreads(__tstate);
22102 if (PyErr_Occurred()) SWIG_fail;
22103 }
22104 Py_INCREF(Py_None); resultobj = Py_None;
22105 return resultobj;
22106 fail:
22107 return NULL;
22108}
22109
22110
c32bde28 22111static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22112 PyObject *resultobj;
22113 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22114 bool arg2 ;
22115 PyObject * obj0 = 0 ;
22116 PyObject * obj1 = 0 ;
22117 char *kwnames[] = {
22118 (char *) "self",(char *) "flag", NULL
22119 };
22120
22121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22123 if (SWIG_arg_fail(1)) SWIG_fail;
22124 {
22125 arg2 = (bool)(SWIG_As_bool(obj1));
22126 if (SWIG_arg_fail(2)) SWIG_fail;
22127 }
d14a1e28
RD
22128 {
22129 PyThreadState* __tstate = wxPyBeginAllowThreads();
22130 (arg1)->EnableOrientation(arg2);
22131
22132 wxPyEndAllowThreads(__tstate);
22133 if (PyErr_Occurred()) SWIG_fail;
22134 }
22135 Py_INCREF(Py_None); resultobj = Py_None;
22136 return resultobj;
22137 fail:
22138 return NULL;
22139}
22140
22141
c32bde28 22142static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22143 PyObject *resultobj;
22144 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22145 bool arg2 ;
22146 PyObject * obj0 = 0 ;
22147 PyObject * obj1 = 0 ;
22148 char *kwnames[] = {
22149 (char *) "self",(char *) "flag", NULL
22150 };
22151
22152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22154 if (SWIG_arg_fail(1)) SWIG_fail;
22155 {
22156 arg2 = (bool)(SWIG_As_bool(obj1));
22157 if (SWIG_arg_fail(2)) SWIG_fail;
22158 }
d14a1e28
RD
22159 {
22160 PyThreadState* __tstate = wxPyBeginAllowThreads();
22161 (arg1)->EnablePaper(arg2);
22162
22163 wxPyEndAllowThreads(__tstate);
22164 if (PyErr_Occurred()) SWIG_fail;
22165 }
22166 Py_INCREF(Py_None); resultobj = Py_None;
22167 return resultobj;
22168 fail:
22169 return NULL;
22170}
22171
22172
c32bde28 22173static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22174 PyObject *resultobj;
22175 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22176 bool arg2 ;
22177 PyObject * obj0 = 0 ;
22178 PyObject * obj1 = 0 ;
22179 char *kwnames[] = {
22180 (char *) "self",(char *) "flag", NULL
22181 };
22182
22183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22185 if (SWIG_arg_fail(1)) SWIG_fail;
22186 {
22187 arg2 = (bool)(SWIG_As_bool(obj1));
22188 if (SWIG_arg_fail(2)) SWIG_fail;
22189 }
d14a1e28
RD
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 (arg1)->EnablePrinter(arg2);
22193
22194 wxPyEndAllowThreads(__tstate);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
22197 Py_INCREF(Py_None); resultobj = Py_None;
22198 return resultobj;
22199 fail:
22200 return NULL;
22201}
22202
22203
c32bde28 22204static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22205 PyObject *resultobj;
22206 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22207 bool result;
22208 PyObject * obj0 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "self", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
22214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22215 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 result = (bool)(arg1)->GetDefaultMinMargins();
22219
22220 wxPyEndAllowThreads(__tstate);
22221 if (PyErr_Occurred()) SWIG_fail;
22222 }
4f89f6a3
RD
22223 {
22224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22225 }
d14a1e28
RD
22226 return resultobj;
22227 fail:
22228 return NULL;
22229}
22230
22231
c32bde28 22232static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22233 PyObject *resultobj;
22234 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22235 bool result;
22236 PyObject * obj0 = 0 ;
22237 char *kwnames[] = {
22238 (char *) "self", NULL
22239 };
22240
22241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
22242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22243 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 result = (bool)(arg1)->GetEnableMargins();
22247
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
4f89f6a3
RD
22251 {
22252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22253 }
d14a1e28
RD
22254 return resultobj;
22255 fail:
22256 return NULL;
22257}
22258
22259
c32bde28 22260static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22261 PyObject *resultobj;
22262 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22263 bool result;
22264 PyObject * obj0 = 0 ;
22265 char *kwnames[] = {
22266 (char *) "self", NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
22270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22271 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22272 {
22273 PyThreadState* __tstate = wxPyBeginAllowThreads();
22274 result = (bool)(arg1)->GetEnableOrientation();
22275
22276 wxPyEndAllowThreads(__tstate);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 }
4f89f6a3
RD
22279 {
22280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22281 }
d14a1e28
RD
22282 return resultobj;
22283 fail:
22284 return NULL;
22285}
22286
22287
c32bde28 22288static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22289 PyObject *resultobj;
22290 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22291 bool result;
22292 PyObject * obj0 = 0 ;
22293 char *kwnames[] = {
22294 (char *) "self", NULL
22295 };
22296
22297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
093d3ff1
RD
22298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22299 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22300 {
22301 PyThreadState* __tstate = wxPyBeginAllowThreads();
22302 result = (bool)(arg1)->GetEnablePaper();
22303
22304 wxPyEndAllowThreads(__tstate);
22305 if (PyErr_Occurred()) SWIG_fail;
22306 }
4f89f6a3
RD
22307 {
22308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22309 }
d14a1e28
RD
22310 return resultobj;
22311 fail:
22312 return NULL;
22313}
22314
22315
c32bde28 22316static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22317 PyObject *resultobj;
22318 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22319 bool result;
22320 PyObject * obj0 = 0 ;
22321 char *kwnames[] = {
22322 (char *) "self", NULL
22323 };
22324
22325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
22326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22328 {
22329 PyThreadState* __tstate = wxPyBeginAllowThreads();
22330 result = (bool)(arg1)->GetEnablePrinter();
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
4f89f6a3
RD
22335 {
22336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22337 }
d14a1e28
RD
22338 return resultobj;
22339 fail:
22340 return NULL;
22341}
22342
22343
c32bde28 22344static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22345 PyObject *resultobj;
22346 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22347 bool result;
22348 PyObject * obj0 = 0 ;
22349 char *kwnames[] = {
22350 (char *) "self", NULL
22351 };
22352
22353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
22354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22355 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22356 {
22357 PyThreadState* __tstate = wxPyBeginAllowThreads();
22358 result = (bool)(arg1)->GetEnableHelp();
22359
22360 wxPyEndAllowThreads(__tstate);
22361 if (PyErr_Occurred()) SWIG_fail;
22362 }
4f89f6a3
RD
22363 {
22364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22365 }
d14a1e28
RD
22366 return resultobj;
22367 fail:
22368 return NULL;
22369}
22370
22371
c32bde28 22372static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22373 PyObject *resultobj;
22374 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22375 bool result;
22376 PyObject * obj0 = 0 ;
22377 char *kwnames[] = {
22378 (char *) "self", NULL
22379 };
22380
22381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
22382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22383 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22384 {
22385 PyThreadState* __tstate = wxPyBeginAllowThreads();
22386 result = (bool)(arg1)->GetDefaultInfo();
22387
22388 wxPyEndAllowThreads(__tstate);
22389 if (PyErr_Occurred()) SWIG_fail;
22390 }
4f89f6a3
RD
22391 {
22392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22393 }
d14a1e28
RD
22394 return resultobj;
22395 fail:
22396 return NULL;
22397}
22398
22399
c32bde28 22400static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22401 PyObject *resultobj;
22402 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22403 wxPoint result;
22404 PyObject * obj0 = 0 ;
22405 char *kwnames[] = {
22406 (char *) "self", NULL
22407 };
22408
22409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22411 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
22414 result = (arg1)->GetMarginTopLeft();
22415
22416 wxPyEndAllowThreads(__tstate);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 }
22419 {
22420 wxPoint * resultptr;
093d3ff1 22421 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 22422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22423 }
22424 return resultobj;
22425 fail:
22426 return NULL;
22427}
22428
22429
c32bde28 22430static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22431 PyObject *resultobj;
22432 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22433 wxPoint result;
22434 PyObject * obj0 = 0 ;
22435 char *kwnames[] = {
22436 (char *) "self", NULL
22437 };
22438
22439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22441 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22442 {
22443 PyThreadState* __tstate = wxPyBeginAllowThreads();
22444 result = (arg1)->GetMarginBottomRight();
22445
22446 wxPyEndAllowThreads(__tstate);
22447 if (PyErr_Occurred()) SWIG_fail;
22448 }
22449 {
22450 wxPoint * resultptr;
093d3ff1 22451 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 22452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22453 }
22454 return resultobj;
22455 fail:
22456 return NULL;
22457}
22458
22459
c32bde28 22460static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22461 PyObject *resultobj;
22462 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22463 wxPoint result;
22464 PyObject * obj0 = 0 ;
22465 char *kwnames[] = {
22466 (char *) "self", NULL
22467 };
22468
22469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22471 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22472 {
22473 PyThreadState* __tstate = wxPyBeginAllowThreads();
22474 result = (arg1)->GetMinMarginTopLeft();
22475
22476 wxPyEndAllowThreads(__tstate);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 }
22479 {
22480 wxPoint * resultptr;
093d3ff1 22481 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 22482 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22483 }
22484 return resultobj;
22485 fail:
22486 return NULL;
22487}
22488
22489
c32bde28 22490static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22491 PyObject *resultobj;
22492 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22493 wxPoint result;
22494 PyObject * obj0 = 0 ;
22495 char *kwnames[] = {
22496 (char *) "self", NULL
22497 };
22498
22499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22501 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22502 {
22503 PyThreadState* __tstate = wxPyBeginAllowThreads();
22504 result = (arg1)->GetMinMarginBottomRight();
22505
22506 wxPyEndAllowThreads(__tstate);
22507 if (PyErr_Occurred()) SWIG_fail;
22508 }
22509 {
22510 wxPoint * resultptr;
093d3ff1 22511 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 22512 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22513 }
22514 return resultobj;
22515 fail:
22516 return NULL;
22517}
22518
22519
c32bde28 22520static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22521 PyObject *resultobj;
22522 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22523 wxPaperSize result;
d14a1e28
RD
22524 PyObject * obj0 = 0 ;
22525 char *kwnames[] = {
22526 (char *) "self", NULL
22527 };
22528
22529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
22530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22531 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22534 result = (wxPaperSize)(arg1)->GetPaperId();
d14a1e28
RD
22535
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
093d3ff1 22539 resultobj = SWIG_From_int((result));
d14a1e28
RD
22540 return resultobj;
22541 fail:
22542 return NULL;
22543}
22544
22545
c32bde28 22546static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22547 PyObject *resultobj;
22548 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22549 wxSize result;
22550 PyObject * obj0 = 0 ;
22551 char *kwnames[] = {
22552 (char *) "self", NULL
22553 };
22554
22555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22557 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22558 {
22559 PyThreadState* __tstate = wxPyBeginAllowThreads();
22560 result = (arg1)->GetPaperSize();
22561
22562 wxPyEndAllowThreads(__tstate);
22563 if (PyErr_Occurred()) SWIG_fail;
22564 }
22565 {
22566 wxSize * resultptr;
093d3ff1 22567 resultptr = new wxSize((wxSize &)(result));
15afbcd0 22568 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22569 }
22570 return resultobj;
22571 fail:
22572 return NULL;
22573}
22574
22575
c32bde28 22576static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22577 PyObject *resultobj;
22578 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22579 wxPrintData *result;
22580 PyObject * obj0 = 0 ;
22581 char *kwnames[] = {
22582 (char *) "self", NULL
22583 };
22584
22585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22587 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22588 {
22589 PyThreadState* __tstate = wxPyBeginAllowThreads();
22590 {
22591 wxPrintData &_result_ref = (arg1)->GetPrintData();
22592 result = (wxPrintData *) &_result_ref;
22593 }
22594
22595 wxPyEndAllowThreads(__tstate);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 }
15afbcd0 22598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
22599 return resultobj;
22600 fail:
22601 return NULL;
22602}
22603
22604
c32bde28 22605static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22606 PyObject *resultobj;
22607 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22608 bool result;
22609 PyObject * obj0 = 0 ;
22610 char *kwnames[] = {
22611 (char *) "self", NULL
22612 };
22613
22614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
22615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22616 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22617 {
22618 PyThreadState* __tstate = wxPyBeginAllowThreads();
22619 result = (bool)(arg1)->Ok();
22620
22621 wxPyEndAllowThreads(__tstate);
22622 if (PyErr_Occurred()) SWIG_fail;
22623 }
4f89f6a3
RD
22624 {
22625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22626 }
d14a1e28
RD
22627 return resultobj;
22628 fail:
22629 return NULL;
22630}
22631
22632
c32bde28 22633static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22634 PyObject *resultobj;
22635 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22636 bool arg2 ;
22637 PyObject * obj0 = 0 ;
22638 PyObject * obj1 = 0 ;
22639 char *kwnames[] = {
22640 (char *) "self",(char *) "flag", NULL
22641 };
22642
22643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22645 if (SWIG_arg_fail(1)) SWIG_fail;
22646 {
22647 arg2 = (bool)(SWIG_As_bool(obj1));
22648 if (SWIG_arg_fail(2)) SWIG_fail;
22649 }
d14a1e28
RD
22650 {
22651 PyThreadState* __tstate = wxPyBeginAllowThreads();
22652 (arg1)->SetDefaultInfo(arg2);
22653
22654 wxPyEndAllowThreads(__tstate);
22655 if (PyErr_Occurred()) SWIG_fail;
22656 }
22657 Py_INCREF(Py_None); resultobj = Py_None;
22658 return resultobj;
22659 fail:
22660 return NULL;
22661}
22662
22663
c32bde28 22664static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22665 PyObject *resultobj;
22666 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22667 bool arg2 ;
22668 PyObject * obj0 = 0 ;
22669 PyObject * obj1 = 0 ;
22670 char *kwnames[] = {
22671 (char *) "self",(char *) "flag", NULL
22672 };
22673
22674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22676 if (SWIG_arg_fail(1)) SWIG_fail;
22677 {
22678 arg2 = (bool)(SWIG_As_bool(obj1));
22679 if (SWIG_arg_fail(2)) SWIG_fail;
22680 }
d14a1e28
RD
22681 {
22682 PyThreadState* __tstate = wxPyBeginAllowThreads();
22683 (arg1)->SetDefaultMinMargins(arg2);
22684
22685 wxPyEndAllowThreads(__tstate);
22686 if (PyErr_Occurred()) SWIG_fail;
22687 }
22688 Py_INCREF(Py_None); resultobj = Py_None;
22689 return resultobj;
22690 fail:
22691 return NULL;
22692}
22693
22694
c32bde28 22695static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22696 PyObject *resultobj;
22697 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22698 wxPoint *arg2 = 0 ;
22699 wxPoint temp2 ;
22700 PyObject * obj0 = 0 ;
22701 PyObject * obj1 = 0 ;
22702 char *kwnames[] = {
22703 (char *) "self",(char *) "pt", NULL
22704 };
22705
22706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22708 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22709 {
22710 arg2 = &temp2;
22711 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22712 }
22713 {
22714 PyThreadState* __tstate = wxPyBeginAllowThreads();
22715 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22716
22717 wxPyEndAllowThreads(__tstate);
22718 if (PyErr_Occurred()) SWIG_fail;
22719 }
22720 Py_INCREF(Py_None); resultobj = Py_None;
22721 return resultobj;
22722 fail:
22723 return NULL;
22724}
22725
22726
c32bde28 22727static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22728 PyObject *resultobj;
22729 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22730 wxPoint *arg2 = 0 ;
22731 wxPoint temp2 ;
22732 PyObject * obj0 = 0 ;
22733 PyObject * obj1 = 0 ;
22734 char *kwnames[] = {
22735 (char *) "self",(char *) "pt", NULL
22736 };
22737
22738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22740 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22741 {
22742 arg2 = &temp2;
22743 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22744 }
22745 {
22746 PyThreadState* __tstate = wxPyBeginAllowThreads();
22747 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22748
22749 wxPyEndAllowThreads(__tstate);
22750 if (PyErr_Occurred()) SWIG_fail;
22751 }
22752 Py_INCREF(Py_None); resultobj = Py_None;
22753 return resultobj;
22754 fail:
22755 return NULL;
22756}
22757
22758
c32bde28 22759static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22760 PyObject *resultobj;
22761 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22762 wxPoint *arg2 = 0 ;
22763 wxPoint temp2 ;
22764 PyObject * obj0 = 0 ;
22765 PyObject * obj1 = 0 ;
22766 char *kwnames[] = {
22767 (char *) "self",(char *) "pt", NULL
22768 };
22769
22770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22772 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22773 {
22774 arg2 = &temp2;
22775 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22776 }
22777 {
22778 PyThreadState* __tstate = wxPyBeginAllowThreads();
22779 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22780
22781 wxPyEndAllowThreads(__tstate);
22782 if (PyErr_Occurred()) SWIG_fail;
22783 }
22784 Py_INCREF(Py_None); resultobj = Py_None;
22785 return resultobj;
22786 fail:
22787 return NULL;
22788}
22789
22790
c32bde28 22791static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22792 PyObject *resultobj;
22793 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22794 wxPoint *arg2 = 0 ;
22795 wxPoint temp2 ;
22796 PyObject * obj0 = 0 ;
22797 PyObject * obj1 = 0 ;
22798 char *kwnames[] = {
22799 (char *) "self",(char *) "pt", NULL
22800 };
22801
22802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22804 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22805 {
22806 arg2 = &temp2;
22807 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22808 }
22809 {
22810 PyThreadState* __tstate = wxPyBeginAllowThreads();
22811 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22812
22813 wxPyEndAllowThreads(__tstate);
22814 if (PyErr_Occurred()) SWIG_fail;
22815 }
22816 Py_INCREF(Py_None); resultobj = Py_None;
22817 return resultobj;
22818 fail:
22819 return NULL;
22820}
22821
22822
c32bde28 22823static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22824 PyObject *resultobj;
22825 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22826 wxPaperSize arg2 ;
d14a1e28 22827 PyObject * obj0 = 0 ;
994141e6 22828 PyObject * obj1 = 0 ;
d14a1e28
RD
22829 char *kwnames[] = {
22830 (char *) "self",(char *) "id", NULL
22831 };
22832
994141e6 22833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22835 if (SWIG_arg_fail(1)) SWIG_fail;
22836 {
22837 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22838 if (SWIG_arg_fail(2)) SWIG_fail;
22839 }
d14a1e28
RD
22840 {
22841 PyThreadState* __tstate = wxPyBeginAllowThreads();
22842 (arg1)->SetPaperId((wxPaperSize )arg2);
22843
22844 wxPyEndAllowThreads(__tstate);
22845 if (PyErr_Occurred()) SWIG_fail;
22846 }
22847 Py_INCREF(Py_None); resultobj = Py_None;
22848 return resultobj;
22849 fail:
22850 return NULL;
22851}
22852
22853
c32bde28 22854static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22855 PyObject *resultobj;
22856 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22857 wxSize *arg2 = 0 ;
22858 wxSize temp2 ;
22859 PyObject * obj0 = 0 ;
22860 PyObject * obj1 = 0 ;
22861 char *kwnames[] = {
22862 (char *) "self",(char *) "size", NULL
22863 };
22864
22865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22867 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22868 {
22869 arg2 = &temp2;
22870 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22871 }
22872 {
22873 PyThreadState* __tstate = wxPyBeginAllowThreads();
22874 (arg1)->SetPaperSize((wxSize const &)*arg2);
22875
22876 wxPyEndAllowThreads(__tstate);
22877 if (PyErr_Occurred()) SWIG_fail;
22878 }
22879 Py_INCREF(Py_None); resultobj = Py_None;
22880 return resultobj;
22881 fail:
22882 return NULL;
22883}
22884
22885
c32bde28 22886static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22887 PyObject *resultobj;
22888 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22889 wxPrintData *arg2 = 0 ;
22890 PyObject * obj0 = 0 ;
22891 PyObject * obj1 = 0 ;
22892 char *kwnames[] = {
22893 (char *) "self",(char *) "printData", NULL
22894 };
22895
22896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail;
22899 {
22900 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22901 if (SWIG_arg_fail(2)) SWIG_fail;
22902 if (arg2 == NULL) {
22903 SWIG_null_ref("wxPrintData");
22904 }
22905 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22906 }
22907 {
22908 PyThreadState* __tstate = wxPyBeginAllowThreads();
22909 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22910
22911 wxPyEndAllowThreads(__tstate);
22912 if (PyErr_Occurred()) SWIG_fail;
22913 }
22914 Py_INCREF(Py_None); resultobj = Py_None;
22915 return resultobj;
22916 fail:
22917 return NULL;
22918}
22919
22920
7557b9b5
RD
22921static PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
22922 PyObject *resultobj;
22923 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22924 PyObject * obj0 = 0 ;
22925 char *kwnames[] = {
22926 (char *) "self", NULL
22927 };
22928
22929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames,&obj0)) goto fail;
22930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22931 if (SWIG_arg_fail(1)) SWIG_fail;
22932 {
22933 PyThreadState* __tstate = wxPyBeginAllowThreads();
22934 (arg1)->CalculateIdFromPaperSize();
22935
22936 wxPyEndAllowThreads(__tstate);
22937 if (PyErr_Occurred()) SWIG_fail;
22938 }
22939 Py_INCREF(Py_None); resultobj = Py_None;
22940 return resultobj;
22941 fail:
22942 return NULL;
22943}
22944
22945
22946static PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *, PyObject *args, PyObject *kwargs) {
22947 PyObject *resultobj;
22948 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22949 PyObject * obj0 = 0 ;
22950 char *kwnames[] = {
22951 (char *) "self", NULL
22952 };
22953
22954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames,&obj0)) goto fail;
22955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22956 if (SWIG_arg_fail(1)) SWIG_fail;
22957 {
22958 PyThreadState* __tstate = wxPyBeginAllowThreads();
22959 (arg1)->CalculatePaperSizeFromId();
22960
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 Py_INCREF(Py_None); resultobj = Py_None;
22965 return resultobj;
22966 fail:
22967 return NULL;
22968}
22969
22970
c32bde28 22971static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22972 PyObject *obj;
22973 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22974 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22975 Py_INCREF(obj);
22976 return Py_BuildValue((char *)"");
22977}
c32bde28 22978static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22979 PyObject *resultobj;
22980 wxWindow *arg1 = (wxWindow *) 0 ;
22981 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22982 wxPageSetupDialog *result;
22983 PyObject * obj0 = 0 ;
22984 PyObject * obj1 = 0 ;
22985 char *kwnames[] = {
22986 (char *) "parent",(char *) "data", NULL
22987 };
22988
22989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22991 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 22992 if (obj1) {
093d3ff1
RD
22993 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22994 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22995 }
22996 {
e3b71cb8 22997 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22998 PyThreadState* __tstate = wxPyBeginAllowThreads();
22999 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
23000
23001 wxPyEndAllowThreads(__tstate);
110da5b0 23002 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23003 }
15afbcd0 23004 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
d14a1e28
RD
23005 return resultobj;
23006 fail:
23007 return NULL;
23008}
23009
23010
c32bde28 23011static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23012 PyObject *resultobj;
23013 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23014 wxPageSetupDialogData *result;
23015 PyObject * obj0 = 0 ;
23016 char *kwnames[] = {
23017 (char *) "self", NULL
23018 };
23019
23020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23022 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23023 {
23024 PyThreadState* __tstate = wxPyBeginAllowThreads();
23025 {
23026 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
23027 result = (wxPageSetupDialogData *) &_result_ref;
23028 }
23029
23030 wxPyEndAllowThreads(__tstate);
23031 if (PyErr_Occurred()) SWIG_fail;
23032 }
15afbcd0 23033 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
23034 return resultobj;
23035 fail:
23036 return NULL;
23037}
23038
23039
8ac8dba0
RD
23040static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
23041 PyObject *resultobj;
23042 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23043 wxPageSetupDialogData *result;
23044 PyObject * obj0 = 0 ;
23045 char *kwnames[] = {
23046 (char *) "self", NULL
23047 };
23048
23049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23051 if (SWIG_arg_fail(1)) SWIG_fail;
8ac8dba0
RD
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 {
23055 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
23056 result = (wxPageSetupDialogData *) &_result_ref;
23057 }
23058
23059 wxPyEndAllowThreads(__tstate);
23060 if (PyErr_Occurred()) SWIG_fail;
23061 }
23062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
23063 return resultobj;
23064 fail:
23065 return NULL;
23066}
23067
23068
c32bde28 23069static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23070 PyObject *resultobj;
23071 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
23072 int result;
23073 PyObject * obj0 = 0 ;
23074 char *kwnames[] = {
23075 (char *) "self", NULL
23076 };
23077
23078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
23079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
23080 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23081 {
23082 PyThreadState* __tstate = wxPyBeginAllowThreads();
23083 result = (int)(arg1)->ShowModal();
23084
23085 wxPyEndAllowThreads(__tstate);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 }
093d3ff1
RD
23088 {
23089 resultobj = SWIG_From_int((int)(result));
23090 }
d14a1e28
RD
23091 return resultobj;
23092 fail:
23093 return NULL;
23094}
23095
23096
c32bde28 23097static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23098 PyObject *obj;
23099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23100 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
23101 Py_INCREF(obj);
23102 return Py_BuildValue((char *)"");
23103}
c32bde28 23104static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
23105 PyObject *resultobj;
23106 wxPrintDialogData *result;
d14a1e28 23107
4276dc52 23108 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
d14a1e28
RD
23109 {
23110 PyThreadState* __tstate = wxPyBeginAllowThreads();
23111 result = (wxPrintDialogData *)new wxPrintDialogData();
23112
23113 wxPyEndAllowThreads(__tstate);
23114 if (PyErr_Occurred()) SWIG_fail;
23115 }
15afbcd0 23116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
d14a1e28
RD
23117 return resultobj;
23118 fail:
23119 return NULL;
23120}
23121
23122
c32bde28 23123static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
23124 PyObject *resultobj;
23125 wxPrintData *arg1 = 0 ;
23126 wxPrintDialogData *result;
23127 PyObject * obj0 = 0 ;
23128
23129 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
093d3ff1
RD
23130 {
23131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23132 if (SWIG_arg_fail(1)) SWIG_fail;
23133 if (arg1 == NULL) {
23134 SWIG_null_ref("wxPrintData");
23135 }
23136 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
23137 }
23138 {
23139 PyThreadState* __tstate = wxPyBeginAllowThreads();
23140 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
23141
23142 wxPyEndAllowThreads(__tstate);
23143 if (PyErr_Occurred()) SWIG_fail;
23144 }
23145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23146 return resultobj;
23147 fail:
23148 return NULL;
23149}
23150
23151
7557b9b5
RD
23152static PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *, PyObject *args) {
23153 PyObject *resultobj;
23154 wxPrintDialogData *arg1 = 0 ;
23155 wxPrintDialogData *result;
23156 PyObject * obj0 = 0 ;
23157
23158 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
23159 {
23160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23161 if (SWIG_arg_fail(1)) SWIG_fail;
23162 if (arg1 == NULL) {
23163 SWIG_null_ref("wxPrintDialogData");
23164 }
23165 if (SWIG_arg_fail(1)) SWIG_fail;
23166 }
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
23175 return resultobj;
23176 fail:
23177 return NULL;
23178}
23179
23180
4276dc52
RD
23181static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
23182 int argc;
23183 PyObject *argv[2];
23184 int ii;
23185
23186 argc = PyObject_Length(args);
23187 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
23188 argv[ii] = PyTuple_GetItem(args,ii);
23189 }
23190 if (argc == 0) {
23191 return _wrap_new_PrintDialogData__SWIG_0(self,args);
23192 }
23193 if (argc == 1) {
23194 int _v;
23195 {
093d3ff1 23196 void *ptr = 0;
4276dc52
RD
23197 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
23198 _v = 0;
23199 PyErr_Clear();
23200 } else {
093d3ff1 23201 _v = (ptr != 0);
4276dc52
RD
23202 }
23203 }
23204 if (_v) {
23205 return _wrap_new_PrintDialogData__SWIG_1(self,args);
23206 }
23207 }
7557b9b5
RD
23208 if (argc == 1) {
23209 int _v;
23210 {
23211 void *ptr = 0;
23212 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
23213 _v = 0;
23214 PyErr_Clear();
23215 } else {
23216 _v = (ptr != 0);
23217 }
23218 }
23219 if (_v) {
23220 return _wrap_new_PrintDialogData__SWIG_2(self,args);
23221 }
23222 }
4276dc52 23223
093d3ff1 23224 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
4276dc52
RD
23225 return NULL;
23226}
23227
23228
c32bde28 23229static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23230 PyObject *resultobj;
23231 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23232 PyObject * obj0 = 0 ;
23233 char *kwnames[] = {
23234 (char *) "self", NULL
23235 };
23236
23237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23239 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23240 {
23241 PyThreadState* __tstate = wxPyBeginAllowThreads();
23242 delete arg1;
23243
23244 wxPyEndAllowThreads(__tstate);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 }
23247 Py_INCREF(Py_None); resultobj = Py_None;
23248 return resultobj;
23249 fail:
23250 return NULL;
23251}
23252
23253
c32bde28 23254static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23255 PyObject *resultobj;
23256 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23257 int result;
23258 PyObject * obj0 = 0 ;
23259 char *kwnames[] = {
23260 (char *) "self", NULL
23261 };
23262
23263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23265 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
23269
23270 wxPyEndAllowThreads(__tstate);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 }
093d3ff1
RD
23273 {
23274 resultobj = SWIG_From_int((int)(result));
23275 }
d14a1e28
RD
23276 return resultobj;
23277 fail:
23278 return NULL;
23279}
23280
23281
c32bde28 23282static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23283 PyObject *resultobj;
23284 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23285 int result;
23286 PyObject * obj0 = 0 ;
23287 char *kwnames[] = {
23288 (char *) "self", NULL
23289 };
23290
23291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23293 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23294 {
23295 PyThreadState* __tstate = wxPyBeginAllowThreads();
23296 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
23297
23298 wxPyEndAllowThreads(__tstate);
23299 if (PyErr_Occurred()) SWIG_fail;
23300 }
093d3ff1
RD
23301 {
23302 resultobj = SWIG_From_int((int)(result));
23303 }
d14a1e28
RD
23304 return resultobj;
23305 fail:
23306 return NULL;
23307}
23308
23309
c32bde28 23310static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23311 PyObject *resultobj;
23312 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23313 int result;
23314 PyObject * obj0 = 0 ;
23315 char *kwnames[] = {
23316 (char *) "self", NULL
23317 };
23318
23319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23321 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23322 {
23323 PyThreadState* __tstate = wxPyBeginAllowThreads();
23324 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23325
23326 wxPyEndAllowThreads(__tstate);
23327 if (PyErr_Occurred()) SWIG_fail;
23328 }
093d3ff1
RD
23329 {
23330 resultobj = SWIG_From_int((int)(result));
23331 }
d14a1e28
RD
23332 return resultobj;
23333 fail:
23334 return NULL;
23335}
23336
23337
c32bde28 23338static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23339 PyObject *resultobj;
23340 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23341 int result;
23342 PyObject * obj0 = 0 ;
23343 char *kwnames[] = {
23344 (char *) "self", NULL
23345 };
23346
23347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23349 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23350 {
23351 PyThreadState* __tstate = wxPyBeginAllowThreads();
23352 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23353
23354 wxPyEndAllowThreads(__tstate);
23355 if (PyErr_Occurred()) SWIG_fail;
23356 }
093d3ff1
RD
23357 {
23358 resultobj = SWIG_From_int((int)(result));
23359 }
d14a1e28
RD
23360 return resultobj;
23361 fail:
23362 return NULL;
23363}
23364
23365
c32bde28 23366static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23367 PyObject *resultobj;
23368 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23369 int result;
23370 PyObject * obj0 = 0 ;
23371 char *kwnames[] = {
23372 (char *) "self", NULL
23373 };
23374
23375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
23376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23377 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23378 {
23379 PyThreadState* __tstate = wxPyBeginAllowThreads();
23380 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23381
23382 wxPyEndAllowThreads(__tstate);
23383 if (PyErr_Occurred()) SWIG_fail;
23384 }
093d3ff1
RD
23385 {
23386 resultobj = SWIG_From_int((int)(result));
23387 }
d14a1e28
RD
23388 return resultobj;
23389 fail:
23390 return NULL;
23391}
23392
23393
c32bde28 23394static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23395 PyObject *resultobj;
23396 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23397 bool result;
23398 PyObject * obj0 = 0 ;
23399 char *kwnames[] = {
23400 (char *) "self", NULL
23401 };
23402
23403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
23404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23405 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23406 {
23407 PyThreadState* __tstate = wxPyBeginAllowThreads();
23408 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23409
23410 wxPyEndAllowThreads(__tstate);
23411 if (PyErr_Occurred()) SWIG_fail;
23412 }
4f89f6a3
RD
23413 {
23414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23415 }
d14a1e28
RD
23416 return resultobj;
23417 fail:
23418 return NULL;
23419}
23420
23421
c32bde28 23422static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23423 PyObject *resultobj;
23424 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23425 bool result;
23426 PyObject * obj0 = 0 ;
23427 char *kwnames[] = {
23428 (char *) "self", NULL
23429 };
23430
23431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
23432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23433 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23434 {
23435 PyThreadState* __tstate = wxPyBeginAllowThreads();
23436 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23437
23438 wxPyEndAllowThreads(__tstate);
23439 if (PyErr_Occurred()) SWIG_fail;
23440 }
4f89f6a3
RD
23441 {
23442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23443 }
d14a1e28
RD
23444 return resultobj;
23445 fail:
23446 return NULL;
23447}
23448
23449
c32bde28 23450static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23451 PyObject *resultobj;
23452 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23453 bool result;
23454 PyObject * obj0 = 0 ;
23455 char *kwnames[] = {
23456 (char *) "self", NULL
23457 };
23458
23459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23461 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23462 {
23463 PyThreadState* __tstate = wxPyBeginAllowThreads();
23464 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23465
23466 wxPyEndAllowThreads(__tstate);
23467 if (PyErr_Occurred()) SWIG_fail;
23468 }
4f89f6a3
RD
23469 {
23470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23471 }
d14a1e28
RD
23472 return resultobj;
23473 fail:
23474 return NULL;
23475}
23476
23477
c32bde28 23478static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23479 PyObject *resultobj;
23480 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23481 bool result;
23482 PyObject * obj0 = 0 ;
23483 char *kwnames[] = {
23484 (char *) "self", NULL
23485 };
23486
23487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23489 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23490 {
23491 PyThreadState* __tstate = wxPyBeginAllowThreads();
23492 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23493
23494 wxPyEndAllowThreads(__tstate);
23495 if (PyErr_Occurred()) SWIG_fail;
23496 }
4f89f6a3
RD
23497 {
23498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23499 }
d14a1e28
RD
23500 return resultobj;
23501 fail:
23502 return NULL;
23503}
23504
23505
c32bde28 23506static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23507 PyObject *resultobj;
23508 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23509 bool result;
23510 PyObject * obj0 = 0 ;
23511 char *kwnames[] = {
23512 (char *) "self", NULL
23513 };
23514
23515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
23516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23517 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23518 {
23519 PyThreadState* __tstate = wxPyBeginAllowThreads();
23520 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23521
23522 wxPyEndAllowThreads(__tstate);
23523 if (PyErr_Occurred()) SWIG_fail;
23524 }
4f89f6a3
RD
23525 {
23526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23527 }
d14a1e28
RD
23528 return resultobj;
23529 fail:
23530 return NULL;
23531}
23532
23533
d3b6e4ff
RD
23534static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23535 PyObject *resultobj;
23536 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23537 bool arg2 ;
23538 PyObject * obj0 = 0 ;
23539 PyObject * obj1 = 0 ;
23540 char *kwnames[] = {
23541 (char *) "self",(char *) "flag", NULL
23542 };
23543
23544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23546 if (SWIG_arg_fail(1)) SWIG_fail;
23547 {
23548 arg2 = (bool)(SWIG_As_bool(obj1));
23549 if (SWIG_arg_fail(2)) SWIG_fail;
23550 }
d3b6e4ff
RD
23551 {
23552 PyThreadState* __tstate = wxPyBeginAllowThreads();
23553 (arg1)->SetSetupDialog(arg2);
23554
23555 wxPyEndAllowThreads(__tstate);
23556 if (PyErr_Occurred()) SWIG_fail;
23557 }
23558 Py_INCREF(Py_None); resultobj = Py_None;
23559 return resultobj;
23560 fail:
23561 return NULL;
23562}
23563
23564
c32bde28 23565static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23566 PyObject *resultobj;
23567 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23568 int arg2 ;
23569 PyObject * obj0 = 0 ;
994141e6 23570 PyObject * obj1 = 0 ;
d14a1e28
RD
23571 char *kwnames[] = {
23572 (char *) "self",(char *) "v", NULL
23573 };
23574
994141e6 23575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23577 if (SWIG_arg_fail(1)) SWIG_fail;
23578 {
23579 arg2 = (int)(SWIG_As_int(obj1));
23580 if (SWIG_arg_fail(2)) SWIG_fail;
23581 }
d14a1e28
RD
23582 {
23583 PyThreadState* __tstate = wxPyBeginAllowThreads();
23584 (arg1)->SetFromPage(arg2);
23585
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 Py_INCREF(Py_None); resultobj = Py_None;
23590 return resultobj;
23591 fail:
23592 return NULL;
23593}
23594
23595
c32bde28 23596static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23597 PyObject *resultobj;
23598 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23599 int arg2 ;
23600 PyObject * obj0 = 0 ;
994141e6 23601 PyObject * obj1 = 0 ;
d14a1e28
RD
23602 char *kwnames[] = {
23603 (char *) "self",(char *) "v", NULL
23604 };
23605
994141e6 23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23608 if (SWIG_arg_fail(1)) SWIG_fail;
23609 {
23610 arg2 = (int)(SWIG_As_int(obj1));
23611 if (SWIG_arg_fail(2)) SWIG_fail;
23612 }
d14a1e28
RD
23613 {
23614 PyThreadState* __tstate = wxPyBeginAllowThreads();
23615 (arg1)->SetToPage(arg2);
23616
23617 wxPyEndAllowThreads(__tstate);
23618 if (PyErr_Occurred()) SWIG_fail;
23619 }
23620 Py_INCREF(Py_None); resultobj = Py_None;
23621 return resultobj;
23622 fail:
23623 return NULL;
23624}
23625
23626
c32bde28 23627static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23628 PyObject *resultobj;
23629 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23630 int arg2 ;
23631 PyObject * obj0 = 0 ;
994141e6 23632 PyObject * obj1 = 0 ;
d14a1e28
RD
23633 char *kwnames[] = {
23634 (char *) "self",(char *) "v", NULL
23635 };
23636
994141e6 23637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23639 if (SWIG_arg_fail(1)) SWIG_fail;
23640 {
23641 arg2 = (int)(SWIG_As_int(obj1));
23642 if (SWIG_arg_fail(2)) SWIG_fail;
23643 }
d14a1e28
RD
23644 {
23645 PyThreadState* __tstate = wxPyBeginAllowThreads();
23646 (arg1)->SetMinPage(arg2);
23647
23648 wxPyEndAllowThreads(__tstate);
23649 if (PyErr_Occurred()) SWIG_fail;
23650 }
23651 Py_INCREF(Py_None); resultobj = Py_None;
23652 return resultobj;
23653 fail:
23654 return NULL;
23655}
23656
23657
c32bde28 23658static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23659 PyObject *resultobj;
23660 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23661 int arg2 ;
23662 PyObject * obj0 = 0 ;
994141e6 23663 PyObject * obj1 = 0 ;
d14a1e28
RD
23664 char *kwnames[] = {
23665 (char *) "self",(char *) "v", NULL
23666 };
23667
994141e6 23668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23670 if (SWIG_arg_fail(1)) SWIG_fail;
23671 {
23672 arg2 = (int)(SWIG_As_int(obj1));
23673 if (SWIG_arg_fail(2)) SWIG_fail;
23674 }
d14a1e28
RD
23675 {
23676 PyThreadState* __tstate = wxPyBeginAllowThreads();
23677 (arg1)->SetMaxPage(arg2);
23678
23679 wxPyEndAllowThreads(__tstate);
23680 if (PyErr_Occurred()) SWIG_fail;
23681 }
23682 Py_INCREF(Py_None); resultobj = Py_None;
23683 return resultobj;
23684 fail:
23685 return NULL;
23686}
23687
23688
c32bde28 23689static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23690 PyObject *resultobj;
23691 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23692 int arg2 ;
23693 PyObject * obj0 = 0 ;
994141e6 23694 PyObject * obj1 = 0 ;
d14a1e28
RD
23695 char *kwnames[] = {
23696 (char *) "self",(char *) "v", NULL
23697 };
23698
994141e6 23699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23701 if (SWIG_arg_fail(1)) SWIG_fail;
23702 {
23703 arg2 = (int)(SWIG_As_int(obj1));
23704 if (SWIG_arg_fail(2)) SWIG_fail;
23705 }
d14a1e28
RD
23706 {
23707 PyThreadState* __tstate = wxPyBeginAllowThreads();
23708 (arg1)->SetNoCopies(arg2);
23709
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 Py_INCREF(Py_None); resultobj = Py_None;
23714 return resultobj;
23715 fail:
23716 return NULL;
23717}
23718
23719
c32bde28 23720static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23721 PyObject *resultobj;
23722 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23723 bool arg2 ;
23724 PyObject * obj0 = 0 ;
23725 PyObject * obj1 = 0 ;
23726 char *kwnames[] = {
23727 (char *) "self",(char *) "flag", NULL
23728 };
23729
23730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23732 if (SWIG_arg_fail(1)) SWIG_fail;
23733 {
23734 arg2 = (bool)(SWIG_As_bool(obj1));
23735 if (SWIG_arg_fail(2)) SWIG_fail;
23736 }
d14a1e28
RD
23737 {
23738 PyThreadState* __tstate = wxPyBeginAllowThreads();
23739 (arg1)->SetAllPages(arg2);
23740
23741 wxPyEndAllowThreads(__tstate);
23742 if (PyErr_Occurred()) SWIG_fail;
23743 }
23744 Py_INCREF(Py_None); resultobj = Py_None;
23745 return resultobj;
23746 fail:
23747 return NULL;
23748}
23749
23750
c32bde28 23751static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23752 PyObject *resultobj;
23753 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23754 bool arg2 ;
23755 PyObject * obj0 = 0 ;
23756 PyObject * obj1 = 0 ;
23757 char *kwnames[] = {
23758 (char *) "self",(char *) "flag", NULL
23759 };
23760
23761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23763 if (SWIG_arg_fail(1)) SWIG_fail;
23764 {
23765 arg2 = (bool)(SWIG_As_bool(obj1));
23766 if (SWIG_arg_fail(2)) SWIG_fail;
23767 }
d14a1e28
RD
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 (arg1)->SetSelection(arg2);
23771
23772 wxPyEndAllowThreads(__tstate);
23773 if (PyErr_Occurred()) SWIG_fail;
23774 }
23775 Py_INCREF(Py_None); resultobj = Py_None;
23776 return resultobj;
23777 fail:
23778 return NULL;
23779}
23780
23781
c32bde28 23782static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23783 PyObject *resultobj;
23784 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23785 bool arg2 ;
23786 PyObject * obj0 = 0 ;
23787 PyObject * obj1 = 0 ;
23788 char *kwnames[] = {
23789 (char *) "self",(char *) "flag", NULL
23790 };
23791
23792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23794 if (SWIG_arg_fail(1)) SWIG_fail;
23795 {
23796 arg2 = (bool)(SWIG_As_bool(obj1));
23797 if (SWIG_arg_fail(2)) SWIG_fail;
23798 }
d14a1e28
RD
23799 {
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 (arg1)->SetCollate(arg2);
23802
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 Py_INCREF(Py_None); resultobj = Py_None;
23807 return resultobj;
23808 fail:
23809 return NULL;
23810}
23811
23812
c32bde28 23813static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23814 PyObject *resultobj;
23815 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23816 bool arg2 ;
23817 PyObject * obj0 = 0 ;
23818 PyObject * obj1 = 0 ;
23819 char *kwnames[] = {
23820 (char *) "self",(char *) "flag", NULL
23821 };
23822
23823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23825 if (SWIG_arg_fail(1)) SWIG_fail;
23826 {
23827 arg2 = (bool)(SWIG_As_bool(obj1));
23828 if (SWIG_arg_fail(2)) SWIG_fail;
23829 }
d14a1e28
RD
23830 {
23831 PyThreadState* __tstate = wxPyBeginAllowThreads();
23832 (arg1)->SetPrintToFile(arg2);
23833
23834 wxPyEndAllowThreads(__tstate);
23835 if (PyErr_Occurred()) SWIG_fail;
23836 }
23837 Py_INCREF(Py_None); resultobj = Py_None;
23838 return resultobj;
23839 fail:
23840 return NULL;
23841}
23842
23843
c32bde28 23844static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23845 PyObject *resultobj;
23846 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23847 bool arg2 ;
23848 PyObject * obj0 = 0 ;
23849 PyObject * obj1 = 0 ;
23850 char *kwnames[] = {
23851 (char *) "self",(char *) "flag", NULL
23852 };
23853
23854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23856 if (SWIG_arg_fail(1)) SWIG_fail;
23857 {
23858 arg2 = (bool)(SWIG_As_bool(obj1));
23859 if (SWIG_arg_fail(2)) SWIG_fail;
23860 }
d14a1e28
RD
23861 {
23862 PyThreadState* __tstate = wxPyBeginAllowThreads();
23863 (arg1)->EnablePrintToFile(arg2);
23864
23865 wxPyEndAllowThreads(__tstate);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 Py_INCREF(Py_None); resultobj = Py_None;
23869 return resultobj;
23870 fail:
23871 return NULL;
23872}
23873
23874
c32bde28 23875static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23876 PyObject *resultobj;
23877 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23878 bool arg2 ;
23879 PyObject * obj0 = 0 ;
23880 PyObject * obj1 = 0 ;
23881 char *kwnames[] = {
23882 (char *) "self",(char *) "flag", NULL
23883 };
23884
23885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23887 if (SWIG_arg_fail(1)) SWIG_fail;
23888 {
23889 arg2 = (bool)(SWIG_As_bool(obj1));
23890 if (SWIG_arg_fail(2)) SWIG_fail;
23891 }
d14a1e28
RD
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 (arg1)->EnableSelection(arg2);
23895
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 Py_INCREF(Py_None); resultobj = Py_None;
23900 return resultobj;
23901 fail:
23902 return NULL;
23903}
23904
23905
c32bde28 23906static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23907 PyObject *resultobj;
23908 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23909 bool arg2 ;
23910 PyObject * obj0 = 0 ;
23911 PyObject * obj1 = 0 ;
23912 char *kwnames[] = {
23913 (char *) "self",(char *) "flag", NULL
23914 };
23915
23916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23918 if (SWIG_arg_fail(1)) SWIG_fail;
23919 {
23920 arg2 = (bool)(SWIG_As_bool(obj1));
23921 if (SWIG_arg_fail(2)) SWIG_fail;
23922 }
d14a1e28
RD
23923 {
23924 PyThreadState* __tstate = wxPyBeginAllowThreads();
23925 (arg1)->EnablePageNumbers(arg2);
23926
23927 wxPyEndAllowThreads(__tstate);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 }
23930 Py_INCREF(Py_None); resultobj = Py_None;
23931 return resultobj;
23932 fail:
23933 return NULL;
23934}
23935
23936
c32bde28 23937static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23938 PyObject *resultobj;
23939 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23940 bool arg2 ;
23941 PyObject * obj0 = 0 ;
23942 PyObject * obj1 = 0 ;
23943 char *kwnames[] = {
23944 (char *) "self",(char *) "flag", NULL
23945 };
23946
23947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23949 if (SWIG_arg_fail(1)) SWIG_fail;
23950 {
23951 arg2 = (bool)(SWIG_As_bool(obj1));
23952 if (SWIG_arg_fail(2)) SWIG_fail;
23953 }
d14a1e28
RD
23954 {
23955 PyThreadState* __tstate = wxPyBeginAllowThreads();
23956 (arg1)->EnableHelp(arg2);
23957
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 Py_INCREF(Py_None); resultobj = Py_None;
23962 return resultobj;
23963 fail:
23964 return NULL;
23965}
23966
23967
c32bde28 23968static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23969 PyObject *resultobj;
23970 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23971 bool result;
23972 PyObject * obj0 = 0 ;
23973 char *kwnames[] = {
23974 (char *) "self", NULL
23975 };
23976
23977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23979 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23980 {
23981 PyThreadState* __tstate = wxPyBeginAllowThreads();
23982 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23983
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
4f89f6a3
RD
23987 {
23988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23989 }
d14a1e28
RD
23990 return resultobj;
23991 fail:
23992 return NULL;
23993}
23994
23995
c32bde28 23996static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23997 PyObject *resultobj;
23998 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23999 bool result;
24000 PyObject * obj0 = 0 ;
24001 char *kwnames[] = {
24002 (char *) "self", NULL
24003 };
24004
24005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
24006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24007 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
24010 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
4f89f6a3
RD
24015 {
24016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24017 }
d14a1e28
RD
24018 return resultobj;
24019 fail:
24020 return NULL;
24021}
24022
24023
c32bde28 24024static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24025 PyObject *resultobj;
24026 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24027 bool result;
24028 PyObject * obj0 = 0 ;
24029 char *kwnames[] = {
24030 (char *) "self", NULL
24031 };
24032
24033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
093d3ff1
RD
24034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24035 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24036 {
24037 PyThreadState* __tstate = wxPyBeginAllowThreads();
24038 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
24039
24040 wxPyEndAllowThreads(__tstate);
24041 if (PyErr_Occurred()) SWIG_fail;
24042 }
4f89f6a3
RD
24043 {
24044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24045 }
d14a1e28
RD
24046 return resultobj;
24047 fail:
24048 return NULL;
24049}
24050
24051
c32bde28 24052static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24053 PyObject *resultobj;
24054 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24055 bool result;
24056 PyObject * obj0 = 0 ;
24057 char *kwnames[] = {
24058 (char *) "self", NULL
24059 };
24060
24061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
24062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24063 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24064 {
24065 PyThreadState* __tstate = wxPyBeginAllowThreads();
24066 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
24067
24068 wxPyEndAllowThreads(__tstate);
24069 if (PyErr_Occurred()) SWIG_fail;
24070 }
4f89f6a3
RD
24071 {
24072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24073 }
d14a1e28
RD
24074 return resultobj;
24075 fail:
24076 return NULL;
24077}
24078
24079
c32bde28 24080static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24081 PyObject *resultobj;
24082 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24083 bool result;
24084 PyObject * obj0 = 0 ;
24085 char *kwnames[] = {
24086 (char *) "self", NULL
24087 };
24088
24089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
24090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24091 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24092 {
24093 PyThreadState* __tstate = wxPyBeginAllowThreads();
24094 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
24095
24096 wxPyEndAllowThreads(__tstate);
24097 if (PyErr_Occurred()) SWIG_fail;
24098 }
4f89f6a3
RD
24099 {
24100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24101 }
d14a1e28
RD
24102 return resultobj;
24103 fail:
24104 return NULL;
24105}
24106
24107
c32bde28 24108static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24109 PyObject *resultobj;
24110 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24111 wxPrintData *result;
24112 PyObject * obj0 = 0 ;
24113 char *kwnames[] = {
24114 (char *) "self", NULL
24115 };
24116
24117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24119 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24120 {
24121 PyThreadState* __tstate = wxPyBeginAllowThreads();
24122 {
24123 wxPrintData &_result_ref = (arg1)->GetPrintData();
24124 result = (wxPrintData *) &_result_ref;
24125 }
24126
24127 wxPyEndAllowThreads(__tstate);
24128 if (PyErr_Occurred()) SWIG_fail;
24129 }
15afbcd0 24130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
24131 return resultobj;
24132 fail:
24133 return NULL;
24134}
24135
24136
c32bde28 24137static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24138 PyObject *resultobj;
24139 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
24140 wxPrintData *arg2 = 0 ;
24141 PyObject * obj0 = 0 ;
24142 PyObject * obj1 = 0 ;
24143 char *kwnames[] = {
24144 (char *) "self",(char *) "printData", NULL
24145 };
24146
24147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24149 if (SWIG_arg_fail(1)) SWIG_fail;
24150 {
24151 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
24152 if (SWIG_arg_fail(2)) SWIG_fail;
24153 if (arg2 == NULL) {
24154 SWIG_null_ref("wxPrintData");
24155 }
24156 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24157 }
24158 {
24159 PyThreadState* __tstate = wxPyBeginAllowThreads();
24160 (arg1)->SetPrintData((wxPrintData const &)*arg2);
24161
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
24165 Py_INCREF(Py_None); resultobj = Py_None;
24166 return resultobj;
24167 fail:
24168 return NULL;
24169}
24170
24171
c32bde28 24172static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24173 PyObject *obj;
24174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24175 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
24176 Py_INCREF(obj);
24177 return Py_BuildValue((char *)"");
24178}
c32bde28 24179static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24180 PyObject *resultobj;
24181 wxWindow *arg1 = (wxWindow *) 0 ;
24182 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
24183 wxPrintDialog *result;
24184 PyObject * obj0 = 0 ;
24185 PyObject * obj1 = 0 ;
24186 char *kwnames[] = {
24187 (char *) "parent",(char *) "data", NULL
24188 };
24189
24190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24192 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 24193 if (obj1) {
093d3ff1
RD
24194 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24195 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24196 }
24197 {
e3b71cb8 24198 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24199 PyThreadState* __tstate = wxPyBeginAllowThreads();
24200 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
24201
24202 wxPyEndAllowThreads(__tstate);
110da5b0 24203 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24204 }
15afbcd0 24205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
d14a1e28
RD
24206 return resultobj;
24207 fail:
24208 return NULL;
24209}
24210
24211
d3b6e4ff
RD
24212static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
24213 PyObject *resultobj;
24214 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24215 int result;
24216 PyObject * obj0 = 0 ;
24217 char *kwnames[] = {
24218 (char *) "self", NULL
24219 };
24220
24221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
24222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24223 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
24224 {
24225 PyThreadState* __tstate = wxPyBeginAllowThreads();
24226 result = (int)(arg1)->ShowModal();
24227
24228 wxPyEndAllowThreads(__tstate);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 }
093d3ff1
RD
24231 {
24232 resultobj = SWIG_From_int((int)(result));
24233 }
d3b6e4ff
RD
24234 return resultobj;
24235 fail:
24236 return NULL;
24237}
24238
24239
c32bde28 24240static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24241 PyObject *resultobj;
24242 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
24243 wxPrintDialogData *result;
24244 PyObject * obj0 = 0 ;
24245 char *kwnames[] = {
24246 (char *) "self", NULL
24247 };
24248
24249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24251 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24252 {
24253 PyThreadState* __tstate = wxPyBeginAllowThreads();
24254 {
24255 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
24256 result = (wxPrintDialogData *) &_result_ref;
24257 }
24258
24259 wxPyEndAllowThreads(__tstate);
24260 if (PyErr_Occurred()) SWIG_fail;
24261 }
15afbcd0 24262 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
24263 return resultobj;
24264 fail:
24265 return NULL;
24266}
24267
24268
d3b6e4ff 24269static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24270 PyObject *resultobj;
24271 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
d3b6e4ff 24272 wxPrintData *result;
d14a1e28
RD
24273 PyObject * obj0 = 0 ;
24274 char *kwnames[] = {
24275 (char *) "self", NULL
24276 };
24277
d3b6e4ff 24278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24280 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24281 {
24282 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff
RD
24283 {
24284 wxPrintData &_result_ref = (arg1)->GetPrintData();
24285 result = (wxPrintData *) &_result_ref;
24286 }
d14a1e28
RD
24287
24288 wxPyEndAllowThreads(__tstate);
24289 if (PyErr_Occurred()) SWIG_fail;
24290 }
d3b6e4ff 24291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
24292 return resultobj;
24293 fail:
24294 return NULL;
24295}
24296
24297
d3b6e4ff 24298static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24299 PyObject *resultobj;
24300 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
d3b6e4ff 24301 wxDC *result;
d14a1e28
RD
24302 PyObject * obj0 = 0 ;
24303 char *kwnames[] = {
24304 (char *) "self", NULL
24305 };
24306
d3b6e4ff 24307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24309 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24310 {
24311 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24312 result = (wxDC *)(arg1)->GetPrintDC();
d14a1e28
RD
24313
24314 wxPyEndAllowThreads(__tstate);
24315 if (PyErr_Occurred()) SWIG_fail;
24316 }
d3b6e4ff
RD
24317 {
24318 resultobj = wxPyMake_wxObject(result, 1);
24319 }
d14a1e28
RD
24320 return resultobj;
24321 fail:
24322 return NULL;
24323}
24324
24325
c32bde28 24326static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24327 PyObject *obj;
24328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24329 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24330 Py_INCREF(obj);
24331 return Py_BuildValue((char *)"");
24332}
c32bde28 24333static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24334 PyObject *resultobj;
24335 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24336 wxPrinter *result;
24337 PyObject * obj0 = 0 ;
24338 char *kwnames[] = {
24339 (char *) "data", NULL
24340 };
24341
24342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24343 if (obj0) {
093d3ff1
RD
24344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24345 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24346 }
24347 {
e3b71cb8 24348 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 result = (wxPrinter *)new wxPrinter(arg1);
24351
24352 wxPyEndAllowThreads(__tstate);
110da5b0 24353 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24354 }
15afbcd0 24355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
d14a1e28
RD
24356 return resultobj;
24357 fail:
24358 return NULL;
24359}
24360
24361
c32bde28 24362static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24363 PyObject *resultobj;
24364 wxPrinter *arg1 = (wxPrinter *) 0 ;
24365 PyObject * obj0 = 0 ;
24366 char *kwnames[] = {
24367 (char *) "self", NULL
24368 };
24369
24370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
093d3ff1
RD
24371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24372 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24373 {
24374 PyThreadState* __tstate = wxPyBeginAllowThreads();
24375 delete arg1;
24376
24377 wxPyEndAllowThreads(__tstate);
24378 if (PyErr_Occurred()) SWIG_fail;
24379 }
24380 Py_INCREF(Py_None); resultobj = Py_None;
24381 return resultobj;
24382 fail:
24383 return NULL;
24384}
24385
24386
c32bde28 24387static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24388 PyObject *resultobj;
24389 wxPrinter *arg1 = (wxPrinter *) 0 ;
24390 wxWindow *arg2 = (wxWindow *) 0 ;
a68b8331 24391 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
d3b6e4ff 24392 wxWindow *result;
d14a1e28
RD
24393 PyObject * obj0 = 0 ;
24394 PyObject * obj1 = 0 ;
24395 PyObject * obj2 = 0 ;
24396 char *kwnames[] = {
24397 (char *) "self",(char *) "parent",(char *) "printout", NULL
24398 };
24399
24400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24402 if (SWIG_arg_fail(1)) SWIG_fail;
24403 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24404 if (SWIG_arg_fail(2)) SWIG_fail;
24405 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24406 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
24407 {
24408 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24409 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
d14a1e28
RD
24410
24411 wxPyEndAllowThreads(__tstate);
24412 if (PyErr_Occurred()) SWIG_fail;
24413 }
d3b6e4ff
RD
24414 {
24415 resultobj = wxPyMake_wxObject(result, 0);
24416 }
d14a1e28
RD
24417 return resultobj;
24418 fail:
24419 return NULL;
24420}
24421
24422
d3b6e4ff 24423static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24424 PyObject *resultobj;
24425 wxPrinter *arg1 = (wxPrinter *) 0 ;
d3b6e4ff 24426 wxWindow *arg2 = (wxWindow *) 0 ;
a68b8331 24427 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
d3b6e4ff
RD
24428 wxString *arg4 = 0 ;
24429 bool temp4 = false ;
d14a1e28 24430 PyObject * obj0 = 0 ;
d3b6e4ff
RD
24431 PyObject * obj1 = 0 ;
24432 PyObject * obj2 = 0 ;
24433 PyObject * obj3 = 0 ;
d14a1e28 24434 char *kwnames[] = {
d3b6e4ff 24435 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
d14a1e28
RD
24436 };
24437
d3b6e4ff 24438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24440 if (SWIG_arg_fail(1)) SWIG_fail;
24441 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24442 if (SWIG_arg_fail(2)) SWIG_fail;
24443 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24444 if (SWIG_arg_fail(3)) SWIG_fail;
d3b6e4ff
RD
24445 {
24446 arg4 = wxString_in_helper(obj3);
24447 if (arg4 == NULL) SWIG_fail;
24448 temp4 = true;
24449 }
d14a1e28
RD
24450 {
24451 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24452 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
d14a1e28
RD
24453
24454 wxPyEndAllowThreads(__tstate);
24455 if (PyErr_Occurred()) SWIG_fail;
24456 }
d3b6e4ff
RD
24457 Py_INCREF(Py_None); resultobj = Py_None;
24458 {
24459 if (temp4)
24460 delete arg4;
24461 }
d14a1e28
RD
24462 return resultobj;
24463 fail:
d3b6e4ff
RD
24464 {
24465 if (temp4)
24466 delete arg4;
24467 }
d14a1e28
RD
24468 return NULL;
24469}
24470
24471
d3b6e4ff 24472static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24473 PyObject *resultobj;
24474 wxPrinter *arg1 = (wxPrinter *) 0 ;
24475 wxWindow *arg2 = (wxWindow *) 0 ;
d14a1e28
RD
24476 bool result;
24477 PyObject * obj0 = 0 ;
24478 PyObject * obj1 = 0 ;
d14a1e28 24479 char *kwnames[] = {
d3b6e4ff 24480 (char *) "self",(char *) "parent", NULL
d14a1e28
RD
24481 };
24482
d3b6e4ff 24483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24485 if (SWIG_arg_fail(1)) SWIG_fail;
24486 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24487 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24488 {
24489 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24490 result = (bool)(arg1)->Setup(arg2);
d14a1e28
RD
24491
24492 wxPyEndAllowThreads(__tstate);
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
4f89f6a3
RD
24495 {
24496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24497 }
d14a1e28
RD
24498 return resultobj;
24499 fail:
24500 return NULL;
24501}
24502
24503
d3b6e4ff 24504static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24505 PyObject *resultobj;
24506 wxPrinter *arg1 = (wxPrinter *) 0 ;
24507 wxWindow *arg2 = (wxWindow *) 0 ;
a68b8331 24508 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
d3b6e4ff
RD
24509 bool arg4 = (bool) true ;
24510 bool result;
d14a1e28
RD
24511 PyObject * obj0 = 0 ;
24512 PyObject * obj1 = 0 ;
d3b6e4ff
RD
24513 PyObject * obj2 = 0 ;
24514 PyObject * obj3 = 0 ;
d14a1e28 24515 char *kwnames[] = {
d3b6e4ff 24516 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
d14a1e28
RD
24517 };
24518
d3b6e4ff 24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24521 if (SWIG_arg_fail(1)) SWIG_fail;
24522 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24523 if (SWIG_arg_fail(2)) SWIG_fail;
24524 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24525 if (SWIG_arg_fail(3)) SWIG_fail;
d3b6e4ff 24526 if (obj3) {
093d3ff1
RD
24527 {
24528 arg4 = (bool)(SWIG_As_bool(obj3));
24529 if (SWIG_arg_fail(4)) SWIG_fail;
24530 }
d3b6e4ff 24531 }
d14a1e28
RD
24532 {
24533 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24534 result = (bool)(arg1)->Print(arg2,arg3,arg4);
d14a1e28
RD
24535
24536 wxPyEndAllowThreads(__tstate);
24537 if (PyErr_Occurred()) SWIG_fail;
24538 }
24539 {
d3b6e4ff 24540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24541 }
24542 return resultobj;
24543 fail:
24544 return NULL;
24545}
24546
24547
d3b6e4ff 24548static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24549 PyObject *resultobj;
24550 wxPrinter *arg1 = (wxPrinter *) 0 ;
24551 wxWindow *arg2 = (wxWindow *) 0 ;
d3b6e4ff 24552 wxDC *result;
d14a1e28
RD
24553 PyObject * obj0 = 0 ;
24554 PyObject * obj1 = 0 ;
d14a1e28 24555 char *kwnames[] = {
d3b6e4ff 24556 (char *) "self",(char *) "parent", NULL
d14a1e28
RD
24557 };
24558
d3b6e4ff 24559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24561 if (SWIG_arg_fail(1)) SWIG_fail;
24562 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24563 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24564 {
24565 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24566 result = (wxDC *)(arg1)->PrintDialog(arg2);
d14a1e28
RD
24567
24568 wxPyEndAllowThreads(__tstate);
24569 if (PyErr_Occurred()) SWIG_fail;
24570 }
d14a1e28 24571 {
d3b6e4ff 24572 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24573 }
24574 return resultobj;
24575 fail:
d14a1e28
RD
24576 return NULL;
24577}
24578
24579
d3b6e4ff 24580static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24581 PyObject *resultobj;
24582 wxPrinter *arg1 = (wxPrinter *) 0 ;
d3b6e4ff 24583 wxPrintDialogData *result;
d14a1e28 24584 PyObject * obj0 = 0 ;
d14a1e28 24585 char *kwnames[] = {
d3b6e4ff 24586 (char *) "self", NULL
d14a1e28
RD
24587 };
24588
d3b6e4ff 24589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24591 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24592 {
24593 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff
RD
24594 {
24595 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24596 result = (wxPrintDialogData *) &_result_ref;
24597 }
d14a1e28
RD
24598
24599 wxPyEndAllowThreads(__tstate);
24600 if (PyErr_Occurred()) SWIG_fail;
24601 }
d3b6e4ff 24602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
24603 return resultobj;
24604 fail:
24605 return NULL;
24606}
24607
24608
c32bde28 24609static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24610 PyObject *resultobj;
24611 wxPrinter *arg1 = (wxPrinter *) 0 ;
24612 bool result;
24613 PyObject * obj0 = 0 ;
24614 char *kwnames[] = {
24615 (char *) "self", NULL
24616 };
24617
24618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
093d3ff1
RD
24619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24620 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24621 {
24622 PyThreadState* __tstate = wxPyBeginAllowThreads();
24623 result = (bool)(arg1)->GetAbort();
24624
24625 wxPyEndAllowThreads(__tstate);
24626 if (PyErr_Occurred()) SWIG_fail;
24627 }
4f89f6a3
RD
24628 {
24629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24630 }
d14a1e28
RD
24631 return resultobj;
24632 fail:
24633 return NULL;
24634}
24635
24636
c32bde28 24637static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 24638 PyObject *resultobj;
093d3ff1 24639 wxPrinterError result;
d14a1e28
RD
24640 char *kwnames[] = {
24641 NULL
24642 };
24643
24644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24645 {
24646 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 24647 result = (wxPrinterError)wxPrinter::GetLastError();
d14a1e28
RD
24648
24649 wxPyEndAllowThreads(__tstate);
24650 if (PyErr_Occurred()) SWIG_fail;
24651 }
093d3ff1 24652 resultobj = SWIG_From_int((result));
d14a1e28
RD
24653 return resultobj;
24654 fail:
24655 return NULL;
24656}
24657
24658
c32bde28 24659static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24660 PyObject *obj;
24661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24662 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24663 Py_INCREF(obj);
24664 return Py_BuildValue((char *)"");
24665}
c32bde28 24666static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24667 PyObject *resultobj;
24668 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24669 wxString *arg1 = (wxString *) &arg1_defvalue ;
24670 wxPyPrintout *result;
ae8162c8 24671 bool temp1 = false ;
d14a1e28
RD
24672 PyObject * obj0 = 0 ;
24673 char *kwnames[] = {
24674 (char *) "title", NULL
24675 };
24676
24677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24678 if (obj0) {
24679 {
24680 arg1 = wxString_in_helper(obj0);
24681 if (arg1 == NULL) SWIG_fail;
ae8162c8 24682 temp1 = true;
d14a1e28
RD
24683 }
24684 }
24685 {
e3b71cb8 24686 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24687 PyThreadState* __tstate = wxPyBeginAllowThreads();
24688 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24689
24690 wxPyEndAllowThreads(__tstate);
110da5b0 24691 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24692 }
24693 {
412d302d 24694 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
24695 }
24696 {
24697 if (temp1)
24698 delete arg1;
24699 }
24700 return resultobj;
24701 fail:
24702 {
24703 if (temp1)
24704 delete arg1;
24705 }
24706 return NULL;
24707}
24708
24709
c32bde28 24710static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24711 PyObject *resultobj;
24712 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24713 PyObject *arg2 = (PyObject *) 0 ;
24714 PyObject *arg3 = (PyObject *) 0 ;
24715 PyObject * obj0 = 0 ;
24716 PyObject * obj1 = 0 ;
24717 PyObject * obj2 = 0 ;
24718 char *kwnames[] = {
24719 (char *) "self",(char *) "self",(char *) "_class", NULL
24720 };
24721
24722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24724 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24725 arg2 = obj1;
24726 arg3 = obj2;
24727 {
24728 PyThreadState* __tstate = wxPyBeginAllowThreads();
24729 (arg1)->_setCallbackInfo(arg2,arg3);
24730
24731 wxPyEndAllowThreads(__tstate);
24732 if (PyErr_Occurred()) SWIG_fail;
24733 }
24734 Py_INCREF(Py_None); resultobj = Py_None;
24735 return resultobj;
24736 fail:
24737 return NULL;
24738}
24739
24740
c32bde28 24741static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24742 PyObject *resultobj;
24743 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24744 wxString result;
24745 PyObject * obj0 = 0 ;
24746 char *kwnames[] = {
24747 (char *) "self", NULL
24748 };
24749
24750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
24751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24752 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24753 {
24754 PyThreadState* __tstate = wxPyBeginAllowThreads();
24755 result = ((wxPyPrintout const *)arg1)->GetTitle();
24756
24757 wxPyEndAllowThreads(__tstate);
24758 if (PyErr_Occurred()) SWIG_fail;
24759 }
24760 {
24761#if wxUSE_UNICODE
24762 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24763#else
24764 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24765#endif
24766 }
24767 return resultobj;
24768 fail:
24769 return NULL;
24770}
24771
24772
c32bde28 24773static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24774 PyObject *resultobj;
24775 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24776 wxDC *result;
24777 PyObject * obj0 = 0 ;
24778 char *kwnames[] = {
24779 (char *) "self", NULL
24780 };
24781
24782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24784 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24785 {
24786 PyThreadState* __tstate = wxPyBeginAllowThreads();
24787 result = (wxDC *)(arg1)->GetDC();
24788
24789 wxPyEndAllowThreads(__tstate);
24790 if (PyErr_Occurred()) SWIG_fail;
24791 }
24792 {
412d302d 24793 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24794 }
24795 return resultobj;
24796 fail:
24797 return NULL;
24798}
24799
24800
c32bde28 24801static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24802 PyObject *resultobj;
24803 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24804 wxDC *arg2 = (wxDC *) 0 ;
24805 PyObject * obj0 = 0 ;
24806 PyObject * obj1 = 0 ;
24807 char *kwnames[] = {
24808 (char *) "self",(char *) "dc", NULL
24809 };
24810
24811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24813 if (SWIG_arg_fail(1)) SWIG_fail;
24814 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24815 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24816 {
24817 PyThreadState* __tstate = wxPyBeginAllowThreads();
24818 (arg1)->SetDC(arg2);
24819
24820 wxPyEndAllowThreads(__tstate);
24821 if (PyErr_Occurred()) SWIG_fail;
24822 }
24823 Py_INCREF(Py_None); resultobj = Py_None;
24824 return resultobj;
24825 fail:
24826 return NULL;
24827}
24828
24829
c32bde28 24830static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24831 PyObject *resultobj;
24832 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
24833 int arg2 ;
24834 int arg3 ;
d14a1e28 24835 PyObject * obj0 = 0 ;
994141e6
RD
24836 PyObject * obj1 = 0 ;
24837 PyObject * obj2 = 0 ;
d14a1e28 24838 char *kwnames[] = {
322913ce 24839 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
24840 };
24841
994141e6 24842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24844 if (SWIG_arg_fail(1)) SWIG_fail;
24845 {
24846 arg2 = (int)(SWIG_As_int(obj1));
24847 if (SWIG_arg_fail(2)) SWIG_fail;
24848 }
24849 {
24850 arg3 = (int)(SWIG_As_int(obj2));
24851 if (SWIG_arg_fail(3)) SWIG_fail;
24852 }
d14a1e28
RD
24853 {
24854 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 24855 (arg1)->SetPageSizePixels(arg2,arg3);
d14a1e28
RD
24856
24857 wxPyEndAllowThreads(__tstate);
24858 if (PyErr_Occurred()) SWIG_fail;
24859 }
24860 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
24861 return resultobj;
24862 fail:
24863 return NULL;
24864}
24865
24866
c32bde28 24867static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24868 PyObject *resultobj;
24869 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
24870 int *arg2 = (int *) 0 ;
24871 int *arg3 = (int *) 0 ;
24872 int temp2 ;
c32bde28 24873 int res2 = 0 ;
322913ce 24874 int temp3 ;
c32bde28 24875 int res3 = 0 ;
d14a1e28
RD
24876 PyObject * obj0 = 0 ;
24877 char *kwnames[] = {
322913ce 24878 (char *) "self", NULL
d14a1e28
RD
24879 };
24880
c32bde28
RD
24881 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24882 arg3 = &temp3; res3 = SWIG_NEWOBJ;
322913ce 24883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
093d3ff1
RD
24884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24885 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24886 {
24887 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 24888 (arg1)->GetPageSizePixels(arg2,arg3);
d14a1e28
RD
24889
24890 wxPyEndAllowThreads(__tstate);
24891 if (PyErr_Occurred()) SWIG_fail;
24892 }
24893 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24894 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24895 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24896 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24897 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24898 return resultobj;
24899 fail:
24900 return NULL;
24901}
24902
24903
c32bde28 24904static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24905 PyObject *resultobj;
24906 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24907 int arg2 ;
24908 int arg3 ;
24909 PyObject * obj0 = 0 ;
994141e6
RD
24910 PyObject * obj1 = 0 ;
24911 PyObject * obj2 = 0 ;
d14a1e28
RD
24912 char *kwnames[] = {
24913 (char *) "self",(char *) "w",(char *) "h", NULL
24914 };
24915
994141e6 24916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24918 if (SWIG_arg_fail(1)) SWIG_fail;
24919 {
24920 arg2 = (int)(SWIG_As_int(obj1));
24921 if (SWIG_arg_fail(2)) SWIG_fail;
24922 }
24923 {
24924 arg3 = (int)(SWIG_As_int(obj2));
24925 if (SWIG_arg_fail(3)) SWIG_fail;
24926 }
d14a1e28
RD
24927 {
24928 PyThreadState* __tstate = wxPyBeginAllowThreads();
24929 (arg1)->SetPageSizeMM(arg2,arg3);
24930
24931 wxPyEndAllowThreads(__tstate);
24932 if (PyErr_Occurred()) SWIG_fail;
24933 }
24934 Py_INCREF(Py_None); resultobj = Py_None;
24935 return resultobj;
24936 fail:
24937 return NULL;
24938}
24939
24940
c32bde28 24941static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24942 PyObject *resultobj;
24943 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24944 int *arg2 = (int *) 0 ;
24945 int *arg3 = (int *) 0 ;
24946 int temp2 ;
c32bde28 24947 int res2 = 0 ;
d14a1e28 24948 int temp3 ;
c32bde28 24949 int res3 = 0 ;
d14a1e28
RD
24950 PyObject * obj0 = 0 ;
24951 char *kwnames[] = {
24952 (char *) "self", NULL
24953 };
24954
c32bde28
RD
24955 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24956 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 24957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
093d3ff1
RD
24958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24959 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24960 {
24961 PyThreadState* __tstate = wxPyBeginAllowThreads();
24962 (arg1)->GetPageSizeMM(arg2,arg3);
24963
24964 wxPyEndAllowThreads(__tstate);
24965 if (PyErr_Occurred()) SWIG_fail;
24966 }
24967 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24968 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24969 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24970 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24971 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24972 return resultobj;
24973 fail:
24974 return NULL;
24975}
24976
24977
c32bde28 24978static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24979 PyObject *resultobj;
24980 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24981 int arg2 ;
24982 int arg3 ;
24983 PyObject * obj0 = 0 ;
994141e6
RD
24984 PyObject * obj1 = 0 ;
24985 PyObject * obj2 = 0 ;
d14a1e28
RD
24986 char *kwnames[] = {
24987 (char *) "self",(char *) "x",(char *) "y", NULL
24988 };
24989
994141e6 24990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24992 if (SWIG_arg_fail(1)) SWIG_fail;
24993 {
24994 arg2 = (int)(SWIG_As_int(obj1));
24995 if (SWIG_arg_fail(2)) SWIG_fail;
24996 }
24997 {
24998 arg3 = (int)(SWIG_As_int(obj2));
24999 if (SWIG_arg_fail(3)) SWIG_fail;
25000 }
d14a1e28
RD
25001 {
25002 PyThreadState* __tstate = wxPyBeginAllowThreads();
25003 (arg1)->SetPPIScreen(arg2,arg3);
25004
25005 wxPyEndAllowThreads(__tstate);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 }
25008 Py_INCREF(Py_None); resultobj = Py_None;
25009 return resultobj;
25010 fail:
25011 return NULL;
25012}
25013
25014
c32bde28 25015static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25016 PyObject *resultobj;
25017 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25018 int *arg2 = (int *) 0 ;
25019 int *arg3 = (int *) 0 ;
25020 int temp2 ;
c32bde28 25021 int res2 = 0 ;
d14a1e28 25022 int temp3 ;
c32bde28 25023 int res3 = 0 ;
d14a1e28
RD
25024 PyObject * obj0 = 0 ;
25025 char *kwnames[] = {
25026 (char *) "self", NULL
25027 };
25028
c32bde28
RD
25029 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25030 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 25031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
25032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25033 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25034 {
25035 PyThreadState* __tstate = wxPyBeginAllowThreads();
25036 (arg1)->GetPPIScreen(arg2,arg3);
25037
25038 wxPyEndAllowThreads(__tstate);
25039 if (PyErr_Occurred()) SWIG_fail;
25040 }
25041 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25042 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25043 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25044 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25045 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
25046 return resultobj;
25047 fail:
25048 return NULL;
25049}
25050
25051
c32bde28 25052static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25053 PyObject *resultobj;
25054 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25055 int arg2 ;
25056 int arg3 ;
25057 PyObject * obj0 = 0 ;
994141e6
RD
25058 PyObject * obj1 = 0 ;
25059 PyObject * obj2 = 0 ;
d14a1e28
RD
25060 char *kwnames[] = {
25061 (char *) "self",(char *) "x",(char *) "y", NULL
25062 };
25063
994141e6 25064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25066 if (SWIG_arg_fail(1)) SWIG_fail;
25067 {
25068 arg2 = (int)(SWIG_As_int(obj1));
25069 if (SWIG_arg_fail(2)) SWIG_fail;
25070 }
25071 {
25072 arg3 = (int)(SWIG_As_int(obj2));
25073 if (SWIG_arg_fail(3)) SWIG_fail;
25074 }
d14a1e28
RD
25075 {
25076 PyThreadState* __tstate = wxPyBeginAllowThreads();
25077 (arg1)->SetPPIPrinter(arg2,arg3);
25078
25079 wxPyEndAllowThreads(__tstate);
25080 if (PyErr_Occurred()) SWIG_fail;
25081 }
25082 Py_INCREF(Py_None); resultobj = Py_None;
25083 return resultobj;
25084 fail:
25085 return NULL;
25086}
25087
25088
c32bde28 25089static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25090 PyObject *resultobj;
25091 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25092 int *arg2 = (int *) 0 ;
25093 int *arg3 = (int *) 0 ;
25094 int temp2 ;
c32bde28 25095 int res2 = 0 ;
d14a1e28 25096 int temp3 ;
c32bde28 25097 int res3 = 0 ;
d14a1e28
RD
25098 PyObject * obj0 = 0 ;
25099 char *kwnames[] = {
25100 (char *) "self", NULL
25101 };
25102
c32bde28
RD
25103 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25104 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 25105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
25106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25107 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25108 {
25109 PyThreadState* __tstate = wxPyBeginAllowThreads();
25110 (arg1)->GetPPIPrinter(arg2,arg3);
25111
25112 wxPyEndAllowThreads(__tstate);
25113 if (PyErr_Occurred()) SWIG_fail;
25114 }
25115 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25116 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25117 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25118 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25119 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
25120 return resultobj;
25121 fail:
25122 return NULL;
25123}
25124
25125
c32bde28 25126static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25127 PyObject *resultobj;
25128 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25129 bool result;
25130 PyObject * obj0 = 0 ;
25131 char *kwnames[] = {
25132 (char *) "self", NULL
25133 };
25134
25135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
25136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25137 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25138 {
25139 PyThreadState* __tstate = wxPyBeginAllowThreads();
25140 result = (bool)(arg1)->IsPreview();
25141
25142 wxPyEndAllowThreads(__tstate);
25143 if (PyErr_Occurred()) SWIG_fail;
25144 }
4f89f6a3
RD
25145 {
25146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25147 }
d14a1e28
RD
25148 return resultobj;
25149 fail:
25150 return NULL;
25151}
25152
25153
c32bde28 25154static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25155 PyObject *resultobj;
25156 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25157 bool arg2 ;
25158 PyObject * obj0 = 0 ;
25159 PyObject * obj1 = 0 ;
25160 char *kwnames[] = {
25161 (char *) "self",(char *) "p", NULL
25162 };
25163
25164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25166 if (SWIG_arg_fail(1)) SWIG_fail;
25167 {
25168 arg2 = (bool)(SWIG_As_bool(obj1));
25169 if (SWIG_arg_fail(2)) SWIG_fail;
25170 }
d14a1e28
RD
25171 {
25172 PyThreadState* __tstate = wxPyBeginAllowThreads();
25173 (arg1)->SetIsPreview(arg2);
25174
25175 wxPyEndAllowThreads(__tstate);
25176 if (PyErr_Occurred()) SWIG_fail;
25177 }
25178 Py_INCREF(Py_None); resultobj = Py_None;
25179 return resultobj;
25180 fail:
25181 return NULL;
25182}
25183
25184
c32bde28 25185static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25186 PyObject *resultobj;
25187 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25188 int arg2 ;
25189 int arg3 ;
25190 bool result;
25191 PyObject * obj0 = 0 ;
994141e6
RD
25192 PyObject * obj1 = 0 ;
25193 PyObject * obj2 = 0 ;
d14a1e28
RD
25194 char *kwnames[] = {
25195 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25196 };
25197
994141e6 25198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25200 if (SWIG_arg_fail(1)) SWIG_fail;
25201 {
25202 arg2 = (int)(SWIG_As_int(obj1));
25203 if (SWIG_arg_fail(2)) SWIG_fail;
25204 }
25205 {
25206 arg3 = (int)(SWIG_As_int(obj2));
25207 if (SWIG_arg_fail(3)) SWIG_fail;
25208 }
d14a1e28
RD
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
25212
25213 wxPyEndAllowThreads(__tstate);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
4f89f6a3
RD
25216 {
25217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25218 }
d14a1e28
RD
25219 return resultobj;
25220 fail:
25221 return NULL;
25222}
25223
25224
c32bde28 25225static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25226 PyObject *resultobj;
25227 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25228 PyObject * obj0 = 0 ;
25229 char *kwnames[] = {
25230 (char *) "self", NULL
25231 };
25232
25233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
093d3ff1
RD
25234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25235 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25236 {
25237 PyThreadState* __tstate = wxPyBeginAllowThreads();
25238 (arg1)->base_OnEndDocument();
25239
25240 wxPyEndAllowThreads(__tstate);
25241 if (PyErr_Occurred()) SWIG_fail;
25242 }
25243 Py_INCREF(Py_None); resultobj = Py_None;
25244 return resultobj;
25245 fail:
25246 return NULL;
25247}
25248
25249
c32bde28 25250static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25251 PyObject *resultobj;
25252 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25253 PyObject * obj0 = 0 ;
25254 char *kwnames[] = {
25255 (char *) "self", NULL
25256 };
25257
25258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25260 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25261 {
25262 PyThreadState* __tstate = wxPyBeginAllowThreads();
25263 (arg1)->base_OnBeginPrinting();
25264
25265 wxPyEndAllowThreads(__tstate);
25266 if (PyErr_Occurred()) SWIG_fail;
25267 }
25268 Py_INCREF(Py_None); resultobj = Py_None;
25269 return resultobj;
25270 fail:
25271 return NULL;
25272}
25273
25274
c32bde28 25275static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25276 PyObject *resultobj;
25277 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25278 PyObject * obj0 = 0 ;
25279 char *kwnames[] = {
25280 (char *) "self", NULL
25281 };
25282
25283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25285 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25286 {
25287 PyThreadState* __tstate = wxPyBeginAllowThreads();
25288 (arg1)->base_OnEndPrinting();
25289
25290 wxPyEndAllowThreads(__tstate);
25291 if (PyErr_Occurred()) SWIG_fail;
25292 }
25293 Py_INCREF(Py_None); resultobj = Py_None;
25294 return resultobj;
25295 fail:
25296 return NULL;
25297}
25298
25299
c32bde28 25300static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25301 PyObject *resultobj;
25302 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25303 PyObject * obj0 = 0 ;
25304 char *kwnames[] = {
25305 (char *) "self", NULL
25306 };
25307
25308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25310 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25311 {
25312 PyThreadState* __tstate = wxPyBeginAllowThreads();
25313 (arg1)->base_OnPreparePrinting();
25314
25315 wxPyEndAllowThreads(__tstate);
25316 if (PyErr_Occurred()) SWIG_fail;
25317 }
25318 Py_INCREF(Py_None); resultobj = Py_None;
25319 return resultobj;
25320 fail:
25321 return NULL;
25322}
25323
25324
c32bde28 25325static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
322913ce
RD
25326 PyObject *resultobj;
25327 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25328 int arg2 ;
25329 bool result;
25330 PyObject * obj0 = 0 ;
994141e6 25331 PyObject * obj1 = 0 ;
322913ce
RD
25332 char *kwnames[] = {
25333 (char *) "self",(char *) "page", NULL
25334 };
25335
994141e6 25336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25338 if (SWIG_arg_fail(1)) SWIG_fail;
25339 {
25340 arg2 = (int)(SWIG_As_int(obj1));
25341 if (SWIG_arg_fail(2)) SWIG_fail;
25342 }
322913ce
RD
25343 {
25344 PyThreadState* __tstate = wxPyBeginAllowThreads();
25345 result = (bool)(arg1)->base_HasPage(arg2);
25346
25347 wxPyEndAllowThreads(__tstate);
25348 if (PyErr_Occurred()) SWIG_fail;
25349 }
4f89f6a3
RD
25350 {
25351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25352 }
322913ce
RD
25353 return resultobj;
25354 fail:
25355 return NULL;
25356}
25357
25358
c32bde28 25359static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25360 PyObject *resultobj;
25361 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25362 int *arg2 = (int *) 0 ;
25363 int *arg3 = (int *) 0 ;
25364 int *arg4 = (int *) 0 ;
25365 int *arg5 = (int *) 0 ;
25366 int temp2 ;
c32bde28 25367 int res2 = 0 ;
d14a1e28 25368 int temp3 ;
c32bde28 25369 int res3 = 0 ;
d14a1e28 25370 int temp4 ;
c32bde28 25371 int res4 = 0 ;
d14a1e28 25372 int temp5 ;
c32bde28 25373 int res5 = 0 ;
d14a1e28
RD
25374 PyObject * obj0 = 0 ;
25375 char *kwnames[] = {
25376 (char *) "self", NULL
25377 };
25378
c32bde28
RD
25379 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25380 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25381 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25382 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 25383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
25384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25385 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25386 {
25387 PyThreadState* __tstate = wxPyBeginAllowThreads();
25388 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25389
25390 wxPyEndAllowThreads(__tstate);
25391 if (PyErr_Occurred()) SWIG_fail;
25392 }
25393 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25394 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25395 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25396 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25397 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25398 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25399 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25400 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25401 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
25402 return resultobj;
25403 fail:
25404 return NULL;
25405}
25406
25407
c32bde28 25408static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25409 PyObject *obj;
25410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25411 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25412 Py_INCREF(obj);
25413 return Py_BuildValue((char *)"");
25414}
c32bde28 25415static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25416 PyObject *resultobj;
25417 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25418 wxWindow *arg2 = (wxWindow *) 0 ;
25419 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25420 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25421 wxSize const &arg4_defvalue = wxDefaultSize ;
25422 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25423 long arg5 = (long) 0 ;
25424 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25425 wxString *arg6 = (wxString *) &arg6_defvalue ;
25426 wxPreviewCanvas *result;
25427 wxPoint temp3 ;
25428 wxSize temp4 ;
ae8162c8 25429 bool temp6 = false ;
d14a1e28
RD
25430 PyObject * obj0 = 0 ;
25431 PyObject * obj1 = 0 ;
25432 PyObject * obj2 = 0 ;
25433 PyObject * obj3 = 0 ;
994141e6 25434 PyObject * obj4 = 0 ;
d14a1e28
RD
25435 PyObject * obj5 = 0 ;
25436 char *kwnames[] = {
25437 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25438 };
25439
994141e6 25440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
25441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25442 if (SWIG_arg_fail(1)) SWIG_fail;
25443 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25444 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25445 if (obj2) {
25446 {
25447 arg3 = &temp3;
25448 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25449 }
25450 }
25451 if (obj3) {
25452 {
25453 arg4 = &temp4;
25454 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25455 }
25456 }
994141e6 25457 if (obj4) {
093d3ff1
RD
25458 {
25459 arg5 = (long)(SWIG_As_long(obj4));
25460 if (SWIG_arg_fail(5)) SWIG_fail;
25461 }
994141e6 25462 }
d14a1e28
RD
25463 if (obj5) {
25464 {
25465 arg6 = wxString_in_helper(obj5);
25466 if (arg6 == NULL) SWIG_fail;
ae8162c8 25467 temp6 = true;
d14a1e28
RD
25468 }
25469 }
25470 {
e3b71cb8 25471 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25472 PyThreadState* __tstate = wxPyBeginAllowThreads();
25473 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25474
25475 wxPyEndAllowThreads(__tstate);
110da5b0 25476 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25477 }
15afbcd0 25478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
d14a1e28
RD
25479 {
25480 if (temp6)
25481 delete arg6;
25482 }
25483 return resultobj;
25484 fail:
25485 {
25486 if (temp6)
25487 delete arg6;
25488 }
25489 return NULL;
25490}
25491
25492
c32bde28 25493static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25494 PyObject *obj;
25495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25496 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25497 Py_INCREF(obj);
25498 return Py_BuildValue((char *)"");
25499}
c32bde28 25500static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25501 PyObject *resultobj;
25502 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25503 wxFrame *arg2 = (wxFrame *) 0 ;
25504 wxString *arg3 = 0 ;
25505 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25506 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25507 wxSize const &arg5_defvalue = wxDefaultSize ;
25508 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25509 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25510 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25511 wxString *arg7 = (wxString *) &arg7_defvalue ;
25512 wxPreviewFrame *result;
ae8162c8 25513 bool temp3 = false ;
d14a1e28
RD
25514 wxPoint temp4 ;
25515 wxSize temp5 ;
ae8162c8 25516 bool temp7 = false ;
d14a1e28
RD
25517 PyObject * obj0 = 0 ;
25518 PyObject * obj1 = 0 ;
25519 PyObject * obj2 = 0 ;
25520 PyObject * obj3 = 0 ;
25521 PyObject * obj4 = 0 ;
994141e6 25522 PyObject * obj5 = 0 ;
d14a1e28
RD
25523 PyObject * obj6 = 0 ;
25524 char *kwnames[] = {
25525 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25526 };
25527
994141e6 25528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25530 if (SWIG_arg_fail(1)) SWIG_fail;
25531 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25532 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25533 {
25534 arg3 = wxString_in_helper(obj2);
25535 if (arg3 == NULL) SWIG_fail;
ae8162c8 25536 temp3 = true;
d14a1e28
RD
25537 }
25538 if (obj3) {
25539 {
25540 arg4 = &temp4;
25541 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25542 }
25543 }
25544 if (obj4) {
25545 {
25546 arg5 = &temp5;
25547 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25548 }
25549 }
994141e6 25550 if (obj5) {
093d3ff1
RD
25551 {
25552 arg6 = (long)(SWIG_As_long(obj5));
25553 if (SWIG_arg_fail(6)) SWIG_fail;
25554 }
994141e6 25555 }
d14a1e28
RD
25556 if (obj6) {
25557 {
25558 arg7 = wxString_in_helper(obj6);
25559 if (arg7 == NULL) SWIG_fail;
ae8162c8 25560 temp7 = true;
d14a1e28
RD
25561 }
25562 }
25563 {
e3b71cb8 25564 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25565 PyThreadState* __tstate = wxPyBeginAllowThreads();
25566 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25567
25568 wxPyEndAllowThreads(__tstate);
110da5b0 25569 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25570 }
15afbcd0 25571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
d14a1e28
RD
25572 {
25573 if (temp3)
25574 delete arg3;
25575 }
25576 {
25577 if (temp7)
25578 delete arg7;
25579 }
25580 return resultobj;
25581 fail:
25582 {
25583 if (temp3)
25584 delete arg3;
25585 }
25586 {
25587 if (temp7)
25588 delete arg7;
25589 }
25590 return NULL;
25591}
25592
25593
c32bde28 25594static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25595 PyObject *resultobj;
25596 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25597 PyObject * obj0 = 0 ;
25598 char *kwnames[] = {
25599 (char *) "self", NULL
25600 };
25601
25602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
25603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25604 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25605 {
25606 PyThreadState* __tstate = wxPyBeginAllowThreads();
25607 (arg1)->Initialize();
25608
25609 wxPyEndAllowThreads(__tstate);
25610 if (PyErr_Occurred()) SWIG_fail;
25611 }
25612 Py_INCREF(Py_None); resultobj = Py_None;
25613 return resultobj;
25614 fail:
25615 return NULL;
25616}
25617
25618
c32bde28 25619static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25620 PyObject *resultobj;
25621 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25622 PyObject * obj0 = 0 ;
25623 char *kwnames[] = {
25624 (char *) "self", NULL
25625 };
25626
25627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25629 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25630 {
25631 PyThreadState* __tstate = wxPyBeginAllowThreads();
25632 (arg1)->CreateControlBar();
25633
25634 wxPyEndAllowThreads(__tstate);
25635 if (PyErr_Occurred()) SWIG_fail;
25636 }
25637 Py_INCREF(Py_None); resultobj = Py_None;
25638 return resultobj;
25639 fail:
25640 return NULL;
25641}
25642
25643
c32bde28 25644static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25645 PyObject *resultobj;
25646 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25647 PyObject * obj0 = 0 ;
25648 char *kwnames[] = {
25649 (char *) "self", NULL
25650 };
25651
25652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
25653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25654 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25655 {
25656 PyThreadState* __tstate = wxPyBeginAllowThreads();
25657 (arg1)->CreateCanvas();
25658
25659 wxPyEndAllowThreads(__tstate);
25660 if (PyErr_Occurred()) SWIG_fail;
25661 }
25662 Py_INCREF(Py_None); resultobj = Py_None;
25663 return resultobj;
25664 fail:
25665 return NULL;
25666}
25667
25668
c32bde28 25669static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25670 PyObject *resultobj;
25671 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25672 wxPreviewControlBar *result;
25673 PyObject * obj0 = 0 ;
25674 char *kwnames[] = {
25675 (char *) "self", NULL
25676 };
25677
25678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25680 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25681 {
25682 PyThreadState* __tstate = wxPyBeginAllowThreads();
25683 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25684
25685 wxPyEndAllowThreads(__tstate);
25686 if (PyErr_Occurred()) SWIG_fail;
25687 }
15afbcd0 25688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
d14a1e28
RD
25689 return resultobj;
25690 fail:
25691 return NULL;
25692}
25693
25694
c32bde28 25695static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25696 PyObject *obj;
25697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25698 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25699 Py_INCREF(obj);
25700 return Py_BuildValue((char *)"");
25701}
c32bde28 25702static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25703 PyObject *resultobj;
25704 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25705 long arg2 ;
25706 wxWindow *arg3 = (wxWindow *) 0 ;
25707 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25708 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25709 wxSize const &arg5_defvalue = wxDefaultSize ;
25710 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25711 long arg6 = (long) wxTAB_TRAVERSAL ;
25712 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25713 wxString *arg7 = (wxString *) &arg7_defvalue ;
25714 wxPreviewControlBar *result;
25715 wxPoint temp4 ;
25716 wxSize temp5 ;
ae8162c8 25717 bool temp7 = false ;
d14a1e28 25718 PyObject * obj0 = 0 ;
994141e6 25719 PyObject * obj1 = 0 ;
d14a1e28
RD
25720 PyObject * obj2 = 0 ;
25721 PyObject * obj3 = 0 ;
25722 PyObject * obj4 = 0 ;
994141e6 25723 PyObject * obj5 = 0 ;
d14a1e28
RD
25724 PyObject * obj6 = 0 ;
25725 char *kwnames[] = {
25726 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25727 };
25728
994141e6 25729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25731 if (SWIG_arg_fail(1)) SWIG_fail;
25732 {
25733 arg2 = (long)(SWIG_As_long(obj1));
25734 if (SWIG_arg_fail(2)) SWIG_fail;
25735 }
25736 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25737 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
25738 if (obj3) {
25739 {
25740 arg4 = &temp4;
25741 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25742 }
25743 }
25744 if (obj4) {
25745 {
25746 arg5 = &temp5;
25747 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25748 }
25749 }
994141e6 25750 if (obj5) {
093d3ff1
RD
25751 {
25752 arg6 = (long)(SWIG_As_long(obj5));
25753 if (SWIG_arg_fail(6)) SWIG_fail;
25754 }
994141e6 25755 }
d14a1e28
RD
25756 if (obj6) {
25757 {
25758 arg7 = wxString_in_helper(obj6);
25759 if (arg7 == NULL) SWIG_fail;
ae8162c8 25760 temp7 = true;
d14a1e28
RD
25761 }
25762 }
25763 {
e3b71cb8 25764 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25765 PyThreadState* __tstate = wxPyBeginAllowThreads();
25766 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25767
25768 wxPyEndAllowThreads(__tstate);
110da5b0 25769 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25770 }
15afbcd0 25771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
d14a1e28
RD
25772 {
25773 if (temp7)
25774 delete arg7;
25775 }
25776 return resultobj;
25777 fail:
25778 {
25779 if (temp7)
25780 delete arg7;
25781 }
25782 return NULL;
25783}
25784
25785
c32bde28 25786static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25787 PyObject *resultobj;
25788 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25789 int result;
25790 PyObject * obj0 = 0 ;
25791 char *kwnames[] = {
25792 (char *) "self", NULL
25793 };
25794
25795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
25796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25797 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25798 {
25799 PyThreadState* __tstate = wxPyBeginAllowThreads();
25800 result = (int)(arg1)->GetZoomControl();
25801
25802 wxPyEndAllowThreads(__tstate);
25803 if (PyErr_Occurred()) SWIG_fail;
25804 }
093d3ff1
RD
25805 {
25806 resultobj = SWIG_From_int((int)(result));
25807 }
d14a1e28
RD
25808 return resultobj;
25809 fail:
25810 return NULL;
25811}
25812
25813
c32bde28 25814static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25815 PyObject *resultobj;
25816 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25817 int arg2 ;
25818 PyObject * obj0 = 0 ;
994141e6 25819 PyObject * obj1 = 0 ;
d14a1e28
RD
25820 char *kwnames[] = {
25821 (char *) "self",(char *) "zoom", NULL
25822 };
25823
994141e6 25824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25826 if (SWIG_arg_fail(1)) SWIG_fail;
25827 {
25828 arg2 = (int)(SWIG_As_int(obj1));
25829 if (SWIG_arg_fail(2)) SWIG_fail;
25830 }
d14a1e28
RD
25831 {
25832 PyThreadState* __tstate = wxPyBeginAllowThreads();
25833 (arg1)->SetZoomControl(arg2);
25834
25835 wxPyEndAllowThreads(__tstate);
25836 if (PyErr_Occurred()) SWIG_fail;
25837 }
25838 Py_INCREF(Py_None); resultobj = Py_None;
25839 return resultobj;
25840 fail:
25841 return NULL;
25842}
25843
25844
c32bde28 25845static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25846 PyObject *resultobj;
25847 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25848 wxPrintPreview *result;
25849 PyObject * obj0 = 0 ;
25850 char *kwnames[] = {
25851 (char *) "self", NULL
25852 };
25853
25854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
25855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25856 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25860
25861 wxPyEndAllowThreads(__tstate);
25862 if (PyErr_Occurred()) SWIG_fail;
25863 }
15afbcd0 25864 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
d14a1e28
RD
25865 return resultobj;
25866 fail:
25867 return NULL;
25868}
25869
25870
c32bde28 25871static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25872 PyObject *resultobj;
25873 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25874 PyObject * obj0 = 0 ;
25875 char *kwnames[] = {
25876 (char *) "self", NULL
25877 };
25878
25879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
25880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25881 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25882 {
25883 PyThreadState* __tstate = wxPyBeginAllowThreads();
25884 (arg1)->OnNext();
25885
25886 wxPyEndAllowThreads(__tstate);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 }
25889 Py_INCREF(Py_None); resultobj = Py_None;
25890 return resultobj;
25891 fail:
25892 return NULL;
25893}
25894
25895
c32bde28 25896static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25897 PyObject *resultobj;
25898 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25899 PyObject * obj0 = 0 ;
25900 char *kwnames[] = {
25901 (char *) "self", NULL
25902 };
25903
25904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
25905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25906 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25907 {
25908 PyThreadState* __tstate = wxPyBeginAllowThreads();
25909 (arg1)->OnPrevious();
25910
25911 wxPyEndAllowThreads(__tstate);
25912 if (PyErr_Occurred()) SWIG_fail;
25913 }
25914 Py_INCREF(Py_None); resultobj = Py_None;
25915 return resultobj;
25916 fail:
25917 return NULL;
25918}
25919
25920
c32bde28 25921static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25922 PyObject *resultobj;
25923 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25924 PyObject * obj0 = 0 ;
25925 char *kwnames[] = {
25926 (char *) "self", NULL
25927 };
25928
25929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
093d3ff1
RD
25930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25931 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25932 {
25933 PyThreadState* __tstate = wxPyBeginAllowThreads();
25934 (arg1)->OnFirst();
25935
25936 wxPyEndAllowThreads(__tstate);
25937 if (PyErr_Occurred()) SWIG_fail;
25938 }
25939 Py_INCREF(Py_None); resultobj = Py_None;
25940 return resultobj;
25941 fail:
25942 return NULL;
25943}
25944
25945
c32bde28 25946static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25947 PyObject *resultobj;
25948 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25949 PyObject * obj0 = 0 ;
25950 char *kwnames[] = {
25951 (char *) "self", NULL
25952 };
25953
25954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
093d3ff1
RD
25955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25956 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25957 {
25958 PyThreadState* __tstate = wxPyBeginAllowThreads();
25959 (arg1)->OnLast();
25960
25961 wxPyEndAllowThreads(__tstate);
25962 if (PyErr_Occurred()) SWIG_fail;
25963 }
25964 Py_INCREF(Py_None); resultobj = Py_None;
25965 return resultobj;
25966 fail:
25967 return NULL;
25968}
25969
25970
c32bde28 25971static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25972 PyObject *resultobj;
25973 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25974 PyObject * obj0 = 0 ;
25975 char *kwnames[] = {
25976 (char *) "self", NULL
25977 };
25978
25979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
093d3ff1
RD
25980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25981 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25982 {
25983 PyThreadState* __tstate = wxPyBeginAllowThreads();
25984 (arg1)->OnGoto();
25985
25986 wxPyEndAllowThreads(__tstate);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
25989 Py_INCREF(Py_None); resultobj = Py_None;
25990 return resultobj;
25991 fail:
25992 return NULL;
25993}
25994
25995
c32bde28 25996static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25997 PyObject *obj;
25998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25999 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
26000 Py_INCREF(obj);
26001 return Py_BuildValue((char *)"");
26002}
c32bde28 26003static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
26004 PyObject *resultobj;
26005 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26006 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 26007 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
26008 wxPrintPreview *result;
26009 PyObject * obj0 = 0 ;
26010 PyObject * obj1 = 0 ;
26011 PyObject * obj2 = 0 ;
d14a1e28 26012
4276dc52 26013 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26015 if (SWIG_arg_fail(1)) SWIG_fail;
26016 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26017 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 26018 if (obj2) {
093d3ff1
RD
26019 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26020 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26021 }
26022 {
e3b71cb8 26023 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26024 PyThreadState* __tstate = wxPyBeginAllowThreads();
26025 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26026
26027 wxPyEndAllowThreads(__tstate);
110da5b0 26028 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26029 }
15afbcd0 26030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
d14a1e28
RD
26031 return resultobj;
26032 fail:
26033 return NULL;
26034}
26035
26036
c32bde28 26037static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
26038 PyObject *resultobj;
26039 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26040 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26041 wxPrintData *arg3 = (wxPrintData *) 0 ;
26042 wxPrintPreview *result;
26043 PyObject * obj0 = 0 ;
26044 PyObject * obj1 = 0 ;
26045 PyObject * obj2 = 0 ;
26046
26047 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26049 if (SWIG_arg_fail(1)) SWIG_fail;
26050 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26051 if (SWIG_arg_fail(2)) SWIG_fail;
26052 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26053 if (SWIG_arg_fail(3)) SWIG_fail;
4276dc52 26054 {
e3b71cb8 26055 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
26056 PyThreadState* __tstate = wxPyBeginAllowThreads();
26057 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
26058
26059 wxPyEndAllowThreads(__tstate);
110da5b0 26060 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
26061 }
26062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
26063 return resultobj;
26064 fail:
26065 return NULL;
26066}
26067
26068
26069static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
26070 int argc;
26071 PyObject *argv[4];
26072 int ii;
26073
26074 argc = PyObject_Length(args);
26075 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26076 argv[ii] = PyTuple_GetItem(args,ii);
26077 }
26078 if ((argc >= 2) && (argc <= 3)) {
26079 int _v;
26080 {
26081 void *ptr;
26082 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26083 _v = 0;
26084 PyErr_Clear();
26085 } else {
26086 _v = 1;
26087 }
26088 }
26089 if (_v) {
26090 {
26091 void *ptr;
26092 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26093 _v = 0;
26094 PyErr_Clear();
26095 } else {
26096 _v = 1;
26097 }
26098 }
26099 if (_v) {
26100 if (argc <= 2) {
26101 return _wrap_new_PrintPreview__SWIG_0(self,args);
26102 }
26103 {
26104 void *ptr;
26105 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26106 _v = 0;
26107 PyErr_Clear();
26108 } else {
26109 _v = 1;
26110 }
26111 }
26112 if (_v) {
26113 return _wrap_new_PrintPreview__SWIG_0(self,args);
26114 }
26115 }
26116 }
26117 }
26118 if (argc == 3) {
26119 int _v;
26120 {
26121 void *ptr;
26122 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26123 _v = 0;
26124 PyErr_Clear();
26125 } else {
26126 _v = 1;
26127 }
26128 }
26129 if (_v) {
26130 {
26131 void *ptr;
26132 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26133 _v = 0;
26134 PyErr_Clear();
26135 } else {
26136 _v = 1;
26137 }
26138 }
26139 if (_v) {
26140 {
26141 void *ptr;
26142 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26143 _v = 0;
26144 PyErr_Clear();
26145 } else {
26146 _v = 1;
26147 }
26148 }
26149 if (_v) {
26150 return _wrap_new_PrintPreview__SWIG_1(self,args);
26151 }
26152 }
26153 }
26154 }
26155
093d3ff1 26156 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
4276dc52
RD
26157 return NULL;
26158}
26159
26160
c32bde28 26161static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26162 PyObject *resultobj;
26163 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26164 int arg2 ;
26165 bool result;
26166 PyObject * obj0 = 0 ;
994141e6 26167 PyObject * obj1 = 0 ;
d14a1e28
RD
26168 char *kwnames[] = {
26169 (char *) "self",(char *) "pageNum", NULL
26170 };
26171
994141e6 26172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26174 if (SWIG_arg_fail(1)) SWIG_fail;
26175 {
26176 arg2 = (int)(SWIG_As_int(obj1));
26177 if (SWIG_arg_fail(2)) SWIG_fail;
26178 }
d14a1e28
RD
26179 {
26180 PyThreadState* __tstate = wxPyBeginAllowThreads();
26181 result = (bool)(arg1)->SetCurrentPage(arg2);
26182
26183 wxPyEndAllowThreads(__tstate);
26184 if (PyErr_Occurred()) SWIG_fail;
26185 }
4f89f6a3
RD
26186 {
26187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26188 }
d14a1e28
RD
26189 return resultobj;
26190 fail:
26191 return NULL;
26192}
26193
26194
c32bde28 26195static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26196 PyObject *resultobj;
26197 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26198 int result;
26199 PyObject * obj0 = 0 ;
26200 char *kwnames[] = {
26201 (char *) "self", NULL
26202 };
26203
26204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26206 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26207 {
26208 PyThreadState* __tstate = wxPyBeginAllowThreads();
26209 result = (int)(arg1)->GetCurrentPage();
26210
26211 wxPyEndAllowThreads(__tstate);
26212 if (PyErr_Occurred()) SWIG_fail;
26213 }
093d3ff1
RD
26214 {
26215 resultobj = SWIG_From_int((int)(result));
26216 }
d14a1e28
RD
26217 return resultobj;
26218 fail:
26219 return NULL;
26220}
26221
26222
c32bde28 26223static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26224 PyObject *resultobj;
26225 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26226 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26227 PyObject * obj0 = 0 ;
26228 PyObject * obj1 = 0 ;
26229 char *kwnames[] = {
26230 (char *) "self",(char *) "printout", NULL
26231 };
26232
26233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail;
26236 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26237 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26238 {
26239 PyThreadState* __tstate = wxPyBeginAllowThreads();
26240 (arg1)->SetPrintout(arg2);
26241
26242 wxPyEndAllowThreads(__tstate);
26243 if (PyErr_Occurred()) SWIG_fail;
26244 }
26245 Py_INCREF(Py_None); resultobj = Py_None;
26246 return resultobj;
26247 fail:
26248 return NULL;
26249}
26250
26251
c32bde28 26252static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26253 PyObject *resultobj;
26254 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26255 wxPyPrintout *result;
26256 PyObject * obj0 = 0 ;
26257 char *kwnames[] = {
26258 (char *) "self", NULL
26259 };
26260
26261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
093d3ff1
RD
26262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26263 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26264 {
26265 PyThreadState* __tstate = wxPyBeginAllowThreads();
26266 result = (wxPyPrintout *)(arg1)->GetPrintout();
26267
26268 wxPyEndAllowThreads(__tstate);
26269 if (PyErr_Occurred()) SWIG_fail;
26270 }
26271 {
412d302d 26272 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26273 }
26274 return resultobj;
26275 fail:
26276 return NULL;
26277}
26278
26279
c32bde28 26280static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26281 PyObject *resultobj;
26282 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26283 wxPyPrintout *result;
26284 PyObject * obj0 = 0 ;
26285 char *kwnames[] = {
26286 (char *) "self", NULL
26287 };
26288
26289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
26290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26291 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26292 {
26293 PyThreadState* __tstate = wxPyBeginAllowThreads();
26294 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
26295
26296 wxPyEndAllowThreads(__tstate);
26297 if (PyErr_Occurred()) SWIG_fail;
26298 }
26299 {
412d302d 26300 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26301 }
26302 return resultobj;
26303 fail:
26304 return NULL;
26305}
26306
26307
c32bde28 26308static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26309 PyObject *resultobj;
26310 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26311 wxFrame *arg2 = (wxFrame *) 0 ;
26312 PyObject * obj0 = 0 ;
26313 PyObject * obj1 = 0 ;
26314 char *kwnames[] = {
26315 (char *) "self",(char *) "frame", NULL
26316 };
26317
26318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26320 if (SWIG_arg_fail(1)) SWIG_fail;
26321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26322 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26323 {
26324 PyThreadState* __tstate = wxPyBeginAllowThreads();
26325 (arg1)->SetFrame(arg2);
26326
26327 wxPyEndAllowThreads(__tstate);
26328 if (PyErr_Occurred()) SWIG_fail;
26329 }
26330 Py_INCREF(Py_None); resultobj = Py_None;
26331 return resultobj;
26332 fail:
26333 return NULL;
26334}
26335
26336
c32bde28 26337static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26338 PyObject *resultobj;
26339 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26340 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26341 PyObject * obj0 = 0 ;
26342 PyObject * obj1 = 0 ;
26343 char *kwnames[] = {
26344 (char *) "self",(char *) "canvas", NULL
26345 };
26346
26347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26349 if (SWIG_arg_fail(1)) SWIG_fail;
26350 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26351 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26352 {
26353 PyThreadState* __tstate = wxPyBeginAllowThreads();
26354 (arg1)->SetCanvas(arg2);
26355
26356 wxPyEndAllowThreads(__tstate);
26357 if (PyErr_Occurred()) SWIG_fail;
26358 }
26359 Py_INCREF(Py_None); resultobj = Py_None;
26360 return resultobj;
26361 fail:
26362 return NULL;
26363}
26364
26365
c32bde28 26366static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26367 PyObject *resultobj;
26368 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26369 wxFrame *result;
26370 PyObject * obj0 = 0 ;
26371 char *kwnames[] = {
26372 (char *) "self", NULL
26373 };
26374
26375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
26376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26377 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26378 {
26379 PyThreadState* __tstate = wxPyBeginAllowThreads();
26380 result = (wxFrame *)(arg1)->GetFrame();
26381
26382 wxPyEndAllowThreads(__tstate);
26383 if (PyErr_Occurred()) SWIG_fail;
26384 }
26385 {
412d302d 26386 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26387 }
26388 return resultobj;
26389 fail:
26390 return NULL;
26391}
26392
26393
c32bde28 26394static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26395 PyObject *resultobj;
26396 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26397 wxPreviewCanvas *result;
26398 PyObject * obj0 = 0 ;
26399 char *kwnames[] = {
26400 (char *) "self", NULL
26401 };
26402
26403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
26404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26405 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26409
26410 wxPyEndAllowThreads(__tstate);
26411 if (PyErr_Occurred()) SWIG_fail;
26412 }
15afbcd0 26413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
d14a1e28
RD
26414 return resultobj;
26415 fail:
26416 return NULL;
26417}
26418
26419
c32bde28 26420static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26421 PyObject *resultobj;
26422 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26423 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26424 wxDC *arg3 = 0 ;
26425 bool result;
26426 PyObject * obj0 = 0 ;
26427 PyObject * obj1 = 0 ;
26428 PyObject * obj2 = 0 ;
26429 char *kwnames[] = {
26430 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26431 };
26432
26433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26435 if (SWIG_arg_fail(1)) SWIG_fail;
26436 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26437 if (SWIG_arg_fail(2)) SWIG_fail;
26438 {
26439 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26440 if (SWIG_arg_fail(3)) SWIG_fail;
26441 if (arg3 == NULL) {
26442 SWIG_null_ref("wxDC");
26443 }
26444 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26445 }
26446 {
26447 PyThreadState* __tstate = wxPyBeginAllowThreads();
26448 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26449
26450 wxPyEndAllowThreads(__tstate);
26451 if (PyErr_Occurred()) SWIG_fail;
26452 }
4f89f6a3
RD
26453 {
26454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26455 }
d14a1e28
RD
26456 return resultobj;
26457 fail:
26458 return NULL;
26459}
26460
26461
c32bde28 26462static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26463 PyObject *resultobj;
26464 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26465 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26466 wxDC *arg3 = 0 ;
26467 bool result;
26468 PyObject * obj0 = 0 ;
26469 PyObject * obj1 = 0 ;
26470 PyObject * obj2 = 0 ;
26471 char *kwnames[] = {
26472 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26473 };
26474
26475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26477 if (SWIG_arg_fail(1)) SWIG_fail;
26478 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26479 if (SWIG_arg_fail(2)) SWIG_fail;
26480 {
26481 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26482 if (SWIG_arg_fail(3)) SWIG_fail;
26483 if (arg3 == NULL) {
26484 SWIG_null_ref("wxDC");
26485 }
26486 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26487 }
26488 {
26489 PyThreadState* __tstate = wxPyBeginAllowThreads();
26490 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26491
26492 wxPyEndAllowThreads(__tstate);
26493 if (PyErr_Occurred()) SWIG_fail;
26494 }
4f89f6a3
RD
26495 {
26496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26497 }
d14a1e28
RD
26498 return resultobj;
26499 fail:
26500 return NULL;
26501}
26502
26503
c32bde28 26504static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26505 PyObject *resultobj;
26506 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26507 int arg2 ;
26508 bool result;
26509 PyObject * obj0 = 0 ;
994141e6 26510 PyObject * obj1 = 0 ;
d14a1e28
RD
26511 char *kwnames[] = {
26512 (char *) "self",(char *) "pageNum", NULL
26513 };
26514
994141e6 26515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26517 if (SWIG_arg_fail(1)) SWIG_fail;
26518 {
26519 arg2 = (int)(SWIG_As_int(obj1));
26520 if (SWIG_arg_fail(2)) SWIG_fail;
26521 }
d14a1e28
RD
26522 {
26523 PyThreadState* __tstate = wxPyBeginAllowThreads();
26524 result = (bool)(arg1)->RenderPage(arg2);
26525
26526 wxPyEndAllowThreads(__tstate);
26527 if (PyErr_Occurred()) SWIG_fail;
26528 }
4f89f6a3
RD
26529 {
26530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26531 }
d14a1e28
RD
26532 return resultobj;
26533 fail:
26534 return NULL;
26535}
26536
26537
c32bde28 26538static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26539 PyObject *resultobj;
26540 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26541 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26542 PyObject * obj0 = 0 ;
26543 PyObject * obj1 = 0 ;
26544 char *kwnames[] = {
26545 (char *) "self",(char *) "canvas", NULL
26546 };
26547
26548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26550 if (SWIG_arg_fail(1)) SWIG_fail;
26551 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26552 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26553 {
26554 PyThreadState* __tstate = wxPyBeginAllowThreads();
26555 (arg1)->AdjustScrollbars(arg2);
26556
26557 wxPyEndAllowThreads(__tstate);
26558 if (PyErr_Occurred()) SWIG_fail;
26559 }
26560 Py_INCREF(Py_None); resultobj = Py_None;
26561 return resultobj;
26562 fail:
26563 return NULL;
26564}
26565
26566
c32bde28 26567static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26568 PyObject *resultobj;
26569 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26570 wxPrintDialogData *result;
26571 PyObject * obj0 = 0 ;
26572 char *kwnames[] = {
26573 (char *) "self", NULL
26574 };
26575
26576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
26577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26578 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26579 {
26580 PyThreadState* __tstate = wxPyBeginAllowThreads();
26581 {
26582 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26583 result = (wxPrintDialogData *) &_result_ref;
26584 }
26585
26586 wxPyEndAllowThreads(__tstate);
26587 if (PyErr_Occurred()) SWIG_fail;
26588 }
15afbcd0 26589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
26590 return resultobj;
26591 fail:
26592 return NULL;
26593}
26594
26595
c32bde28 26596static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26597 PyObject *resultobj;
26598 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26599 int arg2 ;
26600 PyObject * obj0 = 0 ;
994141e6 26601 PyObject * obj1 = 0 ;
d14a1e28
RD
26602 char *kwnames[] = {
26603 (char *) "self",(char *) "percent", NULL
26604 };
26605
994141e6 26606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26608 if (SWIG_arg_fail(1)) SWIG_fail;
26609 {
26610 arg2 = (int)(SWIG_As_int(obj1));
26611 if (SWIG_arg_fail(2)) SWIG_fail;
26612 }
d14a1e28
RD
26613 {
26614 PyThreadState* __tstate = wxPyBeginAllowThreads();
26615 (arg1)->SetZoom(arg2);
26616
26617 wxPyEndAllowThreads(__tstate);
26618 if (PyErr_Occurred()) SWIG_fail;
26619 }
26620 Py_INCREF(Py_None); resultobj = Py_None;
26621 return resultobj;
26622 fail:
26623 return NULL;
26624}
26625
26626
c32bde28 26627static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26628 PyObject *resultobj;
26629 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26630 int result;
26631 PyObject * obj0 = 0 ;
26632 char *kwnames[] = {
26633 (char *) "self", NULL
26634 };
26635
26636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
093d3ff1
RD
26637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26638 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26639 {
26640 PyThreadState* __tstate = wxPyBeginAllowThreads();
26641 result = (int)(arg1)->GetZoom();
26642
26643 wxPyEndAllowThreads(__tstate);
26644 if (PyErr_Occurred()) SWIG_fail;
26645 }
093d3ff1
RD
26646 {
26647 resultobj = SWIG_From_int((int)(result));
26648 }
d14a1e28
RD
26649 return resultobj;
26650 fail:
26651 return NULL;
26652}
26653
26654
c32bde28 26655static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26656 PyObject *resultobj;
26657 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26658 int result;
26659 PyObject * obj0 = 0 ;
26660 char *kwnames[] = {
26661 (char *) "self", NULL
26662 };
26663
26664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26666 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26667 {
26668 PyThreadState* __tstate = wxPyBeginAllowThreads();
26669 result = (int)(arg1)->GetMaxPage();
26670
26671 wxPyEndAllowThreads(__tstate);
26672 if (PyErr_Occurred()) SWIG_fail;
26673 }
093d3ff1
RD
26674 {
26675 resultobj = SWIG_From_int((int)(result));
26676 }
d14a1e28
RD
26677 return resultobj;
26678 fail:
26679 return NULL;
26680}
26681
26682
c32bde28 26683static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26684 PyObject *resultobj;
26685 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26686 int result;
26687 PyObject * obj0 = 0 ;
26688 char *kwnames[] = {
26689 (char *) "self", NULL
26690 };
26691
26692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26694 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26695 {
26696 PyThreadState* __tstate = wxPyBeginAllowThreads();
26697 result = (int)(arg1)->GetMinPage();
26698
26699 wxPyEndAllowThreads(__tstate);
26700 if (PyErr_Occurred()) SWIG_fail;
26701 }
093d3ff1
RD
26702 {
26703 resultobj = SWIG_From_int((int)(result));
26704 }
d14a1e28
RD
26705 return resultobj;
26706 fail:
26707 return NULL;
26708}
26709
26710
c32bde28 26711static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26712 PyObject *resultobj;
26713 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26714 bool result;
26715 PyObject * obj0 = 0 ;
26716 char *kwnames[] = {
26717 (char *) "self", NULL
26718 };
26719
26720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
26721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26722 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26723 {
26724 PyThreadState* __tstate = wxPyBeginAllowThreads();
26725 result = (bool)(arg1)->Ok();
26726
26727 wxPyEndAllowThreads(__tstate);
26728 if (PyErr_Occurred()) SWIG_fail;
26729 }
4f89f6a3
RD
26730 {
26731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26732 }
d14a1e28
RD
26733 return resultobj;
26734 fail:
26735 return NULL;
26736}
26737
26738
c32bde28 26739static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26740 PyObject *resultobj;
26741 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26742 bool arg2 ;
26743 PyObject * obj0 = 0 ;
26744 PyObject * obj1 = 0 ;
26745 char *kwnames[] = {
26746 (char *) "self",(char *) "ok", NULL
26747 };
26748
26749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26751 if (SWIG_arg_fail(1)) SWIG_fail;
26752 {
26753 arg2 = (bool)(SWIG_As_bool(obj1));
26754 if (SWIG_arg_fail(2)) SWIG_fail;
26755 }
d14a1e28
RD
26756 {
26757 PyThreadState* __tstate = wxPyBeginAllowThreads();
26758 (arg1)->SetOk(arg2);
26759
26760 wxPyEndAllowThreads(__tstate);
26761 if (PyErr_Occurred()) SWIG_fail;
26762 }
26763 Py_INCREF(Py_None); resultobj = Py_None;
26764 return resultobj;
26765 fail:
26766 return NULL;
26767}
26768
26769
c32bde28 26770static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26771 PyObject *resultobj;
26772 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26773 bool arg2 ;
26774 bool result;
26775 PyObject * obj0 = 0 ;
26776 PyObject * obj1 = 0 ;
26777 char *kwnames[] = {
26778 (char *) "self",(char *) "interactive", NULL
26779 };
26780
26781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26783 if (SWIG_arg_fail(1)) SWIG_fail;
26784 {
26785 arg2 = (bool)(SWIG_As_bool(obj1));
26786 if (SWIG_arg_fail(2)) SWIG_fail;
26787 }
d14a1e28
RD
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
26790 result = (bool)(arg1)->Print(arg2);
26791
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
4f89f6a3
RD
26795 {
26796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26797 }
d14a1e28
RD
26798 return resultobj;
26799 fail:
26800 return NULL;
26801}
26802
26803
c32bde28 26804static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26805 PyObject *resultobj;
26806 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26807 PyObject * obj0 = 0 ;
26808 char *kwnames[] = {
26809 (char *) "self", NULL
26810 };
26811
26812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
26813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26814 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26815 {
26816 PyThreadState* __tstate = wxPyBeginAllowThreads();
26817 (arg1)->DetermineScaling();
26818
26819 wxPyEndAllowThreads(__tstate);
26820 if (PyErr_Occurred()) SWIG_fail;
26821 }
26822 Py_INCREF(Py_None); resultobj = Py_None;
26823 return resultobj;
26824 fail:
26825 return NULL;
26826}
26827
26828
c32bde28 26829static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26830 PyObject *obj;
26831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26832 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26833 Py_INCREF(obj);
26834 return Py_BuildValue((char *)"");
26835}
c32bde28 26836static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
26837 PyObject *resultobj;
26838 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26839 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 26840 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
26841 wxPyPrintPreview *result;
26842 PyObject * obj0 = 0 ;
26843 PyObject * obj1 = 0 ;
26844 PyObject * obj2 = 0 ;
d14a1e28 26845
4276dc52 26846 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26848 if (SWIG_arg_fail(1)) SWIG_fail;
26849 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26850 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 26851 if (obj2) {
093d3ff1
RD
26852 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26853 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26854 }
26855 {
e3b71cb8 26856 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26857 PyThreadState* __tstate = wxPyBeginAllowThreads();
26858 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26859
26860 wxPyEndAllowThreads(__tstate);
110da5b0 26861 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26862 }
15afbcd0 26863 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
d14a1e28
RD
26864 return resultobj;
26865 fail:
26866 return NULL;
26867}
26868
26869
c32bde28 26870static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
26871 PyObject *resultobj;
26872 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26873 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26874 wxPrintData *arg3 = (wxPrintData *) 0 ;
26875 wxPyPrintPreview *result;
26876 PyObject * obj0 = 0 ;
26877 PyObject * obj1 = 0 ;
26878 PyObject * obj2 = 0 ;
26879
26880 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail;
26883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26884 if (SWIG_arg_fail(2)) SWIG_fail;
26885 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26886 if (SWIG_arg_fail(3)) SWIG_fail;
4276dc52 26887 {
e3b71cb8 26888 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
26889 PyThreadState* __tstate = wxPyBeginAllowThreads();
26890 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26891
26892 wxPyEndAllowThreads(__tstate);
110da5b0 26893 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
26894 }
26895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26896 return resultobj;
26897 fail:
26898 return NULL;
26899}
26900
26901
26902static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26903 int argc;
26904 PyObject *argv[4];
26905 int ii;
26906
26907 argc = PyObject_Length(args);
26908 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26909 argv[ii] = PyTuple_GetItem(args,ii);
26910 }
26911 if ((argc >= 2) && (argc <= 3)) {
26912 int _v;
26913 {
26914 void *ptr;
26915 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26916 _v = 0;
26917 PyErr_Clear();
26918 } else {
26919 _v = 1;
26920 }
26921 }
26922 if (_v) {
26923 {
26924 void *ptr;
26925 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26926 _v = 0;
26927 PyErr_Clear();
26928 } else {
26929 _v = 1;
26930 }
26931 }
26932 if (_v) {
26933 if (argc <= 2) {
26934 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26935 }
26936 {
26937 void *ptr;
26938 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26939 _v = 0;
26940 PyErr_Clear();
26941 } else {
26942 _v = 1;
26943 }
26944 }
26945 if (_v) {
26946 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26947 }
26948 }
26949 }
26950 }
26951 if (argc == 3) {
26952 int _v;
26953 {
26954 void *ptr;
26955 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26956 _v = 0;
26957 PyErr_Clear();
26958 } else {
26959 _v = 1;
26960 }
26961 }
26962 if (_v) {
26963 {
26964 void *ptr;
26965 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26966 _v = 0;
26967 PyErr_Clear();
26968 } else {
26969 _v = 1;
26970 }
26971 }
26972 if (_v) {
26973 {
26974 void *ptr;
26975 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26976 _v = 0;
26977 PyErr_Clear();
26978 } else {
26979 _v = 1;
26980 }
26981 }
26982 if (_v) {
26983 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26984 }
26985 }
26986 }
26987 }
26988
093d3ff1 26989 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
4276dc52
RD
26990 return NULL;
26991}
26992
26993
c32bde28 26994static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26995 PyObject *resultobj;
26996 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26997 PyObject *arg2 = (PyObject *) 0 ;
26998 PyObject *arg3 = (PyObject *) 0 ;
26999 PyObject * obj0 = 0 ;
27000 PyObject * obj1 = 0 ;
27001 PyObject * obj2 = 0 ;
27002 char *kwnames[] = {
27003 (char *) "self",(char *) "self",(char *) "_class", NULL
27004 };
27005
27006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27008 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27009 arg2 = obj1;
27010 arg3 = obj2;
27011 {
27012 PyThreadState* __tstate = wxPyBeginAllowThreads();
27013 (arg1)->_setCallbackInfo(arg2,arg3);
27014
27015 wxPyEndAllowThreads(__tstate);
27016 if (PyErr_Occurred()) SWIG_fail;
27017 }
27018 Py_INCREF(Py_None); resultobj = Py_None;
27019 return resultobj;
27020 fail:
27021 return NULL;
27022}
27023
27024
c32bde28 27025static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27026 PyObject *resultobj;
27027 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27028 int arg2 ;
27029 bool result;
27030 PyObject * obj0 = 0 ;
994141e6 27031 PyObject * obj1 = 0 ;
d14a1e28
RD
27032 char *kwnames[] = {
27033 (char *) "self",(char *) "pageNum", NULL
27034 };
27035
994141e6 27036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27038 if (SWIG_arg_fail(1)) SWIG_fail;
27039 {
27040 arg2 = (int)(SWIG_As_int(obj1));
27041 if (SWIG_arg_fail(2)) SWIG_fail;
27042 }
d14a1e28
RD
27043 {
27044 PyThreadState* __tstate = wxPyBeginAllowThreads();
27045 result = (bool)(arg1)->base_SetCurrentPage(arg2);
27046
27047 wxPyEndAllowThreads(__tstate);
27048 if (PyErr_Occurred()) SWIG_fail;
27049 }
4f89f6a3
RD
27050 {
27051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27052 }
d14a1e28
RD
27053 return resultobj;
27054 fail:
27055 return NULL;
27056}
27057
27058
c32bde28 27059static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27060 PyObject *resultobj;
27061 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27062 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27063 wxDC *arg3 = 0 ;
27064 bool result;
27065 PyObject * obj0 = 0 ;
27066 PyObject * obj1 = 0 ;
27067 PyObject * obj2 = 0 ;
27068 char *kwnames[] = {
27069 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27070 };
27071
27072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27074 if (SWIG_arg_fail(1)) SWIG_fail;
27075 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27076 if (SWIG_arg_fail(2)) SWIG_fail;
27077 {
27078 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27079 if (SWIG_arg_fail(3)) SWIG_fail;
27080 if (arg3 == NULL) {
27081 SWIG_null_ref("wxDC");
27082 }
27083 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
27084 }
27085 {
27086 PyThreadState* __tstate = wxPyBeginAllowThreads();
27087 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
27088
27089 wxPyEndAllowThreads(__tstate);
27090 if (PyErr_Occurred()) SWIG_fail;
27091 }
4f89f6a3
RD
27092 {
27093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27094 }
d14a1e28
RD
27095 return resultobj;
27096 fail:
27097 return NULL;
27098}
27099
27100
c32bde28 27101static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27102 PyObject *resultobj;
27103 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27104 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27105 wxDC *arg3 = 0 ;
27106 bool result;
27107 PyObject * obj0 = 0 ;
27108 PyObject * obj1 = 0 ;
27109 PyObject * obj2 = 0 ;
27110 char *kwnames[] = {
27111 (char *) "self",(char *) "canvas",(char *) "dc", NULL
27112 };
27113
27114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27116 if (SWIG_arg_fail(1)) SWIG_fail;
27117 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27118 if (SWIG_arg_fail(2)) SWIG_fail;
27119 {
27120 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
27121 if (SWIG_arg_fail(3)) SWIG_fail;
27122 if (arg3 == NULL) {
27123 SWIG_null_ref("wxDC");
27124 }
27125 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
27126 }
27127 {
27128 PyThreadState* __tstate = wxPyBeginAllowThreads();
27129 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
27130
27131 wxPyEndAllowThreads(__tstate);
27132 if (PyErr_Occurred()) SWIG_fail;
27133 }
4f89f6a3
RD
27134 {
27135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27136 }
d14a1e28
RD
27137 return resultobj;
27138 fail:
27139 return NULL;
27140}
27141
27142
c32bde28 27143static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27144 PyObject *resultobj;
27145 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27146 int arg2 ;
27147 bool result;
27148 PyObject * obj0 = 0 ;
994141e6 27149 PyObject * obj1 = 0 ;
d14a1e28
RD
27150 char *kwnames[] = {
27151 (char *) "self",(char *) "pageNum", NULL
27152 };
27153
994141e6 27154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27156 if (SWIG_arg_fail(1)) SWIG_fail;
27157 {
27158 arg2 = (int)(SWIG_As_int(obj1));
27159 if (SWIG_arg_fail(2)) SWIG_fail;
27160 }
d14a1e28
RD
27161 {
27162 PyThreadState* __tstate = wxPyBeginAllowThreads();
27163 result = (bool)(arg1)->base_RenderPage(arg2);
27164
27165 wxPyEndAllowThreads(__tstate);
27166 if (PyErr_Occurred()) SWIG_fail;
27167 }
4f89f6a3
RD
27168 {
27169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27170 }
d14a1e28
RD
27171 return resultobj;
27172 fail:
27173 return NULL;
27174}
27175
27176
c32bde28 27177static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27178 PyObject *resultobj;
27179 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27180 int arg2 ;
27181 PyObject * obj0 = 0 ;
994141e6 27182 PyObject * obj1 = 0 ;
d14a1e28
RD
27183 char *kwnames[] = {
27184 (char *) "self",(char *) "percent", NULL
27185 };
27186
994141e6 27187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27189 if (SWIG_arg_fail(1)) SWIG_fail;
27190 {
27191 arg2 = (int)(SWIG_As_int(obj1));
27192 if (SWIG_arg_fail(2)) SWIG_fail;
27193 }
d14a1e28
RD
27194 {
27195 PyThreadState* __tstate = wxPyBeginAllowThreads();
27196 (arg1)->base_SetZoom(arg2);
27197
27198 wxPyEndAllowThreads(__tstate);
27199 if (PyErr_Occurred()) SWIG_fail;
27200 }
27201 Py_INCREF(Py_None); resultobj = Py_None;
27202 return resultobj;
27203 fail:
27204 return NULL;
27205}
27206
27207
c32bde28 27208static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27209 PyObject *resultobj;
27210 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27211 bool arg2 ;
27212 bool result;
27213 PyObject * obj0 = 0 ;
27214 PyObject * obj1 = 0 ;
27215 char *kwnames[] = {
27216 (char *) "self",(char *) "interactive", NULL
27217 };
27218
27219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail;
27222 {
27223 arg2 = (bool)(SWIG_As_bool(obj1));
27224 if (SWIG_arg_fail(2)) SWIG_fail;
27225 }
d14a1e28
RD
27226 {
27227 PyThreadState* __tstate = wxPyBeginAllowThreads();
27228 result = (bool)(arg1)->base_Print(arg2);
27229
27230 wxPyEndAllowThreads(__tstate);
27231 if (PyErr_Occurred()) SWIG_fail;
27232 }
4f89f6a3
RD
27233 {
27234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27235 }
d14a1e28
RD
27236 return resultobj;
27237 fail:
27238 return NULL;
27239}
27240
27241
c32bde28 27242static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27243 PyObject *resultobj;
27244 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
27245 PyObject * obj0 = 0 ;
27246 char *kwnames[] = {
27247 (char *) "self", NULL
27248 };
27249
27250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
27251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27252 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27253 {
27254 PyThreadState* __tstate = wxPyBeginAllowThreads();
27255 (arg1)->base_DetermineScaling();
27256
27257 wxPyEndAllowThreads(__tstate);
27258 if (PyErr_Occurred()) SWIG_fail;
27259 }
27260 Py_INCREF(Py_None); resultobj = Py_None;
27261 return resultobj;
27262 fail:
27263 return NULL;
27264}
27265
27266
c32bde28 27267static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27268 PyObject *obj;
27269 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27270 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
27271 Py_INCREF(obj);
27272 return Py_BuildValue((char *)"");
27273}
c32bde28 27274static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27275 PyObject *resultobj;
27276 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27277 wxFrame *arg2 = (wxFrame *) 0 ;
27278 wxString *arg3 = 0 ;
27279 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27280 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27281 wxSize const &arg5_defvalue = wxDefaultSize ;
27282 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27283 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
27284 wxString const &arg7_defvalue = wxPyFrameNameStr ;
27285 wxString *arg7 = (wxString *) &arg7_defvalue ;
27286 wxPyPreviewFrame *result;
ae8162c8 27287 bool temp3 = false ;
d14a1e28
RD
27288 wxPoint temp4 ;
27289 wxSize temp5 ;
ae8162c8 27290 bool temp7 = false ;
d14a1e28
RD
27291 PyObject * obj0 = 0 ;
27292 PyObject * obj1 = 0 ;
27293 PyObject * obj2 = 0 ;
27294 PyObject * obj3 = 0 ;
27295 PyObject * obj4 = 0 ;
994141e6 27296 PyObject * obj5 = 0 ;
d14a1e28
RD
27297 PyObject * obj6 = 0 ;
27298 char *kwnames[] = {
27299 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27300 };
27301
994141e6 27302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27304 if (SWIG_arg_fail(1)) SWIG_fail;
27305 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
27306 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27307 {
27308 arg3 = wxString_in_helper(obj2);
27309 if (arg3 == NULL) SWIG_fail;
ae8162c8 27310 temp3 = true;
d14a1e28
RD
27311 }
27312 if (obj3) {
27313 {
27314 arg4 = &temp4;
27315 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27316 }
27317 }
27318 if (obj4) {
27319 {
27320 arg5 = &temp5;
27321 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27322 }
27323 }
994141e6 27324 if (obj5) {
093d3ff1
RD
27325 {
27326 arg6 = (long)(SWIG_As_long(obj5));
27327 if (SWIG_arg_fail(6)) SWIG_fail;
27328 }
994141e6 27329 }
d14a1e28
RD
27330 if (obj6) {
27331 {
27332 arg7 = wxString_in_helper(obj6);
27333 if (arg7 == NULL) SWIG_fail;
ae8162c8 27334 temp7 = true;
d14a1e28
RD
27335 }
27336 }
27337 {
e3b71cb8 27338 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
27339 PyThreadState* __tstate = wxPyBeginAllowThreads();
27340 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27341
27342 wxPyEndAllowThreads(__tstate);
110da5b0 27343 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27344 }
15afbcd0 27345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
d14a1e28
RD
27346 {
27347 if (temp3)
27348 delete arg3;
27349 }
27350 {
27351 if (temp7)
27352 delete arg7;
27353 }
27354 return resultobj;
27355 fail:
27356 {
27357 if (temp3)
27358 delete arg3;
27359 }
27360 {
27361 if (temp7)
27362 delete arg7;
27363 }
27364 return NULL;
27365}
27366
27367
c32bde28 27368static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27369 PyObject *resultobj;
27370 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27371 PyObject *arg2 = (PyObject *) 0 ;
27372 PyObject *arg3 = (PyObject *) 0 ;
27373 PyObject * obj0 = 0 ;
27374 PyObject * obj1 = 0 ;
27375 PyObject * obj2 = 0 ;
27376 char *kwnames[] = {
27377 (char *) "self",(char *) "self",(char *) "_class", NULL
27378 };
27379
27380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27382 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27383 arg2 = obj1;
27384 arg3 = obj2;
27385 {
27386 PyThreadState* __tstate = wxPyBeginAllowThreads();
27387 (arg1)->_setCallbackInfo(arg2,arg3);
27388
27389 wxPyEndAllowThreads(__tstate);
27390 if (PyErr_Occurred()) SWIG_fail;
27391 }
27392 Py_INCREF(Py_None); resultobj = Py_None;
27393 return resultobj;
27394 fail:
27395 return NULL;
27396}
27397
27398
c32bde28 27399static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27400 PyObject *resultobj;
27401 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27402 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27403 PyObject * obj0 = 0 ;
27404 PyObject * obj1 = 0 ;
27405 char *kwnames[] = {
27406 (char *) "self",(char *) "canvas", NULL
27407 };
27408
27409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27411 if (SWIG_arg_fail(1)) SWIG_fail;
27412 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27413 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27414 {
27415 PyThreadState* __tstate = wxPyBeginAllowThreads();
27416 (arg1)->SetPreviewCanvas(arg2);
27417
27418 wxPyEndAllowThreads(__tstate);
27419 if (PyErr_Occurred()) SWIG_fail;
27420 }
27421 Py_INCREF(Py_None); resultobj = Py_None;
27422 return resultobj;
27423 fail:
27424 return NULL;
27425}
27426
27427
c32bde28 27428static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27429 PyObject *resultobj;
27430 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27431 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27432 PyObject * obj0 = 0 ;
27433 PyObject * obj1 = 0 ;
27434 char *kwnames[] = {
27435 (char *) "self",(char *) "bar", NULL
27436 };
27437
27438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27440 if (SWIG_arg_fail(1)) SWIG_fail;
27441 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27442 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27443 {
27444 PyThreadState* __tstate = wxPyBeginAllowThreads();
27445 (arg1)->SetControlBar(arg2);
27446
27447 wxPyEndAllowThreads(__tstate);
27448 if (PyErr_Occurred()) SWIG_fail;
27449 }
27450 Py_INCREF(Py_None); resultobj = Py_None;
27451 return resultobj;
27452 fail:
27453 return NULL;
27454}
27455
27456
c32bde28 27457static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27458 PyObject *resultobj;
27459 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27460 PyObject * obj0 = 0 ;
27461 char *kwnames[] = {
27462 (char *) "self", NULL
27463 };
27464
27465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27467 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27468 {
27469 PyThreadState* __tstate = wxPyBeginAllowThreads();
27470 (arg1)->base_Initialize();
27471
27472 wxPyEndAllowThreads(__tstate);
27473 if (PyErr_Occurred()) SWIG_fail;
27474 }
27475 Py_INCREF(Py_None); resultobj = Py_None;
27476 return resultobj;
27477 fail:
27478 return NULL;
27479}
27480
27481
c32bde28 27482static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27483 PyObject *resultobj;
27484 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27485 PyObject * obj0 = 0 ;
27486 char *kwnames[] = {
27487 (char *) "self", NULL
27488 };
27489
27490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
27491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27492 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27493 {
27494 PyThreadState* __tstate = wxPyBeginAllowThreads();
27495 (arg1)->base_CreateCanvas();
27496
27497 wxPyEndAllowThreads(__tstate);
27498 if (PyErr_Occurred()) SWIG_fail;
27499 }
27500 Py_INCREF(Py_None); resultobj = Py_None;
27501 return resultobj;
27502 fail:
27503 return NULL;
27504}
27505
27506
c32bde28 27507static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27508 PyObject *resultobj;
27509 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27510 PyObject * obj0 = 0 ;
27511 char *kwnames[] = {
27512 (char *) "self", NULL
27513 };
27514
27515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
27516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27517 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27518 {
27519 PyThreadState* __tstate = wxPyBeginAllowThreads();
27520 (arg1)->base_CreateControlBar();
27521
27522 wxPyEndAllowThreads(__tstate);
27523 if (PyErr_Occurred()) SWIG_fail;
27524 }
27525 Py_INCREF(Py_None); resultobj = Py_None;
27526 return resultobj;
27527 fail:
27528 return NULL;
27529}
27530
27531
c32bde28 27532static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27533 PyObject *obj;
27534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27535 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27536 Py_INCREF(obj);
27537 return Py_BuildValue((char *)"");
27538}
c32bde28 27539static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27540 PyObject *resultobj;
27541 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27542 long arg2 ;
27543 wxWindow *arg3 = (wxWindow *) 0 ;
27544 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27545 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27546 wxSize const &arg5_defvalue = wxDefaultSize ;
27547 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27548 long arg6 = (long) 0 ;
27549 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27550 wxString *arg7 = (wxString *) &arg7_defvalue ;
27551 wxPyPreviewControlBar *result;
27552 wxPoint temp4 ;
27553 wxSize temp5 ;
ae8162c8 27554 bool temp7 = false ;
d14a1e28 27555 PyObject * obj0 = 0 ;
994141e6 27556 PyObject * obj1 = 0 ;
d14a1e28
RD
27557 PyObject * obj2 = 0 ;
27558 PyObject * obj3 = 0 ;
27559 PyObject * obj4 = 0 ;
994141e6 27560 PyObject * obj5 = 0 ;
d14a1e28
RD
27561 PyObject * obj6 = 0 ;
27562 char *kwnames[] = {
27563 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27564 };
27565
994141e6 27566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27568 if (SWIG_arg_fail(1)) SWIG_fail;
27569 {
27570 arg2 = (long)(SWIG_As_long(obj1));
27571 if (SWIG_arg_fail(2)) SWIG_fail;
27572 }
27573 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27574 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
27575 if (obj3) {
27576 {
27577 arg4 = &temp4;
27578 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27579 }
27580 }
27581 if (obj4) {
27582 {
27583 arg5 = &temp5;
27584 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27585 }
27586 }
994141e6 27587 if (obj5) {
093d3ff1
RD
27588 {
27589 arg6 = (long)(SWIG_As_long(obj5));
27590 if (SWIG_arg_fail(6)) SWIG_fail;
27591 }
994141e6 27592 }
d14a1e28
RD
27593 if (obj6) {
27594 {
27595 arg7 = wxString_in_helper(obj6);
27596 if (arg7 == NULL) SWIG_fail;
ae8162c8 27597 temp7 = true;
d14a1e28
RD
27598 }
27599 }
27600 {
e3b71cb8 27601 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
27602 PyThreadState* __tstate = wxPyBeginAllowThreads();
27603 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27604
27605 wxPyEndAllowThreads(__tstate);
110da5b0 27606 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27607 }
15afbcd0 27608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
d14a1e28
RD
27609 {
27610 if (temp7)
27611 delete arg7;
27612 }
27613 return resultobj;
27614 fail:
27615 {
27616 if (temp7)
27617 delete arg7;
27618 }
27619 return NULL;
27620}
27621
27622
c32bde28 27623static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27624 PyObject *resultobj;
27625 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27626 PyObject *arg2 = (PyObject *) 0 ;
27627 PyObject *arg3 = (PyObject *) 0 ;
27628 PyObject * obj0 = 0 ;
27629 PyObject * obj1 = 0 ;
27630 PyObject * obj2 = 0 ;
27631 char *kwnames[] = {
27632 (char *) "self",(char *) "self",(char *) "_class", NULL
27633 };
27634
27635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27637 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27638 arg2 = obj1;
27639 arg3 = obj2;
27640 {
27641 PyThreadState* __tstate = wxPyBeginAllowThreads();
27642 (arg1)->_setCallbackInfo(arg2,arg3);
27643
27644 wxPyEndAllowThreads(__tstate);
27645 if (PyErr_Occurred()) SWIG_fail;
27646 }
27647 Py_INCREF(Py_None); resultobj = Py_None;
27648 return resultobj;
27649 fail:
27650 return NULL;
27651}
27652
27653
c32bde28 27654static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27655 PyObject *resultobj;
27656 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27657 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27658 PyObject * obj0 = 0 ;
27659 PyObject * obj1 = 0 ;
27660 char *kwnames[] = {
27661 (char *) "self",(char *) "preview", NULL
27662 };
27663
27664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27666 if (SWIG_arg_fail(1)) SWIG_fail;
27667 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27668 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27669 {
27670 PyThreadState* __tstate = wxPyBeginAllowThreads();
27671 (arg1)->SetPrintPreview(arg2);
27672
27673 wxPyEndAllowThreads(__tstate);
27674 if (PyErr_Occurred()) SWIG_fail;
27675 }
27676 Py_INCREF(Py_None); resultobj = Py_None;
27677 return resultobj;
27678 fail:
27679 return NULL;
27680}
27681
27682
c32bde28 27683static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27684 PyObject *resultobj;
27685 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27686 PyObject * obj0 = 0 ;
27687 char *kwnames[] = {
27688 (char *) "self", NULL
27689 };
27690
27691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
27692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27693 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27694 {
27695 PyThreadState* __tstate = wxPyBeginAllowThreads();
27696 (arg1)->base_CreateButtons();
27697
27698 wxPyEndAllowThreads(__tstate);
27699 if (PyErr_Occurred()) SWIG_fail;
27700 }
27701 Py_INCREF(Py_None); resultobj = Py_None;
27702 return resultobj;
27703 fail:
27704 return NULL;
27705}
27706
27707
c32bde28 27708static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27709 PyObject *resultobj;
27710 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27711 int arg2 ;
27712 PyObject * obj0 = 0 ;
994141e6 27713 PyObject * obj1 = 0 ;
d14a1e28
RD
27714 char *kwnames[] = {
27715 (char *) "self",(char *) "zoom", NULL
27716 };
27717
994141e6 27718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27720 if (SWIG_arg_fail(1)) SWIG_fail;
27721 {
27722 arg2 = (int)(SWIG_As_int(obj1));
27723 if (SWIG_arg_fail(2)) SWIG_fail;
27724 }
d14a1e28
RD
27725 {
27726 PyThreadState* __tstate = wxPyBeginAllowThreads();
27727 (arg1)->base_SetZoomControl(arg2);
27728
27729 wxPyEndAllowThreads(__tstate);
27730 if (PyErr_Occurred()) SWIG_fail;
27731 }
27732 Py_INCREF(Py_None); resultobj = Py_None;
27733 return resultobj;
27734 fail:
27735 return NULL;
27736}
27737
27738
c32bde28 27739static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27740 PyObject *obj;
27741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27742 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27743 Py_INCREF(obj);
27744 return Py_BuildValue((char *)"");
27745}
d3b6e4ff 27746static PyMethodDef SwigMethods[] = {
093d3ff1
RD
27747 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27755 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27770 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27771 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27778 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27796 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27820 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
e505d15e 27827 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27828 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27833 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27837 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27841 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27846 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27863 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27893 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27900 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27923 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27931 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27943 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27949 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27958 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27964 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27969 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27975 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27979 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27984 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
70b7a5fe
RD
27993 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction) _wrap_VScrolledWindow_GetVisibleBegin, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction) _wrap_VScrolledWindow_GetVisibleEnd, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27996 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27998 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27999 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
28025 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
28033 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
28042 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
28044 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
28053 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28054 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
28056 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28060 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
28063 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28071 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
28081 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
28085 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
28090 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
28094 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
28096 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28102 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
28112 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28113 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
28115 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
28117 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
28121 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
28130 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
28136 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
28137 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
28139 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
28145 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28146 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28154 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
28157 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28160 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
28161 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
28162 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
28163 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
28164 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28165 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28166 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
28167 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
28168 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28169 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28170 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28171 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 28172 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28173 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28174 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28175 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28176 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28177 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28178 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28179 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28180 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28181 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28182 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28183 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28184 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28185 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28186 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28187 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28188 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28189 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28190 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28191 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28192 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28193 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
28194 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28195 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
28196 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28197 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 28198 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28199 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28200 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28201 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28202 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28203 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28204 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28205 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28206 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28207 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28208 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28209 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28210 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28211 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28212 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28213 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28214 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28215 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28216 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28217 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28218 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28219 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
28220 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28221 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28222 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28223 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 28224 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28225 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28226 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28227 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28228 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28229 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
28230 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
28231 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
28232 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
28233 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
28234 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28235 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28236 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28237 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
28238 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
28239 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
28240 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
28241 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
28242 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
28243 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28244 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
28245 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
28246 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
28247 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28248 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28249 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28250 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28251 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28252 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28253 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28254 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28255 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28256 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28257 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28258 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28259 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28260 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28261 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28262 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28263 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
28264 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
28265 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
28266 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28267 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28268 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
28269 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
28270 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
28271 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
28272 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
b9d6a5f3
RD
28273 { (char *)"PrintData_GetPrivData", (PyCFunction) _wrap_PrintData_GetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
28274 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28275 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28276 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28277 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28278 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28279 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28280 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28281 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28282 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28283 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28284 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
28285 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
28286 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
28287 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
28288 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
28289 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28290 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
28291 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
28292 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
28293 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
28294 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
28295 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28296 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28297 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28298 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28299 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28300 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28301 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28302 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28303 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
28304 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
28305 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28306 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28307 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28308 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28309 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28310 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28311 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28312 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28313 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28314 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28315 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28316 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28317 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28318 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28319 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28320 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28321 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28322 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28323 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28324 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
7557b9b5
RD
28325 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction) _wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28326 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction) _wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
28327 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28328 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28329 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28330 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28331 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28332 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28333 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28334 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28335 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28336 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28337 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28338 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28339 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28340 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28341 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28342 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28343 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28344 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28345 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28346 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28347 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28348 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28349 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28350 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28351 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28352 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28353 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28354 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28355 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28356 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28357 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28358 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28359 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28360 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28361 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28362 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28363 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28364 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28365 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28366 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28367 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28368 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28369 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28370 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28371 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28372 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28373 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28374 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28375 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28376 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28377 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28378 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28379 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28380 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28381 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28382 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28383 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28384 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28385 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28386 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28387 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28388 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28389 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28390 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28391 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28392 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28393 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28394 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28395 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28396 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28397 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28398 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28399 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28400 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28401 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28402 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28403 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28404 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28405 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28406 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28407 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28408 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28409 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28410 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28411 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28412 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28413 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28414 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28415 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28416 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28417 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28418 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28419 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28420 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28421 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28422 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28423 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28424 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28425 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28426 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28427 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28428 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28429 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28430 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28431 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28432 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28433 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28434 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28435 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28436 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28437 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28438 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28439 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28440 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28441 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28442 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28443 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28444 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28445 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28446 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28447 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28448 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28449 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28450 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28451 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28452 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28453 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28454 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28455 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28456 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28457 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28458 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28459 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28460 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28461 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28462 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28463 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28464 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28465 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28466 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28467 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28468 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28469 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28470 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28471 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28472 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
c32bde28 28473 { NULL, NULL, 0, NULL }
d14a1e28
RD
28474};
28475
28476
28477/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28478
28479static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28480 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28481}
28482static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28483 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28484}
28485static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28486 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28487}
28488static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28489 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28490}
28491static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28492 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28493}
28494static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28495 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28496}
28497static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28498 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28499}
28500static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28501 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28502}
28503static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28504 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28505}
28506static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28507 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28508}
28509static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28510 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28511}
28512static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28513 return (void *)((wxEvent *) ((wxPyEvent *) x));
28514}
28515static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28516 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28517}
28518static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28519 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28520}
28521static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28522 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28523}
28524static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28525 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28526}
28527static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28528 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28529}
28530static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28531 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28532}
28533static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28534 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28535}
28536static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28537 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28538}
28539static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28540 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28541}
28542static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28543 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28544}
53aa7709
RD
28545static void *_p_wxDateEventTo_p_wxEvent(void *x) {
28546 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
28547}
d14a1e28
RD
28548static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28549 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28550}
28551static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28552 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28553}
28554static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28555 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28556}
28557static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28558 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28559}
28560static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28561 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28562}
28563static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28564 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28565}
28566static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28567 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28568}
28569static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28570 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28571}
28572static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28573 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28574}
28575static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28576 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28577}
28578static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28579 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28580}
28581static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28582 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28583}
28584static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28585 return (void *)((wxEvent *) ((wxShowEvent *) x));
28586}
28587static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28588 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28589}
28590static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28591 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28592}
28593static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28594 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28595}
28596static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28597 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28598}
28599static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28600 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28601}
28602static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28603 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28604}
28605static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28606 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28607}
28608static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28609 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28610}
d3b6e4ff
RD
28611static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28612 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28613}
d14a1e28
RD
28614static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28615 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28616}
28617static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28618 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28619}
28620static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28621 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28622}
28623static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28624 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28625}
28626static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28627 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28628}
28629static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28630 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28631}
28632static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28633 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28634}
d3b6e4ff
RD
28635static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28636 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28637}
d14a1e28
RD
28638static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28639 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28640}
28641static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28642 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28643}
28644static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28645 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28646}
28647static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28648 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28649}
28650static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28651 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28652}
28653static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28654 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28655}
28656static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28657 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28658}
28659static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28660 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28661}
28662static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28663 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28664}
28665static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28666 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28667}
28668static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28669 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28670}
28671static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28672 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28673}
28674static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28675 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28676}
28677static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28678 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28679}
28680static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28681 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28682}
28683static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28684 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28685}
28686static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28687 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28688}
28689static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28690 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28691}
28692static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28693 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28694}
28695static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28696 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28697}
28698static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28699 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28700}
1cb4a8aa
RD
28701static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28702 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28703}
d14a1e28
RD
28704static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28705 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28706}
28707static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28708 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28709}
28710static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28711 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28712}
28713static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28714 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28715}
28716static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28717 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28718}
28719static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28720 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28721}
28722static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28723 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28724}
28725static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28726 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28727}
28728static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28729 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28730}
28731static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28732 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28733}
28734static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28735 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28736}
28737static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28738 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28739}
5e483524
RD
28740static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28741 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
28742}
28743static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28744 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28745}
d14a1e28
RD
28746static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28747 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28748}
28749static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28750 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28751}
28752static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28753 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28754}
d3b6e4ff
RD
28755static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28756 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28757}
d14a1e28
RD
28758static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28759 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28760}
28761static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28762 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28763}
28764static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28765 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28766}
28767static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28768 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28769}
28770static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28771 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28772}
28773static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28774 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28775}
28776static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28777 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28778}
28779static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28780 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28781}
28782static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28783 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28784}
28785static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28786 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28787}
28788static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28789 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28790}
28791static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28793}
28794static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28796}
28797static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28798 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28799}
28800static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28801 return (void *)((wxObject *) ((wxSizerItem *) x));
28802}
28803static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28804 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28805}
28806static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28807 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28808}
28809static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28810 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28811}
28812static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28813 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28814}
28815static void *_p_wxSizerTo_p_wxObject(void *x) {
28816 return (void *)((wxObject *) ((wxSizer *) x));
28817}
28818static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28819 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28820}
28821static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28822 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28823}
28824static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28826}
28827static void *_p_wxEventTo_p_wxObject(void *x) {
28828 return (void *)((wxObject *) ((wxEvent *) x));
28829}
28830static void *_p_wxFontDataTo_p_wxObject(void *x) {
28831 return (void *)((wxObject *) ((wxFontData *) x));
28832}
28833static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28834 return (void *)((wxObject *) ((wxPrintData *) x));
28835}
28836static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28837 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28838}
28839static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28840 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28841}
28842static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28843 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28844}
28845static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28846 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28847}
5e483524
RD
28848static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28849 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
28850}
28851static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28852 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28853}
28854static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28855 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28856}
28857static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28858 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28859}
28860static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28861 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28862}
28863static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28864 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28865}
28866static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28867 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28868}
28869static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28870 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28871}
28872static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28874}
28875static void *_p_wxControlTo_p_wxObject(void *x) {
28876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28877}
28878static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28879 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28880}
28881static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28882 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28883}
28884static void *_p_wxFSFileTo_p_wxObject(void *x) {
28885 return (void *)((wxObject *) ((wxFSFile *) x));
28886}
28887static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28888 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28889}
28890static void *_p_wxPySizerTo_p_wxObject(void *x) {
28891 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28892}
28893static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28895}
28896static void *_p_wxColourDataTo_p_wxObject(void *x) {
28897 return (void *)((wxObject *) ((wxColourData *) x));
28898}
28899static void *_p_wxPyEventTo_p_wxObject(void *x) {
28900 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28901}
28902static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28903 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28904}
28905static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28907}
28908static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28910}
28911static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28913}
28914static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28916}
28917static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28919}
28920static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28922}
d3b6e4ff
RD
28923static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28925}
d14a1e28
RD
28926static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28928}
28929static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28931}
28932static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28934}
28935static void *_p_wxShowEventTo_p_wxObject(void *x) {
28936 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28937}
28938static void *_p_wxPrinterTo_p_wxObject(void *x) {
28939 return (void *)((wxObject *) ((wxPrinter *) x));
28940}
28941static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28942 return (void *)((wxObject *) ((wxMenuItem *) x));
28943}
53aa7709
RD
28944static void *_p_wxDateEventTo_p_wxObject(void *x) {
28945 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
28946}
d14a1e28
RD
28947static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28948 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28949}
28950static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28951 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28952}
28953static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28954 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28955}
28956static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28957 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28958}
28959static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28960 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28961}
28962static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28963 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28964}
28965static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28966 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28967}
28968static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28969 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28970}
28971static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28972 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28973}
28974static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28975 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28976}
28977static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28978 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28979}
28980static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28981 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28982}
28983static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28984 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28985}
28986static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28987 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28988}
28989static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28990 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28991}
28992static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28993 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28994}
28995static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28996 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28997}
28998static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28999 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
29000}
29001static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
29002 return (void *)((wxObject *) ((wxImageHandler *) x));
29003}
29004static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
29005 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
29006}
29007static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
29008 return (void *)((wxObject *) ((wxEvtHandler *) x));
29009}
29010static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
29011 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
29012}
29013static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
29014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29015}
29016static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
29017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29018}
e505d15e
RD
29019static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
29020 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
29021}
d14a1e28
RD
29022static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
29023 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
29024}
29025static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
29026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29027}
29028static void *_p_wxImageTo_p_wxObject(void *x) {
29029 return (void *)((wxObject *) ((wxImage *) x));
29030}
29031static void *_p_wxFrameTo_p_wxObject(void *x) {
29032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
29033}
29034static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
29035 return (void *)((wxObject *) ((wxPyPrintout *) x));
29036}
29037static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
29038 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
29039}
29040static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
29041 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
29042}
29043static void *_p_wxStatusBarTo_p_wxObject(void *x) {
29044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
29045}
29046static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
29047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29048}
29049static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
29050 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29051}
29052static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
29053 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
29054}
29055static void *_p_wxKeyEventTo_p_wxObject(void *x) {
29056 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
29057}
d14a1e28
RD
29058static void *_p_wxWindowTo_p_wxObject(void *x) {
29059 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
29060}
29061static void *_p_wxMenuTo_p_wxObject(void *x) {
29062 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
29063}
29064static void *_p_wxMenuBarTo_p_wxObject(void *x) {
29065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
29066}
1e0c8722
RD
29067static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
29068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
29069}
d14a1e28
RD
29070static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
29071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
29072}
29073static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
29074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
29075}
29076static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
29077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
29078}
29079static void *_p_wxSashWindowTo_p_wxObject(void *x) {
29080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
29081}
29082static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
29083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
29084}
29085static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
29086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
29087}
29088static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
29089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29090}
29091static void *_p_wxTipWindowTo_p_wxObject(void *x) {
29092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29093}
29094static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
29095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
29096}
29097static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
29098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
29099}
1cb4a8aa
RD
29100static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
29101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29102}
d14a1e28
RD
29103static void *_p_wxSashEventTo_p_wxObject(void *x) {
29104 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
29105}
29106static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
29107 return (void *)((wxObject *) ((wxPrintPreview *) x));
29108}
29109static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
29110 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
29111}
29112static void *_p_wxPanelTo_p_wxObject(void *x) {
29113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
29114}
29115static void *_p_wxDialogTo_p_wxObject(void *x) {
29116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
29117}
29118static void *_p_wxColourDialogTo_p_wxObject(void *x) {
29119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29120}
29121static void *_p_wxDirDialogTo_p_wxObject(void *x) {
29122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29123}
29124static void *_p_wxFontDialogTo_p_wxObject(void *x) {
29125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29126}
29127static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 29128 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
29129}
29130static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
a68b8331 29131 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
29132}
29133static void *_p_wxFileSystemTo_p_wxObject(void *x) {
29134 return (void *)((wxObject *) ((wxFileSystem *) x));
29135}
29136static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
29137 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
29138}
29139static void *_p_wxMenuEventTo_p_wxObject(void *x) {
29140 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
29141}
29142static void *_p_wxPyAppTo_p_wxObject(void *x) {
29143 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
29144}
29145static void *_p_wxCloseEventTo_p_wxObject(void *x) {
29146 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
29147}
29148static void *_p_wxMouseEventTo_p_wxObject(void *x) {
29149 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
29150}
29151static void *_p_wxEraseEventTo_p_wxObject(void *x) {
29152 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
29153}
29154static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
29155 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
29156}
29157static void *_p_wxCommandEventTo_p_wxObject(void *x) {
29158 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
29159}
29160static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
29161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
29162}
29163static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
29164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29165}
29166static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
29167 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
29168}
29169static void *_p_wxFocusEventTo_p_wxObject(void *x) {
29170 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
29171}
29172static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
29173 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
29174}
29175static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
29176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
29177}
29178static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
29179 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
29180}
29181static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
29182 return (void *)((wxObject *) ((wxPrintDialogData *) x));
29183}
29184static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
29185 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
29186}
29187static void *_p_wxValidatorTo_p_wxObject(void *x) {
29188 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
29189}
29190static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
29191 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29192}
29193static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
29194 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
29195}
29196static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
29197 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29198}
29199static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
29200 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29201}
29202static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
29203 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29204}
29205static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
29206 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
29207}
29208static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
29209 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
29210}
29211static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
29212 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
29213}
29214static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
29215 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
29216}
29217static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
29218 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
29219}
29220static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
29221 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
29222}
29223static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
29224 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
29225}
d14a1e28
RD
29226static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
29227 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
29228}
29229static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
29230 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
29231}
29232static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
29233 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
29234}
d14a1e28
RD
29235static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
29236 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
29237}
29238static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
29239 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
29240}
d3b6e4ff
RD
29241static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
29242 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29243}
d14a1e28
RD
29244static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
29245 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
29246}
29247static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29248 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
29249}
29250static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
29251 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
29252}
29253static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
29254 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
29255}
d3b6e4ff
RD
29256static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
29257 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
29258}
d14a1e28
RD
29259static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29260 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
29261}
29262static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
29263 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29264}
29265static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
29266 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
29267}
29268static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
29269 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
29270}
29271static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
29272 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
29273}
29274static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
29275 return (void *)((wxWindow *) ((wxMenuBar *) x));
29276}
29277static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
29278 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
29279}
29280static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
29281 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
29282}
29283static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
29284 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
29285}
d3b6e4ff
RD
29286static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
29287 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29288}
d14a1e28
RD
29289static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
29290 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
29291}
29292static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
29293 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
29294}
29295static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
29296 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
29297}
29298static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
29299 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
29300}
29301static void *_p_wxPanelTo_p_wxWindow(void *x) {
29302 return (void *)((wxWindow *) ((wxPanel *) x));
29303}
29304static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
29305 return (void *)((wxWindow *) ((wxStatusBar *) x));
29306}
d14a1e28
RD
29307static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
29308 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
29309}
29310static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
29311 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
29312}
29313static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
29314 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
29315}
29316static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
29317 return (void *)((wxWindow *) ((wxPopupWindow *) x));
29318}
29319static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29320 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29321}
29322static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29323 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29324}
29325static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29326 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29327}
29328static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29329 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29330}
29331static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29332 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29333}
29334static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29335 return (void *)((wxWindow *) ((wxSashWindow *) x));
29336}
d3b6e4ff
RD
29337static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29338 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29339}
1cb4a8aa
RD
29340static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29341 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29342}
d14a1e28
RD
29343static void *_p_wxControlTo_p_wxWindow(void *x) {
29344 return (void *)((wxWindow *) ((wxControl *) x));
29345}
29346static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29347 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29348}
29349static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29350 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29351}
29352static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29353 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29354}
29355static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29356 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29357}
29358static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29359 return (void *)((wxWindow *) ((wxPyWindow *) x));
29360}
29361static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29362 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29363}
29364static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29365 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29366}
29367static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29368 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29369}
29370static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29371 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29372}
29373static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29374 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29375}
29376static void *_p_wxFrameTo_p_wxWindow(void *x) {
29377 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29378}
29379static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29380 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29381}
29382static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29383 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29384}
29385static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29386 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29387}
29388static void *_p_wxDialogTo_p_wxWindow(void *x) {
29389 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29390}
d14a1e28
RD
29391static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29392 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29393}
1cb4a8aa
RD
29394static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29395 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29396}
d14a1e28
RD
29397static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29398 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29399}
29400static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29401 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29402}
29403static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29404 return (void *)((wxDialog *) ((wxColourDialog *) x));
29405}
29406static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29407 return (void *)((wxDialog *) ((wxDirDialog *) x));
29408}
29409static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29410 return (void *)((wxDialog *) ((wxFontDialog *) x));
29411}
d14a1e28
RD
29412static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29413 return (void *)((wxDialog *) ((wxFileDialog *) x));
29414}
29415static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29416 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29417}
29418static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29419 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29420}
29421static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29422 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29423}
d3b6e4ff
RD
29424static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29425 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29426}
d14a1e28
RD
29427static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29428 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29429}
29430static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29431 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29432}
29433static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29434 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29435}
29436static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29437 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29438}
1cb4a8aa
RD
29439static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29440 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29441}
d14a1e28
RD
29442static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29443 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29444}
29445static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29446 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29447}
29448static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29449 return (void *)((wxPanel *) ((wxPyPanel *) x));
29450}
29451static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29452 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29453}
29454static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29455 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29456}
29457static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29458 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29459}
29460static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29461 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29462}
29463static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29464 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29465}
29466static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29467 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29468}
53aa7709
RD
29469static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
29470 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
29471}
d14a1e28
RD
29472static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29473 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29474}
29475static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29476 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29477}
29478static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29479 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29480}
29481static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29482 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29483}
29484static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29485 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29486}
29487static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29488 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29489}
29490static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29491 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29492}
29493static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29494 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29495}
29496static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29497 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29498}
15afbcd0
RD
29499static 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}};
29500static 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}};
29501static 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}};
29502static 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}};
29503static 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 29504static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 29505static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f5b96ee1 29506static 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 29507static 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 29508static 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
29509static 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}};
29510static 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}};
29511static 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}};
29512static 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}};
29513static 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}};
29514static 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}};
29515static 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
29516static 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}};
29517static 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
29518static 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}};
29519static 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}};
29520static 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}};
29521static 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}};
29522static 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 29523static 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
29524static 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}};
29525static 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}};
29526static 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}};
29527static 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 29528static 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 29529static 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 29530static 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
29531static 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}};
29532static 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}};
29533static 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 29534static 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
29535static 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}};
29536static 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}};
29537static 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
29538static 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}};
29539static 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 29540static 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 29541static 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
29542static 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}};
29543static 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}};
29544static 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}};
29545static 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 29546static 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
29547static 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}};
29548static 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}};
29549static 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}};
29550static 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}};
29551static 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}};
29552static 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 29553static 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
29554static 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}};
29555static 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}};
29556static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 29557static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29558static 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
29559static 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}};
29560static 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}};
29561static 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 29562static 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
29563static 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}};
29564static 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}};
29565static 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}};
29566static 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
29567static 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}};
29568static 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 29569static 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 29570static 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 29571static 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 29572static 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
29573static 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}};
29574static 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}};
29575static 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}};
29576static 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
29577static 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}};
29578static 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 29579static 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 29580static 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 29581static 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
29582static 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}};
29583static 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 29584static 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 29585static 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
29586static 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}};
29587static 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}};
29588static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 29589static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
29590static 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}};
29591static 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}};
29592static 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}};
29593static 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}};
29594static 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}};
29595static 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
29596
29597static swig_type_info *swig_types_initial[] = {
29598_swigt__p_wxQueryLayoutInfoEvent,
29599_swigt__p_wxPreviewFrame,
29600_swigt__p_wxPyPreviewFrame,
d14a1e28
RD
29601_swigt__p_wxPyPanel,
29602_swigt__p_wxMenu,
d14a1e28
RD
29603_swigt__p_wxFontData,
29604_swigt__p_wxEvent,
f5b96ee1 29605_swigt__p_wxPrintData,
d14a1e28 29606_swigt__p_wxTaskBarIcon,
5e483524 29607_swigt__p_wxPyTaskBarIcon,
d14a1e28
RD
29608_swigt__p_wxIconBundle,
29609_swigt__p_wxLayoutAlgorithm,
29610_swigt__p_wxFindDialogEvent,
29611_swigt__p_wxPreviewCanvas,
29612_swigt__p_wxFont,
29613_swigt__p_wxSplitterEvent,
29614_swigt__p_wxRegion,
093d3ff1
RD
29615_swigt__ptrdiff_t,
29616_swigt__std__ptrdiff_t,
d14a1e28
RD
29617_swigt__p_wxFindReplaceData,
29618_swigt__p_int,
29619_swigt__p_wxSize,
29620_swigt__p_wxDC,
29621_swigt__p_wxIcon,
22bfe96c 29622_swigt__p_wxVisualAttributes,
d14a1e28
RD
29623_swigt__p_wxMDIChildFrame,
29624_swigt__p_wxColourData,
29625_swigt__p_wxNotifyEvent,
29626_swigt__p_wxPyWindow,
093d3ff1 29627_swigt__p_form_ops_t,
d14a1e28 29628_swigt__p_wxSplashScreen,
d3b6e4ff 29629_swigt__p_wxPasswordEntryDialog,
d14a1e28
RD
29630_swigt__p_wxSingleChoiceDialog,
29631_swigt__p_wxMultiChoiceDialog,
29632_swigt__p_wxFileDialog,
d3b6e4ff 29633_swigt__p_wxTextEntryDialog,
093d3ff1
RD
29634_swigt__p_wxMessageDialog,
29635_swigt__p_wxProgressDialog,
29636_swigt__p_wxFindReplaceDialog,
d14a1e28 29637_swigt__p_wxPrinter,
d14a1e28 29638_swigt__p_wxArrayInt,
093d3ff1 29639_swigt__p_wxDuplexMode,
d14a1e28
RD
29640_swigt__p_wxEvtHandler,
29641_swigt__p_wxCalculateLayoutEvent,
29642_swigt__p_wxPyHtmlListBox,
29643_swigt__p_wxPyVListBox,
29644_swigt__p_wxRect,
e505d15e 29645_swigt__p_wxStdDialogButtonSizer,
994141e6 29646_swigt__p_char,
d14a1e28
RD
29647_swigt__p_wxMiniFrame,
29648_swigt__p_wxFrame,
29649_swigt__p_wxPyPrintout,
29650_swigt__p_wxTaskBarIconEvent,
29651_swigt__p_wxScrollWinEvent,
093d3ff1 29652_swigt__p_wxPaperSize,
d14a1e28
RD
29653_swigt__p_wxStatusBar,
29654_swigt__p_wxMDIParentFrame,
29655_swigt__p_wxPoint,
29656_swigt__p_wxObject,
093d3ff1 29657_swigt__p_unsigned_long,
d14a1e28
RD
29658_swigt__p_wxTipWindow,
29659_swigt__p_wxSashLayoutWindow,
29660_swigt__p_wxSplitterWindow,
f5b96ee1 29661_swigt__p_wxSplashScreenWindow,
d14a1e28
RD
29662_swigt__p_wxPyVScrolledWindow,
29663_swigt__p_wxPyPopupTransientWindow,
29664_swigt__p_wxPopupWindow,
29665_swigt__p_wxSashWindow,
29666_swigt__p_wxTopLevelWindow,
29667_swigt__p_wxWindow,
29668_swigt__p_wxScrolledWindow,
29669_swigt__p_wxMenuBar,
093d3ff1 29670_swigt__p_wxMDIClientWindow,
5e483524 29671_swigt__p_wxPyScrolledWindow,
d14a1e28
RD
29672_swigt__p_wxPrintPreview,
29673_swigt__p_wxSashEvent,
29674_swigt__p_wxString,
29675_swigt__p_wxPyPrintPreview,
d14a1e28
RD
29676_swigt__p_wxDirDialog,
29677_swigt__p_wxColourDialog,
29678_swigt__p_wxDialog,
29679_swigt__p_wxPanel,
093d3ff1 29680_swigt__p_wxFontDialog,
db914595 29681_swigt__p_wxPageSetupDialog,
d14a1e28 29682_swigt__p_wxPrintDialog,
7fdaaabe 29683_swigt__p_wxFileSystem,
d14a1e28 29684_swigt__p_wxBitmap,
093d3ff1
RD
29685_swigt__unsigned_int,
29686_swigt__p_unsigned_int,
29687_swigt__p_unsigned_char,
d14a1e28 29688_swigt__p_wxCommandEvent,
d14a1e28
RD
29689_swigt__p_wxPreviewControlBar,
29690_swigt__p_wxPyPreviewControlBar,
29691_swigt__p_wxColour,
29692_swigt__p_wxToolBar,
b2dc1044 29693_swigt__p_wxPageSetupDialogData,
994141e6 29694_swigt__p_wxPrintDialogData,
d14a1e28
RD
296950
29696};
29697
29698
29699/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29700
29701static swig_const_info swig_const_table[] = {
c32bde28 29702{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
29703
29704#ifdef __cplusplus
29705}
29706#endif
29707
093d3ff1
RD
29708
29709#ifdef __cplusplus
29710extern "C" {
29711#endif
29712
29713 /* Python-specific SWIG API */
29714#define SWIG_newvarlink() SWIG_Python_newvarlink()
29715#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29716#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29717
29718 /* -----------------------------------------------------------------------------
29719 * global variable support code.
29720 * ----------------------------------------------------------------------------- */
29721
29722 typedef struct swig_globalvar {
29723 char *name; /* Name of global variable */
29724 PyObject *(*get_attr)(); /* Return the current value */
29725 int (*set_attr)(PyObject *); /* Set the value */
29726 struct swig_globalvar *next;
29727 } swig_globalvar;
29728
29729 typedef struct swig_varlinkobject {
29730 PyObject_HEAD
29731 swig_globalvar *vars;
29732 } swig_varlinkobject;
29733
29734 static PyObject *
29735 swig_varlink_repr(swig_varlinkobject *v) {
29736 v = v;
29737 return PyString_FromString("<Swig global variables>");
29738 }
29739
29740 static int
29741 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29742 swig_globalvar *var;
29743 flags = flags;
29744 fprintf(fp,"Swig global variables { ");
29745 for (var = v->vars; var; var=var->next) {
29746 fprintf(fp,"%s", var->name);
29747 if (var->next) fprintf(fp,", ");
29748 }
29749 fprintf(fp," }\n");
29750 return 0;
29751 }
29752
29753 static PyObject *
29754 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29755 swig_globalvar *var = v->vars;
29756 while (var) {
29757 if (strcmp(var->name,n) == 0) {
29758 return (*var->get_attr)();
29759 }
29760 var = var->next;
29761 }
29762 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29763 return NULL;
29764 }
29765
29766 static int
29767 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29768 swig_globalvar *var = v->vars;
29769 while (var) {
29770 if (strcmp(var->name,n) == 0) {
29771 return (*var->set_attr)(p);
29772 }
29773 var = var->next;
29774 }
29775 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29776 return 1;
29777 }
29778
29779 static PyTypeObject varlinktype = {
29780 PyObject_HEAD_INIT(0)
29781 0, /* Number of items in variable part (ob_size) */
29782 (char *)"swigvarlink", /* Type name (tp_name) */
29783 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29784 0, /* Itemsize (tp_itemsize) */
29785 0, /* Deallocator (tp_dealloc) */
29786 (printfunc) swig_varlink_print, /* Print (tp_print) */
29787 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29788 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29789 0, /* tp_compare */
29790 (reprfunc) swig_varlink_repr, /* tp_repr */
29791 0, /* tp_as_number */
29792 0, /* tp_as_sequence */
29793 0, /* tp_as_mapping */
29794 0, /* tp_hash */
29795 0, /* tp_call */
29796 0, /* tp_str */
29797 0, /* tp_getattro */
29798 0, /* tp_setattro */
29799 0, /* tp_as_buffer */
29800 0, /* tp_flags */
29801 0, /* tp_doc */
29802#if PY_VERSION_HEX >= 0x02000000
29803 0, /* tp_traverse */
29804 0, /* tp_clear */
29805#endif
29806#if PY_VERSION_HEX >= 0x02010000
29807 0, /* tp_richcompare */
29808 0, /* tp_weaklistoffset */
29809#endif
29810#if PY_VERSION_HEX >= 0x02020000
29811 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29812#endif
29813#if PY_VERSION_HEX >= 0x02030000
29814 0, /* tp_del */
29815#endif
29816#ifdef COUNT_ALLOCS
29817 0,0,0,0 /* tp_alloc -> tp_next */
29818#endif
29819 };
29820
29821 /* Create a variable linking object for use later */
29822 static PyObject *
29823 SWIG_Python_newvarlink(void) {
29824 swig_varlinkobject *result = 0;
29825 result = PyMem_NEW(swig_varlinkobject,1);
29826 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29827 result->ob_type = &varlinktype;
29828 result->vars = 0;
29829 result->ob_refcnt = 0;
29830 Py_XINCREF((PyObject *) result);
29831 return ((PyObject*) result);
29832 }
29833
29834 static void
29835 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29836 swig_varlinkobject *v;
29837 swig_globalvar *gv;
29838 v= (swig_varlinkobject *) p;
29839 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29840 gv->name = (char *) malloc(strlen(name)+1);
29841 strcpy(gv->name,name);
29842 gv->get_attr = get_attr;
29843 gv->set_attr = set_attr;
29844 gv->next = v->vars;
29845 v->vars = gv;
29846 }
29847
29848 /* -----------------------------------------------------------------------------
29849 * constants/methods manipulation
29850 * ----------------------------------------------------------------------------- */
29851
29852 /* Install Constants */
29853 static void
29854 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29855 PyObject *obj = 0;
29856 size_t i;
29857 for (i = 0; constants[i].type; i++) {
29858 switch(constants[i].type) {
29859 case SWIG_PY_INT:
29860 obj = PyInt_FromLong(constants[i].lvalue);
29861 break;
29862 case SWIG_PY_FLOAT:
29863 obj = PyFloat_FromDouble(constants[i].dvalue);
29864 break;
29865 case SWIG_PY_STRING:
29866 if (constants[i].pvalue) {
29867 obj = PyString_FromString((char *) constants[i].pvalue);
29868 } else {
29869 Py_INCREF(Py_None);
29870 obj = Py_None;
29871 }
29872 break;
29873 case SWIG_PY_POINTER:
29874 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29875 break;
29876 case SWIG_PY_BINARY:
29877 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29878 break;
29879 default:
29880 obj = 0;
29881 break;
29882 }
29883 if (obj) {
29884 PyDict_SetItemString(d,constants[i].name,obj);
29885 Py_DECREF(obj);
29886 }
29887 }
29888 }
29889
29890 /* -----------------------------------------------------------------------------*/
29891 /* Fix SwigMethods to carry the callback ptrs when needed */
29892 /* -----------------------------------------------------------------------------*/
29893
29894 static void
29895 SWIG_Python_FixMethods(PyMethodDef *methods,
29896 swig_const_info *const_table,
29897 swig_type_info **types,
29898 swig_type_info **types_initial) {
29899 size_t i;
29900 for (i = 0; methods[i].ml_name; ++i) {
29901 char *c = methods[i].ml_doc;
29902 if (c && (c = strstr(c, "swig_ptr: "))) {
29903 int j;
29904 swig_const_info *ci = 0;
29905 char *name = c + 10;
29906 for (j = 0; const_table[j].type; j++) {
29907 if (strncmp(const_table[j].name, name,
29908 strlen(const_table[j].name)) == 0) {
29909 ci = &(const_table[j]);
29910 break;
29911 }
29912 }
29913 if (ci) {
29914 size_t shift = (ci->ptype) - types;
29915 swig_type_info *ty = types_initial[shift];
29916 size_t ldoc = (c - methods[i].ml_doc);
29917 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29918 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29919 char *buff = ndoc;
29920 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29921 strncpy(buff, methods[i].ml_doc, ldoc);
29922 buff += ldoc;
29923 strncpy(buff, "swig_ptr: ", 10);
29924 buff += 10;
29925 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29926 methods[i].ml_doc = ndoc;
29927 }
29928 }
29929 }
29930 }
29931
29932 /* -----------------------------------------------------------------------------*
29933 * Initialize type list
29934 * -----------------------------------------------------------------------------*/
29935
29936#if PY_MAJOR_VERSION < 2
29937 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29938 is copied out of Python/modsupport.c in python version 2.3.4 */
29939 static int
29940 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29941 {
29942 PyObject *dict;
29943 if (!PyModule_Check(m)) {
29944 PyErr_SetString(PyExc_TypeError,
29945 "PyModule_AddObject() needs module as first arg");
29946 return -1;
29947 }
29948 if (!o) {
29949 PyErr_SetString(PyExc_TypeError,
29950 "PyModule_AddObject() needs non-NULL value");
29951 return -1;
29952 }
29953
29954 dict = PyModule_GetDict(m);
29955 if (dict == NULL) {
29956 /* Internal error -- modules must have a dict! */
29957 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29958 PyModule_GetName(m));
29959 return -1;
29960 }
29961 if (PyDict_SetItemString(dict, name, o))
29962 return -1;
29963 Py_DECREF(o);
29964 return 0;
29965 }
29966#endif
29967
29968 static swig_type_info **
29969 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29970 static PyMethodDef swig_empty_runtime_method_table[] = {
29971 {
29972 NULL, NULL, 0, NULL
29973 }
29974 };/* Sentinel */
29975
29976 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
29977 swig_empty_runtime_method_table);
29978 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
29979 if (pointer && module) {
29980 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
29981 }
29982 return type_list_handle;
29983 }
29984
29985 static swig_type_info **
29986 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
29987 swig_type_info **type_pointer;
29988
29989 /* first check if module already created */
29990 type_pointer = SWIG_Python_GetTypeListHandle();
29991 if (type_pointer) {
29992 return type_pointer;
29993 } else {
29994 /* create a new module and variable */
29995 return SWIG_Python_SetTypeListHandle(type_list_handle);
29996 }
29997 }
29998
29999#ifdef __cplusplus
30000}
30001#endif
30002
30003/* -----------------------------------------------------------------------------*
30004 * Partial Init method
30005 * -----------------------------------------------------------------------------*/
30006
30007#ifdef SWIG_LINK_RUNTIME
30008#ifdef __cplusplus
30009extern "C"
30010#endif
30011SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
30012#endif
30013
d14a1e28
RD
30014#ifdef __cplusplus
30015extern "C"
30016#endif
30017SWIGEXPORT(void) SWIG_init(void) {
30018 static PyObject *SWIG_globals = 0;
30019 static int typeinit = 0;
30020 PyObject *m, *d;
30021 int i;
30022 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
30023
30024 /* Fix SwigMethods to carry the callback ptrs when needed */
30025 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
30026
d14a1e28
RD
30027 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30028 d = PyModule_GetDict(m);
30029
30030 if (!typeinit) {
093d3ff1
RD
30031#ifdef SWIG_LINK_RUNTIME
30032 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
30033#else
30034# ifndef SWIG_STATIC_RUNTIME
30035 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
30036# endif
30037#endif
d14a1e28
RD
30038 for (i = 0; swig_types_initial[i]; i++) {
30039 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
30040 }
30041 typeinit = 1;
30042 }
093d3ff1
RD
30043 SWIG_InstallConstants(d,swig_const_table);
30044
30045 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30046 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
30047 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
30048 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
30049 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
30050 {
30051 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
30052 }
30053 {
30054 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
30055 }
30056 {
30057 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
30058 }
30059 {
30060 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
30061 }
30062 {
30063 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
30064 }
30065 {
30066 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
30067 }
30068 {
30069 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
30070 }
30071 {
30072 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
30073 }
30074 {
30075 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
30076 }
30077 {
30078 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
30079 }
30080 {
30081 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
30082 }
30083 {
30084 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
30085 }
30086 {
30087 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
30088 }
30089 {
30090 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
30091 }
30092 {
30093 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
30094 }
30095 {
30096 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
30097 }
30098 {
30099 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
30100 }
30101 {
30102 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
30103 }
30104 {
30105 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
30106 }
30107 {
30108 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
30109 }
30110 {
30111 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
30112 }
30113 {
30114 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
30115 }
8f4d7c19
RD
30116 {
30117 PyDict_SetItemString(d,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL)));
30118 }
30119 {
30120 PyDict_SetItemString(d,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL)));
30121 }
093d3ff1
RD
30122 {
30123 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
30124 }
30125 {
30126 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
30127 }
30128 {
30129 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
30130 }
30131 {
30132 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
30133 }
30134 {
30135 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
30136 }
30137 {
30138 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
30139 }
30140 {
30141 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
30142 }
30143 {
30144 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
30145 }
30146 {
30147 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
30148 }
30149 {
30150 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
30151 }
30152 {
30153 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
30154 }
30155 {
30156 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
30157 }
30158 {
30159 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
30160 }
30161 {
30162 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
30163 }
30164 {
30165 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
30166 }
30167 {
30168 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
30169 }
30170 {
30171 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
30172 }
30173 {
30174 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
30175 }
30176 {
30177 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
30178 }
30179 {
30180 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
30181 }
30182 {
30183 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
30184 }
b2dc1044 30185 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
093d3ff1
RD
30186 {
30187 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
30188 }
30189 {
30190 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
30191 }
30192 {
30193 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
30194 }
30195 {
30196 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
30197 }
30198 {
30199 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
30200 }
30201 {
30202 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
30203 }
30204 {
30205 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
30206 }
30207 {
30208 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
30209 }
30210 {
30211 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
30212 }
30213 {
30214 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
30215 }
30216 {
30217 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
30218 }
30219 {
30220 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
30221 }
30222 {
30223 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
30224 }
30225 {
30226 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
30227 }
d14a1e28
RD
30228 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
30229 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
30230 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
30231 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
b2dc1044
RD
30232 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
30233 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
093d3ff1
RD
30234 {
30235 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
30236 }
30237 {
30238 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
30239 }
30240 {
30241 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
30242 }
30243 {
30244 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
30245 }
30246 {
30247 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
30248 }
30249 {
30250 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
30251 }
30252 {
30253 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
30254 }
30255 {
30256 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
30257 }
30258 {
30259 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
30260 }
30261 {
30262 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
30263 }
30264 {
30265 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
30266 }
30267 {
30268 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
30269 }
30270 {
30271 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
30272 }
30273 {
30274 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
30275 }
30276 {
30277 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
30278 }
d14a1e28 30279 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
093d3ff1
RD
30280 {
30281 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
30282 }
30283 {
30284 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
30285 }
30286 {
30287 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
30288 }
30289 {
30290 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
30291 }
30292 {
30293 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
30294 }
30295 {
30296 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
30297 }
30298 {
30299 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
30300 }
30301 {
30302 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
30303 }
30304 {
30305 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
30306 }
30307 {
30308 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
30309 }
30310 {
30311 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
30312 }
d14a1e28
RD
30313 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
30314 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
b2dc1044 30315 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
d14a1e28
RD
30316
30317 // Map renamed classes back to their common name for OOR
30318 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30319 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30320 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30321
30322 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
30323 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
30324 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
30325 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
30326 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
30327 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30328 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
b2dc1044
RD
30329 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30330 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30331 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30332 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30333 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30334 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
093d3ff1
RD
30335 {
30336 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30337 }
30338 {
30339 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30340 }
d3b6e4ff 30341 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
093d3ff1
RD
30342 {
30343 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30344 }
30345 {
30346 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30347 }
30348 {
30349 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30350 }
30351 {
30352 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30353 }
30354 {
30355 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30356 }
30357 {
30358 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30359 }
30360 {
30361 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30362 }
d14a1e28
RD
30363 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30364 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30365 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30366 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30367 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
093d3ff1
RD
30368 {
30369 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30370 }
30371 {
30372 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30373 }
30374 {
30375 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30376 }
30377 {
30378 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30379 }
30380 {
30381 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30382 }
30383 {
30384 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30385 }
24d7cbea
RD
30386 {
30387 PyDict_SetItemString(d,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30388 }
093d3ff1
RD
30389 {
30390 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30391 }
30392 {
30393 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30394 }
b2dc1044
RD
30395 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30396 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
093d3ff1
RD
30397 {
30398 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30399 }
30400 {
30401 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30402 }
30403 {
30404 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30405 }
30406 {
30407 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30408 }
30409 {
30410 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30411 }
30412 {
30413 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30414 }
30415 {
30416 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30417 }
30418 {
30419 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30420 }
30421 {
30422 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30423 }
30424 {
30425 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30426 }
30427 {
30428 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30429 }
30430 {
30431 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30432 }
30433 {
30434 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30435 }
30436 {
30437 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30438 }
30439 {
30440 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30441 }
30442 {
30443 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30444 }
30445 {
30446 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30447 }
30448 {
30449 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30450 }
30451 {
30452 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30453 }
30454 {
30455 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30456 }
30457 {
30458 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30459 }
30460 {
30461 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30462 }
30463 {
30464 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30465 }
30466 {
30467 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30468 }
30469 {
30470 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30471 }
30472 {
30473 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30474 }
30475 {
30476 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30477 }
30478 {
30479 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30480 }
30481 {
30482 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30483 }
30484 {
30485 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30486 }
30487 {
30488 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30489 }
30490 {
30491 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30492 }
30493 {
30494 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30495 }
30496 {
30497 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30498 }
30499 {
30500 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30501 }
30502 {
30503 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30504 }
30505 {
30506 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30507 }
30508 {
30509 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30510 }
30511 {
30512 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30513 }
d14a1e28
RD
30514
30515 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30516
30517}
30518