]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_windows_wrap.cpp
added a test to check how exception handling works with Win32 SEH; corrected copyright
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
093d3ff1 3 * Version 1.3.24
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
d14a1e28
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 26};
d14a1e28
RD
27#endif
28
29
093d3ff1
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
d14a1e28 37
c9c7117a 38
093d3ff1 39#include <Python.h>
d14a1e28
RD
40
41/***********************************************************************
093d3ff1 42 * swigrun.swg
d14a1e28 43 *
093d3ff1
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d14a1e28
RD
46 *
47 ************************************************************************/
48
093d3ff1
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
d14a1e28 52
093d3ff1
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 58#else
093d3ff1 59#define SWIG_TYPE_TABLE_NAME
d14a1e28
RD
60#endif
61
093d3ff1
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
d14a1e28 67#else
093d3ff1
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
85#endif
86
d14a1e28
RD
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
cc6dd355 95 const char *name;
d14a1e28
RD
96 swig_converter_func converter;
97 const char *str;
cc6dd355 98 void *clientdata;
d14a1e28
RD
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
093d3ff1
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
218
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
283
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
306
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
d14a1e28 375
093d3ff1
RD
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
d14a1e28 417
093d3ff1
RD
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
d14a1e28
RD
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
093d3ff1
RD
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
d14a1e28 441 *
093d3ff1 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d14a1e28 443 *
093d3ff1
RD
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
d14a1e28
RD
448 ************************************************************************/
449
093d3ff1
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
d14a1e28
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
d14a1e28 465
093d3ff1 466/*************************************************************************/
d14a1e28 467
d14a1e28 468
093d3ff1 469/* The static type info list */
d14a1e28 470
093d3ff1
RD
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
d14a1e28 474
093d3ff1
RD
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
d14a1e28 480
093d3ff1
RD
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
d14a1e28 486
093d3ff1
RD
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
d14a1e28 492
093d3ff1
RD
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
d14a1e28 502
d14a1e28
RD
503#ifdef __cplusplus
504}
505#endif
506
093d3ff1
RD
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
d14a1e28 510
093d3ff1
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
c32bde28 514
093d3ff1
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
d14a1e28 518
093d3ff1
RD
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
d14a1e28 522
093d3ff1
RD
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
d14a1e28
RD
530
531
093d3ff1
RD
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
d14a1e28 551
093d3ff1
RD
552/* Constant Types */
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
d14a1e28 568
c32bde28 569
093d3ff1
RD
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
c32bde28
RD
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
994141e6 576
994141e6 577#ifdef __cplusplus
093d3ff1
RD
578}
579#endif
994141e6 580
15afbcd0 581
093d3ff1
RD
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
15afbcd0 591
093d3ff1
RD
592/* Common SWIG API */
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
994141e6 597
093d3ff1
RD
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
994141e6 601
994141e6 602
093d3ff1
RD
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
994141e6 614
093d3ff1
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d14a1e28
RD
618
619
093d3ff1
RD
620#ifdef __cplusplus
621extern "C" {
622#endif
d14a1e28 623
093d3ff1
RD
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
d14a1e28 627
093d3ff1
RD
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
15afbcd0 631
093d3ff1
RD
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
15afbcd0 637
093d3ff1
RD
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
994141e6 643
093d3ff1 644/* Declarations for objects of type PySwigObject */
994141e6 645
093d3ff1
RD
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
994141e6 648{
093d3ff1
RD
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
c32bde28 653 } else {
093d3ff1 654 return 1;
c32bde28 655 }
15afbcd0 656}
093d3ff1
RD
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
c32bde28 660{
093d3ff1
RD
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
c32bde28 664}
15afbcd0 665
093d3ff1
RD
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
15afbcd0 668{
093d3ff1
RD
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
15afbcd0
RD
672}
673
093d3ff1
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
15afbcd0 676{
093d3ff1 677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
15afbcd0
RD
678}
679
093d3ff1
RD
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
c32bde28 682{
093d3ff1
RD
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
c32bde28 690}
15afbcd0 691
093d3ff1
RD
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
994141e6 694{
093d3ff1
RD
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
994141e6
RD
698}
699
093d3ff1
RD
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
15afbcd0 702{
093d3ff1
RD
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
c32bde28 710 }
c32bde28
RD
711}
712
093d3ff1
RD
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
c32bde28 715{
093d3ff1 716 PyObject_DEL(self);
15afbcd0
RD
717}
718
093d3ff1
RD
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
c32bde28 723
093d3ff1
RD
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789#endif
790#if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792#endif
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795#endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803}
804
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
c32bde28 807{
093d3ff1
RD
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
c32bde28 813}
15afbcd0 814
093d3ff1
RD
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
c32bde28 820
093d3ff1
RD
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
d14a1e28 826
093d3ff1
RD
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
d14a1e28 832
093d3ff1
RD
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
994141e6 836
093d3ff1
RD
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
c32bde28 843
093d3ff1
RD
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
994141e6 846{
093d3ff1
RD
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
860{
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
15afbcd0
RD
867}
868
093d3ff1
RD
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
15afbcd0 879
093d3ff1
RD
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
15afbcd0 882{
093d3ff1
RD
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
15afbcd0 891 }
c32bde28
RD
892}
893
093d3ff1
RD
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
c32bde28 896{
093d3ff1
RD
897 free(self->pack);
898 PyObject_DEL(self);
994141e6
RD
899}
900
093d3ff1
RD
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
d14a1e28 949
093d3ff1
RD
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
d14a1e28 955
093d3ff1
RD
956 return &PySwigPacked_Type;
957}
d14a1e28 958
093d3ff1
RD
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
d14a1e28 974
093d3ff1
RD
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d14a1e28 977{
093d3ff1
RD
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
d14a1e28 983
093d3ff1
RD
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
d14a1e28 989
093d3ff1
RD
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
d14a1e28 995
093d3ff1
RD
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
d14a1e28 1000
093d3ff1
RD
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
d14a1e28 1005
093d3ff1 1006#endif
d14a1e28 1007
093d3ff1 1008#endif
d14a1e28 1009
093d3ff1
RD
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
d14a1e28 1013
093d3ff1
RD
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048}
d14a1e28 1049
093d3ff1
RD
1050SWIGRUNTIMEINLINE void
1051SWIG_Python_NullRef(const char *type)
1052{
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058}
d14a1e28 1059
093d3ff1
RD
1060SWIGRUNTIME int
1061SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062{
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083}
d14a1e28 1084
093d3ff1
RD
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
d14a1e28 1087{
093d3ff1
RD
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096}
d14a1e28 1097
d14a1e28 1098
093d3ff1
RD
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
d14a1e28 1102
093d3ff1
RD
1103/* Convert a pointer value */
1104SWIGRUNTIME int
1105SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
d14a1e28 1118
093d3ff1
RD
1119#ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136#else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154#endif
d14a1e28 1155
093d3ff1 1156type_check:
d14a1e28 1157
093d3ff1
RD
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
d14a1e28 1165
093d3ff1
RD
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
d14a1e28 1170
093d3ff1
RD
1171type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194}
d14a1e28 1195
093d3ff1
RD
1196/* Convert a pointer value, signal an exception on a type mismatch */
1197SWIGRUNTIME void *
1198SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208}
d14a1e28 1209
093d3ff1
RD
1210/* Convert a packed value value */
1211SWIGRUNTIME int
1212SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
d14a1e28 1215
093d3ff1
RD
1216#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218#else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223#endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
d14a1e28 1230
093d3ff1
RD
1231type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241}
1242
1243/* Create a new array object */
1244SWIGRUNTIME PyObject *
1245SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251#ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253#else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259#endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275}
1276
1277SWIGRUNTIME PyObject *
1278SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286#else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292#endif
1293 return robj;
1294}
1295
1296/* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300#ifdef SWIG_LINK_RUNTIME
1301void *SWIG_ReturnGlobalTypeList(void *);
1302#endif
1303
1304SWIGRUNTIME swig_type_info **
1305SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309#ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311#else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319#endif
1320 return (swig_type_info **) type_pointer;
1321}
1322
1323/*
1324 Search for a swig_type_info structure
1325 */
1326SWIGRUNTIMEINLINE swig_type_info *
1327SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330}
1331
1332#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334#ifdef __cplusplus
1335}
1336#endif
1337
1338
1339/* -------- TYPES TABLE (BEGIN) -------- */
1340
1341#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1342#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1343#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1344#define SWIGTYPE_p_wxPyPanel swig_types[3]
1345#define SWIGTYPE_p_wxMenu swig_types[4]
1346#define SWIGTYPE_p_wxFontData swig_types[5]
1347#define SWIGTYPE_p_wxEvent swig_types[6]
1348#define SWIGTYPE_p_wxPrintData swig_types[7]
1349#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1350#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1351#define SWIGTYPE_p_wxIconBundle swig_types[10]
1352#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1353#define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1354#define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1355#define SWIGTYPE_p_wxFont swig_types[14]
1356#define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1357#define SWIGTYPE_p_wxRegion swig_types[16]
1358#define SWIGTYPE_ptrdiff_t swig_types[17]
1359#define SWIGTYPE_std__ptrdiff_t swig_types[18]
1360#define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1361#define SWIGTYPE_p_int swig_types[20]
1362#define SWIGTYPE_p_wxSize swig_types[21]
1363#define SWIGTYPE_p_wxDC swig_types[22]
1364#define SWIGTYPE_p_wxIcon swig_types[23]
1365#define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1366#define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1367#define SWIGTYPE_p_wxColourData swig_types[26]
1368#define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1369#define SWIGTYPE_p_wxPyWindow swig_types[28]
1370#define SWIGTYPE_p_form_ops_t swig_types[29]
1371#define SWIGTYPE_p_wxSplashScreen swig_types[30]
1372#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1373#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1374#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1375#define SWIGTYPE_p_wxFileDialog swig_types[34]
1376#define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1377#define SWIGTYPE_p_wxMessageDialog swig_types[36]
1378#define SWIGTYPE_p_wxProgressDialog swig_types[37]
1379#define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1380#define SWIGTYPE_p_wxPrinter swig_types[39]
1381#define SWIGTYPE_p_wxArrayInt swig_types[40]
1382#define SWIGTYPE_p_wxDuplexMode swig_types[41]
1383#define SWIGTYPE_p_wxEvtHandler swig_types[42]
1384#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1385#define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1386#define SWIGTYPE_p_wxPyVListBox swig_types[45]
1387#define SWIGTYPE_p_wxRect swig_types[46]
e505d15e
RD
1388#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1389#define SWIGTYPE_p_char swig_types[48]
1390#define SWIGTYPE_p_wxMiniFrame swig_types[49]
1391#define SWIGTYPE_p_wxFrame swig_types[50]
1392#define SWIGTYPE_p_wxPyPrintout swig_types[51]
1393#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1394#define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1395#define SWIGTYPE_p_wxPaperSize swig_types[54]
1396#define SWIGTYPE_p_wxStatusBar swig_types[55]
1397#define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1398#define SWIGTYPE_p_wxPoint swig_types[57]
1399#define SWIGTYPE_p_wxObject swig_types[58]
1400#define SWIGTYPE_p_unsigned_long swig_types[59]
1401#define SWIGTYPE_p_wxTipWindow swig_types[60]
1402#define SWIGTYPE_p_wxSashLayoutWindow swig_types[61]
1403#define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1404#define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1405#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1406#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[65]
1407#define SWIGTYPE_p_wxPopupWindow swig_types[66]
1408#define SWIGTYPE_p_wxSashWindow swig_types[67]
1409#define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1410#define SWIGTYPE_p_wxWindow swig_types[69]
1411#define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1412#define SWIGTYPE_p_wxMenuBar swig_types[71]
1413#define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1414#define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1415#define SWIGTYPE_p_wxPrintPreview swig_types[74]
1416#define SWIGTYPE_p_wxSashEvent swig_types[75]
1417#define SWIGTYPE_p_wxString swig_types[76]
1418#define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1419#define SWIGTYPE_p_wxDirDialog swig_types[78]
1420#define SWIGTYPE_p_wxColourDialog swig_types[79]
1421#define SWIGTYPE_p_wxDialog swig_types[80]
1422#define SWIGTYPE_p_wxPanel swig_types[81]
1423#define SWIGTYPE_p_wxFontDialog swig_types[82]
1424#define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1425#define SWIGTYPE_p_wxPrintDialog swig_types[84]
1426#define SWIGTYPE_p_wxFileSystem swig_types[85]
1427#define SWIGTYPE_p_wxBitmap swig_types[86]
1428#define SWIGTYPE_unsigned_int swig_types[87]
1429#define SWIGTYPE_p_unsigned_int swig_types[88]
1430#define SWIGTYPE_p_unsigned_char swig_types[89]
1431#define SWIGTYPE_p_wxCommandEvent swig_types[90]
1432#define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1433#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1434#define SWIGTYPE_p_wxColour swig_types[93]
1435#define SWIGTYPE_p_wxToolBar swig_types[94]
1436#define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1437#define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1438static swig_type_info *swig_types[98];
093d3ff1
RD
1439
1440/* -------- TYPES TABLE (END) -------- */
1441
1442
1443/*-----------------------------------------------
1444 @(target):= _windows_.so
1445 ------------------------------------------------*/
1446#define SWIG_init init_windows_
1447
1448#define SWIG_name "_windows_"
1449
1450#include "wx/wxPython/wxPython.h"
1451#include "wx/wxPython/pyclasses.h"
1452
1453
1454 static const wxString wxPyEmptyString(wxEmptyString);
1455 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1456
1457
1458
1459#include <limits.h>
1460
1461
1462SWIGINTERN int
1463 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1464 const char *errmsg)
1465{
1466 if (value < min_value) {
1467 if (errmsg) {
1468 PyErr_Format(PyExc_OverflowError,
1469 "value %ld is less than '%s' minimum %ld",
1470 value, errmsg, min_value);
1471 }
1472 return 0;
1473 } else if (value > max_value) {
1474 if (errmsg) {
1475 PyErr_Format(PyExc_OverflowError,
1476 "value %ld is greater than '%s' maximum %ld",
1477 value, errmsg, max_value);
1478 }
1479 return 0;
1480 }
1481 return 1;
1482}
1483
1484
1485SWIGINTERN int
1486SWIG_AsVal_long(PyObject* obj, long* val)
1487{
1488 if (PyNumber_Check(obj)) {
1489 if (val) *val = PyInt_AsLong(obj);
1490 return 1;
1491 }
1492 else {
1493 SWIG_type_error("number", obj);
1494 }
1495 return 0;
1496}
1497
1498
1499#if INT_MAX != LONG_MAX
1500SWIGINTERN int
1501 SWIG_AsVal_int(PyObject *obj, int *val)
1502{
1503 const char* errmsg = val ? "int" : (char*)0;
1504 long v;
1505 if (SWIG_AsVal_long(obj, &v)) {
1506 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1507 if (val) *val = (int)(v);
1508 return 1;
1509 } else {
1510 return 0;
1511 }
1512 } else {
1513 PyErr_Clear();
1514 }
1515 if (val) {
1516 SWIG_type_error(errmsg, obj);
1517 }
1518 return 0;
1519}
1520#else
1521SWIGINTERNSHORT int
1522 SWIG_AsVal_int(PyObject *obj, int *val)
1523{
1524 return SWIG_AsVal_long(obj,(long*)val);
1525}
1526#endif
1527
1528
1529SWIGINTERNSHORT int
1530SWIG_As_int(PyObject* obj)
1531{
1532 int v;
1533 if (!SWIG_AsVal_int(obj, &v)) {
1534 /*
1535 this is needed to make valgrind/purify happier.
1536 */
1537 memset((void*)&v, 0, sizeof(int));
1538 }
1539 return v;
1540}
1541
1542
1543SWIGINTERNSHORT long
1544SWIG_As_long(PyObject* obj)
1545{
1546 long v;
1547 if (!SWIG_AsVal_long(obj, &v)) {
1548 /*
1549 this is needed to make valgrind/purify happier.
1550 */
1551 memset((void*)&v, 0, sizeof(long));
1552 }
1553 return v;
1554}
1555
1556
1557SWIGINTERNSHORT int
1558SWIG_Check_int(PyObject* obj)
1559{
1560 return SWIG_AsVal_int(obj, (int*)0);
1561}
1562
1563
1564SWIGINTERNSHORT int
1565SWIG_Check_long(PyObject* obj)
1566{
1567 return SWIG_AsVal_long(obj, (long*)0);
1568}
1569
1570
1571SWIGINTERN int
1572 SWIG_AsVal_bool(PyObject *obj, bool *val)
1573{
1574 if (obj == Py_True) {
1575 if (val) *val = true;
1576 return 1;
1577 }
1578 if (obj == Py_False) {
1579 if (val) *val = false;
1580 return 1;
1581 }
1582 int res = 0;
1583 if (SWIG_AsVal_int(obj, &res)) {
1584 if (val) *val = res ? true : false;
1585 return 1;
1586 } else {
1587 PyErr_Clear();
1588 }
1589 if (val) {
1590 SWIG_type_error("bool", obj);
1591 }
1592 return 0;
1593}
1594
1595
1596SWIGINTERNSHORT bool
1597SWIG_As_bool(PyObject* obj)
1598{
1599 bool v;
1600 if (!SWIG_AsVal_bool(obj, &v)) {
1601 /*
1602 this is needed to make valgrind/purify happier.
1603 */
1604 memset((void*)&v, 0, sizeof(bool));
1605 }
1606 return v;
1607}
1608
1609
1610SWIGINTERNSHORT int
1611SWIG_Check_bool(PyObject* obj)
1612{
1613 return SWIG_AsVal_bool(obj, (bool*)0);
1614}
1615
1616
1617 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1618#define SWIG_From_int PyInt_FromLong
1619/*@@*/
1620
1621
1622 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1623 PyObject* o2;
1624 PyObject* o3;
1625
1626 if (!target) {
1627 target = o;
1628 } else if (target == Py_None) {
1629 Py_DECREF(Py_None);
1630 target = o;
1631 } else {
1632 if (!PyTuple_Check(target)) {
1633 o2 = target;
1634 target = PyTuple_New(1);
1635 PyTuple_SetItem(target, 0, o2);
1636 }
1637 o3 = PyTuple_New(1);
1638 PyTuple_SetItem(o3, 0, o);
1639
1640 o2 = target;
1641 target = PySequence_Concat(o2, o3);
1642 Py_DECREF(o2);
1643 Py_DECREF(o3);
1644 }
1645 return target;
1646 }
1647
1648
1649
1650SWIGINTERN int
1651SWIG_AsVal_double(PyObject *obj, double* val)
1652{
1653 if (PyNumber_Check(obj)) {
1654 if (val) *val = PyFloat_AsDouble(obj);
1655 return 1;
1656 }
1657 else {
1658 SWIG_type_error("number", obj);
1659 }
1660 return 0;
1661}
1662
1663
1664SWIGINTERNSHORT double
1665SWIG_As_double(PyObject* obj)
1666{
1667 double v;
1668 if (!SWIG_AsVal_double(obj, &v)) {
1669 /*
1670 this is needed to make valgrind/purify happier.
1671 */
1672 memset((void*)&v, 0, sizeof(double));
1673 }
1674 return v;
1675}
1676
1677
1678SWIGINTERNSHORT int
1679SWIG_Check_double(PyObject* obj)
1680{
1681 return SWIG_AsVal_double(obj, (double*)0);
1682}
1683
1684
1685 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1686#define SWIG_From_double PyFloat_FromDouble
1687/*@@*/
1688
1689 static const wxString wxPyFrameNameStr(wxFrameNameStr);
1690 static const wxString wxPyDialogNameStr(wxDialogNameStr);
1691 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
1692 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1693static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
1694static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
1695
1696 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1697#define SWIG_From_long PyInt_FromLong
1698/*@@*/
1699
1700
1701
1702static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1703 wxRect r;
1704 self->GetFieldRect(i, r);
1705 return r;
1706 }
1707 static const wxString wxPySplitterNameStr(wxT("splitter"));
1708 static const wxString wxPySashNameStr(wxT("sashWindow"));
1709 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1710
1711#include <wx/popupwin.h>
1712
1713
1714class wxPyPopupTransientWindow : public wxPopupTransientWindow
1715{
1716public:
1717 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1718 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
1719 : wxPopupTransientWindow(parent, style) {}
1720
1721 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
1722 DEC_PYCALLBACK__(OnDismiss);
1723 DEC_PYCALLBACK_BOOL_(CanDismiss);
1724 PYPRIVATE;
1725};
1726
1727
1728IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
1729IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
1730IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
1731
1732
1733#include <wx/tipwin.h>
1734
1735static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1736 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1737 }
1738
1739#include <wx/tipwin.h>
1740
1741
1742#include <wx/vscroll.h>
1743
1744
1745class wxPyVScrolledWindow : public wxVScrolledWindow
1746{
1747 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
1748public:
1749 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1750
1751 wxPyVScrolledWindow(wxWindow *parent,
1752 wxWindowID id = wxID_ANY,
1753 const wxPoint& pos = wxDefaultPosition,
1754 const wxSize& size = wxDefaultSize,
1755 long style = 0,
1756 const wxString& name = wxPyPanelNameStr)
1757 : wxVScrolledWindow(parent, id, pos, size, style, name)
1758 {}
1759
1760 // Overridable virtuals
1761
1762 // this function must be overridden in the derived class and it should
1763 // return the height of the given line in pixels
1764 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1765
1766
1767 // this function doesn't have to be overridden but it may be useful to do
1768 // it if calculating the lines heights is a relatively expensive operation
1769 // as it gives the user code a possibility to calculate several of them at
1770 // once
1771 //
1772 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1773 // shouldn't rely on the latter being called for all lines in the interval
1774 // specified here. It is also possible that OnGetLineHeight() will be
1775 // called for the lines outside of this interval, so this is really just a
1776 // hint, not a promise.
1777 //
1778 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1779 // usual
1780 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1781
1782
1783 // when the number of lines changes, we try to estimate the total height
1784 // of all lines which is a rather expensive operation in terms of lines
1785 // access, so if the user code may estimate the average height
1786 // better/faster than we do, it should override this function to implement
1787 // its own logic
1788 //
1789 // this function should return the best guess for the total height it may
1790 // make
1791 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1792
1793
1794 // Also expose some other interesting protected methods
1795
1796
1797 // find the index of the line we need to show at the top of the window such
1798 // that the last (fully or partially) visible line is the given one
1799 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1800 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1801
1802 // get the total height of the lines between lineMin (inclusive) and
1803 // lineMax (exclusive)
1804 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1805 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d14a1e28
RD
1806
1807
1808 PYPRIVATE;
1809};
1810
1811IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
1812
1813IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1814IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1815IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1816
1817
093d3ff1 1818SWIGINTERN int
c32bde28 1819SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
15afbcd0 1820{
c32bde28
RD
1821 long v = 0;
1822 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1823 SWIG_type_error("unsigned number", obj);
15afbcd0 1824 }
c32bde28
RD
1825 else if (val)
1826 *val = (unsigned long)v;
1827 return 1;
15afbcd0
RD
1828}
1829
1830
093d3ff1 1831SWIGINTERNSHORT unsigned long
c32bde28 1832SWIG_As_unsigned_SS_long(PyObject* obj)
15afbcd0 1833{
c32bde28
RD
1834 unsigned long v;
1835 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1836 /*
093d3ff1 1837 this is needed to make valgrind/purify happier.
c32bde28
RD
1838 */
1839 memset((void*)&v, 0, sizeof(unsigned long));
15afbcd0 1840 }
c32bde28
RD
1841 return v;
1842}
1843
1844
093d3ff1 1845SWIGINTERNSHORT int
c32bde28
RD
1846SWIG_Check_unsigned_SS_long(PyObject* obj)
1847{
1848 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
15afbcd0
RD
1849}
1850
1851
093d3ff1 1852SWIGINTERNSHORT PyObject*
c32bde28 1853 SWIG_From_unsigned_SS_long(unsigned long value)
994141e6 1854{
15afbcd0
RD
1855 return (value > LONG_MAX) ?
1856 PyLong_FromUnsignedLong(value)
093d3ff1 1857 : PyInt_FromLong((long)(value));
994141e6
RD
1858}
1859
1860
d14a1e28 1861#include <wx/vlbox.h>
d14a1e28 1862
b2dc1044 1863 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
1864
1865class wxPyVListBox : public wxVListBox
1866{
1867 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
1868public:
1869 wxPyVListBox() : wxVListBox() {}
1870
1871 wxPyVListBox(wxWindow *parent,
1872 wxWindowID id = wxID_ANY,
1873 const wxPoint& pos = wxDefaultPosition,
1874 const wxSize& size = wxDefaultSize,
1875 long style = 0,
1876 const wxString& name = wxPyVListBoxNameStr)
1877 : wxVListBox(parent, id, pos, size, style, name)
1878 {}
1879
1880 // Overridable virtuals
1881
1882 // the derived class must implement this function to actually draw the item
1883 // with the given index on the provided DC
1884 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1885 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
1886
1887
1888 // the derived class must implement this method to return the height of the
1889 // specified item
1890 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
1892
1893
1894 // this method may be used to draw separators between the lines; note that
1895 // the rectangle may be modified, typically to deflate it a bit before
1896 // passing to OnDrawItem()
1897 //
1898 // the base class version doesn't do anything
1899 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1900 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
1901
1902
1903 // this method is used to draw the items background and, maybe, a border
1904 // around it
1905 //
1906 // the base class version implements a reasonable default behaviour which
1907 // consists in drawing the selected item with the standard background
1908 // colour and drawing a border around the item if it is either selected or
1909 // current
1910 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1911 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
1912
1913
1914 PYPRIVATE;
1915};
1916
1917IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
1918
1919IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
1920IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1921IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
1922IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
1923
1924
093d3ff1 1925static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
1926 unsigned long cookie = 0;
1927 int selected = self->GetFirstSelected(cookie);
1928 bool blocked = wxPyBeginBlockThreads();
1929 PyObject* tup = PyTuple_New(2);
1930 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1931 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1932 wxPyEndBlockThreads(blocked);
1933 return tup;
1934 }
093d3ff1 1935static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b
RD
1936 int selected = self->GetNextSelected(cookie);
1937 bool blocked = wxPyBeginBlockThreads();
1938 PyObject* tup = PyTuple_New(2);
1939 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1940 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1941 wxPyEndBlockThreads(blocked);
1942 return tup;
1943 }
d14a1e28
RD
1944
1945#include <wx/htmllbox.h>
1946
1947
1948class wxPyHtmlListBox : public wxHtmlListBox
1949{
1950 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
1951public:
1952 wxPyHtmlListBox() : wxHtmlListBox() {}
1953
1954 wxPyHtmlListBox(wxWindow *parent,
1955 wxWindowID id = wxID_ANY,
1956 const wxPoint& pos = wxDefaultPosition,
1957 const wxSize& size = wxDefaultSize,
1958 long style = 0,
1959 const wxString& name = wxPyVListBoxNameStr)
1960 : wxHtmlListBox(parent, id, pos, size, style, name)
1961 {}
1962
1963 // Overridable virtuals
1964
1965 // this method must be implemented in the derived class and should return
1966 // the body (i.e. without <html>) of the HTML for the given item
1967 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
1968
1969 // this function may be overridden to decorate HTML returned by OnGetItem()
1970 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
1971
1972// TODO:
1973// // this method allows to customize the selection appearance: it may be used
1974// // to specify the colour of the text which normally has the given colour
1975// // colFg when it is inside the selection
1976// //
1977// // by default, the original colour is not used at all and all text has the
1978// // same (default for this system) colour inside selection
1979// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1980
1981// // this is the same as GetSelectedTextColour() but allows to customize the
1982// // background colour -- this is even more rarely used as you can change it
1983// // globally using SetSelectionBackground()
1984// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1985
1986
1987 PYPRIVATE;
1988};
1989
1990
1991IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
1992
1993IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
1994IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1995
1996
1997
1998
1999
ae8162c8
RD
2000#ifndef wxHAS_TASK_BAR_ICON
2001// implement dummy classes for platforms that don't have it
d14a1e28
RD
2002
2003class wxTaskBarIcon : public wxEvtHandler
2004{
2005public:
39f61e25 2006 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28 2007};
09c21d3b 2008
d14a1e28
RD
2009
2010class wxTaskBarIconEvent : public wxEvent
2011{
2012public:
2013 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
39f61e25 2014 { wxPyRaiseNotImplemented(); }
d14a1e28 2015 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
2016 bool IsOk() const { return false; }
2017 bool IsIconInstalled() const { return false; }
2018 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2019 bool RemoveIcon() { return false; }
2020 bool PopupMenu(wxMenu *menu) { return false; }
d14a1e28
RD
2021};
2022
2023enum {
2024 wxEVT_TASKBAR_MOVE = 0,
2025 wxEVT_TASKBAR_LEFT_DOWN = 0,
2026 wxEVT_TASKBAR_LEFT_UP = 0,
2027 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2028 wxEVT_TASKBAR_RIGHT_UP = 0,
2029 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2030 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2031};
09c21d3b
RD
2032
2033
2034#else
5e483524
RD
2035// Otherwise make a class that can virtualize CreatePopupMenu
2036class wxPyTaskBarIcon : public wxTaskBarIcon
2037{
2038 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
2039public:
2040 wxPyTaskBarIcon() : wxTaskBarIcon()
2041 {}
2042
2043 wxMenu* CreatePopupMenu() {
2044 wxMenu *rval = NULL;
2045 bool found;
2046 bool blocked = wxPyBeginBlockThreads();
2047 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2048 PyObject* ro;
2049 wxMenu* ptr;
2050 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2051 if (ro) {
2052 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2053 rval = ptr;
2054 Py_DECREF(ro);
2055 }
2056 }
2057 wxPyEndBlockThreads(blocked);
2058 if (! found)
2059 rval = wxTaskBarIcon::CreatePopupMenu();
2060 return rval;
2061 }
2062
2063 PYPRIVATE;
2064};
2065
2066IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 2067
d14a1e28
RD
2068#endif
2069
093d3ff1 2070static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
74a57fcd 2071 self->RemoveIcon();
5e483524 2072 delete self;
74a57fcd 2073 }
b2dc1044
RD
2074 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2075 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2076 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2077 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2078 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2079 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
093d3ff1 2080static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d14a1e28
RD
2081 wxArrayString arr;
2082 self->GetFilenames(arr);
2083 return wxArrayString2PyList_helper(arr);
2084 }
093d3ff1 2085static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d14a1e28
RD
2086 wxArrayString arr;
2087 self->GetPaths(arr);
2088 return wxArrayString2PyList_helper(arr);
2089 }
093d3ff1 2090static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d14a1e28
RD
2091 return wxArrayInt2PyList_helper(self->GetSelections());
2092 }
093d3ff1 2093static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
d14a1e28
RD
2094 return new wxSingleChoiceDialog(parent, message, caption,
2095 choices, choices_array, NULL, style, pos);
2096 }
d3b6e4ff 2097 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d14a1e28
RD
2098
2099#include <wx/mdi.h>
2100
2101 // C++ version of Python aware wxWindow
2102class wxPyWindow : public wxWindow
2103{
2104 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2105public:
2106 wxPyWindow() : wxWindow() {}
2107 wxPyWindow(wxWindow* parent, const wxWindowID id,
2108 const wxPoint& pos = wxDefaultPosition,
2109 const wxSize& size = wxDefaultSize,
2110 long style = 0,
2111 const wxString& name = wxPyPanelNameStr)
2112 : wxWindow(parent, id, pos, size, style, name) {}
2113
db3e571a 2114 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d14a1e28
RD
2115
2116 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2117 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2118 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2119 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2120
2121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2124
2125 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2126 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2127
2128 DEC_PYCALLBACK__(InitDialog);
2129 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2130 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2131 DEC_PYCALLBACK_BOOL_(Validate);
2132
2133 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2134 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2135 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2136
2137 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2138 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2139
db3e571a 2140 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 2141 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 2142 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 2143
d14a1e28
RD
2144 PYPRIVATE;
2145};
2146
2147IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2148
2149IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2150IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2151IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2152IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2153
2154IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2155IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2156IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2157
2158IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2159IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2160
2161IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2162IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2163IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2164IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2165
2166IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2167IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2168IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2169
2170IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2171IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2172
db3e571a 2173IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
1cb4a8aa 2174IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
db3e571a 2175IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
1cb4a8aa 2176
d14a1e28
RD
2177
2178 // C++ version of Python aware wxPanel
2179class wxPyPanel : public wxPanel
2180{
2181 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2182public:
2183 wxPyPanel() : wxPanel() {}
2184 wxPyPanel(wxWindow* parent, const wxWindowID id,
2185 const wxPoint& pos = wxDefaultPosition,
2186 const wxSize& size = wxDefaultSize,
2187 long style = 0,
2188 const wxString& name = wxPyPanelNameStr)
2189 : wxPanel(parent, id, pos, size, style, name) {}
2190
db3e571a
RD
2191 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2192
d14a1e28
RD
2193
2194 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2195 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2196 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2197 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2198
2199 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2200 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2202
2203 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2204 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2205
2206 DEC_PYCALLBACK__(InitDialog);
2207 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2208 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2209 DEC_PYCALLBACK_BOOL_(Validate);
2210
2211 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2212 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2213 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2214
2215 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2216 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2217
db3e571a 2218 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 2219 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 2220 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 2221
d14a1e28
RD
2222 PYPRIVATE;
2223};
2224
2225IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2226
2227IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2228IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2229IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2230IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2231
2232IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2233IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2234IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2235
2236IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2237IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2238
2239IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2240IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2241IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2242IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2243
2244IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2245IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2246IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2247
2248IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2249IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2250
db3e571a 2251IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
1cb4a8aa 2252IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
db3e571a 2253IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1cb4a8aa 2254
db3e571a 2255
1cb4a8aa
RD
2256 // C++ version of Python aware wxScrolledWindow
2257class wxPyScrolledWindow : public wxScrolledWindow
2258{
2259 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2260public:
2261 wxPyScrolledWindow() : wxScrolledWindow() {}
2262 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2263 const wxPoint& pos = wxDefaultPosition,
2264 const wxSize& size = wxDefaultSize,
2265 long style = 0,
2266 const wxString& name = wxPyPanelNameStr)
2267 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2268
db3e571a 2269 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
1cb4a8aa
RD
2270
2271 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2272 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2273 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2274 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2275
2276 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2277 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2278 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2279
2280 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2281 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2282
2283 DEC_PYCALLBACK__(InitDialog);
2284 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2285 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2286 DEC_PYCALLBACK_BOOL_(Validate);
2287
2288 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2289 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2290 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2291
2292 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2293 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2294
db3e571a 2295 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
1cb4a8aa 2296 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
db3e571a 2297 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1cb4a8aa
RD
2298
2299 PYPRIVATE;
2300};
2301
2302IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2303
2304IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2305IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2306IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2307IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2308
2309IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2310IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2311IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2312
2313IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2314IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2315
2316IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2317IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2318IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2319IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2320
2321IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2322IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2323IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2324
2325IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2326IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2327
db3e571a 2328IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
1cb4a8aa 2329IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
db3e571a
RD
2330IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2331
d14a1e28
RD
2332
2333
2334#include "wx/wxPython/printfw.h"
2335
d14a1e28 2336
33b885b9
RD
2337 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2338 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
d14a1e28
RD
2339
2340
a68b8331 2341IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d14a1e28
RD
2342
2343// Since this one would be tough and ugly to do with the Macros...
2344void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 2345 bool hadErr = false;
d14a1e28
RD
2346 bool found;
2347
4f89f6a3 2348 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
2349 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2350 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2351 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2352 PyObject* val;
2353
2354 val = PyTuple_GetItem(result, 0);
2355 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 2356 else hadErr = true;
d14a1e28
RD
2357
2358 val = PyTuple_GetItem(result, 1);
2359 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 2360 else hadErr = true;
d14a1e28
RD
2361
2362 val = PyTuple_GetItem(result, 2);
2363 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 2364 else hadErr = true;
d14a1e28
RD
2365
2366 val = PyTuple_GetItem(result, 3);
2367 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 2368 else hadErr = true;
d14a1e28
RD
2369 }
2370 else
ae8162c8 2371 hadErr = true;
d14a1e28
RD
2372
2373 if (hadErr) {
2374 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2375 PyErr_Print();
2376 }
2377 Py_DECREF(result);
2378 }
4f89f6a3 2379 wxPyEndBlockThreads(blocked);
d14a1e28
RD
2380 if (! found)
2381 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2382}
2383
2384void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2385 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2386}
2387
2388
2389IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2390IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2391IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2392IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2393IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2394IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2395IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2396
2397
2398
2399
2400
ae8162c8
RD
2401#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2402 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
d14a1e28
RD
2403 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2404
2405
ae8162c8
RD
2406#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2407 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2408 bool rval=false; \
2409 bool found; \
2410 bool blocked = wxPyBeginBlockThreads(); \
2411 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2412 PyObject* win = wxPyMake_wxObject(a,false); \
2413 PyObject* dc = wxPyMake_wxObject(&b,false); \
2414 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2415 Py_DECREF(win); \
2416 Py_DECREF(dc); \
2417 } \
2418 wxPyEndBlockThreads(blocked); \
2419 if (! found) \
2420 rval = PCLASS::CBNAME(a, b); \
2421 return rval; \
2422 } \
2423 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2424 return PCLASS::CBNAME(a, b); \
d14a1e28
RD
2425 }
2426
2427
2428
2429
2430class wxPyPrintPreview : public wxPrintPreview
2431{
2432 DECLARE_CLASS(wxPyPrintPreview)
2433public:
4276dc52
RD
2434 wxPyPrintPreview(wxPyPrintout* printout,
2435 wxPyPrintout* printoutForPrinting,
2436 wxPrintDialogData* data=NULL)
2437 : wxPrintPreview(printout, printoutForPrinting, data)
2438 {}
d14a1e28
RD
2439 wxPyPrintPreview(wxPyPrintout* printout,
2440 wxPyPrintout* printoutForPrinting,
2441 wxPrintData* data=NULL)
2442 : wxPrintPreview(printout, printoutForPrinting, data)
2443 {}
2444
2445 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2446 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2447 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2448 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2449 DEC_PYCALLBACK_VOID_INT(SetZoom);
2450 DEC_PYCALLBACK_BOOL_BOOL(Print);
2451 DEC_PYCALLBACK_VOID_(DetermineScaling);
2452
2453 PYPRIVATE;
2454};
2455
2456// Stupid renamed classes... Fix this in 2.5...
2457#if defined(__WXMSW__)
2458IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2459#elif defined(__WXMAC__)
2460IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2461#else
2462IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2463#endif
2464
2465IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2466IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2467IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2468IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2469IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2470IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2471IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2472
2473
2474class wxPyPreviewFrame : public wxPreviewFrame
2475{
2476 DECLARE_CLASS(wxPyPreviewFrame);
2477public:
2478 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2479 const wxString& title,
2480 const wxPoint& pos = wxDefaultPosition,
2481 const wxSize& size = wxDefaultSize,
2482 long style = wxDEFAULT_FRAME_STYLE,
2483 const wxString& name = wxPyFrameNameStr)
2484 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2485 {}
2486
2487 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2488 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2489
2490 DEC_PYCALLBACK_VOID_(Initialize);
2491 DEC_PYCALLBACK_VOID_(CreateCanvas);
2492 DEC_PYCALLBACK_VOID_(CreateControlBar);
2493
2494 PYPRIVATE;
2495};
2496
2497IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2498
2499IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2500IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2501IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2502
2503
2504class wxPyPreviewControlBar : public wxPreviewControlBar
2505{
2506 DECLARE_CLASS(wxPyPreviewControlBar);
2507public:
2508 wxPyPreviewControlBar(wxPrintPreview *preview,
2509 long buttons,
2510 wxWindow *parent,
2511 const wxPoint& pos = wxDefaultPosition,
2512 const wxSize& size = wxDefaultSize,
2513 long style = 0,
2514 const wxString& name = wxPyPanelNameStr)
2515 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2516 {}
2517
2518 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2519
2520 DEC_PYCALLBACK_VOID_(CreateButtons);
2521 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2522
2523 PYPRIVATE;
2524};
2525
2526IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2527IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2528IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2529
2530#ifdef __cplusplus
2531extern "C" {
2532#endif
c32bde28 2533static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2534 PyObject *resultobj;
2535 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2536 int arg2 = (int) (int)-1 ;
d14a1e28
RD
2537 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2538 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2539 wxSize const &arg4_defvalue = wxDefaultSize ;
2540 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2541 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2542 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2543 wxString *arg6 = (wxString *) &arg6_defvalue ;
2544 wxPanel *result;
2545 wxPoint temp3 ;
2546 wxSize temp4 ;
ae8162c8 2547 bool temp6 = false ;
d14a1e28 2548 PyObject * obj0 = 0 ;
994141e6 2549 PyObject * obj1 = 0 ;
d14a1e28
RD
2550 PyObject * obj2 = 0 ;
2551 PyObject * obj3 = 0 ;
994141e6 2552 PyObject * obj4 = 0 ;
d14a1e28
RD
2553 PyObject * obj5 = 0 ;
2554 char *kwnames[] = {
2555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2556 };
2557
994141e6 2558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
2559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2560 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 2561 if (obj1) {
093d3ff1
RD
2562 {
2563 arg2 = (int const)(SWIG_As_int(obj1));
2564 if (SWIG_arg_fail(2)) SWIG_fail;
2565 }
994141e6 2566 }
d14a1e28
RD
2567 if (obj2) {
2568 {
2569 arg3 = &temp3;
2570 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2571 }
2572 }
2573 if (obj3) {
2574 {
2575 arg4 = &temp4;
2576 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2577 }
2578 }
994141e6 2579 if (obj4) {
093d3ff1
RD
2580 {
2581 arg5 = (long)(SWIG_As_long(obj4));
2582 if (SWIG_arg_fail(5)) SWIG_fail;
2583 }
994141e6 2584 }
d14a1e28
RD
2585 if (obj5) {
2586 {
2587 arg6 = wxString_in_helper(obj5);
2588 if (arg6 == NULL) SWIG_fail;
ae8162c8 2589 temp6 = true;
d14a1e28
RD
2590 }
2591 }
2592 {
e3b71cb8 2593 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2594 PyThreadState* __tstate = wxPyBeginAllowThreads();
2595 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2596
2597 wxPyEndAllowThreads(__tstate);
110da5b0 2598 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2599 }
b0f7404b 2600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
RD
2601 {
2602 if (temp6)
2603 delete arg6;
2604 }
2605 return resultobj;
2606 fail:
2607 {
2608 if (temp6)
2609 delete arg6;
2610 }
2611 return NULL;
2612}
2613
2614
c32bde28 2615static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2616 PyObject *resultobj;
2617 wxPanel *result;
2618 char *kwnames[] = {
2619 NULL
2620 };
2621
2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2623 {
e3b71cb8 2624 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2625 PyThreadState* __tstate = wxPyBeginAllowThreads();
2626 result = (wxPanel *)new wxPanel();
2627
2628 wxPyEndAllowThreads(__tstate);
110da5b0 2629 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2630 }
b0f7404b 2631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d14a1e28
RD
2632 return resultobj;
2633 fail:
2634 return NULL;
2635}
2636
2637
c32bde28 2638static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2639 PyObject *resultobj;
2640 wxPanel *arg1 = (wxPanel *) 0 ;
2641 wxWindow *arg2 = (wxWindow *) 0 ;
cfe5e918 2642 int arg3 = (int) (int)-1 ;
d14a1e28
RD
2643 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2644 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2645 wxSize const &arg5_defvalue = wxDefaultSize ;
2646 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2647 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2648 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2649 wxString *arg7 = (wxString *) &arg7_defvalue ;
2650 bool result;
2651 wxPoint temp4 ;
2652 wxSize temp5 ;
ae8162c8 2653 bool temp7 = false ;
d14a1e28
RD
2654 PyObject * obj0 = 0 ;
2655 PyObject * obj1 = 0 ;
994141e6 2656 PyObject * obj2 = 0 ;
d14a1e28
RD
2657 PyObject * obj3 = 0 ;
2658 PyObject * obj4 = 0 ;
994141e6 2659 PyObject * obj5 = 0 ;
d14a1e28
RD
2660 PyObject * obj6 = 0 ;
2661 char *kwnames[] = {
2662 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2663 };
2664
cfe5e918 2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
2666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2667 if (SWIG_arg_fail(1)) SWIG_fail;
2668 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2669 if (SWIG_arg_fail(2)) SWIG_fail;
cfe5e918 2670 if (obj2) {
093d3ff1
RD
2671 {
2672 arg3 = (int const)(SWIG_As_int(obj2));
2673 if (SWIG_arg_fail(3)) SWIG_fail;
2674 }
cfe5e918 2675 }
d14a1e28
RD
2676 if (obj3) {
2677 {
2678 arg4 = &temp4;
2679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2680 }
2681 }
2682 if (obj4) {
2683 {
2684 arg5 = &temp5;
2685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2686 }
2687 }
994141e6 2688 if (obj5) {
093d3ff1
RD
2689 {
2690 arg6 = (long)(SWIG_As_long(obj5));
2691 if (SWIG_arg_fail(6)) SWIG_fail;
2692 }
994141e6 2693 }
d14a1e28
RD
2694 if (obj6) {
2695 {
2696 arg7 = wxString_in_helper(obj6);
2697 if (arg7 == NULL) SWIG_fail;
ae8162c8 2698 temp7 = true;
d14a1e28
RD
2699 }
2700 }
2701 {
2702 PyThreadState* __tstate = wxPyBeginAllowThreads();
2703 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2704
2705 wxPyEndAllowThreads(__tstate);
2706 if (PyErr_Occurred()) SWIG_fail;
2707 }
4f89f6a3
RD
2708 {
2709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2710 }
d14a1e28
RD
2711 {
2712 if (temp7)
2713 delete arg7;
2714 }
2715 return resultobj;
2716 fail:
2717 {
2718 if (temp7)
2719 delete arg7;
2720 }
2721 return NULL;
2722}
2723
2724
c32bde28 2725static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2726 PyObject *resultobj;
2727 wxPanel *arg1 = (wxPanel *) 0 ;
2728 PyObject * obj0 = 0 ;
2729 char *kwnames[] = {
2730 (char *) "self", NULL
2731 };
2732
2733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
2734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2735 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
2736 {
2737 PyThreadState* __tstate = wxPyBeginAllowThreads();
2738 (arg1)->InitDialog();
2739
2740 wxPyEndAllowThreads(__tstate);
2741 if (PyErr_Occurred()) SWIG_fail;
2742 }
2743 Py_INCREF(Py_None); resultobj = Py_None;
2744 return resultobj;
2745 fail:
2746 return NULL;
2747}
2748
2749
5cbf236d
RD
2750static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2751 PyObject *resultobj;
2752 wxPanel *arg1 = (wxPanel *) 0 ;
2753 PyObject * obj0 = 0 ;
2754 char *kwnames[] = {
2755 (char *) "self", NULL
2756 };
2757
2758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
2759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2760 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
2761 {
2762 PyThreadState* __tstate = wxPyBeginAllowThreads();
2763 (arg1)->SetFocus();
2764
2765 wxPyEndAllowThreads(__tstate);
2766 if (PyErr_Occurred()) SWIG_fail;
2767 }
2768 Py_INCREF(Py_None); resultobj = Py_None;
2769 return resultobj;
2770 fail:
2771 return NULL;
2772}
2773
2774
2775static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2776 PyObject *resultobj;
2777 wxPanel *arg1 = (wxPanel *) 0 ;
2778 PyObject * obj0 = 0 ;
2779 char *kwnames[] = {
2780 (char *) "self", NULL
2781 };
2782
2783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
093d3ff1
RD
2784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2785 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
2786 {
2787 PyThreadState* __tstate = wxPyBeginAllowThreads();
2788 (arg1)->SetFocusIgnoringChildren();
2789
2790 wxPyEndAllowThreads(__tstate);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 }
2793 Py_INCREF(Py_None); resultobj = Py_None;
2794 return resultobj;
2795 fail:
2796 return NULL;
2797}
2798
2799
c32bde28 2800static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 2801 PyObject *resultobj;
093d3ff1 2802 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
2803 wxVisualAttributes result;
2804 PyObject * obj0 = 0 ;
2805 char *kwnames[] = {
2806 (char *) "variant", NULL
2807 };
2808
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2810 if (obj0) {
093d3ff1
RD
2811 {
2812 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2813 if (SWIG_arg_fail(1)) SWIG_fail;
2814 }
22bfe96c
RD
2815 }
2816 {
e3b71cb8 2817 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2820
2821 wxPyEndAllowThreads(__tstate);
110da5b0 2822 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
2823 }
2824 {
2825 wxVisualAttributes * resultptr;
093d3ff1 2826 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
2827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2828 }
2829 return resultobj;
2830 fail:
2831 return NULL;
2832}
2833
2834
c32bde28 2835static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2836 PyObject *obj;
2837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2838 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2839 Py_INCREF(obj);
2840 return Py_BuildValue((char *)"");
2841}
c32bde28 2842static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2843 PyObject *resultobj;
2844 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2845 int arg2 = (int) (int)-1 ;
d14a1e28
RD
2846 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2847 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2848 wxSize const &arg4_defvalue = wxDefaultSize ;
2849 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2850 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2851 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2852 wxString *arg6 = (wxString *) &arg6_defvalue ;
2853 wxScrolledWindow *result;
2854 wxPoint temp3 ;
2855 wxSize temp4 ;
ae8162c8 2856 bool temp6 = false ;
d14a1e28 2857 PyObject * obj0 = 0 ;
994141e6 2858 PyObject * obj1 = 0 ;
d14a1e28
RD
2859 PyObject * obj2 = 0 ;
2860 PyObject * obj3 = 0 ;
994141e6 2861 PyObject * obj4 = 0 ;
d14a1e28
RD
2862 PyObject * obj5 = 0 ;
2863 char *kwnames[] = {
2864 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2865 };
2866
994141e6 2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
2868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2869 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 2870 if (obj1) {
093d3ff1
RD
2871 {
2872 arg2 = (int const)(SWIG_As_int(obj1));
2873 if (SWIG_arg_fail(2)) SWIG_fail;
2874 }
994141e6 2875 }
d14a1e28
RD
2876 if (obj2) {
2877 {
2878 arg3 = &temp3;
2879 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2880 }
2881 }
2882 if (obj3) {
2883 {
2884 arg4 = &temp4;
2885 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2886 }
2887 }
994141e6 2888 if (obj4) {
093d3ff1
RD
2889 {
2890 arg5 = (long)(SWIG_As_long(obj4));
2891 if (SWIG_arg_fail(5)) SWIG_fail;
2892 }
994141e6 2893 }
d14a1e28
RD
2894 if (obj5) {
2895 {
2896 arg6 = wxString_in_helper(obj5);
2897 if (arg6 == NULL) SWIG_fail;
ae8162c8 2898 temp6 = true;
d14a1e28
RD
2899 }
2900 }
2901 {
e3b71cb8 2902 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2905
2906 wxPyEndAllowThreads(__tstate);
110da5b0 2907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2908 }
b0f7404b 2909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
2910 {
2911 if (temp6)
2912 delete arg6;
2913 }
2914 return resultobj;
2915 fail:
2916 {
2917 if (temp6)
2918 delete arg6;
2919 }
2920 return NULL;
2921}
2922
2923
c32bde28 2924static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2925 PyObject *resultobj;
2926 wxScrolledWindow *result;
2927 char *kwnames[] = {
2928 NULL
2929 };
2930
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2932 {
e3b71cb8 2933 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
2934 PyThreadState* __tstate = wxPyBeginAllowThreads();
2935 result = (wxScrolledWindow *)new wxScrolledWindow();
2936
2937 wxPyEndAllowThreads(__tstate);
110da5b0 2938 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 2939 }
b0f7404b 2940 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d14a1e28
RD
2941 return resultobj;
2942 fail:
2943 return NULL;
2944}
2945
2946
c32bde28 2947static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2948 PyObject *resultobj;
2949 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2950 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2951 int arg3 = (int) (int)-1 ;
d14a1e28
RD
2952 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2953 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2954 wxSize const &arg5_defvalue = wxDefaultSize ;
2955 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2956 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
2957 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2958 wxString *arg7 = (wxString *) &arg7_defvalue ;
2959 bool result;
2960 wxPoint temp4 ;
2961 wxSize temp5 ;
ae8162c8 2962 bool temp7 = false ;
d14a1e28
RD
2963 PyObject * obj0 = 0 ;
2964 PyObject * obj1 = 0 ;
994141e6 2965 PyObject * obj2 = 0 ;
d14a1e28
RD
2966 PyObject * obj3 = 0 ;
2967 PyObject * obj4 = 0 ;
994141e6 2968 PyObject * obj5 = 0 ;
d14a1e28
RD
2969 PyObject * obj6 = 0 ;
2970 char *kwnames[] = {
2971 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2972 };
2973
994141e6 2974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
2975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
2976 if (SWIG_arg_fail(1)) SWIG_fail;
2977 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2978 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 2979 if (obj2) {
093d3ff1
RD
2980 {
2981 arg3 = (int const)(SWIG_As_int(obj2));
2982 if (SWIG_arg_fail(3)) SWIG_fail;
2983 }
994141e6 2984 }
d14a1e28
RD
2985 if (obj3) {
2986 {
2987 arg4 = &temp4;
2988 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2989 }
2990 }
2991 if (obj4) {
2992 {
2993 arg5 = &temp5;
2994 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2995 }
2996 }
994141e6 2997 if (obj5) {
093d3ff1
RD
2998 {
2999 arg6 = (long)(SWIG_As_long(obj5));
3000 if (SWIG_arg_fail(6)) SWIG_fail;
3001 }
994141e6 3002 }
d14a1e28
RD
3003 if (obj6) {
3004 {
3005 arg7 = wxString_in_helper(obj6);
3006 if (arg7 == NULL) SWIG_fail;
ae8162c8 3007 temp7 = true;
d14a1e28
RD
3008 }
3009 }
3010 {
3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
3012 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3013
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) SWIG_fail;
3016 }
4f89f6a3
RD
3017 {
3018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3019 }
d14a1e28
RD
3020 {
3021 if (temp7)
3022 delete arg7;
3023 }
3024 return resultobj;
3025 fail:
3026 {
3027 if (temp7)
3028 delete arg7;
3029 }
3030 return NULL;
3031}
3032
3033
c32bde28 3034static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3035 PyObject *resultobj;
3036 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3037 int arg2 ;
3038 int arg3 ;
3039 int arg4 ;
3040 int arg5 ;
3041 int arg6 = (int) 0 ;
3042 int arg7 = (int) 0 ;
ae8162c8 3043 bool arg8 = (bool) false ;
d14a1e28 3044 PyObject * obj0 = 0 ;
994141e6
RD
3045 PyObject * obj1 = 0 ;
3046 PyObject * obj2 = 0 ;
3047 PyObject * obj3 = 0 ;
3048 PyObject * obj4 = 0 ;
3049 PyObject * obj5 = 0 ;
3050 PyObject * obj6 = 0 ;
d14a1e28
RD
3051 PyObject * obj7 = 0 ;
3052 char *kwnames[] = {
3053 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3054 };
3055
994141e6 3056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
3057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3058 if (SWIG_arg_fail(1)) SWIG_fail;
3059 {
3060 arg2 = (int)(SWIG_As_int(obj1));
3061 if (SWIG_arg_fail(2)) SWIG_fail;
3062 }
3063 {
3064 arg3 = (int)(SWIG_As_int(obj2));
3065 if (SWIG_arg_fail(3)) SWIG_fail;
3066 }
3067 {
3068 arg4 = (int)(SWIG_As_int(obj3));
3069 if (SWIG_arg_fail(4)) SWIG_fail;
3070 }
3071 {
3072 arg5 = (int)(SWIG_As_int(obj4));
3073 if (SWIG_arg_fail(5)) SWIG_fail;
3074 }
994141e6 3075 if (obj5) {
093d3ff1
RD
3076 {
3077 arg6 = (int)(SWIG_As_int(obj5));
3078 if (SWIG_arg_fail(6)) SWIG_fail;
3079 }
994141e6
RD
3080 }
3081 if (obj6) {
093d3ff1
RD
3082 {
3083 arg7 = (int)(SWIG_As_int(obj6));
3084 if (SWIG_arg_fail(7)) SWIG_fail;
3085 }
994141e6 3086 }
d14a1e28 3087 if (obj7) {
093d3ff1
RD
3088 {
3089 arg8 = (bool)(SWIG_As_bool(obj7));
3090 if (SWIG_arg_fail(8)) SWIG_fail;
3091 }
d14a1e28
RD
3092 }
3093 {
3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
3095 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3096
3097 wxPyEndAllowThreads(__tstate);
3098 if (PyErr_Occurred()) SWIG_fail;
3099 }
3100 Py_INCREF(Py_None); resultobj = Py_None;
3101 return resultobj;
3102 fail:
3103 return NULL;
3104}
3105
3106
c32bde28 3107static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3108 PyObject *resultobj;
3109 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3110 int arg2 ;
3111 int arg3 ;
3112 PyObject * obj0 = 0 ;
994141e6
RD
3113 PyObject * obj1 = 0 ;
3114 PyObject * obj2 = 0 ;
d14a1e28
RD
3115 char *kwnames[] = {
3116 (char *) "self",(char *) "x",(char *) "y", NULL
3117 };
3118
994141e6 3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3121 if (SWIG_arg_fail(1)) SWIG_fail;
3122 {
3123 arg2 = (int)(SWIG_As_int(obj1));
3124 if (SWIG_arg_fail(2)) SWIG_fail;
3125 }
3126 {
3127 arg3 = (int)(SWIG_As_int(obj2));
3128 if (SWIG_arg_fail(3)) SWIG_fail;
3129 }
d14a1e28
RD
3130 {
3131 PyThreadState* __tstate = wxPyBeginAllowThreads();
3132 (arg1)->Scroll(arg2,arg3);
3133
3134 wxPyEndAllowThreads(__tstate);
3135 if (PyErr_Occurred()) SWIG_fail;
3136 }
3137 Py_INCREF(Py_None); resultobj = Py_None;
3138 return resultobj;
3139 fail:
3140 return NULL;
3141}
3142
3143
c32bde28 3144static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3145 PyObject *resultobj;
3146 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3147 int arg2 ;
3148 int result;
3149 PyObject * obj0 = 0 ;
994141e6 3150 PyObject * obj1 = 0 ;
d14a1e28
RD
3151 char *kwnames[] = {
3152 (char *) "self",(char *) "orient", NULL
3153 };
3154
994141e6 3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3157 if (SWIG_arg_fail(1)) SWIG_fail;
3158 {
3159 arg2 = (int)(SWIG_As_int(obj1));
3160 if (SWIG_arg_fail(2)) SWIG_fail;
3161 }
d14a1e28
RD
3162 {
3163 PyThreadState* __tstate = wxPyBeginAllowThreads();
3164 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3165
3166 wxPyEndAllowThreads(__tstate);
3167 if (PyErr_Occurred()) SWIG_fail;
3168 }
093d3ff1
RD
3169 {
3170 resultobj = SWIG_From_int((int)(result));
3171 }
d14a1e28
RD
3172 return resultobj;
3173 fail:
3174 return NULL;
3175}
3176
3177
c32bde28 3178static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3179 PyObject *resultobj;
3180 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3181 int arg2 ;
3182 int arg3 ;
3183 PyObject * obj0 = 0 ;
994141e6
RD
3184 PyObject * obj1 = 0 ;
3185 PyObject * obj2 = 0 ;
d14a1e28
RD
3186 char *kwnames[] = {
3187 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3188 };
3189
994141e6 3190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3192 if (SWIG_arg_fail(1)) SWIG_fail;
3193 {
3194 arg2 = (int)(SWIG_As_int(obj1));
3195 if (SWIG_arg_fail(2)) SWIG_fail;
3196 }
3197 {
3198 arg3 = (int)(SWIG_As_int(obj2));
3199 if (SWIG_arg_fail(3)) SWIG_fail;
3200 }
d14a1e28
RD
3201 {
3202 PyThreadState* __tstate = wxPyBeginAllowThreads();
3203 (arg1)->SetScrollPageSize(arg2,arg3);
3204
3205 wxPyEndAllowThreads(__tstate);
3206 if (PyErr_Occurred()) SWIG_fail;
3207 }
3208 Py_INCREF(Py_None); resultobj = Py_None;
3209 return resultobj;
3210 fail:
3211 return NULL;
3212}
3213
3214
c32bde28 3215static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3216 PyObject *resultobj;
3217 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3218 int arg2 ;
3219 int arg3 ;
3220 PyObject * obj0 = 0 ;
994141e6
RD
3221 PyObject * obj1 = 0 ;
3222 PyObject * obj2 = 0 ;
d14a1e28
RD
3223 char *kwnames[] = {
3224 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3225 };
3226
994141e6 3227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3229 if (SWIG_arg_fail(1)) SWIG_fail;
3230 {
3231 arg2 = (int)(SWIG_As_int(obj1));
3232 if (SWIG_arg_fail(2)) SWIG_fail;
3233 }
3234 {
3235 arg3 = (int)(SWIG_As_int(obj2));
3236 if (SWIG_arg_fail(3)) SWIG_fail;
3237 }
d14a1e28
RD
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 (arg1)->SetScrollRate(arg2,arg3);
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 }
3245 Py_INCREF(Py_None); resultobj = Py_None;
3246 return resultobj;
3247 fail:
3248 return NULL;
3249}
3250
3251
c32bde28 3252static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3253 PyObject *resultobj;
3254 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3255 int *arg2 = (int *) 0 ;
3256 int *arg3 = (int *) 0 ;
3257 int temp2 ;
c32bde28 3258 int res2 = 0 ;
d14a1e28 3259 int temp3 ;
c32bde28 3260 int res3 = 0 ;
d14a1e28
RD
3261 PyObject * obj0 = 0 ;
3262 char *kwnames[] = {
3263 (char *) "self", NULL
3264 };
3265
c32bde28
RD
3266 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3267 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 3268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
093d3ff1
RD
3269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3270 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3271 {
3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
3273 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3274
3275 wxPyEndAllowThreads(__tstate);
3276 if (PyErr_Occurred()) SWIG_fail;
3277 }
3278 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3279 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3280 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3281 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3282 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
3283 return resultobj;
3284 fail:
3285 return NULL;
3286}
3287
3288
c32bde28 3289static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3290 PyObject *resultobj;
3291 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3292 bool arg2 ;
3293 bool arg3 ;
3294 PyObject * obj0 = 0 ;
3295 PyObject * obj1 = 0 ;
3296 PyObject * obj2 = 0 ;
3297 char *kwnames[] = {
3298 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3299 };
3300
3301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3303 if (SWIG_arg_fail(1)) SWIG_fail;
3304 {
3305 arg2 = (bool)(SWIG_As_bool(obj1));
3306 if (SWIG_arg_fail(2)) SWIG_fail;
3307 }
3308 {
3309 arg3 = (bool)(SWIG_As_bool(obj2));
3310 if (SWIG_arg_fail(3)) SWIG_fail;
3311 }
d14a1e28
RD
3312 {
3313 PyThreadState* __tstate = wxPyBeginAllowThreads();
3314 (arg1)->EnableScrolling(arg2,arg3);
3315
3316 wxPyEndAllowThreads(__tstate);
3317 if (PyErr_Occurred()) SWIG_fail;
3318 }
3319 Py_INCREF(Py_None); resultobj = Py_None;
3320 return resultobj;
3321 fail:
3322 return NULL;
3323}
3324
3325
c32bde28 3326static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3327 PyObject *resultobj;
3328 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3329 int *arg2 = (int *) 0 ;
3330 int *arg3 = (int *) 0 ;
3331 int temp2 ;
c32bde28 3332 int res2 = 0 ;
d14a1e28 3333 int temp3 ;
c32bde28 3334 int res3 = 0 ;
d14a1e28
RD
3335 PyObject * obj0 = 0 ;
3336 char *kwnames[] = {
3337 (char *) "self", NULL
3338 };
3339
c32bde28
RD
3340 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3341 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
093d3ff1
RD
3343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3344 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3345 {
3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
3347 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3348
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) SWIG_fail;
3351 }
3352 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3353 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3354 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3355 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3356 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
3357 return resultobj;
3358 fail:
3359 return NULL;
3360}
3361
3362
c32bde28 3363static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3364 PyObject *resultobj;
3365 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3366 double arg2 ;
3367 double arg3 ;
3368 PyObject * obj0 = 0 ;
994141e6
RD
3369 PyObject * obj1 = 0 ;
3370 PyObject * obj2 = 0 ;
d14a1e28
RD
3371 char *kwnames[] = {
3372 (char *) "self",(char *) "xs",(char *) "ys", NULL
3373 };
3374
994141e6 3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3377 if (SWIG_arg_fail(1)) SWIG_fail;
3378 {
3379 arg2 = (double)(SWIG_As_double(obj1));
3380 if (SWIG_arg_fail(2)) SWIG_fail;
3381 }
3382 {
3383 arg3 = (double)(SWIG_As_double(obj2));
3384 if (SWIG_arg_fail(3)) SWIG_fail;
3385 }
d14a1e28
RD
3386 {
3387 PyThreadState* __tstate = wxPyBeginAllowThreads();
3388 (arg1)->SetScale(arg2,arg3);
3389
3390 wxPyEndAllowThreads(__tstate);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 Py_INCREF(Py_None); resultobj = Py_None;
3394 return resultobj;
3395 fail:
3396 return NULL;
3397}
3398
3399
c32bde28 3400static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3401 PyObject *resultobj;
3402 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3403 double result;
3404 PyObject * obj0 = 0 ;
3405 char *kwnames[] = {
3406 (char *) "self", NULL
3407 };
3408
3409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
093d3ff1
RD
3410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3411 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3412 {
3413 PyThreadState* __tstate = wxPyBeginAllowThreads();
3414 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3415
3416 wxPyEndAllowThreads(__tstate);
3417 if (PyErr_Occurred()) SWIG_fail;
3418 }
093d3ff1
RD
3419 {
3420 resultobj = SWIG_From_double((double)(result));
3421 }
d14a1e28
RD
3422 return resultobj;
3423 fail:
3424 return NULL;
3425}
3426
3427
c32bde28 3428static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3429 PyObject *resultobj;
3430 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3431 double result;
3432 PyObject * obj0 = 0 ;
3433 char *kwnames[] = {
3434 (char *) "self", NULL
3435 };
3436
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
093d3ff1
RD
3438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3439 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3440 {
3441 PyThreadState* __tstate = wxPyBeginAllowThreads();
3442 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3443
3444 wxPyEndAllowThreads(__tstate);
3445 if (PyErr_Occurred()) SWIG_fail;
3446 }
093d3ff1
RD
3447 {
3448 resultobj = SWIG_From_double((double)(result));
3449 }
d14a1e28
RD
3450 return resultobj;
3451 fail:
3452 return NULL;
3453}
3454
3455
c32bde28 3456static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
3457 PyObject *resultobj;
3458 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3459 wxPoint *arg2 = 0 ;
3460 wxPoint result;
3461 wxPoint temp2 ;
d14a1e28 3462 PyObject * obj0 = 0 ;
322913ce 3463 PyObject * obj1 = 0 ;
d14a1e28 3464
322913ce 3465 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3467 if (SWIG_arg_fail(1)) SWIG_fail;
322913ce
RD
3468 {
3469 arg2 = &temp2;
3470 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3471 }
d14a1e28
RD
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3474 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
d14a1e28 3479 {
322913ce 3480 wxPoint * resultptr;
093d3ff1 3481 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 3482 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3483 }
3484 return resultobj;
3485 fail:
3486 return NULL;
3487}
3488
3489
c32bde28 3490static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
3491 PyObject *resultobj;
3492 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3493 int arg2 ;
3494 int arg3 ;
3495 int *arg4 = (int *) 0 ;
3496 int *arg5 = (int *) 0 ;
3497 int temp4 ;
c32bde28 3498 int res4 = 0 ;
322913ce 3499 int temp5 ;
c32bde28 3500 int res5 = 0 ;
d14a1e28 3501 PyObject * obj0 = 0 ;
994141e6
RD
3502 PyObject * obj1 = 0 ;
3503 PyObject * obj2 = 0 ;
d14a1e28 3504
c32bde28
RD
3505 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3506 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 3507 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3509 if (SWIG_arg_fail(1)) SWIG_fail;
3510 {
3511 arg2 = (int)(SWIG_As_int(obj1));
3512 if (SWIG_arg_fail(2)) SWIG_fail;
3513 }
3514 {
3515 arg3 = (int)(SWIG_As_int(obj2));
3516 if (SWIG_arg_fail(3)) SWIG_fail;
3517 }
d14a1e28
RD
3518 {
3519 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3520 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
3521
3522 wxPyEndAllowThreads(__tstate);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 }
322913ce 3525 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3526 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3527 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3528 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3529 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
3530 return resultobj;
3531 fail:
3532 return NULL;
3533}
3534
3535
3536static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3537 int argc;
3538 PyObject *argv[4];
3539 int ii;
3540
3541 argc = PyObject_Length(args);
3542 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3543 argv[ii] = PyTuple_GetItem(args,ii);
3544 }
3545 if (argc == 2) {
3546 int _v;
3547 {
3548 void *ptr;
15afbcd0 3549 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3550 _v = 0;
3551 PyErr_Clear();
3552 } else {
3553 _v = 1;
3554 }
3555 }
3556 if (_v) {
3557 {
3558 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3559 }
3560 if (_v) {
322913ce 3561 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
d14a1e28
RD
3562 }
3563 }
3564 }
3565 if (argc == 3) {
3566 int _v;
3567 {
3568 void *ptr;
15afbcd0 3569 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3570 _v = 0;
3571 PyErr_Clear();
3572 } else {
3573 _v = 1;
3574 }
3575 }
3576 if (_v) {
c32bde28 3577 _v = SWIG_Check_int(argv[1]);
d14a1e28 3578 if (_v) {
c32bde28 3579 _v = SWIG_Check_int(argv[2]);
d14a1e28 3580 if (_v) {
322913ce 3581 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
d14a1e28
RD
3582 }
3583 }
3584 }
3585 }
3586
093d3ff1 3587 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
d14a1e28
RD
3588 return NULL;
3589}
3590
3591
c32bde28 3592static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
3593 PyObject *resultobj;
3594 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3595 wxPoint *arg2 = 0 ;
3596 wxPoint result;
3597 wxPoint temp2 ;
d14a1e28 3598 PyObject * obj0 = 0 ;
322913ce 3599 PyObject * obj1 = 0 ;
d14a1e28 3600
322913ce 3601 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
093d3ff1
RD
3602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3603 if (SWIG_arg_fail(1)) SWIG_fail;
322913ce
RD
3604 {
3605 arg2 = &temp2;
3606 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3607 }
d14a1e28
RD
3608 {
3609 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3610 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
3611
3612 wxPyEndAllowThreads(__tstate);
3613 if (PyErr_Occurred()) SWIG_fail;
3614 }
d14a1e28 3615 {
322913ce 3616 wxPoint * resultptr;
093d3ff1 3617 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 3618 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3619 }
3620 return resultobj;
3621 fail:
3622 return NULL;
3623}
3624
3625
c32bde28 3626static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
3627 PyObject *resultobj;
3628 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
322913ce
RD
3629 int arg2 ;
3630 int arg3 ;
3631 int *arg4 = (int *) 0 ;
3632 int *arg5 = (int *) 0 ;
3633 int temp4 ;
c32bde28 3634 int res4 = 0 ;
322913ce 3635 int temp5 ;
c32bde28 3636 int res5 = 0 ;
d14a1e28 3637 PyObject * obj0 = 0 ;
994141e6
RD
3638 PyObject * obj1 = 0 ;
3639 PyObject * obj2 = 0 ;
d14a1e28 3640
c32bde28
RD
3641 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3642 arg5 = &temp5; res5 = SWIG_NEWOBJ;
994141e6 3643 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3645 if (SWIG_arg_fail(1)) SWIG_fail;
3646 {
3647 arg2 = (int)(SWIG_As_int(obj1));
3648 if (SWIG_arg_fail(2)) SWIG_fail;
3649 }
3650 {
3651 arg3 = (int)(SWIG_As_int(obj2));
3652 if (SWIG_arg_fail(3)) SWIG_fail;
3653 }
d14a1e28
RD
3654 {
3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 3656 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
3657
3658 wxPyEndAllowThreads(__tstate);
3659 if (PyErr_Occurred()) SWIG_fail;
3660 }
322913ce 3661 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
3662 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3663 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3664 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3665 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
3666 return resultobj;
3667 fail:
3668 return NULL;
3669}
3670
3671
3672static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3673 int argc;
3674 PyObject *argv[4];
3675 int ii;
3676
3677 argc = PyObject_Length(args);
3678 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3679 argv[ii] = PyTuple_GetItem(args,ii);
3680 }
3681 if (argc == 2) {
3682 int _v;
3683 {
3684 void *ptr;
15afbcd0 3685 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3686 _v = 0;
3687 PyErr_Clear();
3688 } else {
3689 _v = 1;
3690 }
3691 }
3692 if (_v) {
3693 {
3694 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3695 }
3696 if (_v) {
322913ce 3697 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
d14a1e28
RD
3698 }
3699 }
3700 }
3701 if (argc == 3) {
3702 int _v;
3703 {
3704 void *ptr;
15afbcd0 3705 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
d14a1e28
RD
3706 _v = 0;
3707 PyErr_Clear();
3708 } else {
3709 _v = 1;
3710 }
3711 }
3712 if (_v) {
c32bde28 3713 _v = SWIG_Check_int(argv[1]);
d14a1e28 3714 if (_v) {
c32bde28 3715 _v = SWIG_Check_int(argv[2]);
d14a1e28 3716 if (_v) {
322913ce 3717 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
d14a1e28
RD
3718 }
3719 }
3720 }
3721 }
3722
093d3ff1 3723 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
d14a1e28
RD
3724 return NULL;
3725}
3726
3727
c32bde28 3728static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3729 PyObject *resultobj;
3730 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3731 PyObject * obj0 = 0 ;
3732 char *kwnames[] = {
3733 (char *) "self", NULL
3734 };
3735
3736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
093d3ff1
RD
3737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3738 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3739 {
3740 PyThreadState* __tstate = wxPyBeginAllowThreads();
3741 (arg1)->AdjustScrollbars();
3742
3743 wxPyEndAllowThreads(__tstate);
3744 if (PyErr_Occurred()) SWIG_fail;
3745 }
3746 Py_INCREF(Py_None); resultobj = Py_None;
3747 return resultobj;
3748 fail:
3749 return NULL;
3750}
3751
3752
c32bde28 3753static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3754 PyObject *resultobj;
3755 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3756 wxScrollWinEvent *arg2 = 0 ;
3757 int result;
3758 PyObject * obj0 = 0 ;
3759 PyObject * obj1 = 0 ;
3760 char *kwnames[] = {
3761 (char *) "self",(char *) "event", NULL
3762 };
3763
3764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3766 if (SWIG_arg_fail(1)) SWIG_fail;
3767 {
3768 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3769 if (SWIG_arg_fail(2)) SWIG_fail;
3770 if (arg2 == NULL) {
3771 SWIG_null_ref("wxScrollWinEvent");
3772 }
3773 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3774 }
3775 {
3776 PyThreadState* __tstate = wxPyBeginAllowThreads();
3777 result = (int)(arg1)->CalcScrollInc(*arg2);
3778
3779 wxPyEndAllowThreads(__tstate);
3780 if (PyErr_Occurred()) SWIG_fail;
3781 }
093d3ff1
RD
3782 {
3783 resultobj = SWIG_From_int((int)(result));
3784 }
d14a1e28
RD
3785 return resultobj;
3786 fail:
3787 return NULL;
3788}
3789
3790
c32bde28 3791static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3792 PyObject *resultobj;
3793 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3794 wxWindow *arg2 = (wxWindow *) 0 ;
3795 PyObject * obj0 = 0 ;
3796 PyObject * obj1 = 0 ;
3797 char *kwnames[] = {
3798 (char *) "self",(char *) "target", NULL
3799 };
3800
3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3803 if (SWIG_arg_fail(1)) SWIG_fail;
3804 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3805 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 (arg1)->SetTargetWindow(arg2);
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
3813 Py_INCREF(Py_None); resultobj = Py_None;
3814 return resultobj;
3815 fail:
3816 return NULL;
3817}
3818
3819
c32bde28 3820static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3821 PyObject *resultobj;
3822 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3823 wxWindow *result;
3824 PyObject * obj0 = 0 ;
3825 char *kwnames[] = {
3826 (char *) "self", NULL
3827 };
3828
3829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
3830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3831 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 {
412d302d 3840 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
3841 }
3842 return resultobj;
3843 fail:
3844 return NULL;
3845}
3846
3847
c32bde28 3848static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
f5b96ee1
RD
3849 PyObject *resultobj;
3850 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3851 wxDC *arg2 = 0 ;
3852 PyObject * obj0 = 0 ;
3853 PyObject * obj1 = 0 ;
3854 char *kwnames[] = {
3855 (char *) "self",(char *) "dc", NULL
3856 };
3857
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3860 if (SWIG_arg_fail(1)) SWIG_fail;
3861 {
3862 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3863 if (SWIG_arg_fail(2)) SWIG_fail;
3864 if (arg2 == NULL) {
3865 SWIG_null_ref("wxDC");
3866 }
3867 if (SWIG_arg_fail(2)) SWIG_fail;
f5b96ee1
RD
3868 }
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 (arg1)->DoPrepareDC(*arg2);
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 Py_INCREF(Py_None); resultobj = Py_None;
3877 return resultobj;
3878 fail:
3879 return NULL;
3880}
3881
3882
c32bde28 3883static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 3884 PyObject *resultobj;
093d3ff1 3885 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
3886 wxVisualAttributes result;
3887 PyObject * obj0 = 0 ;
3888 char *kwnames[] = {
3889 (char *) "variant", NULL
3890 };
3891
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3893 if (obj0) {
093d3ff1
RD
3894 {
3895 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3896 if (SWIG_arg_fail(1)) SWIG_fail;
3897 }
22bfe96c
RD
3898 }
3899 {
e3b71cb8 3900 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3903
3904 wxPyEndAllowThreads(__tstate);
110da5b0 3905 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
3906 }
3907 {
3908 wxVisualAttributes * resultptr;
093d3ff1 3909 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
3910 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3911 }
3912 return resultobj;
3913 fail:
3914 return NULL;
3915}
3916
3917
c32bde28 3918static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3919 PyObject *obj;
3920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3921 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
3922 Py_INCREF(obj);
3923 return Py_BuildValue((char *)"");
3924}
c32bde28 3925static int _wrap_FrameNameStr_set(PyObject *) {
b2dc1044
RD
3926 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
3927 return 1;
3928}
3929
3930
093d3ff1 3931static PyObject *_wrap_FrameNameStr_get(void) {
b2dc1044
RD
3932 PyObject *pyobj;
3933
3934 {
3935#if wxUSE_UNICODE
3936 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3937#else
3938 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3939#endif
3940 }
3941 return pyobj;
3942}
3943
3944
c32bde28 3945static int _wrap_DialogNameStr_set(PyObject *) {
b2dc1044
RD
3946 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
3947 return 1;
3948}
3949
3950
093d3ff1 3951static PyObject *_wrap_DialogNameStr_get(void) {
b2dc1044
RD
3952 PyObject *pyobj;
3953
3954 {
3955#if wxUSE_UNICODE
3956 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
3957#else
3958 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
3959#endif
3960 }
3961 return pyobj;
3962}
3963
3964
c32bde28 3965static int _wrap_StatusLineNameStr_set(PyObject *) {
b2dc1044
RD
3966 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
3967 return 1;
3968}
3969
3970
093d3ff1 3971static PyObject *_wrap_StatusLineNameStr_get(void) {
b2dc1044
RD
3972 PyObject *pyobj;
3973
3974 {
3975#if wxUSE_UNICODE
3976 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
3977#else
3978 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
3979#endif
3980 }
3981 return pyobj;
3982}
3983
3984
c32bde28 3985static int _wrap_ToolBarNameStr_set(PyObject *) {
b2dc1044
RD
3986 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
3987 return 1;
3988}
3989
3990
093d3ff1 3991static PyObject *_wrap_ToolBarNameStr_get(void) {
b2dc1044
RD
3992 PyObject *pyobj;
3993
3994 {
3995#if wxUSE_UNICODE
3996 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
3997#else
3998 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
3999#endif
4000 }
4001 return pyobj;
4002}
4003
4004
c32bde28 4005static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4006 PyObject *resultobj;
4007 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4008 bool arg2 = (bool) true ;
d14a1e28
RD
4009 PyObject * obj0 = 0 ;
4010 PyObject * obj1 = 0 ;
4011 char *kwnames[] = {
4012 (char *) "self",(char *) "maximize", NULL
4013 };
4014
4015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4017 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4018 if (obj1) {
093d3ff1
RD
4019 {
4020 arg2 = (bool)(SWIG_As_bool(obj1));
4021 if (SWIG_arg_fail(2)) SWIG_fail;
4022 }
d14a1e28
RD
4023 }
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 (arg1)->Maximize(arg2);
4027
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 Py_INCREF(Py_None); resultobj = Py_None;
4032 return resultobj;
4033 fail:
4034 return NULL;
4035}
4036
4037
c32bde28 4038static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4039 PyObject *resultobj;
4040 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4041 PyObject * obj0 = 0 ;
4042 char *kwnames[] = {
4043 (char *) "self", NULL
4044 };
4045
4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
4047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4048 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4049 {
4050 PyThreadState* __tstate = wxPyBeginAllowThreads();
4051 (arg1)->Restore();
4052
4053 wxPyEndAllowThreads(__tstate);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 }
4056 Py_INCREF(Py_None); resultobj = Py_None;
4057 return resultobj;
4058 fail:
4059 return NULL;
4060}
4061
4062
c32bde28 4063static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4064 PyObject *resultobj;
4065 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
ae8162c8 4066 bool arg2 = (bool) true ;
d14a1e28
RD
4067 PyObject * obj0 = 0 ;
4068 PyObject * obj1 = 0 ;
4069 char *kwnames[] = {
4070 (char *) "self",(char *) "iconize", NULL
4071 };
4072
4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4075 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 4076 if (obj1) {
093d3ff1
RD
4077 {
4078 arg2 = (bool)(SWIG_As_bool(obj1));
4079 if (SWIG_arg_fail(2)) SWIG_fail;
4080 }
d14a1e28
RD
4081 }
4082 {
4083 PyThreadState* __tstate = wxPyBeginAllowThreads();
4084 (arg1)->Iconize(arg2);
4085
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) SWIG_fail;
4088 }
4089 Py_INCREF(Py_None); resultobj = Py_None;
4090 return resultobj;
4091 fail:
4092 return NULL;
4093}
4094
4095
c32bde28 4096static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4097 PyObject *resultobj;
4098 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4099 bool result;
4100 PyObject * obj0 = 0 ;
4101 char *kwnames[] = {
4102 (char *) "self", NULL
4103 };
4104
4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4107 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4108 {
4109 PyThreadState* __tstate = wxPyBeginAllowThreads();
4110 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4111
4112 wxPyEndAllowThreads(__tstate);
4113 if (PyErr_Occurred()) SWIG_fail;
4114 }
4f89f6a3
RD
4115 {
4116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4117 }
d14a1e28
RD
4118 return resultobj;
4119 fail:
4120 return NULL;
4121}
4122
4123
c32bde28 4124static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4125 PyObject *resultobj;
4126 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4127 bool result;
4128 PyObject * obj0 = 0 ;
4129 char *kwnames[] = {
4130 (char *) "self", NULL
4131 };
4132
4133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
093d3ff1
RD
4134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4135 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4136 {
4137 PyThreadState* __tstate = wxPyBeginAllowThreads();
4138 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4139
4140 wxPyEndAllowThreads(__tstate);
4141 if (PyErr_Occurred()) SWIG_fail;
4142 }
4f89f6a3
RD
4143 {
4144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4145 }
d14a1e28
RD
4146 return resultobj;
4147 fail:
4148 return NULL;
4149}
4150
4151
c32bde28 4152static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4153 PyObject *resultobj;
4154 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4155 wxIcon result;
4156 PyObject * obj0 = 0 ;
4157 char *kwnames[] = {
4158 (char *) "self", NULL
4159 };
4160
4161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
4162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4163 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4164 {
4165 PyThreadState* __tstate = wxPyBeginAllowThreads();
4166 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4167
4168 wxPyEndAllowThreads(__tstate);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 }
4171 {
4172 wxIcon * resultptr;
093d3ff1 4173 resultptr = new wxIcon((wxIcon &)(result));
15afbcd0 4174 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
d14a1e28
RD
4175 }
4176 return resultobj;
4177 fail:
4178 return NULL;
4179}
4180
4181
c32bde28 4182static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4183 PyObject *resultobj;
4184 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4185 wxIcon *arg2 = 0 ;
4186 PyObject * obj0 = 0 ;
4187 PyObject * obj1 = 0 ;
4188 char *kwnames[] = {
4189 (char *) "self",(char *) "icon", NULL
4190 };
4191
4192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4194 if (SWIG_arg_fail(1)) SWIG_fail;
4195 {
4196 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4197 if (SWIG_arg_fail(2)) SWIG_fail;
4198 if (arg2 == NULL) {
4199 SWIG_null_ref("wxIcon");
4200 }
4201 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4202 }
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 (arg1)->SetIcon((wxIcon const &)*arg2);
4206
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) SWIG_fail;
4209 }
4210 Py_INCREF(Py_None); resultobj = Py_None;
4211 return resultobj;
4212 fail:
4213 return NULL;
4214}
4215
4216
c32bde28 4217static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4218 PyObject *resultobj;
4219 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4220 wxIconBundle *arg2 = 0 ;
4221 PyObject * obj0 = 0 ;
4222 PyObject * obj1 = 0 ;
4223 char *kwnames[] = {
4224 (char *) "self",(char *) "icons", NULL
4225 };
4226
4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4229 if (SWIG_arg_fail(1)) SWIG_fail;
4230 {
4231 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4232 if (SWIG_arg_fail(2)) SWIG_fail;
4233 if (arg2 == NULL) {
4234 SWIG_null_ref("wxIconBundle");
4235 }
4236 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4237 }
4238 {
4239 PyThreadState* __tstate = wxPyBeginAllowThreads();
4240 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4241
4242 wxPyEndAllowThreads(__tstate);
4243 if (PyErr_Occurred()) SWIG_fail;
4244 }
4245 Py_INCREF(Py_None); resultobj = Py_None;
4246 return resultobj;
4247 fail:
4248 return NULL;
4249}
4250
4251
c32bde28 4252static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4253 PyObject *resultobj;
4254 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4255 bool arg2 ;
4256 long arg3 = (long) wxFULLSCREEN_ALL ;
4257 bool result;
4258 PyObject * obj0 = 0 ;
4259 PyObject * obj1 = 0 ;
994141e6 4260 PyObject * obj2 = 0 ;
d14a1e28
RD
4261 char *kwnames[] = {
4262 (char *) "self",(char *) "show",(char *) "style", NULL
4263 };
4264
994141e6 4265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4267 if (SWIG_arg_fail(1)) SWIG_fail;
4268 {
4269 arg2 = (bool)(SWIG_As_bool(obj1));
4270 if (SWIG_arg_fail(2)) SWIG_fail;
4271 }
994141e6 4272 if (obj2) {
093d3ff1
RD
4273 {
4274 arg3 = (long)(SWIG_As_long(obj2));
4275 if (SWIG_arg_fail(3)) SWIG_fail;
4276 }
994141e6 4277 }
d14a1e28
RD
4278 {
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) SWIG_fail;
4284 }
4f89f6a3
RD
4285 {
4286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4287 }
d14a1e28
RD
4288 return resultobj;
4289 fail:
4290 return NULL;
4291}
4292
4293
c32bde28 4294static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4295 PyObject *resultobj;
4296 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4297 bool result;
4298 PyObject * obj0 = 0 ;
4299 char *kwnames[] = {
4300 (char *) "self", NULL
4301 };
4302
4303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
4304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4305 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4306 {
4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
4308 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4309
4310 wxPyEndAllowThreads(__tstate);
4311 if (PyErr_Occurred()) SWIG_fail;
4312 }
4f89f6a3
RD
4313 {
4314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4315 }
d14a1e28
RD
4316 return resultobj;
4317 fail:
4318 return NULL;
4319}
4320
4321
c32bde28 4322static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4323 PyObject *resultobj;
4324 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4325 wxString *arg2 = 0 ;
ae8162c8 4326 bool temp2 = false ;
d14a1e28
RD
4327 PyObject * obj0 = 0 ;
4328 PyObject * obj1 = 0 ;
4329 char *kwnames[] = {
4330 (char *) "self",(char *) "title", NULL
4331 };
4332
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4335 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4336 {
4337 arg2 = wxString_in_helper(obj1);
4338 if (arg2 == NULL) SWIG_fail;
ae8162c8 4339 temp2 = true;
d14a1e28
RD
4340 }
4341 {
4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
4343 (arg1)->SetTitle((wxString const &)*arg2);
4344
4345 wxPyEndAllowThreads(__tstate);
4346 if (PyErr_Occurred()) SWIG_fail;
4347 }
4348 Py_INCREF(Py_None); resultobj = Py_None;
4349 {
4350 if (temp2)
4351 delete arg2;
4352 }
4353 return resultobj;
4354 fail:
4355 {
4356 if (temp2)
4357 delete arg2;
4358 }
4359 return NULL;
4360}
4361
4362
c32bde28 4363static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4364 PyObject *resultobj;
4365 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4366 wxString result;
4367 PyObject * obj0 = 0 ;
4368 char *kwnames[] = {
4369 (char *) "self", NULL
4370 };
4371
4372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
4373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4374 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4375 {
4376 PyThreadState* __tstate = wxPyBeginAllowThreads();
4377 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4378
4379 wxPyEndAllowThreads(__tstate);
4380 if (PyErr_Occurred()) SWIG_fail;
4381 }
4382 {
4383#if wxUSE_UNICODE
4384 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4385#else
4386 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4387#endif
4388 }
4389 return resultobj;
4390 fail:
4391 return NULL;
4392}
4393
4394
c32bde28 4395static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4396 PyObject *resultobj;
4397 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4398 wxRegion *arg2 = 0 ;
4399 bool result;
4400 PyObject * obj0 = 0 ;
4401 PyObject * obj1 = 0 ;
4402 char *kwnames[] = {
4403 (char *) "self",(char *) "region", NULL
4404 };
4405
4406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4408 if (SWIG_arg_fail(1)) SWIG_fail;
4409 {
4410 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4411 if (SWIG_arg_fail(2)) SWIG_fail;
4412 if (arg2 == NULL) {
4413 SWIG_null_ref("wxRegion");
4414 }
4415 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4416 }
4417 {
4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
4419 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4420
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4f89f6a3
RD
4424 {
4425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4426 }
d14a1e28
RD
4427 return resultobj;
4428 fail:
4429 return NULL;
4430}
4431
4432
c32bde28
RD
4433static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj;
4435 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4436 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4437 PyObject * obj0 = 0 ;
4438 PyObject * obj1 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self",(char *) "flags", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4445 if (SWIG_arg_fail(1)) SWIG_fail;
c32bde28 4446 if (obj1) {
093d3ff1
RD
4447 {
4448 arg2 = (int)(SWIG_As_int(obj1));
4449 if (SWIG_arg_fail(2)) SWIG_fail;
4450 }
c32bde28
RD
4451 }
4452 {
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 (arg1)->RequestUserAttention(arg2);
4455
4456 wxPyEndAllowThreads(__tstate);
4457 if (PyErr_Occurred()) SWIG_fail;
4458 }
4459 Py_INCREF(Py_None); resultobj = Py_None;
4460 return resultobj;
4461 fail:
4462 return NULL;
4463}
4464
4465
b6294124
RD
4466static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4467 PyObject *resultobj;
4468 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4469 bool result;
4470 PyObject * obj0 = 0 ;
4471 char *kwnames[] = {
4472 (char *) "self", NULL
4473 };
4474
4475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
093d3ff1
RD
4476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4477 if (SWIG_arg_fail(1)) SWIG_fail;
b6294124
RD
4478 {
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 result = (bool)(arg1)->IsActive();
4481
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) SWIG_fail;
4484 }
4485 {
4486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4487 }
4488 return resultobj;
4489 fail:
4490 return NULL;
4491}
4492
4493
84f85550
RD
4494static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4495 PyObject *resultobj;
4496 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4497 bool arg2 ;
4498 PyObject * obj0 = 0 ;
4499 PyObject * obj1 = 0 ;
4500 char *kwnames[] = {
4501 (char *) "self",(char *) "on", NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4506 if (SWIG_arg_fail(1)) SWIG_fail;
4507 {
4508 arg2 = (bool)(SWIG_As_bool(obj1));
4509 if (SWIG_arg_fail(2)) SWIG_fail;
4510 }
84f85550
RD
4511 {
4512 PyThreadState* __tstate = wxPyBeginAllowThreads();
4513 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
4514
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 }
4518 Py_INCREF(Py_None); resultobj = Py_None;
4519 return resultobj;
4520 fail:
4521 return NULL;
4522}
4523
4524
4525static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
4526 PyObject *resultobj;
4527 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4528 bool result;
4529 PyObject * obj0 = 0 ;
4530 char *kwnames[] = {
4531 (char *) "self", NULL
4532 };
4533
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
093d3ff1
RD
4535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4536 if (SWIG_arg_fail(1)) SWIG_fail;
84f85550
RD
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
4540
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 {
4545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4546 }
4547 return resultobj;
4548 fail:
4549 return NULL;
4550}
4551
4552
c32bde28 4553static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4554 PyObject *obj;
4555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4556 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4557 Py_INCREF(obj);
4558 return Py_BuildValue((char *)"");
4559}
c32bde28 4560static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4561 PyObject *resultobj;
4562 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4563 int arg2 = (int) (int)-1 ;
4564 wxString const &arg3_defvalue = wxPyEmptyString ;
4565 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
4566 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4567 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4568 wxSize const &arg5_defvalue = wxDefaultSize ;
4569 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4570 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4571 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4572 wxString *arg7 = (wxString *) &arg7_defvalue ;
4573 wxFrame *result;
ae8162c8 4574 bool temp3 = false ;
d14a1e28
RD
4575 wxPoint temp4 ;
4576 wxSize temp5 ;
ae8162c8 4577 bool temp7 = false ;
d14a1e28 4578 PyObject * obj0 = 0 ;
994141e6 4579 PyObject * obj1 = 0 ;
d14a1e28
RD
4580 PyObject * obj2 = 0 ;
4581 PyObject * obj3 = 0 ;
4582 PyObject * obj4 = 0 ;
994141e6 4583 PyObject * obj5 = 0 ;
d14a1e28
RD
4584 PyObject * obj6 = 0 ;
4585 char *kwnames[] = {
4586 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4587 };
4588
248ed943 4589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
4590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4591 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 4592 if (obj1) {
093d3ff1
RD
4593 {
4594 arg2 = (int const)(SWIG_As_int(obj1));
4595 if (SWIG_arg_fail(2)) SWIG_fail;
4596 }
248ed943
RD
4597 }
4598 if (obj2) {
4599 {
4600 arg3 = wxString_in_helper(obj2);
4601 if (arg3 == NULL) SWIG_fail;
ae8162c8 4602 temp3 = true;
248ed943 4603 }
d14a1e28
RD
4604 }
4605 if (obj3) {
4606 {
4607 arg4 = &temp4;
4608 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4609 }
4610 }
4611 if (obj4) {
4612 {
4613 arg5 = &temp5;
4614 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4615 }
4616 }
994141e6 4617 if (obj5) {
093d3ff1
RD
4618 {
4619 arg6 = (long)(SWIG_As_long(obj5));
4620 if (SWIG_arg_fail(6)) SWIG_fail;
4621 }
994141e6 4622 }
d14a1e28
RD
4623 if (obj6) {
4624 {
4625 arg7 = wxString_in_helper(obj6);
4626 if (arg7 == NULL) SWIG_fail;
ae8162c8 4627 temp7 = true;
d14a1e28
RD
4628 }
4629 }
4630 {
e3b71cb8 4631 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4632 PyThreadState* __tstate = wxPyBeginAllowThreads();
4633 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4634
4635 wxPyEndAllowThreads(__tstate);
110da5b0 4636 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4637 }
b0f7404b 4638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d14a1e28
RD
4639 {
4640 if (temp3)
4641 delete arg3;
4642 }
4643 {
4644 if (temp7)
4645 delete arg7;
4646 }
4647 return resultobj;
4648 fail:
4649 {
4650 if (temp3)
4651 delete arg3;
4652 }
4653 {
4654 if (temp7)
4655 delete arg7;
4656 }
4657 return NULL;
4658}
4659
4660
c32bde28 4661static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4662 PyObject *resultobj;
4663 wxFrame *result;
4664 char *kwnames[] = {
4665 NULL
4666 };
4667
4668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4669 {
e3b71cb8 4670 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
4671 PyThreadState* __tstate = wxPyBeginAllowThreads();
4672 result = (wxFrame *)new wxFrame();
4673
4674 wxPyEndAllowThreads(__tstate);
110da5b0 4675 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 4676 }
b0f7404b 4677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d14a1e28
RD
4678 return resultobj;
4679 fail:
4680 return NULL;
4681}
4682
4683
c32bde28 4684static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4685 PyObject *resultobj;
4686 wxFrame *arg1 = (wxFrame *) 0 ;
4687 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4688 int arg3 = (int) (int)-1 ;
4689 wxString const &arg4_defvalue = wxPyEmptyString ;
4690 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
4691 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4692 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4693 wxSize const &arg6_defvalue = wxDefaultSize ;
4694 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4695 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4696 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4697 wxString *arg8 = (wxString *) &arg8_defvalue ;
4698 bool result;
ae8162c8 4699 bool temp4 = false ;
d14a1e28
RD
4700 wxPoint temp5 ;
4701 wxSize temp6 ;
ae8162c8 4702 bool temp8 = false ;
d14a1e28
RD
4703 PyObject * obj0 = 0 ;
4704 PyObject * obj1 = 0 ;
994141e6 4705 PyObject * obj2 = 0 ;
d14a1e28
RD
4706 PyObject * obj3 = 0 ;
4707 PyObject * obj4 = 0 ;
4708 PyObject * obj5 = 0 ;
994141e6 4709 PyObject * obj6 = 0 ;
d14a1e28
RD
4710 PyObject * obj7 = 0 ;
4711 char *kwnames[] = {
4712 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4713 };
4714
248ed943 4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
4716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4717 if (SWIG_arg_fail(1)) SWIG_fail;
4718 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4719 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 4720 if (obj2) {
093d3ff1
RD
4721 {
4722 arg3 = (int const)(SWIG_As_int(obj2));
4723 if (SWIG_arg_fail(3)) SWIG_fail;
4724 }
248ed943
RD
4725 }
4726 if (obj3) {
4727 {
4728 arg4 = wxString_in_helper(obj3);
4729 if (arg4 == NULL) SWIG_fail;
ae8162c8 4730 temp4 = true;
248ed943 4731 }
d14a1e28
RD
4732 }
4733 if (obj4) {
4734 {
4735 arg5 = &temp5;
4736 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4737 }
4738 }
4739 if (obj5) {
4740 {
4741 arg6 = &temp6;
4742 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4743 }
4744 }
994141e6 4745 if (obj6) {
093d3ff1
RD
4746 {
4747 arg7 = (long)(SWIG_As_long(obj6));
4748 if (SWIG_arg_fail(7)) SWIG_fail;
4749 }
994141e6 4750 }
d14a1e28
RD
4751 if (obj7) {
4752 {
4753 arg8 = wxString_in_helper(obj7);
4754 if (arg8 == NULL) SWIG_fail;
ae8162c8 4755 temp8 = true;
d14a1e28
RD
4756 }
4757 }
4758 {
4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
4760 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4761
4762 wxPyEndAllowThreads(__tstate);
4763 if (PyErr_Occurred()) SWIG_fail;
4764 }
4f89f6a3
RD
4765 {
4766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4767 }
d14a1e28
RD
4768 {
4769 if (temp4)
4770 delete arg4;
4771 }
4772 {
4773 if (temp8)
4774 delete arg8;
4775 }
4776 return resultobj;
4777 fail:
4778 {
4779 if (temp4)
4780 delete arg4;
4781 }
4782 {
4783 if (temp8)
4784 delete arg8;
4785 }
4786 return NULL;
4787}
4788
4789
c32bde28 4790static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4791 PyObject *resultobj;
4792 wxFrame *arg1 = (wxFrame *) 0 ;
4793 wxPoint result;
4794 PyObject * obj0 = 0 ;
4795 char *kwnames[] = {
4796 (char *) "self", NULL
4797 };
4798
4799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
093d3ff1
RD
4800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4801 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4802 {
4803 PyThreadState* __tstate = wxPyBeginAllowThreads();
4804 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4805
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 {
4810 wxPoint * resultptr;
093d3ff1 4811 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 4812 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
4813 }
4814 return resultobj;
4815 fail:
4816 return NULL;
4817}
4818
4819
c32bde28 4820static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4821 PyObject *resultobj;
4822 wxFrame *arg1 = (wxFrame *) 0 ;
4823 PyObject * obj0 = 0 ;
4824 char *kwnames[] = {
4825 (char *) "self", NULL
4826 };
4827
4828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
4829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4830 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4831 {
4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
4833 (arg1)->SendSizeEvent();
4834
4835 wxPyEndAllowThreads(__tstate);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 Py_INCREF(Py_None); resultobj = Py_None;
4839 return resultobj;
4840 fail:
4841 return NULL;
4842}
4843
4844
c32bde28 4845static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4846 PyObject *resultobj;
4847 wxFrame *arg1 = (wxFrame *) 0 ;
4848 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4849 PyObject * obj0 = 0 ;
4850 PyObject * obj1 = 0 ;
4851 char *kwnames[] = {
4852 (char *) "self",(char *) "menubar", NULL
4853 };
4854
4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4857 if (SWIG_arg_fail(1)) SWIG_fail;
4858 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4859 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
4860 {
4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
4862 (arg1)->SetMenuBar(arg2);
4863
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
4867 Py_INCREF(Py_None); resultobj = Py_None;
4868 return resultobj;
4869 fail:
4870 return NULL;
4871}
4872
4873
c32bde28 4874static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4875 PyObject *resultobj;
4876 wxFrame *arg1 = (wxFrame *) 0 ;
4877 wxMenuBar *result;
4878 PyObject * obj0 = 0 ;
4879 char *kwnames[] = {
4880 (char *) "self", NULL
4881 };
4882
4883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
4884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4885 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 {
412d302d 4894 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
4895 }
4896 return resultobj;
4897 fail:
4898 return NULL;
4899}
4900
4901
c32bde28 4902static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4903 PyObject *resultobj;
4904 wxFrame *arg1 = (wxFrame *) 0 ;
4905 int arg2 ;
4906 bool result;
4907 PyObject * obj0 = 0 ;
994141e6 4908 PyObject * obj1 = 0 ;
d14a1e28
RD
4909 char *kwnames[] = {
4910 (char *) "self",(char *) "winid", NULL
4911 };
4912
994141e6 4913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4915 if (SWIG_arg_fail(1)) SWIG_fail;
4916 {
4917 arg2 = (int)(SWIG_As_int(obj1));
4918 if (SWIG_arg_fail(2)) SWIG_fail;
4919 }
d14a1e28
RD
4920 {
4921 PyThreadState* __tstate = wxPyBeginAllowThreads();
4922 result = (bool)(arg1)->ProcessCommand(arg2);
4923
4924 wxPyEndAllowThreads(__tstate);
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
4f89f6a3
RD
4927 {
4928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4929 }
d14a1e28
RD
4930 return resultobj;
4931 fail:
4932 return NULL;
4933}
4934
4935
c32bde28 4936static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4937 PyObject *resultobj;
4938 wxFrame *arg1 = (wxFrame *) 0 ;
4939 int arg2 = (int) 1 ;
4276dc52 4940 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
e811c8ce 4941 int arg4 = (int) 0 ;
d14a1e28
RD
4942 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4943 wxString *arg5 = (wxString *) &arg5_defvalue ;
4944 wxStatusBar *result;
ae8162c8 4945 bool temp5 = false ;
d14a1e28 4946 PyObject * obj0 = 0 ;
994141e6
RD
4947 PyObject * obj1 = 0 ;
4948 PyObject * obj2 = 0 ;
4949 PyObject * obj3 = 0 ;
d14a1e28
RD
4950 PyObject * obj4 = 0 ;
4951 char *kwnames[] = {
4952 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
4953 };
4954
994141e6 4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
4956 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4957 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 4958 if (obj1) {
093d3ff1
RD
4959 {
4960 arg2 = (int)(SWIG_As_int(obj1));
4961 if (SWIG_arg_fail(2)) SWIG_fail;
4962 }
994141e6
RD
4963 }
4964 if (obj2) {
093d3ff1
RD
4965 {
4966 arg3 = (long)(SWIG_As_long(obj2));
4967 if (SWIG_arg_fail(3)) SWIG_fail;
4968 }
994141e6
RD
4969 }
4970 if (obj3) {
093d3ff1
RD
4971 {
4972 arg4 = (int)(SWIG_As_int(obj3));
4973 if (SWIG_arg_fail(4)) SWIG_fail;
4974 }
994141e6 4975 }
d14a1e28
RD
4976 if (obj4) {
4977 {
4978 arg5 = wxString_in_helper(obj4);
4979 if (arg5 == NULL) SWIG_fail;
ae8162c8 4980 temp5 = true;
d14a1e28
RD
4981 }
4982 }
4983 {
4984 PyThreadState* __tstate = wxPyBeginAllowThreads();
4985 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
4986
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
4990 {
412d302d 4991 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
4992 }
4993 {
4994 if (temp5)
4995 delete arg5;
4996 }
4997 return resultobj;
4998 fail:
4999 {
5000 if (temp5)
5001 delete arg5;
5002 }
5003 return NULL;
5004}
5005
5006
c32bde28 5007static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5008 PyObject *resultobj;
5009 wxFrame *arg1 = (wxFrame *) 0 ;
5010 wxStatusBar *result;
5011 PyObject * obj0 = 0 ;
5012 char *kwnames[] = {
5013 (char *) "self", NULL
5014 };
5015
5016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5019 {
5020 PyThreadState* __tstate = wxPyBeginAllowThreads();
5021 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5022
5023 wxPyEndAllowThreads(__tstate);
5024 if (PyErr_Occurred()) SWIG_fail;
5025 }
5026 {
412d302d 5027 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5028 }
5029 return resultobj;
5030 fail:
5031 return NULL;
5032}
5033
5034
c32bde28 5035static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5036 PyObject *resultobj;
5037 wxFrame *arg1 = (wxFrame *) 0 ;
5038 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5039 PyObject * obj0 = 0 ;
5040 PyObject * obj1 = 0 ;
5041 char *kwnames[] = {
5042 (char *) "self",(char *) "statBar", NULL
5043 };
5044
5045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5047 if (SWIG_arg_fail(1)) SWIG_fail;
5048 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5049 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 (arg1)->SetStatusBar(arg2);
5053
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 Py_INCREF(Py_None); resultobj = Py_None;
5058 return resultobj;
5059 fail:
5060 return NULL;
5061}
5062
5063
c32bde28 5064static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5065 PyObject *resultobj;
5066 wxFrame *arg1 = (wxFrame *) 0 ;
5067 wxString *arg2 = 0 ;
5068 int arg3 = (int) 0 ;
ae8162c8 5069 bool temp2 = false ;
d14a1e28
RD
5070 PyObject * obj0 = 0 ;
5071 PyObject * obj1 = 0 ;
994141e6 5072 PyObject * obj2 = 0 ;
d14a1e28
RD
5073 char *kwnames[] = {
5074 (char *) "self",(char *) "text",(char *) "number", NULL
5075 };
5076
994141e6 5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5079 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5080 {
5081 arg2 = wxString_in_helper(obj1);
5082 if (arg2 == NULL) SWIG_fail;
ae8162c8 5083 temp2 = true;
d14a1e28 5084 }
994141e6 5085 if (obj2) {
093d3ff1
RD
5086 {
5087 arg3 = (int)(SWIG_As_int(obj2));
5088 if (SWIG_arg_fail(3)) SWIG_fail;
5089 }
994141e6 5090 }
d14a1e28
RD
5091 {
5092 PyThreadState* __tstate = wxPyBeginAllowThreads();
5093 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5094
5095 wxPyEndAllowThreads(__tstate);
5096 if (PyErr_Occurred()) SWIG_fail;
5097 }
5098 Py_INCREF(Py_None); resultobj = Py_None;
5099 {
5100 if (temp2)
5101 delete arg2;
5102 }
5103 return resultobj;
5104 fail:
5105 {
5106 if (temp2)
5107 delete arg2;
5108 }
5109 return NULL;
5110}
5111
5112
c32bde28 5113static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5114 PyObject *resultobj;
5115 wxFrame *arg1 = (wxFrame *) 0 ;
5116 int arg2 ;
5117 int *arg3 = (int *) 0 ;
5118 PyObject * obj0 = 0 ;
5119 PyObject * obj1 = 0 ;
5120 char *kwnames[] = {
5121 (char *) "self",(char *) "widths", NULL
5122 };
5123
5124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5126 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5127 {
5128 arg2 = PyList_Size(obj1);
5129 arg3 = int_LIST_helper(obj1);
5130 if (arg3 == NULL) SWIG_fail;
5131 }
5132 {
5133 PyThreadState* __tstate = wxPyBeginAllowThreads();
5134 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5135
5136 wxPyEndAllowThreads(__tstate);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 Py_INCREF(Py_None); resultobj = Py_None;
5140 {
5141 if (arg3) delete [] arg3;
5142 }
5143 return resultobj;
5144 fail:
5145 {
5146 if (arg3) delete [] arg3;
5147 }
5148 return NULL;
5149}
5150
5151
c32bde28 5152static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5153 PyObject *resultobj;
5154 wxFrame *arg1 = (wxFrame *) 0 ;
5155 wxString *arg2 = 0 ;
5156 int arg3 = (int) 0 ;
ae8162c8 5157 bool temp2 = false ;
d14a1e28
RD
5158 PyObject * obj0 = 0 ;
5159 PyObject * obj1 = 0 ;
994141e6 5160 PyObject * obj2 = 0 ;
d14a1e28
RD
5161 char *kwnames[] = {
5162 (char *) "self",(char *) "text",(char *) "number", NULL
5163 };
5164
994141e6 5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5167 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5168 {
5169 arg2 = wxString_in_helper(obj1);
5170 if (arg2 == NULL) SWIG_fail;
ae8162c8 5171 temp2 = true;
d14a1e28 5172 }
994141e6 5173 if (obj2) {
093d3ff1
RD
5174 {
5175 arg3 = (int)(SWIG_As_int(obj2));
5176 if (SWIG_arg_fail(3)) SWIG_fail;
5177 }
994141e6 5178 }
d14a1e28
RD
5179 {
5180 PyThreadState* __tstate = wxPyBeginAllowThreads();
5181 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5182
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 Py_INCREF(Py_None); resultobj = Py_None;
5187 {
5188 if (temp2)
5189 delete arg2;
5190 }
5191 return resultobj;
5192 fail:
5193 {
5194 if (temp2)
5195 delete arg2;
5196 }
5197 return NULL;
5198}
5199
5200
c32bde28 5201static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5202 PyObject *resultobj;
5203 wxFrame *arg1 = (wxFrame *) 0 ;
5204 int arg2 = (int) 0 ;
5205 PyObject * obj0 = 0 ;
994141e6 5206 PyObject * obj1 = 0 ;
d14a1e28
RD
5207 char *kwnames[] = {
5208 (char *) "self",(char *) "number", NULL
5209 };
5210
994141e6 5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5213 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 5214 if (obj1) {
093d3ff1
RD
5215 {
5216 arg2 = (int)(SWIG_As_int(obj1));
5217 if (SWIG_arg_fail(2)) SWIG_fail;
5218 }
994141e6 5219 }
d14a1e28
RD
5220 {
5221 PyThreadState* __tstate = wxPyBeginAllowThreads();
5222 (arg1)->PopStatusText(arg2);
5223
5224 wxPyEndAllowThreads(__tstate);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 }
5227 Py_INCREF(Py_None); resultobj = Py_None;
5228 return resultobj;
5229 fail:
5230 return NULL;
5231}
5232
5233
c32bde28 5234static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5235 PyObject *resultobj;
5236 wxFrame *arg1 = (wxFrame *) 0 ;
5237 int arg2 ;
5238 PyObject * obj0 = 0 ;
994141e6 5239 PyObject * obj1 = 0 ;
d14a1e28
RD
5240 char *kwnames[] = {
5241 (char *) "self",(char *) "n", NULL
5242 };
5243
994141e6 5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5246 if (SWIG_arg_fail(1)) SWIG_fail;
5247 {
5248 arg2 = (int)(SWIG_As_int(obj1));
5249 if (SWIG_arg_fail(2)) SWIG_fail;
5250 }
d14a1e28
RD
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 (arg1)->SetStatusBarPane(arg2);
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 Py_INCREF(Py_None); resultobj = Py_None;
5259 return resultobj;
5260 fail:
5261 return NULL;
5262}
5263
5264
c32bde28 5265static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5266 PyObject *resultobj;
5267 wxFrame *arg1 = (wxFrame *) 0 ;
5268 int result;
5269 PyObject * obj0 = 0 ;
5270 char *kwnames[] = {
5271 (char *) "self", NULL
5272 };
5273
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
093d3ff1
RD
5275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5276 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5280
5281 wxPyEndAllowThreads(__tstate);
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
093d3ff1
RD
5284 {
5285 resultobj = SWIG_From_int((int)(result));
5286 }
d14a1e28
RD
5287 return resultobj;
5288 fail:
5289 return NULL;
5290}
5291
5292
c32bde28 5293static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5294 PyObject *resultobj;
5295 wxFrame *arg1 = (wxFrame *) 0 ;
5296 long arg2 = (long) -1 ;
e811c8ce 5297 int arg3 = (int) -1 ;
d14a1e28
RD
5298 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5299 wxString *arg4 = (wxString *) &arg4_defvalue ;
5300 wxToolBar *result;
ae8162c8 5301 bool temp4 = false ;
d14a1e28 5302 PyObject * obj0 = 0 ;
994141e6
RD
5303 PyObject * obj1 = 0 ;
5304 PyObject * obj2 = 0 ;
d14a1e28
RD
5305 PyObject * obj3 = 0 ;
5306 char *kwnames[] = {
5307 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5308 };
5309
994141e6 5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
5311 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5312 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 5313 if (obj1) {
093d3ff1
RD
5314 {
5315 arg2 = (long)(SWIG_As_long(obj1));
5316 if (SWIG_arg_fail(2)) SWIG_fail;
5317 }
994141e6
RD
5318 }
5319 if (obj2) {
093d3ff1
RD
5320 {
5321 arg3 = (int)(SWIG_As_int(obj2));
5322 if (SWIG_arg_fail(3)) SWIG_fail;
5323 }
994141e6 5324 }
d14a1e28
RD
5325 if (obj3) {
5326 {
5327 arg4 = wxString_in_helper(obj3);
5328 if (arg4 == NULL) SWIG_fail;
ae8162c8 5329 temp4 = true;
d14a1e28
RD
5330 }
5331 }
5332 {
5333 PyThreadState* __tstate = wxPyBeginAllowThreads();
5334 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5335
5336 wxPyEndAllowThreads(__tstate);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 }
5339 {
412d302d 5340 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5341 }
5342 {
5343 if (temp4)
5344 delete arg4;
5345 }
5346 return resultobj;
5347 fail:
5348 {
5349 if (temp4)
5350 delete arg4;
5351 }
5352 return NULL;
5353}
5354
5355
c32bde28 5356static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5357 PyObject *resultobj;
5358 wxFrame *arg1 = (wxFrame *) 0 ;
5359 wxToolBar *result;
5360 PyObject * obj0 = 0 ;
5361 char *kwnames[] = {
5362 (char *) "self", NULL
5363 };
5364
5365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
5366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5367 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5368 {
5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
5370 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5371
5372 wxPyEndAllowThreads(__tstate);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 {
412d302d 5376 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
5377 }
5378 return resultobj;
5379 fail:
5380 return NULL;
5381}
5382
5383
c32bde28 5384static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5385 PyObject *resultobj;
5386 wxFrame *arg1 = (wxFrame *) 0 ;
5387 wxToolBar *arg2 = (wxToolBar *) 0 ;
5388 PyObject * obj0 = 0 ;
5389 PyObject * obj1 = 0 ;
5390 char *kwnames[] = {
5391 (char *) "self",(char *) "toolbar", NULL
5392 };
5393
5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5396 if (SWIG_arg_fail(1)) SWIG_fail;
5397 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5398 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5399 {
5400 PyThreadState* __tstate = wxPyBeginAllowThreads();
5401 (arg1)->SetToolBar(arg2);
5402
5403 wxPyEndAllowThreads(__tstate);
5404 if (PyErr_Occurred()) SWIG_fail;
5405 }
5406 Py_INCREF(Py_None); resultobj = Py_None;
5407 return resultobj;
5408 fail:
5409 return NULL;
5410}
5411
5412
c32bde28 5413static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5414 PyObject *resultobj;
5415 wxFrame *arg1 = (wxFrame *) 0 ;
5416 wxString *arg2 = 0 ;
5417 bool arg3 ;
ae8162c8 5418 bool temp2 = false ;
d14a1e28
RD
5419 PyObject * obj0 = 0 ;
5420 PyObject * obj1 = 0 ;
5421 PyObject * obj2 = 0 ;
5422 char *kwnames[] = {
5423 (char *) "self",(char *) "text",(char *) "show", NULL
5424 };
5425
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5428 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5429 {
5430 arg2 = wxString_in_helper(obj1);
5431 if (arg2 == NULL) SWIG_fail;
ae8162c8 5432 temp2 = true;
d14a1e28 5433 }
093d3ff1
RD
5434 {
5435 arg3 = (bool)(SWIG_As_bool(obj2));
5436 if (SWIG_arg_fail(3)) SWIG_fail;
5437 }
d14a1e28
RD
5438 {
5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
5440 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5441
5442 wxPyEndAllowThreads(__tstate);
5443 if (PyErr_Occurred()) SWIG_fail;
5444 }
5445 Py_INCREF(Py_None); resultobj = Py_None;
5446 {
5447 if (temp2)
5448 delete arg2;
5449 }
5450 return resultobj;
5451 fail:
5452 {
5453 if (temp2)
5454 delete arg2;
5455 }
5456 return NULL;
5457}
5458
5459
c32bde28 5460static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5461 PyObject *resultobj;
5462 wxFrame *arg1 = (wxFrame *) 0 ;
5463 wxMenu *arg2 = (wxMenu *) NULL ;
5464 PyObject * obj0 = 0 ;
5465 PyObject * obj1 = 0 ;
5466 char *kwnames[] = {
5467 (char *) "self",(char *) "menu", NULL
5468 };
5469
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5472 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 5473 if (obj1) {
093d3ff1
RD
5474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5475 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
5476 }
5477 {
5478 PyThreadState* __tstate = wxPyBeginAllowThreads();
5479 (arg1)->DoMenuUpdates(arg2);
5480
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 Py_INCREF(Py_None); resultobj = Py_None;
5485 return resultobj;
5486 fail:
5487 return NULL;
5488}
5489
5490
c32bde28 5491static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 5492 PyObject *resultobj;
093d3ff1 5493 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
5494 wxVisualAttributes result;
5495 PyObject * obj0 = 0 ;
5496 char *kwnames[] = {
5497 (char *) "variant", NULL
5498 };
5499
5500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5501 if (obj0) {
093d3ff1
RD
5502 {
5503 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5504 if (SWIG_arg_fail(1)) SWIG_fail;
5505 }
22bfe96c
RD
5506 }
5507 {
e3b71cb8 5508 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
5509 PyThreadState* __tstate = wxPyBeginAllowThreads();
5510 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5511
5512 wxPyEndAllowThreads(__tstate);
110da5b0 5513 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
5514 }
5515 {
5516 wxVisualAttributes * resultptr;
093d3ff1 5517 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
5518 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5519 }
5520 return resultobj;
5521 fail:
5522 return NULL;
5523}
5524
5525
c32bde28 5526static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5527 PyObject *obj;
5528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5529 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5530 Py_INCREF(obj);
5531 return Py_BuildValue((char *)"");
5532}
c32bde28 5533static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5534 PyObject *resultobj;
5535 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5536 int arg2 = (int) (int)-1 ;
5537 wxString const &arg3_defvalue = wxPyEmptyString ;
5538 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
5539 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5540 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5541 wxSize const &arg5_defvalue = wxDefaultSize ;
5542 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5543 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5544 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5545 wxString *arg7 = (wxString *) &arg7_defvalue ;
5546 wxDialog *result;
ae8162c8 5547 bool temp3 = false ;
d14a1e28
RD
5548 wxPoint temp4 ;
5549 wxSize temp5 ;
ae8162c8 5550 bool temp7 = false ;
d14a1e28 5551 PyObject * obj0 = 0 ;
994141e6 5552 PyObject * obj1 = 0 ;
d14a1e28
RD
5553 PyObject * obj2 = 0 ;
5554 PyObject * obj3 = 0 ;
5555 PyObject * obj4 = 0 ;
994141e6 5556 PyObject * obj5 = 0 ;
d14a1e28
RD
5557 PyObject * obj6 = 0 ;
5558 char *kwnames[] = {
5559 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5560 };
5561
248ed943 5562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
5563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5564 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 5565 if (obj1) {
093d3ff1
RD
5566 {
5567 arg2 = (int const)(SWIG_As_int(obj1));
5568 if (SWIG_arg_fail(2)) SWIG_fail;
5569 }
248ed943
RD
5570 }
5571 if (obj2) {
5572 {
5573 arg3 = wxString_in_helper(obj2);
5574 if (arg3 == NULL) SWIG_fail;
ae8162c8 5575 temp3 = true;
248ed943 5576 }
d14a1e28
RD
5577 }
5578 if (obj3) {
5579 {
5580 arg4 = &temp4;
5581 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5582 }
5583 }
5584 if (obj4) {
5585 {
5586 arg5 = &temp5;
5587 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5588 }
5589 }
994141e6 5590 if (obj5) {
093d3ff1
RD
5591 {
5592 arg6 = (long)(SWIG_As_long(obj5));
5593 if (SWIG_arg_fail(6)) SWIG_fail;
5594 }
994141e6 5595 }
d14a1e28
RD
5596 if (obj6) {
5597 {
5598 arg7 = wxString_in_helper(obj6);
5599 if (arg7 == NULL) SWIG_fail;
ae8162c8 5600 temp7 = true;
d14a1e28
RD
5601 }
5602 }
5603 {
e3b71cb8 5604 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5605 PyThreadState* __tstate = wxPyBeginAllowThreads();
5606 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5607
5608 wxPyEndAllowThreads(__tstate);
110da5b0 5609 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5610 }
b0f7404b 5611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
5612 {
5613 if (temp3)
5614 delete arg3;
5615 }
5616 {
5617 if (temp7)
5618 delete arg7;
5619 }
5620 return resultobj;
5621 fail:
5622 {
5623 if (temp3)
5624 delete arg3;
5625 }
5626 {
5627 if (temp7)
5628 delete arg7;
5629 }
5630 return NULL;
5631}
5632
5633
c32bde28 5634static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5635 PyObject *resultobj;
5636 wxDialog *result;
5637 char *kwnames[] = {
5638 NULL
5639 };
5640
5641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5642 {
e3b71cb8 5643 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (wxDialog *)new wxDialog();
5646
5647 wxPyEndAllowThreads(__tstate);
110da5b0 5648 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5649 }
b0f7404b 5650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d14a1e28
RD
5651 return resultobj;
5652 fail:
5653 return NULL;
5654}
5655
5656
c32bde28 5657static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5658 PyObject *resultobj;
5659 wxDialog *arg1 = (wxDialog *) 0 ;
5660 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5661 int arg3 = (int) (int)-1 ;
5662 wxString const &arg4_defvalue = wxPyEmptyString ;
5663 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
5664 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5665 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5666 wxSize const &arg6_defvalue = wxDefaultSize ;
5667 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5668 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5669 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5670 wxString *arg8 = (wxString *) &arg8_defvalue ;
5671 bool result;
ae8162c8 5672 bool temp4 = false ;
d14a1e28
RD
5673 wxPoint temp5 ;
5674 wxSize temp6 ;
ae8162c8 5675 bool temp8 = false ;
d14a1e28
RD
5676 PyObject * obj0 = 0 ;
5677 PyObject * obj1 = 0 ;
994141e6 5678 PyObject * obj2 = 0 ;
d14a1e28
RD
5679 PyObject * obj3 = 0 ;
5680 PyObject * obj4 = 0 ;
5681 PyObject * obj5 = 0 ;
994141e6 5682 PyObject * obj6 = 0 ;
d14a1e28
RD
5683 PyObject * obj7 = 0 ;
5684 char *kwnames[] = {
5685 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5686 };
5687
248ed943 5688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
5689 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5690 if (SWIG_arg_fail(1)) SWIG_fail;
5691 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5692 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 5693 if (obj2) {
093d3ff1
RD
5694 {
5695 arg3 = (int const)(SWIG_As_int(obj2));
5696 if (SWIG_arg_fail(3)) SWIG_fail;
5697 }
248ed943
RD
5698 }
5699 if (obj3) {
5700 {
5701 arg4 = wxString_in_helper(obj3);
5702 if (arg4 == NULL) SWIG_fail;
ae8162c8 5703 temp4 = true;
248ed943 5704 }
d14a1e28
RD
5705 }
5706 if (obj4) {
5707 {
5708 arg5 = &temp5;
5709 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5710 }
5711 }
5712 if (obj5) {
5713 {
5714 arg6 = &temp6;
5715 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5716 }
5717 }
994141e6 5718 if (obj6) {
093d3ff1
RD
5719 {
5720 arg7 = (long)(SWIG_As_long(obj6));
5721 if (SWIG_arg_fail(7)) SWIG_fail;
5722 }
994141e6 5723 }
d14a1e28
RD
5724 if (obj7) {
5725 {
5726 arg8 = wxString_in_helper(obj7);
5727 if (arg8 == NULL) SWIG_fail;
ae8162c8 5728 temp8 = true;
d14a1e28
RD
5729 }
5730 }
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5734
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
4f89f6a3
RD
5738 {
5739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5740 }
d14a1e28
RD
5741 {
5742 if (temp4)
5743 delete arg4;
5744 }
5745 {
5746 if (temp8)
5747 delete arg8;
5748 }
5749 return resultobj;
5750 fail:
5751 {
5752 if (temp4)
5753 delete arg4;
5754 }
5755 {
5756 if (temp8)
5757 delete arg8;
5758 }
5759 return NULL;
5760}
5761
5762
c32bde28 5763static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5764 PyObject *resultobj;
5765 wxDialog *arg1 = (wxDialog *) 0 ;
5766 int arg2 ;
5767 PyObject * obj0 = 0 ;
994141e6 5768 PyObject * obj1 = 0 ;
d14a1e28
RD
5769 char *kwnames[] = {
5770 (char *) "self",(char *) "returnCode", NULL
5771 };
5772
994141e6 5773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5775 if (SWIG_arg_fail(1)) SWIG_fail;
5776 {
5777 arg2 = (int)(SWIG_As_int(obj1));
5778 if (SWIG_arg_fail(2)) SWIG_fail;
5779 }
d14a1e28
RD
5780 {
5781 PyThreadState* __tstate = wxPyBeginAllowThreads();
5782 (arg1)->SetReturnCode(arg2);
5783
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 Py_INCREF(Py_None); resultobj = Py_None;
5788 return resultobj;
5789 fail:
5790 return NULL;
5791}
5792
5793
c32bde28 5794static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5795 PyObject *resultobj;
5796 wxDialog *arg1 = (wxDialog *) 0 ;
5797 int result;
5798 PyObject * obj0 = 0 ;
5799 char *kwnames[] = {
5800 (char *) "self", NULL
5801 };
5802
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
5804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5805 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5806 {
5807 PyThreadState* __tstate = wxPyBeginAllowThreads();
5808 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5809
5810 wxPyEndAllowThreads(__tstate);
5811 if (PyErr_Occurred()) SWIG_fail;
5812 }
093d3ff1
RD
5813 {
5814 resultobj = SWIG_From_int((int)(result));
5815 }
d14a1e28
RD
5816 return resultobj;
5817 fail:
5818 return NULL;
5819}
5820
5821
c32bde28 5822static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5823 PyObject *resultobj;
5824 wxDialog *arg1 = (wxDialog *) 0 ;
5825 wxString *arg2 = 0 ;
5826 wxSizer *result;
ae8162c8 5827 bool temp2 = false ;
d14a1e28
RD
5828 PyObject * obj0 = 0 ;
5829 PyObject * obj1 = 0 ;
5830 char *kwnames[] = {
5831 (char *) "self",(char *) "message", NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5837 {
5838 arg2 = wxString_in_helper(obj1);
5839 if (arg2 == NULL) SWIG_fail;
ae8162c8 5840 temp2 = true;
d14a1e28
RD
5841 }
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5845
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 {
412d302d 5850 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
5851 }
5852 {
5853 if (temp2)
5854 delete arg2;
5855 }
5856 return resultobj;
5857 fail:
5858 {
5859 if (temp2)
5860 delete arg2;
5861 }
5862 return NULL;
5863}
5864
5865
c32bde28 5866static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5867 PyObject *resultobj;
5868 wxDialog *arg1 = (wxDialog *) 0 ;
5869 long arg2 ;
5870 wxSizer *result;
5871 PyObject * obj0 = 0 ;
994141e6 5872 PyObject * obj1 = 0 ;
d14a1e28
RD
5873 char *kwnames[] = {
5874 (char *) "self",(char *) "flags", NULL
5875 };
5876
994141e6 5877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5879 if (SWIG_arg_fail(1)) SWIG_fail;
5880 {
5881 arg2 = (long)(SWIG_As_long(obj1));
5882 if (SWIG_arg_fail(2)) SWIG_fail;
5883 }
d14a1e28
RD
5884 {
5885 PyThreadState* __tstate = wxPyBeginAllowThreads();
5886 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5887
5888 wxPyEndAllowThreads(__tstate);
5889 if (PyErr_Occurred()) SWIG_fail;
5890 }
5891 {
412d302d 5892 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
5893 }
5894 return resultobj;
5895 fail:
5896 return NULL;
5897}
5898
5899
e505d15e
RD
5900static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5901 PyObject *resultobj;
5902 wxDialog *arg1 = (wxDialog *) 0 ;
5903 long arg2 ;
5904 wxStdDialogButtonSizer *result;
5905 PyObject * obj0 = 0 ;
5906 PyObject * obj1 = 0 ;
5907 char *kwnames[] = {
5908 (char *) "self",(char *) "flags", NULL
5909 };
5910
5911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5913 if (SWIG_arg_fail(1)) SWIG_fail;
5914 {
5915 arg2 = (long)(SWIG_As_long(obj1));
5916 if (SWIG_arg_fail(2)) SWIG_fail;
5917 }
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
5921
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
5926 return resultobj;
5927 fail:
5928 return NULL;
5929}
5930
5931
c32bde28 5932static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5933 PyObject *resultobj;
5934 wxDialog *arg1 = (wxDialog *) 0 ;
5935 bool result;
5936 PyObject * obj0 = 0 ;
5937 char *kwnames[] = {
5938 (char *) "self", NULL
5939 };
5940
5941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
5942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5943 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5944 {
5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
5946 result = (bool)((wxDialog const *)arg1)->IsModal();
5947
5948 wxPyEndAllowThreads(__tstate);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 }
4f89f6a3
RD
5951 {
5952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5953 }
d14a1e28
RD
5954 return resultobj;
5955 fail:
5956 return NULL;
5957}
5958
5959
c32bde28 5960static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5961 PyObject *resultobj;
5962 wxDialog *arg1 = (wxDialog *) 0 ;
5963 int result;
5964 PyObject * obj0 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
5970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5971 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 result = (int)(arg1)->ShowModal();
5975
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
093d3ff1
RD
5979 {
5980 resultobj = SWIG_From_int((int)(result));
5981 }
d14a1e28
RD
5982 return resultobj;
5983 fail:
5984 return NULL;
5985}
5986
5987
c32bde28 5988static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5989 PyObject *resultobj;
5990 wxDialog *arg1 = (wxDialog *) 0 ;
5991 int arg2 ;
5992 PyObject * obj0 = 0 ;
994141e6 5993 PyObject * obj1 = 0 ;
d14a1e28
RD
5994 char *kwnames[] = {
5995 (char *) "self",(char *) "retCode", NULL
5996 };
5997
994141e6 5998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6000 if (SWIG_arg_fail(1)) SWIG_fail;
6001 {
6002 arg2 = (int)(SWIG_As_int(obj1));
6003 if (SWIG_arg_fail(2)) SWIG_fail;
6004 }
d14a1e28
RD
6005 {
6006 PyThreadState* __tstate = wxPyBeginAllowThreads();
6007 (arg1)->EndModal(arg2);
6008
6009 wxPyEndAllowThreads(__tstate);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 Py_INCREF(Py_None); resultobj = Py_None;
6013 return resultobj;
6014 fail:
6015 return NULL;
6016}
6017
6018
c32bde28 6019static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 6020 PyObject *resultobj;
093d3ff1 6021 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
6022 wxVisualAttributes result;
6023 PyObject * obj0 = 0 ;
6024 char *kwnames[] = {
6025 (char *) "variant", NULL
6026 };
6027
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6029 if (obj0) {
093d3ff1
RD
6030 {
6031 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6032 if (SWIG_arg_fail(1)) SWIG_fail;
6033 }
22bfe96c
RD
6034 }
6035 {
e3b71cb8 6036 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6039
6040 wxPyEndAllowThreads(__tstate);
110da5b0 6041 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
6042 }
6043 {
6044 wxVisualAttributes * resultptr;
093d3ff1 6045 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
6046 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6047 }
6048 return resultobj;
6049 fail:
6050 return NULL;
6051}
6052
6053
c32bde28 6054static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6055 PyObject *obj;
6056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6057 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6058 Py_INCREF(obj);
6059 return Py_BuildValue((char *)"");
6060}
c32bde28 6061static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6062 PyObject *resultobj;
6063 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
6064 int arg2 = (int) (int)-1 ;
6065 wxString const &arg3_defvalue = wxPyEmptyString ;
6066 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
6067 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6068 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6069 wxSize const &arg5_defvalue = wxDefaultSize ;
6070 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6071 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6072 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6073 wxString *arg7 = (wxString *) &arg7_defvalue ;
6074 wxMiniFrame *result;
ae8162c8 6075 bool temp3 = false ;
d14a1e28
RD
6076 wxPoint temp4 ;
6077 wxSize temp5 ;
ae8162c8 6078 bool temp7 = false ;
d14a1e28 6079 PyObject * obj0 = 0 ;
994141e6 6080 PyObject * obj1 = 0 ;
d14a1e28
RD
6081 PyObject * obj2 = 0 ;
6082 PyObject * obj3 = 0 ;
6083 PyObject * obj4 = 0 ;
994141e6 6084 PyObject * obj5 = 0 ;
d14a1e28
RD
6085 PyObject * obj6 = 0 ;
6086 char *kwnames[] = {
6087 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6088 };
6089
248ed943 6090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
6091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6092 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 6093 if (obj1) {
093d3ff1
RD
6094 {
6095 arg2 = (int const)(SWIG_As_int(obj1));
6096 if (SWIG_arg_fail(2)) SWIG_fail;
6097 }
248ed943
RD
6098 }
6099 if (obj2) {
6100 {
6101 arg3 = wxString_in_helper(obj2);
6102 if (arg3 == NULL) SWIG_fail;
ae8162c8 6103 temp3 = true;
248ed943 6104 }
d14a1e28
RD
6105 }
6106 if (obj3) {
6107 {
6108 arg4 = &temp4;
6109 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6110 }
6111 }
6112 if (obj4) {
6113 {
6114 arg5 = &temp5;
6115 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6116 }
6117 }
994141e6 6118 if (obj5) {
093d3ff1
RD
6119 {
6120 arg6 = (long)(SWIG_As_long(obj5));
6121 if (SWIG_arg_fail(6)) SWIG_fail;
6122 }
994141e6 6123 }
d14a1e28
RD
6124 if (obj6) {
6125 {
6126 arg7 = wxString_in_helper(obj6);
6127 if (arg7 == NULL) SWIG_fail;
ae8162c8 6128 temp7 = true;
d14a1e28
RD
6129 }
6130 }
6131 {
e3b71cb8 6132 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6133 PyThreadState* __tstate = wxPyBeginAllowThreads();
6134 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6135
6136 wxPyEndAllowThreads(__tstate);
110da5b0 6137 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6138 }
15afbcd0 6139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
6140 {
6141 if (temp3)
6142 delete arg3;
6143 }
6144 {
6145 if (temp7)
6146 delete arg7;
6147 }
6148 return resultobj;
6149 fail:
6150 {
6151 if (temp3)
6152 delete arg3;
6153 }
6154 {
6155 if (temp7)
6156 delete arg7;
6157 }
6158 return NULL;
6159}
6160
6161
c32bde28 6162static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6163 PyObject *resultobj;
6164 wxMiniFrame *result;
6165 char *kwnames[] = {
6166 NULL
6167 };
6168
6169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6170 {
e3b71cb8 6171 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 result = (wxMiniFrame *)new wxMiniFrame();
6174
6175 wxPyEndAllowThreads(__tstate);
110da5b0 6176 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6177 }
15afbcd0 6178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
d14a1e28
RD
6179 return resultobj;
6180 fail:
6181 return NULL;
6182}
6183
6184
c32bde28 6185static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6186 PyObject *resultobj;
6187 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6188 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
6189 int arg3 = (int) (int)-1 ;
6190 wxString const &arg4_defvalue = wxPyEmptyString ;
6191 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
6192 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6193 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6194 wxSize const &arg6_defvalue = wxDefaultSize ;
6195 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6196 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6197 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6198 wxString *arg8 = (wxString *) &arg8_defvalue ;
6199 bool result;
ae8162c8 6200 bool temp4 = false ;
d14a1e28
RD
6201 wxPoint temp5 ;
6202 wxSize temp6 ;
ae8162c8 6203 bool temp8 = false ;
d14a1e28
RD
6204 PyObject * obj0 = 0 ;
6205 PyObject * obj1 = 0 ;
994141e6 6206 PyObject * obj2 = 0 ;
d14a1e28
RD
6207 PyObject * obj3 = 0 ;
6208 PyObject * obj4 = 0 ;
6209 PyObject * obj5 = 0 ;
994141e6 6210 PyObject * obj6 = 0 ;
d14a1e28
RD
6211 PyObject * obj7 = 0 ;
6212 char *kwnames[] = {
6213 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6214 };
6215
248ed943 6216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6218 if (SWIG_arg_fail(1)) SWIG_fail;
6219 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6220 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6221 if (obj2) {
093d3ff1
RD
6222 {
6223 arg3 = (int const)(SWIG_As_int(obj2));
6224 if (SWIG_arg_fail(3)) SWIG_fail;
6225 }
248ed943
RD
6226 }
6227 if (obj3) {
6228 {
6229 arg4 = wxString_in_helper(obj3);
6230 if (arg4 == NULL) SWIG_fail;
ae8162c8 6231 temp4 = true;
248ed943 6232 }
d14a1e28
RD
6233 }
6234 if (obj4) {
6235 {
6236 arg5 = &temp5;
6237 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6238 }
6239 }
6240 if (obj5) {
6241 {
6242 arg6 = &temp6;
6243 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6244 }
6245 }
994141e6 6246 if (obj6) {
093d3ff1
RD
6247 {
6248 arg7 = (long)(SWIG_As_long(obj6));
6249 if (SWIG_arg_fail(7)) SWIG_fail;
6250 }
994141e6 6251 }
d14a1e28
RD
6252 if (obj7) {
6253 {
6254 arg8 = wxString_in_helper(obj7);
6255 if (arg8 == NULL) SWIG_fail;
ae8162c8 6256 temp8 = true;
d14a1e28
RD
6257 }
6258 }
6259 {
6260 PyThreadState* __tstate = wxPyBeginAllowThreads();
6261 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6262
6263 wxPyEndAllowThreads(__tstate);
6264 if (PyErr_Occurred()) SWIG_fail;
6265 }
4f89f6a3
RD
6266 {
6267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6268 }
d14a1e28
RD
6269 {
6270 if (temp4)
6271 delete arg4;
6272 }
6273 {
6274 if (temp8)
6275 delete arg8;
6276 }
6277 return resultobj;
6278 fail:
6279 {
6280 if (temp4)
6281 delete arg4;
6282 }
6283 {
6284 if (temp8)
6285 delete arg8;
6286 }
6287 return NULL;
6288}
6289
6290
c32bde28 6291static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6292 PyObject *obj;
6293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6294 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6295 Py_INCREF(obj);
6296 return Py_BuildValue((char *)"");
6297}
c32bde28 6298static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6299 PyObject *resultobj;
6300 wxBitmap *arg1 = 0 ;
6301 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 6302 int arg3 ;
d14a1e28
RD
6303 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6304 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6305 wxSize const &arg5_defvalue = wxDefaultSize ;
6306 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6307 long arg6 = (long) wxNO_BORDER ;
6308 wxSplashScreenWindow *result;
6309 wxPoint temp4 ;
6310 wxSize temp5 ;
6311 PyObject * obj0 = 0 ;
6312 PyObject * obj1 = 0 ;
994141e6 6313 PyObject * obj2 = 0 ;
d14a1e28
RD
6314 PyObject * obj3 = 0 ;
6315 PyObject * obj4 = 0 ;
994141e6 6316 PyObject * obj5 = 0 ;
d14a1e28
RD
6317 char *kwnames[] = {
6318 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6319 };
6320
994141e6 6321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
6322 {
6323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6324 if (SWIG_arg_fail(1)) SWIG_fail;
6325 if (arg1 == NULL) {
6326 SWIG_null_ref("wxBitmap");
6327 }
6328 if (SWIG_arg_fail(1)) SWIG_fail;
6329 }
6330 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6331 if (SWIG_arg_fail(2)) SWIG_fail;
6332 {
6333 arg3 = (int)(SWIG_As_int(obj2));
6334 if (SWIG_arg_fail(3)) SWIG_fail;
6335 }
d14a1e28
RD
6336 if (obj3) {
6337 {
6338 arg4 = &temp4;
6339 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6340 }
6341 }
6342 if (obj4) {
6343 {
6344 arg5 = &temp5;
6345 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6346 }
6347 }
994141e6 6348 if (obj5) {
093d3ff1
RD
6349 {
6350 arg6 = (long)(SWIG_As_long(obj5));
6351 if (SWIG_arg_fail(6)) SWIG_fail;
6352 }
994141e6 6353 }
d14a1e28 6354 {
e3b71cb8 6355 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6358
6359 wxPyEndAllowThreads(__tstate);
110da5b0 6360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6361 }
15afbcd0 6362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
d14a1e28
RD
6363 return resultobj;
6364 fail:
6365 return NULL;
6366}
6367
6368
c32bde28 6369static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6370 PyObject *resultobj;
6371 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6372 wxBitmap *arg2 = 0 ;
6373 PyObject * obj0 = 0 ;
6374 PyObject * obj1 = 0 ;
6375 char *kwnames[] = {
6376 (char *) "self",(char *) "bitmap", NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6381 if (SWIG_arg_fail(1)) SWIG_fail;
6382 {
6383 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6384 if (SWIG_arg_fail(2)) SWIG_fail;
6385 if (arg2 == NULL) {
6386 SWIG_null_ref("wxBitmap");
6387 }
6388 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
6389 }
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6393
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 Py_INCREF(Py_None); resultobj = Py_None;
6398 return resultobj;
6399 fail:
6400 return NULL;
6401}
6402
6403
c32bde28 6404static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6405 PyObject *resultobj;
6406 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6407 wxBitmap *result;
6408 PyObject * obj0 = 0 ;
6409 char *kwnames[] = {
6410 (char *) "self", NULL
6411 };
6412
6413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
6414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6415 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6416 {
6417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6418 {
6419 wxBitmap &_result_ref = (arg1)->GetBitmap();
6420 result = (wxBitmap *) &_result_ref;
6421 }
6422
6423 wxPyEndAllowThreads(__tstate);
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
4276dc52
RD
6426 {
6427 wxBitmap* resultptr = new wxBitmap(*result);
6428 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6429 }
d14a1e28
RD
6430 return resultobj;
6431 fail:
6432 return NULL;
6433}
6434
6435
c32bde28 6436static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6437 PyObject *obj;
6438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6439 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6440 Py_INCREF(obj);
6441 return Py_BuildValue((char *)"");
6442}
c32bde28 6443static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6444 PyObject *resultobj;
6445 wxBitmap *arg1 = 0 ;
6446 long arg2 ;
6447 int arg3 ;
6448 wxWindow *arg4 = (wxWindow *) 0 ;
248ed943 6449 int arg5 = (int) -1 ;
d14a1e28
RD
6450 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6451 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6452 wxSize const &arg7_defvalue = wxDefaultSize ;
6453 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6454 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6455 wxSplashScreen *result;
6456 wxPoint temp6 ;
6457 wxSize temp7 ;
6458 PyObject * obj0 = 0 ;
994141e6
RD
6459 PyObject * obj1 = 0 ;
6460 PyObject * obj2 = 0 ;
d14a1e28 6461 PyObject * obj3 = 0 ;
994141e6 6462 PyObject * obj4 = 0 ;
d14a1e28
RD
6463 PyObject * obj5 = 0 ;
6464 PyObject * obj6 = 0 ;
994141e6 6465 PyObject * obj7 = 0 ;
d14a1e28
RD
6466 char *kwnames[] = {
6467 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6468 };
6469
248ed943 6470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
6471 {
6472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6473 if (SWIG_arg_fail(1)) SWIG_fail;
6474 if (arg1 == NULL) {
6475 SWIG_null_ref("wxBitmap");
6476 }
6477 if (SWIG_arg_fail(1)) SWIG_fail;
6478 }
6479 {
6480 arg2 = (long)(SWIG_As_long(obj1));
6481 if (SWIG_arg_fail(2)) SWIG_fail;
6482 }
6483 {
6484 arg3 = (int)(SWIG_As_int(obj2));
6485 if (SWIG_arg_fail(3)) SWIG_fail;
6486 }
6487 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6488 if (SWIG_arg_fail(4)) SWIG_fail;
248ed943 6489 if (obj4) {
093d3ff1
RD
6490 {
6491 arg5 = (int)(SWIG_As_int(obj4));
6492 if (SWIG_arg_fail(5)) SWIG_fail;
6493 }
248ed943 6494 }
d14a1e28
RD
6495 if (obj5) {
6496 {
6497 arg6 = &temp6;
6498 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6499 }
6500 }
6501 if (obj6) {
6502 {
6503 arg7 = &temp7;
6504 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6505 }
6506 }
994141e6 6507 if (obj7) {
093d3ff1
RD
6508 {
6509 arg8 = (long)(SWIG_As_long(obj7));
6510 if (SWIG_arg_fail(8)) SWIG_fail;
6511 }
994141e6 6512 }
d14a1e28 6513 {
e3b71cb8 6514 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6515 PyThreadState* __tstate = wxPyBeginAllowThreads();
6516 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6517
6518 wxPyEndAllowThreads(__tstate);
110da5b0 6519 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6520 }
15afbcd0 6521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
d14a1e28
RD
6522 return resultobj;
6523 fail:
6524 return NULL;
6525}
6526
6527
c32bde28 6528static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6529 PyObject *resultobj;
6530 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6531 long result;
6532 PyObject * obj0 = 0 ;
6533 char *kwnames[] = {
6534 (char *) "self", NULL
6535 };
6536
6537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
6538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6539 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6543
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
093d3ff1
RD
6547 {
6548 resultobj = SWIG_From_long((long)(result));
6549 }
d14a1e28
RD
6550 return resultobj;
6551 fail:
6552 return NULL;
6553}
6554
6555
c32bde28 6556static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6557 PyObject *resultobj;
6558 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6559 wxSplashScreenWindow *result;
6560 PyObject * obj0 = 0 ;
6561 char *kwnames[] = {
6562 (char *) "self", NULL
6563 };
6564
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
6566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6567 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6568 {
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6571
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
15afbcd0 6575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
d14a1e28
RD
6576 return resultobj;
6577 fail:
6578 return NULL;
6579}
6580
6581
c32bde28 6582static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6583 PyObject *resultobj;
6584 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6585 int result;
6586 PyObject * obj0 = 0 ;
6587 char *kwnames[] = {
6588 (char *) "self", NULL
6589 };
6590
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
093d3ff1
RD
6592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6593 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6597
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
093d3ff1
RD
6601 {
6602 resultobj = SWIG_From_int((int)(result));
6603 }
d14a1e28
RD
6604 return resultobj;
6605 fail:
6606 return NULL;
6607}
6608
6609
c32bde28 6610static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6611 PyObject *obj;
6612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6613 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6614 Py_INCREF(obj);
6615 return Py_BuildValue((char *)"");
6616}
c32bde28 6617static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6618 PyObject *resultobj;
6619 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 6620 int arg2 = (int) -1 ;
4276dc52 6621 long arg3 = (long) wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE ;
d14a1e28
RD
6622 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6623 wxString *arg4 = (wxString *) &arg4_defvalue ;
6624 wxStatusBar *result;
ae8162c8 6625 bool temp4 = false ;
d14a1e28 6626 PyObject * obj0 = 0 ;
994141e6
RD
6627 PyObject * obj1 = 0 ;
6628 PyObject * obj2 = 0 ;
d14a1e28
RD
6629 PyObject * obj3 = 0 ;
6630 char *kwnames[] = {
6631 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6632 };
6633
994141e6 6634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
6635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6636 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 6637 if (obj1) {
093d3ff1
RD
6638 {
6639 arg2 = (int)(SWIG_As_int(obj1));
6640 if (SWIG_arg_fail(2)) SWIG_fail;
6641 }
994141e6
RD
6642 }
6643 if (obj2) {
093d3ff1
RD
6644 {
6645 arg3 = (long)(SWIG_As_long(obj2));
6646 if (SWIG_arg_fail(3)) SWIG_fail;
6647 }
994141e6 6648 }
d14a1e28
RD
6649 if (obj3) {
6650 {
6651 arg4 = wxString_in_helper(obj3);
6652 if (arg4 == NULL) SWIG_fail;
ae8162c8 6653 temp4 = true;
d14a1e28
RD
6654 }
6655 }
6656 {
e3b71cb8 6657 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6658 PyThreadState* __tstate = wxPyBeginAllowThreads();
6659 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6660
6661 wxPyEndAllowThreads(__tstate);
110da5b0 6662 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6663 }
b0f7404b 6664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d14a1e28
RD
6665 {
6666 if (temp4)
6667 delete arg4;
6668 }
6669 return resultobj;
6670 fail:
6671 {
6672 if (temp4)
6673 delete arg4;
6674 }
6675 return NULL;
6676}
6677
6678
c32bde28 6679static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6680 PyObject *resultobj;
6681 wxStatusBar *result;
6682 char *kwnames[] = {
6683 NULL
6684 };
6685
6686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6687 {
e3b71cb8 6688 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
6689 PyThreadState* __tstate = wxPyBeginAllowThreads();
6690 result = (wxStatusBar *)new wxStatusBar();
6691
6692 wxPyEndAllowThreads(__tstate);
110da5b0 6693 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 6694 }
b0f7404b 6695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d14a1e28
RD
6696 return resultobj;
6697 fail:
6698 return NULL;
6699}
6700
6701
c32bde28 6702static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6703 PyObject *resultobj;
6704 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6705 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6706 int arg3 = (int) -1 ;
d14a1e28
RD
6707 long arg4 = (long) wxST_SIZEGRIP ;
6708 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6709 wxString *arg5 = (wxString *) &arg5_defvalue ;
6710 bool result;
ae8162c8 6711 bool temp5 = false ;
d14a1e28
RD
6712 PyObject * obj0 = 0 ;
6713 PyObject * obj1 = 0 ;
994141e6
RD
6714 PyObject * obj2 = 0 ;
6715 PyObject * obj3 = 0 ;
d14a1e28
RD
6716 PyObject * obj4 = 0 ;
6717 char *kwnames[] = {
6718 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6719 };
6720
248ed943 6721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6723 if (SWIG_arg_fail(1)) SWIG_fail;
6724 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6725 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 6726 if (obj2) {
093d3ff1
RD
6727 {
6728 arg3 = (int)(SWIG_As_int(obj2));
6729 if (SWIG_arg_fail(3)) SWIG_fail;
6730 }
248ed943 6731 }
994141e6 6732 if (obj3) {
093d3ff1
RD
6733 {
6734 arg4 = (long)(SWIG_As_long(obj3));
6735 if (SWIG_arg_fail(4)) SWIG_fail;
6736 }
994141e6 6737 }
d14a1e28
RD
6738 if (obj4) {
6739 {
6740 arg5 = wxString_in_helper(obj4);
6741 if (arg5 == NULL) SWIG_fail;
ae8162c8 6742 temp5 = true;
d14a1e28
RD
6743 }
6744 }
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
4f89f6a3
RD
6752 {
6753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6754 }
d14a1e28
RD
6755 {
6756 if (temp5)
6757 delete arg5;
6758 }
6759 return resultobj;
6760 fail:
6761 {
6762 if (temp5)
6763 delete arg5;
6764 }
6765 return NULL;
6766}
6767
6768
c32bde28 6769static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6770 PyObject *resultobj;
6771 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6772 int arg2 = (int) 1 ;
6773 PyObject * obj0 = 0 ;
994141e6 6774 PyObject * obj1 = 0 ;
d14a1e28
RD
6775 char *kwnames[] = {
6776 (char *) "self",(char *) "number", NULL
6777 };
6778
994141e6 6779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6781 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 6782 if (obj1) {
093d3ff1
RD
6783 {
6784 arg2 = (int)(SWIG_As_int(obj1));
6785 if (SWIG_arg_fail(2)) SWIG_fail;
6786 }
994141e6 6787 }
d14a1e28
RD
6788 {
6789 PyThreadState* __tstate = wxPyBeginAllowThreads();
6790 (arg1)->SetFieldsCount(arg2);
6791
6792 wxPyEndAllowThreads(__tstate);
6793 if (PyErr_Occurred()) SWIG_fail;
6794 }
6795 Py_INCREF(Py_None); resultobj = Py_None;
6796 return resultobj;
6797 fail:
6798 return NULL;
6799}
6800
6801
c32bde28 6802static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6803 PyObject *resultobj;
6804 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6805 int result;
6806 PyObject * obj0 = 0 ;
6807 char *kwnames[] = {
6808 (char *) "self", NULL
6809 };
6810
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
6812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6813 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6817
6818 wxPyEndAllowThreads(__tstate);
6819 if (PyErr_Occurred()) SWIG_fail;
6820 }
093d3ff1
RD
6821 {
6822 resultobj = SWIG_From_int((int)(result));
6823 }
d14a1e28
RD
6824 return resultobj;
6825 fail:
6826 return NULL;
6827}
6828
6829
c32bde28 6830static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6831 PyObject *resultobj;
6832 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6833 wxString *arg2 = 0 ;
6834 int arg3 = (int) 0 ;
ae8162c8 6835 bool temp2 = false ;
d14a1e28
RD
6836 PyObject * obj0 = 0 ;
6837 PyObject * obj1 = 0 ;
994141e6 6838 PyObject * obj2 = 0 ;
d14a1e28
RD
6839 char *kwnames[] = {
6840 (char *) "self",(char *) "text",(char *) "number", NULL
6841 };
6842
994141e6 6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6845 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6846 {
6847 arg2 = wxString_in_helper(obj1);
6848 if (arg2 == NULL) SWIG_fail;
ae8162c8 6849 temp2 = true;
d14a1e28 6850 }
994141e6 6851 if (obj2) {
093d3ff1
RD
6852 {
6853 arg3 = (int)(SWIG_As_int(obj2));
6854 if (SWIG_arg_fail(3)) SWIG_fail;
6855 }
994141e6 6856 }
d14a1e28
RD
6857 {
6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
6859 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6860
6861 wxPyEndAllowThreads(__tstate);
6862 if (PyErr_Occurred()) SWIG_fail;
6863 }
6864 Py_INCREF(Py_None); resultobj = Py_None;
6865 {
6866 if (temp2)
6867 delete arg2;
6868 }
6869 return resultobj;
6870 fail:
6871 {
6872 if (temp2)
6873 delete arg2;
6874 }
6875 return NULL;
6876}
6877
6878
c32bde28 6879static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6880 PyObject *resultobj;
6881 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6882 int arg2 = (int) 0 ;
6883 wxString result;
6884 PyObject * obj0 = 0 ;
994141e6 6885 PyObject * obj1 = 0 ;
d14a1e28
RD
6886 char *kwnames[] = {
6887 (char *) "self",(char *) "number", NULL
6888 };
6889
994141e6 6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6892 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 6893 if (obj1) {
093d3ff1
RD
6894 {
6895 arg2 = (int)(SWIG_As_int(obj1));
6896 if (SWIG_arg_fail(2)) SWIG_fail;
6897 }
994141e6 6898 }
d14a1e28
RD
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 {
6907#if wxUSE_UNICODE
6908 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6909#else
6910 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6911#endif
6912 }
6913 return resultobj;
6914 fail:
6915 return NULL;
6916}
6917
6918
c32bde28 6919static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6920 PyObject *resultobj;
6921 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6922 wxString *arg2 = 0 ;
6923 int arg3 = (int) 0 ;
ae8162c8 6924 bool temp2 = false ;
d14a1e28
RD
6925 PyObject * obj0 = 0 ;
6926 PyObject * obj1 = 0 ;
994141e6 6927 PyObject * obj2 = 0 ;
d14a1e28
RD
6928 char *kwnames[] = {
6929 (char *) "self",(char *) "text",(char *) "number", NULL
6930 };
6931
994141e6 6932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6934 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
6935 {
6936 arg2 = wxString_in_helper(obj1);
6937 if (arg2 == NULL) SWIG_fail;
ae8162c8 6938 temp2 = true;
d14a1e28 6939 }
994141e6 6940 if (obj2) {
093d3ff1
RD
6941 {
6942 arg3 = (int)(SWIG_As_int(obj2));
6943 if (SWIG_arg_fail(3)) SWIG_fail;
6944 }
994141e6 6945 }
d14a1e28
RD
6946 {
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6949
6950 wxPyEndAllowThreads(__tstate);
6951 if (PyErr_Occurred()) SWIG_fail;
6952 }
6953 Py_INCREF(Py_None); resultobj = Py_None;
6954 {
6955 if (temp2)
6956 delete arg2;
6957 }
6958 return resultobj;
6959 fail:
6960 {
6961 if (temp2)
6962 delete arg2;
6963 }
6964 return NULL;
6965}
6966
6967
c32bde28 6968static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6969 PyObject *resultobj;
6970 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6971 int arg2 = (int) 0 ;
6972 PyObject * obj0 = 0 ;
994141e6 6973 PyObject * obj1 = 0 ;
d14a1e28
RD
6974 char *kwnames[] = {
6975 (char *) "self",(char *) "number", NULL
6976 };
6977
994141e6 6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6980 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 6981 if (obj1) {
093d3ff1
RD
6982 {
6983 arg2 = (int)(SWIG_As_int(obj1));
6984 if (SWIG_arg_fail(2)) SWIG_fail;
6985 }
994141e6 6986 }
d14a1e28
RD
6987 {
6988 PyThreadState* __tstate = wxPyBeginAllowThreads();
6989 (arg1)->PopStatusText(arg2);
6990
6991 wxPyEndAllowThreads(__tstate);
6992 if (PyErr_Occurred()) SWIG_fail;
6993 }
6994 Py_INCREF(Py_None); resultobj = Py_None;
6995 return resultobj;
6996 fail:
6997 return NULL;
6998}
6999
7000
c32bde28 7001static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7002 PyObject *resultobj;
7003 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7004 int arg2 ;
7005 int *arg3 = (int *) 0 ;
7006 PyObject * obj0 = 0 ;
7007 PyObject * obj1 = 0 ;
7008 char *kwnames[] = {
7009 (char *) "self",(char *) "widths", NULL
7010 };
7011
7012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7014 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7015 {
7016 arg2 = PyList_Size(obj1);
7017 arg3 = int_LIST_helper(obj1);
7018 if (arg3 == NULL) SWIG_fail;
7019 }
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7023
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 Py_INCREF(Py_None); resultobj = Py_None;
7028 {
7029 if (arg3) delete [] arg3;
7030 }
7031 return resultobj;
7032 fail:
7033 {
7034 if (arg3) delete [] arg3;
7035 }
7036 return NULL;
7037}
7038
7039
c32bde28 7040static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
f16ab95d
RD
7041 PyObject *resultobj;
7042 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7043 int arg2 ;
7044 int *arg3 = (int *) 0 ;
7045 PyObject * obj0 = 0 ;
7046 PyObject * obj1 = 0 ;
7047 char *kwnames[] = {
7048 (char *) "self",(char *) "styles", NULL
7049 };
7050
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7053 if (SWIG_arg_fail(1)) SWIG_fail;
f16ab95d
RD
7054 {
7055 arg2 = PyList_Size(obj1);
7056 arg3 = int_LIST_helper(obj1);
7057 if (arg3 == NULL) SWIG_fail;
7058 }
7059 {
7060 PyThreadState* __tstate = wxPyBeginAllowThreads();
7061 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7062
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
7066 Py_INCREF(Py_None); resultobj = Py_None;
7067 {
7068 if (arg3) delete [] arg3;
7069 }
7070 return resultobj;
7071 fail:
7072 {
7073 if (arg3) delete [] arg3;
7074 }
7075 return NULL;
7076}
7077
7078
c32bde28 7079static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7080 PyObject *resultobj;
7081 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7082 int arg2 ;
7722248d 7083 wxRect result;
d14a1e28 7084 PyObject * obj0 = 0 ;
994141e6 7085 PyObject * obj1 = 0 ;
d14a1e28 7086 char *kwnames[] = {
7722248d 7087 (char *) "self",(char *) "i", NULL
d14a1e28
RD
7088 };
7089
994141e6 7090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7092 if (SWIG_arg_fail(1)) SWIG_fail;
7093 {
7094 arg2 = (int)(SWIG_As_int(obj1));
7095 if (SWIG_arg_fail(2)) SWIG_fail;
7096 }
d14a1e28
RD
7097 {
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 7099 result = wxStatusBar_GetFieldRect(arg1,arg2);
d14a1e28
RD
7100
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7722248d
RD
7104 {
7105 wxRect * resultptr;
093d3ff1 7106 resultptr = new wxRect((wxRect &)(result));
15afbcd0 7107 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7722248d 7108 }
d14a1e28
RD
7109 return resultobj;
7110 fail:
7111 return NULL;
7112}
7113
7114
c32bde28 7115static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7116 PyObject *resultobj;
7117 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7118 int arg2 ;
7119 PyObject * obj0 = 0 ;
994141e6 7120 PyObject * obj1 = 0 ;
d14a1e28
RD
7121 char *kwnames[] = {
7122 (char *) "self",(char *) "height", NULL
7123 };
7124
994141e6 7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7127 if (SWIG_arg_fail(1)) SWIG_fail;
7128 {
7129 arg2 = (int)(SWIG_As_int(obj1));
7130 if (SWIG_arg_fail(2)) SWIG_fail;
7131 }
d14a1e28
RD
7132 {
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 (arg1)->SetMinHeight(arg2);
7135
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 Py_INCREF(Py_None); resultobj = Py_None;
7140 return resultobj;
7141 fail:
7142 return NULL;
7143}
7144
7145
c32bde28 7146static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7147 PyObject *resultobj;
7148 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7149 int result;
7150 PyObject * obj0 = 0 ;
7151 char *kwnames[] = {
7152 (char *) "self", NULL
7153 };
7154
7155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
093d3ff1
RD
7156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7157 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7158 {
7159 PyThreadState* __tstate = wxPyBeginAllowThreads();
7160 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7161
7162 wxPyEndAllowThreads(__tstate);
7163 if (PyErr_Occurred()) SWIG_fail;
7164 }
093d3ff1
RD
7165 {
7166 resultobj = SWIG_From_int((int)(result));
7167 }
d14a1e28
RD
7168 return resultobj;
7169 fail:
7170 return NULL;
7171}
7172
7173
c32bde28 7174static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7175 PyObject *resultobj;
7176 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7177 int result;
7178 PyObject * obj0 = 0 ;
7179 char *kwnames[] = {
7180 (char *) "self", NULL
7181 };
7182
7183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
093d3ff1
RD
7184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7185 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7189
7190 wxPyEndAllowThreads(__tstate);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
093d3ff1
RD
7193 {
7194 resultobj = SWIG_From_int((int)(result));
7195 }
d14a1e28
RD
7196 return resultobj;
7197 fail:
7198 return NULL;
7199}
7200
7201
c32bde28 7202static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 7203 PyObject *resultobj;
093d3ff1 7204 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
7205 wxVisualAttributes result;
7206 PyObject * obj0 = 0 ;
7207 char *kwnames[] = {
7208 (char *) "variant", NULL
7209 };
7210
7211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7212 if (obj0) {
093d3ff1
RD
7213 {
7214 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7215 if (SWIG_arg_fail(1)) SWIG_fail;
7216 }
22bfe96c
RD
7217 }
7218 {
e3b71cb8 7219 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
7220 PyThreadState* __tstate = wxPyBeginAllowThreads();
7221 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7222
7223 wxPyEndAllowThreads(__tstate);
110da5b0 7224 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
7225 }
7226 {
7227 wxVisualAttributes * resultptr;
093d3ff1 7228 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
7229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7230 }
7231 return resultobj;
7232 fail:
7233 return NULL;
7234}
7235
7236
c32bde28 7237static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7238 PyObject *obj;
7239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7240 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7241 Py_INCREF(obj);
7242 return Py_BuildValue((char *)"");
7243}
c32bde28 7244static int _wrap_SplitterNameStr_set(PyObject *) {
b2dc1044
RD
7245 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7246 return 1;
7247}
7248
7249
093d3ff1 7250static PyObject *_wrap_SplitterNameStr_get(void) {
b2dc1044
RD
7251 PyObject *pyobj;
7252
7253 {
7254#if wxUSE_UNICODE
7255 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7256#else
7257 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7258#endif
7259 }
7260 return pyobj;
7261}
7262
7263
c32bde28 7264static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7265 PyObject *resultobj;
7266 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 7267 int arg2 = (int) -1 ;
d14a1e28
RD
7268 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7269 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7270 wxSize const &arg4_defvalue = wxDefaultSize ;
7271 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7272 long arg5 = (long) wxSP_3D ;
7273 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7274 wxString *arg6 = (wxString *) &arg6_defvalue ;
7275 wxSplitterWindow *result;
7276 wxPoint temp3 ;
7277 wxSize temp4 ;
ae8162c8 7278 bool temp6 = false ;
d14a1e28 7279 PyObject * obj0 = 0 ;
994141e6 7280 PyObject * obj1 = 0 ;
d14a1e28
RD
7281 PyObject * obj2 = 0 ;
7282 PyObject * obj3 = 0 ;
994141e6 7283 PyObject * obj4 = 0 ;
d14a1e28
RD
7284 PyObject * obj5 = 0 ;
7285 char *kwnames[] = {
994141e6 7286 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
7287 };
7288
74a57fcd 7289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7291 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd 7292 if (obj1) {
093d3ff1
RD
7293 {
7294 arg2 = (int)(SWIG_As_int(obj1));
7295 if (SWIG_arg_fail(2)) SWIG_fail;
7296 }
74a57fcd 7297 }
d14a1e28
RD
7298 if (obj2) {
7299 {
7300 arg3 = &temp3;
7301 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7302 }
7303 }
7304 if (obj3) {
7305 {
7306 arg4 = &temp4;
7307 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7308 }
7309 }
15afbcd0 7310 if (obj4) {
093d3ff1
RD
7311 {
7312 arg5 = (long)(SWIG_As_long(obj4));
7313 if (SWIG_arg_fail(5)) SWIG_fail;
7314 }
994141e6 7315 }
d14a1e28
RD
7316 if (obj5) {
7317 {
7318 arg6 = wxString_in_helper(obj5);
7319 if (arg6 == NULL) SWIG_fail;
ae8162c8 7320 temp6 = true;
d14a1e28
RD
7321 }
7322 }
7323 {
e3b71cb8 7324 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7325 PyThreadState* __tstate = wxPyBeginAllowThreads();
7326 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7327
7328 wxPyEndAllowThreads(__tstate);
110da5b0 7329 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7330 }
15afbcd0 7331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
7332 {
7333 if (temp6)
7334 delete arg6;
7335 }
7336 return resultobj;
7337 fail:
7338 {
7339 if (temp6)
7340 delete arg6;
7341 }
7342 return NULL;
7343}
7344
7345
c32bde28 7346static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7347 PyObject *resultobj;
7348 wxSplitterWindow *result;
7349 char *kwnames[] = {
7350 NULL
7351 };
7352
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7354 {
e3b71cb8 7355 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
7356 PyThreadState* __tstate = wxPyBeginAllowThreads();
7357 result = (wxSplitterWindow *)new wxSplitterWindow();
7358
7359 wxPyEndAllowThreads(__tstate);
110da5b0 7360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 7361 }
15afbcd0 7362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
d14a1e28
RD
7363 return resultobj;
7364 fail:
7365 return NULL;
7366}
7367
7368
c32bde28 7369static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7370 PyObject *resultobj;
7371 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7372 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 7373 int arg3 = (int) -1 ;
d14a1e28
RD
7374 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7375 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7376 wxSize const &arg5_defvalue = wxDefaultSize ;
7377 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7378 long arg6 = (long) wxSP_3D ;
7379 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7380 wxString *arg7 = (wxString *) &arg7_defvalue ;
7381 bool result;
7382 wxPoint temp4 ;
7383 wxSize temp5 ;
ae8162c8 7384 bool temp7 = false ;
d14a1e28
RD
7385 PyObject * obj0 = 0 ;
7386 PyObject * obj1 = 0 ;
994141e6 7387 PyObject * obj2 = 0 ;
d14a1e28
RD
7388 PyObject * obj3 = 0 ;
7389 PyObject * obj4 = 0 ;
994141e6 7390 PyObject * obj5 = 0 ;
d14a1e28
RD
7391 PyObject * obj6 = 0 ;
7392 char *kwnames[] = {
994141e6 7393 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
7394 };
7395
74a57fcd 7396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7398 if (SWIG_arg_fail(1)) SWIG_fail;
7399 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7400 if (SWIG_arg_fail(2)) SWIG_fail;
74a57fcd 7401 if (obj2) {
093d3ff1
RD
7402 {
7403 arg3 = (int)(SWIG_As_int(obj2));
7404 if (SWIG_arg_fail(3)) SWIG_fail;
7405 }
74a57fcd 7406 }
d14a1e28
RD
7407 if (obj3) {
7408 {
7409 arg4 = &temp4;
7410 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7411 }
7412 }
7413 if (obj4) {
7414 {
7415 arg5 = &temp5;
7416 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7417 }
7418 }
994141e6 7419 if (obj5) {
093d3ff1
RD
7420 {
7421 arg6 = (long)(SWIG_As_long(obj5));
7422 if (SWIG_arg_fail(6)) SWIG_fail;
7423 }
994141e6 7424 }
d14a1e28
RD
7425 if (obj6) {
7426 {
7427 arg7 = wxString_in_helper(obj6);
7428 if (arg7 == NULL) SWIG_fail;
ae8162c8 7429 temp7 = true;
d14a1e28
RD
7430 }
7431 }
7432 {
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7435
7436 wxPyEndAllowThreads(__tstate);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
4f89f6a3
RD
7439 {
7440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7441 }
d14a1e28
RD
7442 {
7443 if (temp7)
7444 delete arg7;
7445 }
7446 return resultobj;
7447 fail:
7448 {
7449 if (temp7)
7450 delete arg7;
7451 }
7452 return NULL;
7453}
7454
7455
c32bde28 7456static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7457 PyObject *resultobj;
7458 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7459 wxWindow *result;
7460 PyObject * obj0 = 0 ;
7461 char *kwnames[] = {
7462 (char *) "self", NULL
7463 };
7464
7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
093d3ff1
RD
7466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7467 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7471
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 {
412d302d 7476 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7477 }
7478 return resultobj;
7479 fail:
7480 return NULL;
7481}
7482
7483
c32bde28 7484static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7485 PyObject *resultobj;
7486 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7487 wxWindow *result;
7488 PyObject * obj0 = 0 ;
7489 char *kwnames[] = {
7490 (char *) "self", NULL
7491 };
7492
7493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
093d3ff1
RD
7494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7495 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7499
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
7503 {
412d302d 7504 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
7505 }
7506 return resultobj;
7507 fail:
7508 return NULL;
7509}
7510
7511
c32bde28 7512static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7513 PyObject *resultobj;
7514 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7515 int arg2 ;
7516 PyObject * obj0 = 0 ;
994141e6 7517 PyObject * obj1 = 0 ;
d14a1e28
RD
7518 char *kwnames[] = {
7519 (char *) "self",(char *) "mode", NULL
7520 };
7521
994141e6 7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7524 if (SWIG_arg_fail(1)) SWIG_fail;
7525 {
7526 arg2 = (int)(SWIG_As_int(obj1));
7527 if (SWIG_arg_fail(2)) SWIG_fail;
7528 }
d14a1e28
RD
7529 {
7530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7531 (arg1)->SetSplitMode(arg2);
7532
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 Py_INCREF(Py_None); resultobj = Py_None;
7537 return resultobj;
7538 fail:
7539 return NULL;
7540}
7541
7542
c32bde28 7543static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7544 PyObject *resultobj;
7545 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
093d3ff1 7546 wxSplitMode result;
d14a1e28
RD
7547 PyObject * obj0 = 0 ;
7548 char *kwnames[] = {
7549 (char *) "self", NULL
7550 };
7551
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
7553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7554 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7555 {
7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 7557 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
d14a1e28
RD
7558
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
093d3ff1 7562 resultobj = SWIG_From_int((result));
d14a1e28
RD
7563 return resultobj;
7564 fail:
7565 return NULL;
7566}
7567
7568
c32bde28 7569static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7570 PyObject *resultobj;
7571 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7572 wxWindow *arg2 = (wxWindow *) 0 ;
7573 PyObject * obj0 = 0 ;
7574 PyObject * obj1 = 0 ;
7575 char *kwnames[] = {
7576 (char *) "self",(char *) "window", NULL
7577 };
7578
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7581 if (SWIG_arg_fail(1)) SWIG_fail;
7582 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7583 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 (arg1)->Initialize(arg2);
7587
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 Py_INCREF(Py_None); resultobj = Py_None;
7592 return resultobj;
7593 fail:
7594 return NULL;
7595}
7596
7597
c32bde28 7598static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7599 PyObject *resultobj;
7600 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7601 wxWindow *arg2 = (wxWindow *) 0 ;
7602 wxWindow *arg3 = (wxWindow *) 0 ;
7603 int arg4 = (int) 0 ;
7604 bool result;
7605 PyObject * obj0 = 0 ;
7606 PyObject * obj1 = 0 ;
7607 PyObject * obj2 = 0 ;
994141e6 7608 PyObject * obj3 = 0 ;
d14a1e28
RD
7609 char *kwnames[] = {
7610 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7611 };
7612
994141e6 7613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7615 if (SWIG_arg_fail(1)) SWIG_fail;
7616 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7617 if (SWIG_arg_fail(2)) SWIG_fail;
7618 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7619 if (SWIG_arg_fail(3)) SWIG_fail;
994141e6 7620 if (obj3) {
093d3ff1
RD
7621 {
7622 arg4 = (int)(SWIG_As_int(obj3));
7623 if (SWIG_arg_fail(4)) SWIG_fail;
7624 }
994141e6 7625 }
d14a1e28
RD
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
4f89f6a3
RD
7633 {
7634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7635 }
d14a1e28
RD
7636 return resultobj;
7637 fail:
7638 return NULL;
7639}
7640
7641
c32bde28 7642static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7643 PyObject *resultobj;
7644 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7645 wxWindow *arg2 = (wxWindow *) 0 ;
7646 wxWindow *arg3 = (wxWindow *) 0 ;
7647 int arg4 = (int) 0 ;
7648 bool result;
7649 PyObject * obj0 = 0 ;
7650 PyObject * obj1 = 0 ;
7651 PyObject * obj2 = 0 ;
994141e6 7652 PyObject * obj3 = 0 ;
d14a1e28
RD
7653 char *kwnames[] = {
7654 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7655 };
7656
994141e6 7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7659 if (SWIG_arg_fail(1)) SWIG_fail;
7660 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7661 if (SWIG_arg_fail(2)) SWIG_fail;
7662 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7663 if (SWIG_arg_fail(3)) SWIG_fail;
994141e6 7664 if (obj3) {
093d3ff1
RD
7665 {
7666 arg4 = (int)(SWIG_As_int(obj3));
7667 if (SWIG_arg_fail(4)) SWIG_fail;
7668 }
994141e6 7669 }
d14a1e28
RD
7670 {
7671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7672 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7673
7674 wxPyEndAllowThreads(__tstate);
7675 if (PyErr_Occurred()) SWIG_fail;
7676 }
4f89f6a3
RD
7677 {
7678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7679 }
d14a1e28
RD
7680 return resultobj;
7681 fail:
7682 return NULL;
7683}
7684
7685
c32bde28 7686static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7687 PyObject *resultobj;
7688 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7689 wxWindow *arg2 = (wxWindow *) NULL ;
7690 bool result;
7691 PyObject * obj0 = 0 ;
7692 PyObject * obj1 = 0 ;
7693 char *kwnames[] = {
7694 (char *) "self",(char *) "toRemove", NULL
7695 };
7696
7697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7699 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 7700 if (obj1) {
093d3ff1
RD
7701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7702 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
7703 }
7704 {
7705 PyThreadState* __tstate = wxPyBeginAllowThreads();
7706 result = (bool)(arg1)->Unsplit(arg2);
7707
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
4f89f6a3
RD
7711 {
7712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7713 }
d14a1e28
RD
7714 return resultobj;
7715 fail:
7716 return NULL;
7717}
7718
7719
c32bde28 7720static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7721 PyObject *resultobj;
7722 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7723 wxWindow *arg2 = (wxWindow *) 0 ;
7724 wxWindow *arg3 = (wxWindow *) 0 ;
7725 bool result;
7726 PyObject * obj0 = 0 ;
7727 PyObject * obj1 = 0 ;
7728 PyObject * obj2 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7735 if (SWIG_arg_fail(1)) SWIG_fail;
7736 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7737 if (SWIG_arg_fail(2)) SWIG_fail;
7738 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7739 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7743
7744 wxPyEndAllowThreads(__tstate);
7745 if (PyErr_Occurred()) SWIG_fail;
7746 }
4f89f6a3
RD
7747 {
7748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7749 }
d14a1e28
RD
7750 return resultobj;
7751 fail:
7752 return NULL;
7753}
7754
7755
c32bde28 7756static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
d00d1b88
RD
7757 PyObject *resultobj;
7758 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7759 PyObject * obj0 = 0 ;
7760 char *kwnames[] = {
7761 (char *) "self", NULL
7762 };
7763
7764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7766 if (SWIG_arg_fail(1)) SWIG_fail;
d00d1b88
RD
7767 {
7768 PyThreadState* __tstate = wxPyBeginAllowThreads();
7769 (arg1)->UpdateSize();
7770
7771 wxPyEndAllowThreads(__tstate);
7772 if (PyErr_Occurred()) SWIG_fail;
7773 }
7774 Py_INCREF(Py_None); resultobj = Py_None;
7775 return resultobj;
7776 fail:
7777 return NULL;
7778}
7779
7780
c32bde28 7781static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7782 PyObject *resultobj;
7783 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7784 bool result;
7785 PyObject * obj0 = 0 ;
7786 char *kwnames[] = {
7787 (char *) "self", NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
093d3ff1
RD
7791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7792 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7796
7797 wxPyEndAllowThreads(__tstate);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 }
4f89f6a3
RD
7800 {
7801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7802 }
d14a1e28
RD
7803 return resultobj;
7804 fail:
7805 return NULL;
7806}
7807
7808
c32bde28 7809static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7810 PyObject *resultobj;
7811 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7812 int arg2 ;
7813 PyObject * obj0 = 0 ;
994141e6 7814 PyObject * obj1 = 0 ;
d14a1e28
RD
7815 char *kwnames[] = {
7816 (char *) "self",(char *) "width", NULL
7817 };
7818
994141e6 7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail;
7822 {
7823 arg2 = (int)(SWIG_As_int(obj1));
7824 if (SWIG_arg_fail(2)) SWIG_fail;
7825 }
d14a1e28
RD
7826 {
7827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7828 (arg1)->SetSashSize(arg2);
7829
7830 wxPyEndAllowThreads(__tstate);
7831 if (PyErr_Occurred()) SWIG_fail;
7832 }
7833 Py_INCREF(Py_None); resultobj = Py_None;
7834 return resultobj;
7835 fail:
7836 return NULL;
7837}
7838
7839
c32bde28 7840static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7841 PyObject *resultobj;
7842 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7843 int arg2 ;
7844 PyObject * obj0 = 0 ;
994141e6 7845 PyObject * obj1 = 0 ;
d14a1e28
RD
7846 char *kwnames[] = {
7847 (char *) "self",(char *) "width", NULL
7848 };
7849
994141e6 7850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7852 if (SWIG_arg_fail(1)) SWIG_fail;
7853 {
7854 arg2 = (int)(SWIG_As_int(obj1));
7855 if (SWIG_arg_fail(2)) SWIG_fail;
7856 }
d14a1e28
RD
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 (arg1)->SetBorderSize(arg2);
7860
7861 wxPyEndAllowThreads(__tstate);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 }
7864 Py_INCREF(Py_None); resultobj = Py_None;
7865 return resultobj;
7866 fail:
7867 return NULL;
7868}
7869
7870
c32bde28 7871static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7872 PyObject *resultobj;
7873 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7874 int result;
7875 PyObject * obj0 = 0 ;
7876 char *kwnames[] = {
7877 (char *) "self", NULL
7878 };
7879
7880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7882 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7886
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 }
093d3ff1
RD
7890 {
7891 resultobj = SWIG_From_int((int)(result));
7892 }
d14a1e28
RD
7893 return resultobj;
7894 fail:
7895 return NULL;
7896}
7897
7898
c32bde28 7899static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7900 PyObject *resultobj;
7901 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7902 int result;
7903 PyObject * obj0 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7910 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
093d3ff1
RD
7918 {
7919 resultobj = SWIG_From_int((int)(result));
7920 }
d14a1e28
RD
7921 return resultobj;
7922 fail:
7923 return NULL;
7924}
7925
7926
c32bde28 7927static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7928 PyObject *resultobj;
7929 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7930 int arg2 ;
ae8162c8 7931 bool arg3 = (bool) true ;
d14a1e28 7932 PyObject * obj0 = 0 ;
994141e6 7933 PyObject * obj1 = 0 ;
d14a1e28
RD
7934 PyObject * obj2 = 0 ;
7935 char *kwnames[] = {
7936 (char *) "self",(char *) "position",(char *) "redraw", NULL
7937 };
7938
994141e6 7939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7941 if (SWIG_arg_fail(1)) SWIG_fail;
7942 {
7943 arg2 = (int)(SWIG_As_int(obj1));
7944 if (SWIG_arg_fail(2)) SWIG_fail;
7945 }
d14a1e28 7946 if (obj2) {
093d3ff1
RD
7947 {
7948 arg3 = (bool)(SWIG_As_bool(obj2));
7949 if (SWIG_arg_fail(3)) SWIG_fail;
7950 }
d14a1e28
RD
7951 }
7952 {
7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
7954 (arg1)->SetSashPosition(arg2,arg3);
7955
7956 wxPyEndAllowThreads(__tstate);
7957 if (PyErr_Occurred()) SWIG_fail;
7958 }
7959 Py_INCREF(Py_None); resultobj = Py_None;
7960 return resultobj;
7961 fail:
7962 return NULL;
7963}
7964
7965
c32bde28 7966static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7967 PyObject *resultobj;
7968 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7969 int result;
7970 PyObject * obj0 = 0 ;
7971 char *kwnames[] = {
7972 (char *) "self", NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
7976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7977 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
7978 {
7979 PyThreadState* __tstate = wxPyBeginAllowThreads();
7980 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
7981
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
093d3ff1
RD
7985 {
7986 resultobj = SWIG_From_int((int)(result));
7987 }
d14a1e28
RD
7988 return resultobj;
7989 fail:
7990 return NULL;
7991}
7992
7993
5cbf236d
RD
7994static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
7995 PyObject *resultobj;
7996 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7997 double arg2 ;
7998 PyObject * obj0 = 0 ;
7999 PyObject * obj1 = 0 ;
8000 char *kwnames[] = {
8001 (char *) "self",(char *) "gravity", NULL
8002 };
8003
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8006 if (SWIG_arg_fail(1)) SWIG_fail;
8007 {
8008 arg2 = (double)(SWIG_As_double(obj1));
8009 if (SWIG_arg_fail(2)) SWIG_fail;
8010 }
5cbf236d
RD
8011 {
8012 PyThreadState* __tstate = wxPyBeginAllowThreads();
8013 (arg1)->SetSashGravity(arg2);
8014
8015 wxPyEndAllowThreads(__tstate);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 Py_INCREF(Py_None); resultobj = Py_None;
8019 return resultobj;
8020 fail:
8021 return NULL;
8022}
8023
8024
8025static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8026 PyObject *resultobj;
8027 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8028 double result;
8029 PyObject * obj0 = 0 ;
8030 char *kwnames[] = {
8031 (char *) "self", NULL
8032 };
8033
8034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
093d3ff1
RD
8035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8036 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
8037 {
8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
8039 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8040
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 }
093d3ff1
RD
8044 {
8045 resultobj = SWIG_From_double((double)(result));
8046 }
5cbf236d
RD
8047 return resultobj;
8048 fail:
8049 return NULL;
8050}
8051
8052
c32bde28 8053static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8054 PyObject *resultobj;
8055 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8056 int arg2 ;
8057 PyObject * obj0 = 0 ;
994141e6 8058 PyObject * obj1 = 0 ;
d14a1e28
RD
8059 char *kwnames[] = {
8060 (char *) "self",(char *) "min", NULL
8061 };
8062
994141e6 8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8065 if (SWIG_arg_fail(1)) SWIG_fail;
8066 {
8067 arg2 = (int)(SWIG_As_int(obj1));
8068 if (SWIG_arg_fail(2)) SWIG_fail;
8069 }
d14a1e28
RD
8070 {
8071 PyThreadState* __tstate = wxPyBeginAllowThreads();
8072 (arg1)->SetMinimumPaneSize(arg2);
8073
8074 wxPyEndAllowThreads(__tstate);
8075 if (PyErr_Occurred()) SWIG_fail;
8076 }
8077 Py_INCREF(Py_None); resultobj = Py_None;
8078 return resultobj;
8079 fail:
8080 return NULL;
8081}
8082
8083
c32bde28 8084static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8085 PyObject *resultobj;
8086 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8087 int result;
8088 PyObject * obj0 = 0 ;
8089 char *kwnames[] = {
8090 (char *) "self", NULL
8091 };
8092
8093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8095 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8099
8100 wxPyEndAllowThreads(__tstate);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
093d3ff1
RD
8103 {
8104 resultobj = SWIG_From_int((int)(result));
8105 }
d14a1e28
RD
8106 return resultobj;
8107 fail:
8108 return NULL;
8109}
8110
8111
c32bde28 8112static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8113 PyObject *resultobj;
8114 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8115 int arg2 ;
8116 int arg3 ;
8117 int arg4 = (int) 5 ;
8118 bool result;
8119 PyObject * obj0 = 0 ;
994141e6
RD
8120 PyObject * obj1 = 0 ;
8121 PyObject * obj2 = 0 ;
8122 PyObject * obj3 = 0 ;
d14a1e28
RD
8123 char *kwnames[] = {
8124 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8125 };
8126
994141e6 8127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8129 if (SWIG_arg_fail(1)) SWIG_fail;
8130 {
8131 arg2 = (int)(SWIG_As_int(obj1));
8132 if (SWIG_arg_fail(2)) SWIG_fail;
8133 }
8134 {
8135 arg3 = (int)(SWIG_As_int(obj2));
8136 if (SWIG_arg_fail(3)) SWIG_fail;
8137 }
994141e6 8138 if (obj3) {
093d3ff1
RD
8139 {
8140 arg4 = (int)(SWIG_As_int(obj3));
8141 if (SWIG_arg_fail(4)) SWIG_fail;
8142 }
994141e6 8143 }
d14a1e28
RD
8144 {
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8147
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
4f89f6a3
RD
8151 {
8152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8153 }
d14a1e28
RD
8154 return resultobj;
8155 fail:
8156 return NULL;
8157}
8158
8159
c32bde28 8160static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8161 PyObject *resultobj;
8162 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8163 PyObject * obj0 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "self", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
8169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8170 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8171 {
8172 PyThreadState* __tstate = wxPyBeginAllowThreads();
8173 (arg1)->SizeWindows();
8174
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 Py_INCREF(Py_None); resultobj = Py_None;
8179 return resultobj;
8180 fail:
8181 return NULL;
8182}
8183
8184
c32bde28 8185static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8186 PyObject *resultobj;
8187 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8188 bool arg2 ;
8189 PyObject * obj0 = 0 ;
8190 PyObject * obj1 = 0 ;
8191 char *kwnames[] = {
8192 (char *) "self",(char *) "needUpdating", NULL
8193 };
8194
8195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8197 if (SWIG_arg_fail(1)) SWIG_fail;
8198 {
8199 arg2 = (bool)(SWIG_As_bool(obj1));
8200 if (SWIG_arg_fail(2)) SWIG_fail;
8201 }
d14a1e28
RD
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 (arg1)->SetNeedUpdating(arg2);
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 Py_INCREF(Py_None); resultobj = Py_None;
8210 return resultobj;
8211 fail:
8212 return NULL;
8213}
8214
8215
c32bde28 8216static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8217 PyObject *resultobj;
8218 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8219 bool result;
8220 PyObject * obj0 = 0 ;
8221 char *kwnames[] = {
8222 (char *) "self", NULL
8223 };
8224
8225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
093d3ff1
RD
8226 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8227 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8228 {
8229 PyThreadState* __tstate = wxPyBeginAllowThreads();
8230 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8231
8232 wxPyEndAllowThreads(__tstate);
8233 if (PyErr_Occurred()) SWIG_fail;
8234 }
4f89f6a3
RD
8235 {
8236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8237 }
d14a1e28
RD
8238 return resultobj;
8239 fail:
8240 return NULL;
8241}
8242
8243
c32bde28 8244static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
22bfe96c 8245 PyObject *resultobj;
093d3ff1 8246 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
22bfe96c
RD
8247 wxVisualAttributes result;
8248 PyObject * obj0 = 0 ;
8249 char *kwnames[] = {
8250 (char *) "variant", NULL
8251 };
8252
8253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8254 if (obj0) {
093d3ff1
RD
8255 {
8256 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8257 if (SWIG_arg_fail(1)) SWIG_fail;
8258 }
22bfe96c
RD
8259 }
8260 {
e3b71cb8 8261 if (!wxPyCheckForApp()) SWIG_fail;
22bfe96c
RD
8262 PyThreadState* __tstate = wxPyBeginAllowThreads();
8263 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8264
8265 wxPyEndAllowThreads(__tstate);
110da5b0 8266 if (PyErr_Occurred()) SWIG_fail;
22bfe96c
RD
8267 }
8268 {
8269 wxVisualAttributes * resultptr;
093d3ff1 8270 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
22bfe96c
RD
8271 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8272 }
8273 return resultobj;
8274 fail:
8275 return NULL;
8276}
8277
8278
c32bde28 8279static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8280 PyObject *obj;
8281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8282 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8283 Py_INCREF(obj);
8284 return Py_BuildValue((char *)"");
8285}
c32bde28 8286static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8287 PyObject *resultobj;
8288 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8289 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8290 wxSplitterEvent *result;
994141e6 8291 PyObject * obj0 = 0 ;
d14a1e28
RD
8292 PyObject * obj1 = 0 ;
8293 char *kwnames[] = {
8294 (char *) "type",(char *) "splitter", NULL
8295 };
8296
994141e6
RD
8297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8298 if (obj0) {
093d3ff1
RD
8299 {
8300 arg1 = (wxEventType)(SWIG_As_int(obj0));
8301 if (SWIG_arg_fail(1)) SWIG_fail;
8302 }
994141e6 8303 }
d14a1e28 8304 if (obj1) {
093d3ff1
RD
8305 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8306 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
8307 }
8308 {
8309 PyThreadState* __tstate = wxPyBeginAllowThreads();
8310 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8311
8312 wxPyEndAllowThreads(__tstate);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 }
15afbcd0 8315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
d14a1e28
RD
8316 return resultobj;
8317 fail:
8318 return NULL;
8319}
8320
8321
c32bde28 8322static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8323 PyObject *resultobj;
8324 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8325 int arg2 ;
8326 PyObject * obj0 = 0 ;
994141e6 8327 PyObject * obj1 = 0 ;
d14a1e28
RD
8328 char *kwnames[] = {
8329 (char *) "self",(char *) "pos", NULL
8330 };
8331
994141e6 8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8334 if (SWIG_arg_fail(1)) SWIG_fail;
8335 {
8336 arg2 = (int)(SWIG_As_int(obj1));
8337 if (SWIG_arg_fail(2)) SWIG_fail;
8338 }
d14a1e28
RD
8339 {
8340 PyThreadState* __tstate = wxPyBeginAllowThreads();
8341 (arg1)->SetSashPosition(arg2);
8342
8343 wxPyEndAllowThreads(__tstate);
8344 if (PyErr_Occurred()) SWIG_fail;
8345 }
8346 Py_INCREF(Py_None); resultobj = Py_None;
8347 return resultobj;
8348 fail:
8349 return NULL;
8350}
8351
8352
c32bde28 8353static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8354 PyObject *resultobj;
8355 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8356 int result;
8357 PyObject * obj0 = 0 ;
8358 char *kwnames[] = {
8359 (char *) "self", NULL
8360 };
8361
8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
8363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8364 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
093d3ff1
RD
8372 {
8373 resultobj = SWIG_From_int((int)(result));
8374 }
d14a1e28
RD
8375 return resultobj;
8376 fail:
8377 return NULL;
8378}
8379
8380
c32bde28 8381static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8382 PyObject *resultobj;
8383 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8384 wxWindow *result;
8385 PyObject * obj0 = 0 ;
8386 char *kwnames[] = {
8387 (char *) "self", NULL
8388 };
8389
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
093d3ff1
RD
8391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8392 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8396
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 {
412d302d 8401 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
8402 }
8403 return resultobj;
8404 fail:
8405 return NULL;
8406}
8407
8408
c32bde28 8409static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8410 PyObject *resultobj;
8411 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8412 int result;
8413 PyObject * obj0 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
093d3ff1
RD
8419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8420 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8424
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
093d3ff1
RD
8428 {
8429 resultobj = SWIG_From_int((int)(result));
8430 }
d14a1e28
RD
8431 return resultobj;
8432 fail:
8433 return NULL;
8434}
8435
8436
c32bde28 8437static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8438 PyObject *resultobj;
8439 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8440 int result;
8441 PyObject * obj0 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
093d3ff1
RD
8447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8449 {
8450 PyThreadState* __tstate = wxPyBeginAllowThreads();
8451 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8452
8453 wxPyEndAllowThreads(__tstate);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 }
093d3ff1
RD
8456 {
8457 resultobj = SWIG_From_int((int)(result));
8458 }
d14a1e28
RD
8459 return resultobj;
8460 fail:
8461 return NULL;
8462}
8463
8464
c32bde28 8465static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8466 PyObject *obj;
8467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8468 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8469 Py_INCREF(obj);
8470 return Py_BuildValue((char *)"");
8471}
c32bde28 8472static int _wrap_SashNameStr_set(PyObject *) {
b2dc1044
RD
8473 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8474 return 1;
8475}
8476
8477
093d3ff1 8478static PyObject *_wrap_SashNameStr_get(void) {
b2dc1044
RD
8479 PyObject *pyobj;
8480
8481 {
8482#if wxUSE_UNICODE
8483 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8484#else
8485 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8486#endif
8487 }
8488 return pyobj;
8489}
8490
8491
c32bde28 8492static int _wrap_SashLayoutNameStr_set(PyObject *) {
b2dc1044
RD
8493 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8494 return 1;
8495}
8496
8497
093d3ff1 8498static PyObject *_wrap_SashLayoutNameStr_get(void) {
b2dc1044
RD
8499 PyObject *pyobj;
8500
8501 {
8502#if wxUSE_UNICODE
8503 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8504#else
8505 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8506#endif
8507 }
8508 return pyobj;
8509}
8510
8511
c32bde28 8512static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8513 PyObject *resultobj;
8514 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8515 int arg2 = (int) -1 ;
d14a1e28
RD
8516 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8517 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8518 wxSize const &arg4_defvalue = wxDefaultSize ;
8519 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8520 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8521 wxString const &arg6_defvalue = wxPySashNameStr ;
8522 wxString *arg6 = (wxString *) &arg6_defvalue ;
8523 wxSashWindow *result;
8524 wxPoint temp3 ;
8525 wxSize temp4 ;
ae8162c8 8526 bool temp6 = false ;
d14a1e28 8527 PyObject * obj0 = 0 ;
994141e6 8528 PyObject * obj1 = 0 ;
d14a1e28
RD
8529 PyObject * obj2 = 0 ;
8530 PyObject * obj3 = 0 ;
994141e6 8531 PyObject * obj4 = 0 ;
d14a1e28
RD
8532 PyObject * obj5 = 0 ;
8533 char *kwnames[] = {
8534 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8535 };
8536
248ed943 8537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
8538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8539 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 8540 if (obj1) {
093d3ff1
RD
8541 {
8542 arg2 = (int)(SWIG_As_int(obj1));
8543 if (SWIG_arg_fail(2)) SWIG_fail;
8544 }
248ed943 8545 }
d14a1e28
RD
8546 if (obj2) {
8547 {
8548 arg3 = &temp3;
8549 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8550 }
8551 }
8552 if (obj3) {
8553 {
8554 arg4 = &temp4;
8555 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8556 }
8557 }
994141e6 8558 if (obj4) {
093d3ff1
RD
8559 {
8560 arg5 = (long)(SWIG_As_long(obj4));
8561 if (SWIG_arg_fail(5)) SWIG_fail;
8562 }
994141e6 8563 }
d14a1e28
RD
8564 if (obj5) {
8565 {
8566 arg6 = wxString_in_helper(obj5);
8567 if (arg6 == NULL) SWIG_fail;
ae8162c8 8568 temp6 = true;
d14a1e28
RD
8569 }
8570 }
8571 {
e3b71cb8 8572 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8575
8576 wxPyEndAllowThreads(__tstate);
110da5b0 8577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8578 }
15afbcd0 8579 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
8580 {
8581 if (temp6)
8582 delete arg6;
8583 }
8584 return resultobj;
8585 fail:
8586 {
8587 if (temp6)
8588 delete arg6;
8589 }
8590 return NULL;
8591}
8592
8593
c32bde28 8594static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8595 PyObject *resultobj;
8596 wxSashWindow *result;
8597 char *kwnames[] = {
8598 NULL
8599 };
8600
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8602 {
e3b71cb8 8603 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 result = (wxSashWindow *)new wxSashWindow();
8606
8607 wxPyEndAllowThreads(__tstate);
110da5b0 8608 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 8609 }
15afbcd0 8610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
d14a1e28
RD
8611 return resultobj;
8612 fail:
8613 return NULL;
8614}
8615
8616
c32bde28 8617static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8618 PyObject *resultobj;
8619 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8620 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8621 int arg3 = (int) -1 ;
d14a1e28
RD
8622 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8623 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8624 wxSize const &arg5_defvalue = wxDefaultSize ;
8625 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8626 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8627 wxString const &arg7_defvalue = wxPySashNameStr ;
8628 wxString *arg7 = (wxString *) &arg7_defvalue ;
8629 bool result;
8630 wxPoint temp4 ;
8631 wxSize temp5 ;
ae8162c8 8632 bool temp7 = false ;
d14a1e28
RD
8633 PyObject * obj0 = 0 ;
8634 PyObject * obj1 = 0 ;
994141e6 8635 PyObject * obj2 = 0 ;
d14a1e28
RD
8636 PyObject * obj3 = 0 ;
8637 PyObject * obj4 = 0 ;
994141e6 8638 PyObject * obj5 = 0 ;
d14a1e28
RD
8639 PyObject * obj6 = 0 ;
8640 char *kwnames[] = {
8641 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8642 };
8643
248ed943 8644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
8645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8646 if (SWIG_arg_fail(1)) SWIG_fail;
8647 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8648 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 8649 if (obj2) {
093d3ff1
RD
8650 {
8651 arg3 = (int)(SWIG_As_int(obj2));
8652 if (SWIG_arg_fail(3)) SWIG_fail;
8653 }
248ed943 8654 }
d14a1e28
RD
8655 if (obj3) {
8656 {
8657 arg4 = &temp4;
8658 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8659 }
8660 }
8661 if (obj4) {
8662 {
8663 arg5 = &temp5;
8664 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8665 }
8666 }
994141e6 8667 if (obj5) {
093d3ff1
RD
8668 {
8669 arg6 = (long)(SWIG_As_long(obj5));
8670 if (SWIG_arg_fail(6)) SWIG_fail;
8671 }
994141e6 8672 }
d14a1e28
RD
8673 if (obj6) {
8674 {
8675 arg7 = wxString_in_helper(obj6);
8676 if (arg7 == NULL) SWIG_fail;
ae8162c8 8677 temp7 = true;
d14a1e28
RD
8678 }
8679 }
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8683
8684 wxPyEndAllowThreads(__tstate);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
4f89f6a3
RD
8687 {
8688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8689 }
d14a1e28
RD
8690 {
8691 if (temp7)
8692 delete arg7;
8693 }
8694 return resultobj;
8695 fail:
8696 {
8697 if (temp7)
8698 delete arg7;
8699 }
8700 return NULL;
8701}
8702
8703
c32bde28 8704static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8705 PyObject *resultobj;
8706 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8707 wxSashEdgePosition arg2 ;
d14a1e28
RD
8708 bool arg3 ;
8709 PyObject * obj0 = 0 ;
994141e6 8710 PyObject * obj1 = 0 ;
d14a1e28
RD
8711 PyObject * obj2 = 0 ;
8712 char *kwnames[] = {
8713 (char *) "self",(char *) "edge",(char *) "sash", NULL
8714 };
8715
994141e6 8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8718 if (SWIG_arg_fail(1)) SWIG_fail;
8719 {
8720 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8721 if (SWIG_arg_fail(2)) SWIG_fail;
8722 }
8723 {
8724 arg3 = (bool)(SWIG_As_bool(obj2));
8725 if (SWIG_arg_fail(3)) SWIG_fail;
8726 }
d14a1e28
RD
8727 {
8728 PyThreadState* __tstate = wxPyBeginAllowThreads();
8729 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8730
8731 wxPyEndAllowThreads(__tstate);
8732 if (PyErr_Occurred()) SWIG_fail;
8733 }
8734 Py_INCREF(Py_None); resultobj = Py_None;
8735 return resultobj;
8736 fail:
8737 return NULL;
8738}
8739
8740
c32bde28 8741static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8742 PyObject *resultobj;
8743 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8744 wxSashEdgePosition arg2 ;
d14a1e28
RD
8745 bool result;
8746 PyObject * obj0 = 0 ;
994141e6 8747 PyObject * obj1 = 0 ;
d14a1e28
RD
8748 char *kwnames[] = {
8749 (char *) "self",(char *) "edge", NULL
8750 };
8751
994141e6 8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8754 if (SWIG_arg_fail(1)) SWIG_fail;
8755 {
8756 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8757 if (SWIG_arg_fail(2)) SWIG_fail;
8758 }
d14a1e28
RD
8759 {
8760 PyThreadState* __tstate = wxPyBeginAllowThreads();
8761 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8762
8763 wxPyEndAllowThreads(__tstate);
8764 if (PyErr_Occurred()) SWIG_fail;
8765 }
4f89f6a3
RD
8766 {
8767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8768 }
d14a1e28
RD
8769 return resultobj;
8770 fail:
8771 return NULL;
8772}
8773
8774
c32bde28 8775static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8776 PyObject *resultobj;
8777 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8778 wxSashEdgePosition arg2 ;
d14a1e28
RD
8779 bool arg3 ;
8780 PyObject * obj0 = 0 ;
994141e6 8781 PyObject * obj1 = 0 ;
d14a1e28
RD
8782 PyObject * obj2 = 0 ;
8783 char *kwnames[] = {
8784 (char *) "self",(char *) "edge",(char *) "border", NULL
8785 };
8786
994141e6 8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8789 if (SWIG_arg_fail(1)) SWIG_fail;
8790 {
8791 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8792 if (SWIG_arg_fail(2)) SWIG_fail;
8793 }
8794 {
8795 arg3 = (bool)(SWIG_As_bool(obj2));
8796 if (SWIG_arg_fail(3)) SWIG_fail;
8797 }
d14a1e28
RD
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8801
8802 wxPyEndAllowThreads(__tstate);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 Py_INCREF(Py_None); resultobj = Py_None;
8806 return resultobj;
8807 fail:
8808 return NULL;
8809}
8810
8811
c32bde28 8812static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8813 PyObject *resultobj;
8814 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8815 wxSashEdgePosition arg2 ;
d14a1e28
RD
8816 bool result;
8817 PyObject * obj0 = 0 ;
994141e6 8818 PyObject * obj1 = 0 ;
d14a1e28
RD
8819 char *kwnames[] = {
8820 (char *) "self",(char *) "edge", NULL
8821 };
8822
994141e6 8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8825 if (SWIG_arg_fail(1)) SWIG_fail;
8826 {
8827 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8828 if (SWIG_arg_fail(2)) SWIG_fail;
8829 }
d14a1e28
RD
8830 {
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8833
8834 wxPyEndAllowThreads(__tstate);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 }
4f89f6a3
RD
8837 {
8838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8839 }
d14a1e28
RD
8840 return resultobj;
8841 fail:
8842 return NULL;
8843}
8844
8845
c32bde28 8846static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8847 PyObject *resultobj;
8848 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
093d3ff1 8849 wxSashEdgePosition arg2 ;
d14a1e28
RD
8850 int result;
8851 PyObject * obj0 = 0 ;
994141e6 8852 PyObject * obj1 = 0 ;
d14a1e28
RD
8853 char *kwnames[] = {
8854 (char *) "self",(char *) "edge", NULL
8855 };
8856
994141e6 8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8859 if (SWIG_arg_fail(1)) SWIG_fail;
8860 {
8861 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8862 if (SWIG_arg_fail(2)) SWIG_fail;
8863 }
d14a1e28
RD
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8867
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 }
093d3ff1
RD
8871 {
8872 resultobj = SWIG_From_int((int)(result));
8873 }
d14a1e28
RD
8874 return resultobj;
8875 fail:
8876 return NULL;
8877}
8878
8879
c32bde28 8880static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8881 PyObject *resultobj;
8882 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8883 int arg2 ;
8884 PyObject * obj0 = 0 ;
994141e6 8885 PyObject * obj1 = 0 ;
d14a1e28
RD
8886 char *kwnames[] = {
8887 (char *) "self",(char *) "width", NULL
8888 };
8889
994141e6 8890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8892 if (SWIG_arg_fail(1)) SWIG_fail;
8893 {
8894 arg2 = (int)(SWIG_As_int(obj1));
8895 if (SWIG_arg_fail(2)) SWIG_fail;
8896 }
d14a1e28
RD
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 (arg1)->SetDefaultBorderSize(arg2);
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 Py_INCREF(Py_None); resultobj = Py_None;
8905 return resultobj;
8906 fail:
8907 return NULL;
8908}
8909
8910
c32bde28 8911static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8912 PyObject *resultobj;
8913 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8914 int result;
8915 PyObject * obj0 = 0 ;
8916 char *kwnames[] = {
8917 (char *) "self", NULL
8918 };
8919
8920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8922 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
8926
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
093d3ff1
RD
8930 {
8931 resultobj = SWIG_From_int((int)(result));
8932 }
d14a1e28
RD
8933 return resultobj;
8934 fail:
8935 return NULL;
8936}
8937
8938
c32bde28 8939static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8940 PyObject *resultobj;
8941 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8942 int arg2 ;
8943 PyObject * obj0 = 0 ;
994141e6 8944 PyObject * obj1 = 0 ;
d14a1e28
RD
8945 char *kwnames[] = {
8946 (char *) "self",(char *) "width", NULL
8947 };
8948
994141e6 8949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8951 if (SWIG_arg_fail(1)) SWIG_fail;
8952 {
8953 arg2 = (int)(SWIG_As_int(obj1));
8954 if (SWIG_arg_fail(2)) SWIG_fail;
8955 }
d14a1e28
RD
8956 {
8957 PyThreadState* __tstate = wxPyBeginAllowThreads();
8958 (arg1)->SetExtraBorderSize(arg2);
8959
8960 wxPyEndAllowThreads(__tstate);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 }
8963 Py_INCREF(Py_None); resultobj = Py_None;
8964 return resultobj;
8965 fail:
8966 return NULL;
8967}
8968
8969
c32bde28 8970static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8971 PyObject *resultobj;
8972 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8973 int result;
8974 PyObject * obj0 = 0 ;
8975 char *kwnames[] = {
8976 (char *) "self", NULL
8977 };
8978
8979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
8980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8981 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
8982 {
8983 PyThreadState* __tstate = wxPyBeginAllowThreads();
8984 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
8985
8986 wxPyEndAllowThreads(__tstate);
8987 if (PyErr_Occurred()) SWIG_fail;
8988 }
093d3ff1
RD
8989 {
8990 resultobj = SWIG_From_int((int)(result));
8991 }
d14a1e28
RD
8992 return resultobj;
8993 fail:
8994 return NULL;
8995}
8996
8997
c32bde28 8998static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8999 PyObject *resultobj;
9000 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9001 int arg2 ;
9002 PyObject * obj0 = 0 ;
994141e6 9003 PyObject * obj1 = 0 ;
d14a1e28
RD
9004 char *kwnames[] = {
9005 (char *) "self",(char *) "min", NULL
9006 };
9007
994141e6 9008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9010 if (SWIG_arg_fail(1)) SWIG_fail;
9011 {
9012 arg2 = (int)(SWIG_As_int(obj1));
9013 if (SWIG_arg_fail(2)) SWIG_fail;
9014 }
d14a1e28
RD
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 (arg1)->SetMinimumSizeX(arg2);
9018
9019 wxPyEndAllowThreads(__tstate);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
9022 Py_INCREF(Py_None); resultobj = Py_None;
9023 return resultobj;
9024 fail:
9025 return NULL;
9026}
9027
9028
c32bde28 9029static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9030 PyObject *resultobj;
9031 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9032 int arg2 ;
9033 PyObject * obj0 = 0 ;
994141e6 9034 PyObject * obj1 = 0 ;
d14a1e28
RD
9035 char *kwnames[] = {
9036 (char *) "self",(char *) "min", NULL
9037 };
9038
994141e6 9039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9041 if (SWIG_arg_fail(1)) SWIG_fail;
9042 {
9043 arg2 = (int)(SWIG_As_int(obj1));
9044 if (SWIG_arg_fail(2)) SWIG_fail;
9045 }
d14a1e28
RD
9046 {
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 (arg1)->SetMinimumSizeY(arg2);
9049
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 Py_INCREF(Py_None); resultobj = Py_None;
9054 return resultobj;
9055 fail:
9056 return NULL;
9057}
9058
9059
c32bde28 9060static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9061 PyObject *resultobj;
9062 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9063 int result;
9064 PyObject * obj0 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "self", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9071 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9072 {
9073 PyThreadState* __tstate = wxPyBeginAllowThreads();
9074 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9075
9076 wxPyEndAllowThreads(__tstate);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 }
093d3ff1
RD
9079 {
9080 resultobj = SWIG_From_int((int)(result));
9081 }
d14a1e28
RD
9082 return resultobj;
9083 fail:
9084 return NULL;
9085}
9086
9087
c32bde28 9088static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9089 PyObject *resultobj;
9090 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9091 int result;
9092 PyObject * obj0 = 0 ;
9093 char *kwnames[] = {
9094 (char *) "self", NULL
9095 };
9096
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9099 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9103
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
093d3ff1
RD
9107 {
9108 resultobj = SWIG_From_int((int)(result));
9109 }
d14a1e28
RD
9110 return resultobj;
9111 fail:
9112 return NULL;
9113}
9114
9115
c32bde28 9116static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9117 PyObject *resultobj;
9118 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9119 int arg2 ;
9120 PyObject * obj0 = 0 ;
994141e6 9121 PyObject * obj1 = 0 ;
d14a1e28
RD
9122 char *kwnames[] = {
9123 (char *) "self",(char *) "max", NULL
9124 };
9125
994141e6 9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9128 if (SWIG_arg_fail(1)) SWIG_fail;
9129 {
9130 arg2 = (int)(SWIG_As_int(obj1));
9131 if (SWIG_arg_fail(2)) SWIG_fail;
9132 }
d14a1e28
RD
9133 {
9134 PyThreadState* __tstate = wxPyBeginAllowThreads();
9135 (arg1)->SetMaximumSizeX(arg2);
9136
9137 wxPyEndAllowThreads(__tstate);
9138 if (PyErr_Occurred()) SWIG_fail;
9139 }
9140 Py_INCREF(Py_None); resultobj = Py_None;
9141 return resultobj;
9142 fail:
9143 return NULL;
9144}
9145
9146
c32bde28 9147static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9148 PyObject *resultobj;
9149 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9150 int arg2 ;
9151 PyObject * obj0 = 0 ;
994141e6 9152 PyObject * obj1 = 0 ;
d14a1e28
RD
9153 char *kwnames[] = {
9154 (char *) "self",(char *) "max", NULL
9155 };
9156
994141e6 9157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9159 if (SWIG_arg_fail(1)) SWIG_fail;
9160 {
9161 arg2 = (int)(SWIG_As_int(obj1));
9162 if (SWIG_arg_fail(2)) SWIG_fail;
9163 }
d14a1e28
RD
9164 {
9165 PyThreadState* __tstate = wxPyBeginAllowThreads();
9166 (arg1)->SetMaximumSizeY(arg2);
9167
9168 wxPyEndAllowThreads(__tstate);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 }
9171 Py_INCREF(Py_None); resultobj = Py_None;
9172 return resultobj;
9173 fail:
9174 return NULL;
9175}
9176
9177
c32bde28 9178static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9179 PyObject *resultobj;
9180 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9181 int result;
9182 PyObject * obj0 = 0 ;
9183 char *kwnames[] = {
9184 (char *) "self", NULL
9185 };
9186
9187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
093d3ff1
RD
9188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9189 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
093d3ff1
RD
9197 {
9198 resultobj = SWIG_From_int((int)(result));
9199 }
d14a1e28
RD
9200 return resultobj;
9201 fail:
9202 return NULL;
9203}
9204
9205
c32bde28 9206static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9207 PyObject *resultobj;
9208 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9209 int result;
9210 PyObject * obj0 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
093d3ff1
RD
9216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
093d3ff1
RD
9225 {
9226 resultobj = SWIG_From_int((int)(result));
9227 }
d14a1e28
RD
9228 return resultobj;
9229 fail:
9230 return NULL;
9231}
9232
9233
c32bde28 9234static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9235 PyObject *resultobj;
9236 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9237 int arg2 ;
9238 int arg3 ;
9239 int arg4 = (int) 2 ;
093d3ff1 9240 wxSashEdgePosition result;
d14a1e28 9241 PyObject * obj0 = 0 ;
994141e6
RD
9242 PyObject * obj1 = 0 ;
9243 PyObject * obj2 = 0 ;
9244 PyObject * obj3 = 0 ;
d14a1e28
RD
9245 char *kwnames[] = {
9246 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9247 };
9248
994141e6 9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9251 if (SWIG_arg_fail(1)) SWIG_fail;
9252 {
9253 arg2 = (int)(SWIG_As_int(obj1));
9254 if (SWIG_arg_fail(2)) SWIG_fail;
9255 }
9256 {
9257 arg3 = (int)(SWIG_As_int(obj2));
9258 if (SWIG_arg_fail(3)) SWIG_fail;
9259 }
994141e6 9260 if (obj3) {
093d3ff1
RD
9261 {
9262 arg4 = (int)(SWIG_As_int(obj3));
9263 if (SWIG_arg_fail(4)) SWIG_fail;
9264 }
994141e6 9265 }
d14a1e28
RD
9266 {
9267 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9268 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
d14a1e28
RD
9269
9270 wxPyEndAllowThreads(__tstate);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 }
093d3ff1 9273 resultobj = SWIG_From_int((result));
d14a1e28
RD
9274 return resultobj;
9275 fail:
9276 return NULL;
9277}
9278
9279
c32bde28 9280static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9281 PyObject *resultobj;
9282 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9283 PyObject * obj0 = 0 ;
9284 char *kwnames[] = {
9285 (char *) "self", NULL
9286 };
9287
9288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
093d3ff1
RD
9289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9290 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9291 {
9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
9293 (arg1)->SizeWindows();
9294
9295 wxPyEndAllowThreads(__tstate);
9296 if (PyErr_Occurred()) SWIG_fail;
9297 }
9298 Py_INCREF(Py_None); resultobj = Py_None;
9299 return resultobj;
9300 fail:
9301 return NULL;
9302}
9303
9304
c32bde28 9305static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9306 PyObject *obj;
9307 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9308 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9309 Py_INCREF(obj);
9310 return Py_BuildValue((char *)"");
9311}
c32bde28 9312static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9313 PyObject *resultobj;
9314 int arg1 = (int) 0 ;
093d3ff1 9315 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
d14a1e28 9316 wxSashEvent *result;
994141e6
RD
9317 PyObject * obj0 = 0 ;
9318 PyObject * obj1 = 0 ;
d14a1e28
RD
9319 char *kwnames[] = {
9320 (char *) "id",(char *) "edge", NULL
9321 };
9322
994141e6
RD
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9324 if (obj0) {
093d3ff1
RD
9325 {
9326 arg1 = (int)(SWIG_As_int(obj0));
9327 if (SWIG_arg_fail(1)) SWIG_fail;
9328 }
994141e6
RD
9329 }
9330 if (obj1) {
093d3ff1
RD
9331 {
9332 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9333 if (SWIG_arg_fail(2)) SWIG_fail;
9334 }
994141e6 9335 }
d14a1e28
RD
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9339
9340 wxPyEndAllowThreads(__tstate);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 }
15afbcd0 9343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
d14a1e28
RD
9344 return resultobj;
9345 fail:
9346 return NULL;
9347}
9348
9349
c32bde28 9350static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9351 PyObject *resultobj;
9352 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9353 wxSashEdgePosition arg2 ;
d14a1e28 9354 PyObject * obj0 = 0 ;
994141e6 9355 PyObject * obj1 = 0 ;
d14a1e28
RD
9356 char *kwnames[] = {
9357 (char *) "self",(char *) "edge", NULL
9358 };
9359
994141e6 9360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9362 if (SWIG_arg_fail(1)) SWIG_fail;
9363 {
9364 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9365 if (SWIG_arg_fail(2)) SWIG_fail;
9366 }
d14a1e28
RD
9367 {
9368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9369 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9370
9371 wxPyEndAllowThreads(__tstate);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 }
9374 Py_INCREF(Py_None); resultobj = Py_None;
9375 return resultobj;
9376 fail:
9377 return NULL;
9378}
9379
9380
c32bde28 9381static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9382 PyObject *resultobj;
9383 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9384 wxSashEdgePosition result;
d14a1e28
RD
9385 PyObject * obj0 = 0 ;
9386 char *kwnames[] = {
9387 (char *) "self", NULL
9388 };
9389
9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
093d3ff1
RD
9391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9392 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9393 {
9394 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9395 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
d14a1e28
RD
9396
9397 wxPyEndAllowThreads(__tstate);
9398 if (PyErr_Occurred()) SWIG_fail;
9399 }
093d3ff1 9400 resultobj = SWIG_From_int((result));
d14a1e28
RD
9401 return resultobj;
9402 fail:
9403 return NULL;
9404}
9405
9406
c32bde28 9407static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9408 PyObject *resultobj;
9409 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9410 wxRect *arg2 = 0 ;
9411 wxRect temp2 ;
9412 PyObject * obj0 = 0 ;
9413 PyObject * obj1 = 0 ;
9414 char *kwnames[] = {
9415 (char *) "self",(char *) "rect", NULL
9416 };
9417
9418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9420 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9421 {
9422 arg2 = &temp2;
9423 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9424 }
9425 {
9426 PyThreadState* __tstate = wxPyBeginAllowThreads();
9427 (arg1)->SetDragRect((wxRect const &)*arg2);
9428
9429 wxPyEndAllowThreads(__tstate);
9430 if (PyErr_Occurred()) SWIG_fail;
9431 }
9432 Py_INCREF(Py_None); resultobj = Py_None;
9433 return resultobj;
9434 fail:
9435 return NULL;
9436}
9437
9438
c32bde28 9439static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9440 PyObject *resultobj;
9441 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9442 wxRect result;
9443 PyObject * obj0 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "self", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
9449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9450 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 result = ((wxSashEvent const *)arg1)->GetDragRect();
9454
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 {
9459 wxRect * resultptr;
093d3ff1 9460 resultptr = new wxRect((wxRect &)(result));
15afbcd0 9461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
9462 }
9463 return resultobj;
9464 fail:
9465 return NULL;
9466}
9467
9468
c32bde28 9469static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9470 PyObject *resultobj;
9471 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9472 wxSashDragStatus arg2 ;
d14a1e28 9473 PyObject * obj0 = 0 ;
994141e6 9474 PyObject * obj1 = 0 ;
d14a1e28
RD
9475 char *kwnames[] = {
9476 (char *) "self",(char *) "status", NULL
9477 };
9478
994141e6 9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9481 if (SWIG_arg_fail(1)) SWIG_fail;
9482 {
9483 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9484 if (SWIG_arg_fail(2)) SWIG_fail;
9485 }
d14a1e28
RD
9486 {
9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
9488 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9489
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 Py_INCREF(Py_None); resultobj = Py_None;
9494 return resultobj;
9495 fail:
9496 return NULL;
9497}
9498
9499
c32bde28 9500static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9501 PyObject *resultobj;
9502 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
093d3ff1 9503 wxSashDragStatus result;
d14a1e28
RD
9504 PyObject * obj0 = 0 ;
9505 char *kwnames[] = {
9506 (char *) "self", NULL
9507 };
9508
9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
093d3ff1
RD
9510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9511 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9512 {
9513 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9514 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
d14a1e28
RD
9515
9516 wxPyEndAllowThreads(__tstate);
9517 if (PyErr_Occurred()) SWIG_fail;
9518 }
093d3ff1 9519 resultobj = SWIG_From_int((result));
d14a1e28
RD
9520 return resultobj;
9521 fail:
9522 return NULL;
9523}
9524
9525
c32bde28 9526static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9527 PyObject *obj;
9528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9529 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9530 Py_INCREF(obj);
9531 return Py_BuildValue((char *)"");
9532}
c32bde28 9533static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 9534 PyObject *resultobj;
e811c8ce 9535 int arg1 = (int) 0 ;
d14a1e28 9536 wxQueryLayoutInfoEvent *result;
994141e6 9537 PyObject * obj0 = 0 ;
d14a1e28
RD
9538 char *kwnames[] = {
9539 (char *) "id", NULL
9540 };
9541
994141e6
RD
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9543 if (obj0) {
093d3ff1
RD
9544 {
9545 arg1 = (int)(SWIG_As_int(obj0));
9546 if (SWIG_arg_fail(1)) SWIG_fail;
9547 }
994141e6 9548 }
d14a1e28
RD
9549 {
9550 PyThreadState* __tstate = wxPyBeginAllowThreads();
9551 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9552
9553 wxPyEndAllowThreads(__tstate);
9554 if (PyErr_Occurred()) SWIG_fail;
9555 }
15afbcd0 9556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
d14a1e28
RD
9557 return resultobj;
9558 fail:
9559 return NULL;
9560}
9561
9562
c32bde28 9563static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9564 PyObject *resultobj;
9565 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9566 int arg2 ;
9567 PyObject * obj0 = 0 ;
994141e6 9568 PyObject * obj1 = 0 ;
d14a1e28
RD
9569 char *kwnames[] = {
9570 (char *) "self",(char *) "length", NULL
9571 };
9572
994141e6 9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9575 if (SWIG_arg_fail(1)) SWIG_fail;
9576 {
9577 arg2 = (int)(SWIG_As_int(obj1));
9578 if (SWIG_arg_fail(2)) SWIG_fail;
9579 }
d14a1e28
RD
9580 {
9581 PyThreadState* __tstate = wxPyBeginAllowThreads();
9582 (arg1)->SetRequestedLength(arg2);
9583
9584 wxPyEndAllowThreads(__tstate);
9585 if (PyErr_Occurred()) SWIG_fail;
9586 }
9587 Py_INCREF(Py_None); resultobj = Py_None;
9588 return resultobj;
9589 fail:
9590 return NULL;
9591}
9592
9593
c32bde28 9594static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9595 PyObject *resultobj;
9596 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9597 int result;
9598 PyObject * obj0 = 0 ;
9599 char *kwnames[] = {
9600 (char *) "self", NULL
9601 };
9602
9603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
9604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9605 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9606 {
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 }
093d3ff1
RD
9613 {
9614 resultobj = SWIG_From_int((int)(result));
9615 }
d14a1e28
RD
9616 return resultobj;
9617 fail:
9618 return NULL;
9619}
9620
9621
c32bde28 9622static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9623 PyObject *resultobj;
9624 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9625 int arg2 ;
9626 PyObject * obj0 = 0 ;
994141e6 9627 PyObject * obj1 = 0 ;
d14a1e28
RD
9628 char *kwnames[] = {
9629 (char *) "self",(char *) "flags", NULL
9630 };
9631
994141e6 9632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9634 if (SWIG_arg_fail(1)) SWIG_fail;
9635 {
9636 arg2 = (int)(SWIG_As_int(obj1));
9637 if (SWIG_arg_fail(2)) SWIG_fail;
9638 }
d14a1e28
RD
9639 {
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
9641 (arg1)->SetFlags(arg2);
9642
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
9646 Py_INCREF(Py_None); resultobj = Py_None;
9647 return resultobj;
9648 fail:
9649 return NULL;
9650}
9651
9652
c32bde28 9653static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9654 PyObject *resultobj;
9655 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9656 int result;
9657 PyObject * obj0 = 0 ;
9658 char *kwnames[] = {
9659 (char *) "self", NULL
9660 };
9661
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9664 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
093d3ff1
RD
9672 {
9673 resultobj = SWIG_From_int((int)(result));
9674 }
d14a1e28
RD
9675 return resultobj;
9676 fail:
9677 return NULL;
9678}
9679
9680
c32bde28 9681static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9682 PyObject *resultobj;
9683 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9684 wxSize *arg2 = 0 ;
9685 wxSize temp2 ;
9686 PyObject * obj0 = 0 ;
9687 PyObject * obj1 = 0 ;
9688 char *kwnames[] = {
9689 (char *) "self",(char *) "size", NULL
9690 };
9691
9692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9694 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9695 {
9696 arg2 = &temp2;
9697 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9698 }
9699 {
9700 PyThreadState* __tstate = wxPyBeginAllowThreads();
9701 (arg1)->SetSize((wxSize const &)*arg2);
9702
9703 wxPyEndAllowThreads(__tstate);
9704 if (PyErr_Occurred()) SWIG_fail;
9705 }
9706 Py_INCREF(Py_None); resultobj = Py_None;
9707 return resultobj;
9708 fail:
9709 return NULL;
9710}
9711
9712
c32bde28 9713static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9714 PyObject *resultobj;
9715 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9716 wxSize result;
9717 PyObject * obj0 = 0 ;
9718 char *kwnames[] = {
9719 (char *) "self", NULL
9720 };
9721
9722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
9723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9724 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9725 {
9726 PyThreadState* __tstate = wxPyBeginAllowThreads();
9727 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9728
9729 wxPyEndAllowThreads(__tstate);
9730 if (PyErr_Occurred()) SWIG_fail;
9731 }
9732 {
9733 wxSize * resultptr;
093d3ff1 9734 resultptr = new wxSize((wxSize &)(result));
15afbcd0 9735 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
9736 }
9737 return resultobj;
9738 fail:
9739 return NULL;
9740}
9741
9742
c32bde28 9743static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9744 PyObject *resultobj;
9745 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9746 wxLayoutOrientation arg2 ;
d14a1e28 9747 PyObject * obj0 = 0 ;
994141e6 9748 PyObject * obj1 = 0 ;
d14a1e28
RD
9749 char *kwnames[] = {
9750 (char *) "self",(char *) "orient", NULL
9751 };
9752
994141e6 9753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9755 if (SWIG_arg_fail(1)) SWIG_fail;
9756 {
9757 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9758 if (SWIG_arg_fail(2)) SWIG_fail;
9759 }
d14a1e28
RD
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9763
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 Py_INCREF(Py_None); resultobj = Py_None;
9768 return resultobj;
9769 fail:
9770 return NULL;
9771}
9772
9773
c32bde28 9774static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9775 PyObject *resultobj;
9776 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9777 wxLayoutOrientation result;
d14a1e28
RD
9778 PyObject * obj0 = 0 ;
9779 char *kwnames[] = {
9780 (char *) "self", NULL
9781 };
9782
9783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
9784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9785 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9786 {
9787 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9788 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
d14a1e28
RD
9789
9790 wxPyEndAllowThreads(__tstate);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 }
093d3ff1 9793 resultobj = SWIG_From_int((result));
d14a1e28
RD
9794 return resultobj;
9795 fail:
9796 return NULL;
9797}
9798
9799
c32bde28 9800static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9801 PyObject *resultobj;
9802 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9803 wxLayoutAlignment arg2 ;
d14a1e28 9804 PyObject * obj0 = 0 ;
994141e6 9805 PyObject * obj1 = 0 ;
d14a1e28
RD
9806 char *kwnames[] = {
9807 (char *) "self",(char *) "align", NULL
9808 };
9809
994141e6 9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9812 if (SWIG_arg_fail(1)) SWIG_fail;
9813 {
9814 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9815 if (SWIG_arg_fail(2)) SWIG_fail;
9816 }
d14a1e28
RD
9817 {
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9820
9821 wxPyEndAllowThreads(__tstate);
9822 if (PyErr_Occurred()) SWIG_fail;
9823 }
9824 Py_INCREF(Py_None); resultobj = Py_None;
9825 return resultobj;
9826 fail:
9827 return NULL;
9828}
9829
9830
c32bde28 9831static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9832 PyObject *resultobj;
9833 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
093d3ff1 9834 wxLayoutAlignment result;
d14a1e28
RD
9835 PyObject * obj0 = 0 ;
9836 char *kwnames[] = {
9837 (char *) "self", NULL
9838 };
9839
9840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
9841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9842 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 9845 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
d14a1e28
RD
9846
9847 wxPyEndAllowThreads(__tstate);
9848 if (PyErr_Occurred()) SWIG_fail;
9849 }
093d3ff1 9850 resultobj = SWIG_From_int((result));
d14a1e28
RD
9851 return resultobj;
9852 fail:
9853 return NULL;
9854}
9855
9856
c32bde28 9857static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
9858 PyObject *obj;
9859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9860 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9861 Py_INCREF(obj);
9862 return Py_BuildValue((char *)"");
9863}
c32bde28 9864static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 9865 PyObject *resultobj;
e811c8ce 9866 int arg1 = (int) 0 ;
d14a1e28 9867 wxCalculateLayoutEvent *result;
994141e6 9868 PyObject * obj0 = 0 ;
d14a1e28
RD
9869 char *kwnames[] = {
9870 (char *) "id", NULL
9871 };
9872
994141e6
RD
9873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9874 if (obj0) {
093d3ff1
RD
9875 {
9876 arg1 = (int)(SWIG_As_int(obj0));
9877 if (SWIG_arg_fail(1)) SWIG_fail;
9878 }
994141e6 9879 }
d14a1e28
RD
9880 {
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9883
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
15afbcd0 9887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
d14a1e28
RD
9888 return resultobj;
9889 fail:
9890 return NULL;
9891}
9892
9893
c32bde28 9894static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9895 PyObject *resultobj;
9896 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9897 int arg2 ;
9898 PyObject * obj0 = 0 ;
994141e6 9899 PyObject * obj1 = 0 ;
d14a1e28
RD
9900 char *kwnames[] = {
9901 (char *) "self",(char *) "flags", NULL
9902 };
9903
994141e6 9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9906 if (SWIG_arg_fail(1)) SWIG_fail;
9907 {
9908 arg2 = (int)(SWIG_As_int(obj1));
9909 if (SWIG_arg_fail(2)) SWIG_fail;
9910 }
d14a1e28
RD
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 (arg1)->SetFlags(arg2);
9914
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
9918 Py_INCREF(Py_None); resultobj = Py_None;
9919 return resultobj;
9920 fail:
9921 return NULL;
9922}
9923
9924
c32bde28 9925static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9926 PyObject *resultobj;
9927 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9928 int result;
9929 PyObject * obj0 = 0 ;
9930 char *kwnames[] = {
9931 (char *) "self", NULL
9932 };
9933
9934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
9935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9936 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
9940
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
093d3ff1
RD
9944 {
9945 resultobj = SWIG_From_int((int)(result));
9946 }
d14a1e28
RD
9947 return resultobj;
9948 fail:
9949 return NULL;
9950}
9951
9952
c32bde28 9953static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9954 PyObject *resultobj;
9955 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9956 wxRect *arg2 = 0 ;
9957 wxRect temp2 ;
9958 PyObject * obj0 = 0 ;
9959 PyObject * obj1 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self",(char *) "rect", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
9965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9966 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9967 {
9968 arg2 = &temp2;
9969 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9970 }
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 (arg1)->SetRect((wxRect const &)*arg2);
9974
9975 wxPyEndAllowThreads(__tstate);
9976 if (PyErr_Occurred()) SWIG_fail;
9977 }
9978 Py_INCREF(Py_None); resultobj = Py_None;
9979 return resultobj;
9980 fail:
9981 return NULL;
9982}
9983
9984
c32bde28 9985static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9986 PyObject *resultobj;
9987 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9988 wxRect result;
9989 PyObject * obj0 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
093d3ff1
RD
9995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9996 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
9997 {
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10000
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 {
10005 wxRect * resultptr;
093d3ff1 10006 resultptr = new wxRect((wxRect &)(result));
15afbcd0 10007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
10008 }
10009 return resultobj;
10010 fail:
10011 return NULL;
10012}
10013
10014
c32bde28 10015static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10016 PyObject *obj;
10017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10018 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10019 Py_INCREF(obj);
10020 return Py_BuildValue((char *)"");
10021}
c32bde28 10022static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10023 PyObject *resultobj;
10024 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 10025 int arg2 = (int) -1 ;
d14a1e28
RD
10026 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10027 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10028 wxSize const &arg4_defvalue = wxDefaultSize ;
10029 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10030 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10031 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10032 wxString *arg6 = (wxString *) &arg6_defvalue ;
10033 wxSashLayoutWindow *result;
10034 wxPoint temp3 ;
10035 wxSize temp4 ;
ae8162c8 10036 bool temp6 = false ;
d14a1e28 10037 PyObject * obj0 = 0 ;
994141e6 10038 PyObject * obj1 = 0 ;
d14a1e28
RD
10039 PyObject * obj2 = 0 ;
10040 PyObject * obj3 = 0 ;
994141e6 10041 PyObject * obj4 = 0 ;
d14a1e28
RD
10042 PyObject * obj5 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10045 };
10046
248ed943 10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
10048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10049 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 10050 if (obj1) {
093d3ff1
RD
10051 {
10052 arg2 = (int)(SWIG_As_int(obj1));
10053 if (SWIG_arg_fail(2)) SWIG_fail;
10054 }
248ed943 10055 }
d14a1e28
RD
10056 if (obj2) {
10057 {
10058 arg3 = &temp3;
10059 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10060 }
10061 }
10062 if (obj3) {
10063 {
10064 arg4 = &temp4;
10065 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10066 }
10067 }
994141e6 10068 if (obj4) {
093d3ff1
RD
10069 {
10070 arg5 = (long)(SWIG_As_long(obj4));
10071 if (SWIG_arg_fail(5)) SWIG_fail;
10072 }
994141e6 10073 }
d14a1e28
RD
10074 if (obj5) {
10075 {
10076 arg6 = wxString_in_helper(obj5);
10077 if (arg6 == NULL) SWIG_fail;
ae8162c8 10078 temp6 = true;
d14a1e28
RD
10079 }
10080 }
10081 {
e3b71cb8 10082 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10085
10086 wxPyEndAllowThreads(__tstate);
110da5b0 10087 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10088 }
15afbcd0 10089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
10090 {
10091 if (temp6)
10092 delete arg6;
10093 }
10094 return resultobj;
10095 fail:
10096 {
10097 if (temp6)
10098 delete arg6;
10099 }
10100 return NULL;
10101}
10102
10103
c32bde28 10104static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10105 PyObject *resultobj;
10106 wxSashLayoutWindow *result;
10107 char *kwnames[] = {
10108 NULL
10109 };
10110
10111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10112 {
e3b71cb8 10113 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10116
10117 wxPyEndAllowThreads(__tstate);
110da5b0 10118 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10119 }
15afbcd0 10120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
d14a1e28
RD
10121 return resultobj;
10122 fail:
10123 return NULL;
10124}
10125
10126
c32bde28 10127static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10128 PyObject *resultobj;
10129 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10130 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 10131 int arg3 = (int) -1 ;
d14a1e28
RD
10132 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10133 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10134 wxSize const &arg5_defvalue = wxDefaultSize ;
10135 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10136 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10137 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10138 wxString *arg7 = (wxString *) &arg7_defvalue ;
10139 bool result;
10140 wxPoint temp4 ;
10141 wxSize temp5 ;
ae8162c8 10142 bool temp7 = false ;
d14a1e28
RD
10143 PyObject * obj0 = 0 ;
10144 PyObject * obj1 = 0 ;
994141e6 10145 PyObject * obj2 = 0 ;
d14a1e28
RD
10146 PyObject * obj3 = 0 ;
10147 PyObject * obj4 = 0 ;
994141e6 10148 PyObject * obj5 = 0 ;
d14a1e28
RD
10149 PyObject * obj6 = 0 ;
10150 char *kwnames[] = {
10151 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10152 };
10153
248ed943 10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
10155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10156 if (SWIG_arg_fail(1)) SWIG_fail;
10157 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10158 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 10159 if (obj2) {
093d3ff1
RD
10160 {
10161 arg3 = (int)(SWIG_As_int(obj2));
10162 if (SWIG_arg_fail(3)) SWIG_fail;
10163 }
248ed943 10164 }
d14a1e28
RD
10165 if (obj3) {
10166 {
10167 arg4 = &temp4;
10168 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10169 }
10170 }
10171 if (obj4) {
10172 {
10173 arg5 = &temp5;
10174 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10175 }
10176 }
994141e6 10177 if (obj5) {
093d3ff1
RD
10178 {
10179 arg6 = (long)(SWIG_As_long(obj5));
10180 if (SWIG_arg_fail(6)) SWIG_fail;
10181 }
994141e6 10182 }
d14a1e28
RD
10183 if (obj6) {
10184 {
10185 arg7 = wxString_in_helper(obj6);
10186 if (arg7 == NULL) SWIG_fail;
ae8162c8 10187 temp7 = true;
d14a1e28
RD
10188 }
10189 }
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10193
10194 wxPyEndAllowThreads(__tstate);
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
4f89f6a3
RD
10197 {
10198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10199 }
d14a1e28
RD
10200 {
10201 if (temp7)
10202 delete arg7;
10203 }
10204 return resultobj;
10205 fail:
10206 {
10207 if (temp7)
10208 delete arg7;
10209 }
10210 return NULL;
10211}
10212
10213
c32bde28 10214static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10215 PyObject *resultobj;
10216 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10217 wxLayoutAlignment result;
d14a1e28
RD
10218 PyObject * obj0 = 0 ;
10219 char *kwnames[] = {
10220 (char *) "self", NULL
10221 };
10222
10223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
10224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10225 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10226 {
10227 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10228 result = (wxLayoutAlignment)(arg1)->GetAlignment();
d14a1e28
RD
10229
10230 wxPyEndAllowThreads(__tstate);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
093d3ff1 10233 resultobj = SWIG_From_int((result));
d14a1e28
RD
10234 return resultobj;
10235 fail:
10236 return NULL;
10237}
10238
10239
c32bde28 10240static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10241 PyObject *resultobj;
10242 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10243 wxLayoutOrientation result;
d14a1e28
RD
10244 PyObject * obj0 = 0 ;
10245 char *kwnames[] = {
10246 (char *) "self", NULL
10247 };
10248
10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
10250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10251 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 10254 result = (wxLayoutOrientation)(arg1)->GetOrientation();
d14a1e28
RD
10255
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
093d3ff1 10259 resultobj = SWIG_From_int((result));
d14a1e28
RD
10260 return resultobj;
10261 fail:
10262 return NULL;
10263}
10264
10265
c32bde28 10266static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10267 PyObject *resultobj;
10268 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10269 wxLayoutAlignment arg2 ;
d14a1e28 10270 PyObject * obj0 = 0 ;
994141e6 10271 PyObject * obj1 = 0 ;
d14a1e28
RD
10272 char *kwnames[] = {
10273 (char *) "self",(char *) "alignment", NULL
10274 };
10275
994141e6 10276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10278 if (SWIG_arg_fail(1)) SWIG_fail;
10279 {
10280 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10281 if (SWIG_arg_fail(2)) SWIG_fail;
10282 }
d14a1e28
RD
10283 {
10284 PyThreadState* __tstate = wxPyBeginAllowThreads();
10285 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10286
10287 wxPyEndAllowThreads(__tstate);
10288 if (PyErr_Occurred()) SWIG_fail;
10289 }
10290 Py_INCREF(Py_None); resultobj = Py_None;
10291 return resultobj;
10292 fail:
10293 return NULL;
10294}
10295
10296
c32bde28 10297static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10298 PyObject *resultobj;
10299 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10300 wxSize *arg2 = 0 ;
10301 wxSize temp2 ;
10302 PyObject * obj0 = 0 ;
10303 PyObject * obj1 = 0 ;
10304 char *kwnames[] = {
10305 (char *) "self",(char *) "size", NULL
10306 };
10307
10308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10310 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10311 {
10312 arg2 = &temp2;
10313 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10314 }
10315 {
10316 PyThreadState* __tstate = wxPyBeginAllowThreads();
10317 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10318
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) SWIG_fail;
10321 }
10322 Py_INCREF(Py_None); resultobj = Py_None;
10323 return resultobj;
10324 fail:
10325 return NULL;
10326}
10327
10328
c32bde28 10329static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10330 PyObject *resultobj;
10331 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
093d3ff1 10332 wxLayoutOrientation arg2 ;
d14a1e28 10333 PyObject * obj0 = 0 ;
994141e6 10334 PyObject * obj1 = 0 ;
d14a1e28
RD
10335 char *kwnames[] = {
10336 (char *) "self",(char *) "orientation", NULL
10337 };
10338
994141e6 10339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10341 if (SWIG_arg_fail(1)) SWIG_fail;
10342 {
10343 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10344 if (SWIG_arg_fail(2)) SWIG_fail;
10345 }
d14a1e28
RD
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10349
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 Py_INCREF(Py_None); resultobj = Py_None;
10354 return resultobj;
10355 fail:
10356 return NULL;
10357}
10358
10359
c32bde28 10360static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10361 PyObject *obj;
10362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10363 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10364 Py_INCREF(obj);
10365 return Py_BuildValue((char *)"");
10366}
c32bde28 10367static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10368 PyObject *resultobj;
10369 wxLayoutAlgorithm *result;
10370 char *kwnames[] = {
10371 NULL
10372 };
10373
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10378
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
15afbcd0 10382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
d14a1e28
RD
10383 return resultobj;
10384 fail:
10385 return NULL;
10386}
10387
10388
c32bde28 10389static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10390 PyObject *resultobj;
10391 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10392 PyObject * obj0 = 0 ;
10393 char *kwnames[] = {
10394 (char *) "self", NULL
10395 };
10396
10397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
093d3ff1
RD
10398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10399 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 delete arg1;
10403
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 Py_INCREF(Py_None); resultobj = Py_None;
10408 return resultobj;
10409 fail:
10410 return NULL;
10411}
10412
10413
c32bde28 10414static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10415 PyObject *resultobj;
10416 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10417 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10418 wxRect *arg3 = (wxRect *) NULL ;
10419 bool result;
10420 PyObject * obj0 = 0 ;
10421 PyObject * obj1 = 0 ;
10422 PyObject * obj2 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "self",(char *) "frame",(char *) "rect", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10429 if (SWIG_arg_fail(1)) SWIG_fail;
10430 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10431 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10432 if (obj2) {
093d3ff1
RD
10433 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10434 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10435 }
10436 {
10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
10438 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10439
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
4f89f6a3
RD
10443 {
10444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10445 }
d14a1e28
RD
10446 return resultobj;
10447 fail:
10448 return NULL;
10449}
10450
10451
c32bde28 10452static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10453 PyObject *resultobj;
10454 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10455 wxFrame *arg2 = (wxFrame *) 0 ;
10456 wxWindow *arg3 = (wxWindow *) NULL ;
10457 bool result;
10458 PyObject * obj0 = 0 ;
10459 PyObject * obj1 = 0 ;
10460 PyObject * obj2 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10467 if (SWIG_arg_fail(1)) SWIG_fail;
10468 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10469 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10470 if (obj2) {
093d3ff1
RD
10471 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10472 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10473 }
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10477
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
4f89f6a3
RD
10481 {
10482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10483 }
d14a1e28
RD
10484 return resultobj;
10485 fail:
10486 return NULL;
10487}
10488
10489
c32bde28 10490static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10491 PyObject *resultobj;
10492 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10493 wxWindow *arg2 = (wxWindow *) 0 ;
10494 wxWindow *arg3 = (wxWindow *) NULL ;
10495 bool result;
10496 PyObject * obj0 = 0 ;
10497 PyObject * obj1 = 0 ;
10498 PyObject * obj2 = 0 ;
10499 char *kwnames[] = {
10500 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10501 };
10502
10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10505 if (SWIG_arg_fail(1)) SWIG_fail;
10506 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10507 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 10508 if (obj2) {
093d3ff1
RD
10509 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10510 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
10511 }
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
4f89f6a3
RD
10519 {
10520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10521 }
d14a1e28
RD
10522 return resultobj;
10523 fail:
10524 return NULL;
10525}
10526
10527
c32bde28 10528static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10529 PyObject *obj;
10530 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10531 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10532 Py_INCREF(obj);
10533 return Py_BuildValue((char *)"");
10534}
c32bde28 10535static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10536 PyObject *resultobj;
10537 wxWindow *arg1 = (wxWindow *) 0 ;
10538 int arg2 = (int) wxBORDER_NONE ;
10539 wxPopupWindow *result;
10540 PyObject * obj0 = 0 ;
994141e6 10541 PyObject * obj1 = 0 ;
d14a1e28
RD
10542 char *kwnames[] = {
10543 (char *) "parent",(char *) "flags", NULL
10544 };
10545
994141e6 10546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10548 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 10549 if (obj1) {
093d3ff1
RD
10550 {
10551 arg2 = (int)(SWIG_As_int(obj1));
10552 if (SWIG_arg_fail(2)) SWIG_fail;
10553 }
994141e6 10554 }
d14a1e28 10555 {
e3b71cb8 10556 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10559
10560 wxPyEndAllowThreads(__tstate);
110da5b0 10561 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10562 }
15afbcd0 10563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
10564 return resultobj;
10565 fail:
10566 return NULL;
10567}
10568
10569
c32bde28 10570static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10571 PyObject *resultobj;
10572 wxPopupWindow *result;
10573 char *kwnames[] = {
10574 NULL
10575 };
10576
10577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10578 {
e3b71cb8 10579 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 result = (wxPopupWindow *)new wxPopupWindow();
10582
10583 wxPyEndAllowThreads(__tstate);
110da5b0 10584 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10585 }
15afbcd0 10586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
d14a1e28
RD
10587 return resultobj;
10588 fail:
10589 return NULL;
10590}
10591
10592
c32bde28 10593static PyObject *_wrap_PopupWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10594 PyObject *resultobj;
10595 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10596 wxWindow *arg2 = (wxWindow *) 0 ;
10597 int arg3 = (int) wxBORDER_NONE ;
10598 bool result;
10599 PyObject * obj0 = 0 ;
10600 PyObject * obj1 = 0 ;
994141e6 10601 PyObject * obj2 = 0 ;
d14a1e28
RD
10602 char *kwnames[] = {
10603 (char *) "self",(char *) "parent",(char *) "flags", NULL
10604 };
10605
994141e6 10606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10608 if (SWIG_arg_fail(1)) SWIG_fail;
10609 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10610 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 10611 if (obj2) {
093d3ff1
RD
10612 {
10613 arg3 = (int)(SWIG_As_int(obj2));
10614 if (SWIG_arg_fail(3)) SWIG_fail;
10615 }
994141e6 10616 }
d14a1e28
RD
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 result = (bool)(arg1)->Create(arg2,arg3);
10620
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
4f89f6a3
RD
10624 {
10625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10626 }
d14a1e28
RD
10627 return resultobj;
10628 fail:
10629 return NULL;
10630}
10631
10632
c32bde28 10633static PyObject *_wrap_PopupWindow_Position(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10634 PyObject *resultobj;
10635 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
10636 wxPoint *arg2 = 0 ;
10637 wxSize *arg3 = 0 ;
10638 wxPoint temp2 ;
10639 wxSize temp3 ;
10640 PyObject * obj0 = 0 ;
10641 PyObject * obj1 = 0 ;
10642 PyObject * obj2 = 0 ;
10643 char *kwnames[] = {
10644 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10645 };
10646
10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_EXCEPTION | 0);
10649 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10650 {
10651 arg2 = &temp2;
10652 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10653 }
10654 {
10655 arg3 = &temp3;
10656 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
10657 }
10658 {
10659 PyThreadState* __tstate = wxPyBeginAllowThreads();
10660 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
10661
10662 wxPyEndAllowThreads(__tstate);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 Py_INCREF(Py_None); resultobj = Py_None;
10666 return resultobj;
10667 fail:
10668 return NULL;
10669}
10670
10671
c32bde28 10672static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10673 PyObject *obj;
10674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10675 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10676 Py_INCREF(obj);
10677 return Py_BuildValue((char *)"");
10678}
c32bde28 10679static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10680 PyObject *resultobj;
10681 wxWindow *arg1 = (wxWindow *) 0 ;
10682 int arg2 = (int) wxBORDER_NONE ;
10683 wxPyPopupTransientWindow *result;
10684 PyObject * obj0 = 0 ;
994141e6 10685 PyObject * obj1 = 0 ;
d14a1e28
RD
10686 char *kwnames[] = {
10687 (char *) "parent",(char *) "style", NULL
10688 };
10689
994141e6 10690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10692 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 10693 if (obj1) {
093d3ff1
RD
10694 {
10695 arg2 = (int)(SWIG_As_int(obj1));
10696 if (SWIG_arg_fail(2)) SWIG_fail;
10697 }
994141e6 10698 }
d14a1e28 10699 {
e3b71cb8 10700 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10701 PyThreadState* __tstate = wxPyBeginAllowThreads();
10702 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10703
10704 wxPyEndAllowThreads(__tstate);
110da5b0 10705 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10706 }
15afbcd0 10707 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
10708 return resultobj;
10709 fail:
10710 return NULL;
10711}
10712
10713
c32bde28 10714static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10715 PyObject *resultobj;
10716 wxPyPopupTransientWindow *result;
10717 char *kwnames[] = {
10718 NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10722 {
e3b71cb8 10723 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10726
10727 wxPyEndAllowThreads(__tstate);
110da5b0 10728 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10729 }
15afbcd0 10730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
d14a1e28
RD
10731 return resultobj;
10732 fail:
10733 return NULL;
10734}
10735
10736
c32bde28 10737static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10738 PyObject *resultobj;
10739 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10740 PyObject *arg2 = (PyObject *) 0 ;
10741 PyObject *arg3 = (PyObject *) 0 ;
10742 PyObject * obj0 = 0 ;
10743 PyObject * obj1 = 0 ;
10744 PyObject * obj2 = 0 ;
10745 char *kwnames[] = {
10746 (char *) "self",(char *) "self",(char *) "_class", NULL
10747 };
10748
10749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
10750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10751 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10752 arg2 = obj1;
10753 arg3 = obj2;
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 (arg1)->_setCallbackInfo(arg2,arg3);
10757
10758 wxPyEndAllowThreads(__tstate);
10759 if (PyErr_Occurred()) SWIG_fail;
10760 }
10761 Py_INCREF(Py_None); resultobj = Py_None;
10762 return resultobj;
10763 fail:
10764 return NULL;
10765}
10766
10767
c32bde28 10768static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10769 PyObject *resultobj;
10770 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10771 wxWindow *arg2 = (wxWindow *) NULL ;
10772 PyObject * obj0 = 0 ;
10773 PyObject * obj1 = 0 ;
10774 char *kwnames[] = {
10775 (char *) "self",(char *) "focus", NULL
10776 };
10777
10778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10780 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 10781 if (obj1) {
093d3ff1
RD
10782 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10783 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
10784 }
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
10787 (arg1)->Popup(arg2);
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 Py_INCREF(Py_None); resultobj = Py_None;
10793 return resultobj;
10794 fail:
10795 return NULL;
10796}
10797
10798
c32bde28 10799static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10800 PyObject *resultobj;
10801 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
10802 PyObject * obj0 = 0 ;
10803 char *kwnames[] = {
10804 (char *) "self", NULL
10805 };
10806
10807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
093d3ff1
RD
10808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_EXCEPTION | 0);
10809 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10810 {
10811 PyThreadState* __tstate = wxPyBeginAllowThreads();
10812 (arg1)->Dismiss();
10813
10814 wxPyEndAllowThreads(__tstate);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
10817 Py_INCREF(Py_None); resultobj = Py_None;
10818 return resultobj;
10819 fail:
10820 return NULL;
10821}
10822
10823
c32bde28 10824static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10825 PyObject *obj;
10826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10827 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10828 Py_INCREF(obj);
10829 return Py_BuildValue((char *)"");
10830}
c32bde28 10831static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10832 PyObject *resultobj;
10833 wxWindow *arg1 = (wxWindow *) 0 ;
fd3f2efe 10834 wxString *arg2 = 0 ;
e811c8ce 10835 int arg3 = (int) 100 ;
d14a1e28
RD
10836 wxRect *arg4 = (wxRect *) NULL ;
10837 wxTipWindow *result;
ae8162c8 10838 bool temp2 = false ;
d14a1e28
RD
10839 PyObject * obj0 = 0 ;
10840 PyObject * obj1 = 0 ;
994141e6 10841 PyObject * obj2 = 0 ;
d14a1e28
RD
10842 PyObject * obj3 = 0 ;
10843 char *kwnames[] = {
10844 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10845 };
10846
994141e6 10847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10849 if (SWIG_arg_fail(1)) SWIG_fail;
fd3f2efe
RD
10850 {
10851 arg2 = wxString_in_helper(obj1);
10852 if (arg2 == NULL) SWIG_fail;
ae8162c8 10853 temp2 = true;
fd3f2efe 10854 }
994141e6 10855 if (obj2) {
093d3ff1
RD
10856 {
10857 arg3 = (int)(SWIG_As_int(obj2));
10858 if (SWIG_arg_fail(3)) SWIG_fail;
10859 }
994141e6 10860 }
d14a1e28 10861 if (obj3) {
093d3ff1
RD
10862 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10863 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28
RD
10864 }
10865 {
e3b71cb8 10866 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
fd3f2efe 10868 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
10869
10870 wxPyEndAllowThreads(__tstate);
110da5b0 10871 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 10872 }
15afbcd0 10873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
fd3f2efe
RD
10874 {
10875 if (temp2)
10876 delete arg2;
10877 }
d14a1e28
RD
10878 return resultobj;
10879 fail:
fd3f2efe
RD
10880 {
10881 if (temp2)
10882 delete arg2;
10883 }
d14a1e28
RD
10884 return NULL;
10885}
10886
10887
c32bde28 10888static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10889 PyObject *resultobj;
10890 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10891 wxRect *arg2 = 0 ;
10892 wxRect temp2 ;
10893 PyObject * obj0 = 0 ;
10894 PyObject * obj1 = 0 ;
10895 char *kwnames[] = {
10896 (char *) "self",(char *) "rectBound", NULL
10897 };
10898
10899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10901 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10902 {
10903 arg2 = &temp2;
10904 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10905 }
10906 {
10907 PyThreadState* __tstate = wxPyBeginAllowThreads();
10908 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10909
10910 wxPyEndAllowThreads(__tstate);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 Py_INCREF(Py_None); resultobj = Py_None;
10914 return resultobj;
10915 fail:
10916 return NULL;
10917}
10918
10919
c32bde28 10920static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10921 PyObject *resultobj;
10922 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10923 PyObject * obj0 = 0 ;
10924 char *kwnames[] = {
10925 (char *) "self", NULL
10926 };
10927
10928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
10929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10930 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
10931 {
10932 PyThreadState* __tstate = wxPyBeginAllowThreads();
10933 (arg1)->Close();
10934
10935 wxPyEndAllowThreads(__tstate);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 }
10938 Py_INCREF(Py_None); resultobj = Py_None;
10939 return resultobj;
10940 fail:
10941 return NULL;
10942}
10943
10944
c32bde28 10945static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
10946 PyObject *obj;
10947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10948 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
10949 Py_INCREF(obj);
10950 return Py_BuildValue((char *)"");
10951}
c32bde28 10952static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10953 PyObject *resultobj;
10954 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10955 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
10956 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10957 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10958 wxSize const &arg4_defvalue = wxDefaultSize ;
10959 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10960 long arg5 = (long) 0 ;
10961 wxString const &arg6_defvalue = wxPyPanelNameStr ;
10962 wxString *arg6 = (wxString *) &arg6_defvalue ;
10963 wxPyVScrolledWindow *result;
10964 wxPoint temp3 ;
10965 wxSize temp4 ;
ae8162c8 10966 bool temp6 = false ;
d14a1e28 10967 PyObject * obj0 = 0 ;
994141e6 10968 PyObject * obj1 = 0 ;
d14a1e28
RD
10969 PyObject * obj2 = 0 ;
10970 PyObject * obj3 = 0 ;
994141e6 10971 PyObject * obj4 = 0 ;
d14a1e28
RD
10972 PyObject * obj5 = 0 ;
10973 char *kwnames[] = {
10974 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10975 };
10976
994141e6 10977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
10978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10979 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 10980 if (obj1) {
093d3ff1
RD
10981 {
10982 arg2 = (int)(SWIG_As_int(obj1));
10983 if (SWIG_arg_fail(2)) SWIG_fail;
10984 }
994141e6 10985 }
d14a1e28
RD
10986 if (obj2) {
10987 {
10988 arg3 = &temp3;
10989 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10990 }
10991 }
10992 if (obj3) {
10993 {
10994 arg4 = &temp4;
10995 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10996 }
10997 }
994141e6 10998 if (obj4) {
093d3ff1
RD
10999 {
11000 arg5 = (long)(SWIG_As_long(obj4));
11001 if (SWIG_arg_fail(5)) SWIG_fail;
11002 }
994141e6 11003 }
d14a1e28
RD
11004 if (obj5) {
11005 {
11006 arg6 = wxString_in_helper(obj5);
11007 if (arg6 == NULL) SWIG_fail;
ae8162c8 11008 temp6 = true;
d14a1e28
RD
11009 }
11010 }
11011 {
e3b71cb8 11012 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11013 PyThreadState* __tstate = wxPyBeginAllowThreads();
11014 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11015
11016 wxPyEndAllowThreads(__tstate);
110da5b0 11017 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11018 }
15afbcd0 11019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
11020 {
11021 if (temp6)
11022 delete arg6;
11023 }
11024 return resultobj;
11025 fail:
11026 {
11027 if (temp6)
11028 delete arg6;
11029 }
11030 return NULL;
11031}
11032
11033
c32bde28 11034static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11035 PyObject *resultobj;
11036 wxPyVScrolledWindow *result;
11037 char *kwnames[] = {
11038 NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
11042 {
e3b71cb8 11043 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11044 PyThreadState* __tstate = wxPyBeginAllowThreads();
11045 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
11046
11047 wxPyEndAllowThreads(__tstate);
110da5b0 11048 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11049 }
15afbcd0 11050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
d14a1e28
RD
11051 return resultobj;
11052 fail:
11053 return NULL;
11054}
11055
11056
c32bde28 11057static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11058 PyObject *resultobj;
11059 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11060 PyObject *arg2 = (PyObject *) 0 ;
11061 PyObject *arg3 = (PyObject *) 0 ;
11062 PyObject * obj0 = 0 ;
11063 PyObject * obj1 = 0 ;
11064 PyObject * obj2 = 0 ;
11065 char *kwnames[] = {
11066 (char *) "self",(char *) "self",(char *) "_class", NULL
11067 };
11068
11069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11071 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11072 arg2 = obj1;
11073 arg3 = obj2;
11074 {
11075 PyThreadState* __tstate = wxPyBeginAllowThreads();
11076 (arg1)->_setCallbackInfo(arg2,arg3);
11077
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 }
11081 Py_INCREF(Py_None); resultobj = Py_None;
11082 return resultobj;
11083 fail:
11084 return NULL;
11085}
11086
11087
c32bde28 11088static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11089 PyObject *resultobj;
11090 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11091 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11092 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
11093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11095 wxSize const &arg5_defvalue = wxDefaultSize ;
11096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11097 long arg6 = (long) 0 ;
11098 wxString const &arg7_defvalue = wxPyPanelNameStr ;
11099 wxString *arg7 = (wxString *) &arg7_defvalue ;
11100 bool result;
11101 wxPoint temp4 ;
11102 wxSize temp5 ;
ae8162c8 11103 bool temp7 = false ;
d14a1e28
RD
11104 PyObject * obj0 = 0 ;
11105 PyObject * obj1 = 0 ;
994141e6 11106 PyObject * obj2 = 0 ;
d14a1e28
RD
11107 PyObject * obj3 = 0 ;
11108 PyObject * obj4 = 0 ;
994141e6 11109 PyObject * obj5 = 0 ;
d14a1e28
RD
11110 PyObject * obj6 = 0 ;
11111 char *kwnames[] = {
11112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11113 };
11114
994141e6 11115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11117 if (SWIG_arg_fail(1)) SWIG_fail;
11118 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11119 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 11120 if (obj2) {
093d3ff1
RD
11121 {
11122 arg3 = (int)(SWIG_As_int(obj2));
11123 if (SWIG_arg_fail(3)) SWIG_fail;
11124 }
994141e6 11125 }
d14a1e28
RD
11126 if (obj3) {
11127 {
11128 arg4 = &temp4;
11129 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11130 }
11131 }
11132 if (obj4) {
11133 {
11134 arg5 = &temp5;
11135 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11136 }
11137 }
994141e6 11138 if (obj5) {
093d3ff1
RD
11139 {
11140 arg6 = (long)(SWIG_As_long(obj5));
11141 if (SWIG_arg_fail(6)) SWIG_fail;
11142 }
994141e6 11143 }
d14a1e28
RD
11144 if (obj6) {
11145 {
11146 arg7 = wxString_in_helper(obj6);
11147 if (arg7 == NULL) SWIG_fail;
ae8162c8 11148 temp7 = true;
d14a1e28
RD
11149 }
11150 }
11151 {
11152 PyThreadState* __tstate = wxPyBeginAllowThreads();
11153 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11154
11155 wxPyEndAllowThreads(__tstate);
11156 if (PyErr_Occurred()) SWIG_fail;
11157 }
4f89f6a3
RD
11158 {
11159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11160 }
d14a1e28
RD
11161 {
11162 if (temp7)
11163 delete arg7;
11164 }
11165 return resultobj;
11166 fail:
11167 {
11168 if (temp7)
11169 delete arg7;
11170 }
11171 return NULL;
11172}
11173
11174
c32bde28 11175static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11176 PyObject *resultobj;
11177 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11178 size_t arg2 ;
11179 PyObject * obj0 = 0 ;
11180 PyObject * obj1 = 0 ;
11181 char *kwnames[] = {
11182 (char *) "self",(char *) "count", NULL
11183 };
11184
11185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11187 if (SWIG_arg_fail(1)) SWIG_fail;
11188 {
11189 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11190 if (SWIG_arg_fail(2)) SWIG_fail;
11191 }
d14a1e28
RD
11192 {
11193 PyThreadState* __tstate = wxPyBeginAllowThreads();
11194 (arg1)->SetLineCount(arg2);
11195
11196 wxPyEndAllowThreads(__tstate);
11197 if (PyErr_Occurred()) SWIG_fail;
11198 }
11199 Py_INCREF(Py_None); resultobj = Py_None;
11200 return resultobj;
11201 fail:
11202 return NULL;
11203}
11204
11205
c32bde28 11206static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11207 PyObject *resultobj;
11208 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11209 size_t arg2 ;
11210 bool result;
11211 PyObject * obj0 = 0 ;
11212 PyObject * obj1 = 0 ;
11213 char *kwnames[] = {
11214 (char *) "self",(char *) "line", NULL
11215 };
11216
11217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11219 if (SWIG_arg_fail(1)) SWIG_fail;
11220 {
11221 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11222 if (SWIG_arg_fail(2)) SWIG_fail;
11223 }
d14a1e28
RD
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 result = (bool)(arg1)->ScrollToLine(arg2);
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
4f89f6a3
RD
11231 {
11232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11233 }
d14a1e28
RD
11234 return resultobj;
11235 fail:
11236 return NULL;
11237}
11238
11239
c32bde28 11240static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11241 PyObject *resultobj;
11242 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11243 int arg2 ;
11244 bool result;
11245 PyObject * obj0 = 0 ;
994141e6 11246 PyObject * obj1 = 0 ;
d14a1e28
RD
11247 char *kwnames[] = {
11248 (char *) "self",(char *) "lines", NULL
11249 };
11250
994141e6 11251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11253 if (SWIG_arg_fail(1)) SWIG_fail;
11254 {
11255 arg2 = (int)(SWIG_As_int(obj1));
11256 if (SWIG_arg_fail(2)) SWIG_fail;
11257 }
d14a1e28
RD
11258 {
11259 PyThreadState* __tstate = wxPyBeginAllowThreads();
11260 result = (bool)(arg1)->ScrollLines(arg2);
11261
11262 wxPyEndAllowThreads(__tstate);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 }
4f89f6a3
RD
11265 {
11266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11267 }
d14a1e28
RD
11268 return resultobj;
11269 fail:
11270 return NULL;
11271}
11272
11273
c32bde28 11274static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11275 PyObject *resultobj;
11276 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11277 int arg2 ;
11278 bool result;
11279 PyObject * obj0 = 0 ;
994141e6 11280 PyObject * obj1 = 0 ;
d14a1e28
RD
11281 char *kwnames[] = {
11282 (char *) "self",(char *) "pages", NULL
11283 };
11284
994141e6 11285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11287 if (SWIG_arg_fail(1)) SWIG_fail;
11288 {
11289 arg2 = (int)(SWIG_As_int(obj1));
11290 if (SWIG_arg_fail(2)) SWIG_fail;
11291 }
d14a1e28
RD
11292 {
11293 PyThreadState* __tstate = wxPyBeginAllowThreads();
11294 result = (bool)(arg1)->ScrollPages(arg2);
11295
11296 wxPyEndAllowThreads(__tstate);
11297 if (PyErr_Occurred()) SWIG_fail;
11298 }
4f89f6a3
RD
11299 {
11300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11301 }
d14a1e28
RD
11302 return resultobj;
11303 fail:
11304 return NULL;
11305}
11306
11307
c32bde28 11308static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11309 PyObject *resultobj;
11310 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11311 size_t arg2 ;
11312 PyObject * obj0 = 0 ;
11313 PyObject * obj1 = 0 ;
11314 char *kwnames[] = {
11315 (char *) "self",(char *) "line", NULL
11316 };
11317
11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11320 if (SWIG_arg_fail(1)) SWIG_fail;
11321 {
11322 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11323 if (SWIG_arg_fail(2)) SWIG_fail;
11324 }
d14a1e28
RD
11325 {
11326 PyThreadState* __tstate = wxPyBeginAllowThreads();
11327 (arg1)->RefreshLine(arg2);
11328
11329 wxPyEndAllowThreads(__tstate);
11330 if (PyErr_Occurred()) SWIG_fail;
11331 }
11332 Py_INCREF(Py_None); resultobj = Py_None;
11333 return resultobj;
11334 fail:
11335 return NULL;
11336}
11337
11338
c32bde28 11339static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11340 PyObject *resultobj;
11341 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11342 size_t arg2 ;
11343 size_t arg3 ;
11344 PyObject * obj0 = 0 ;
11345 PyObject * obj1 = 0 ;
11346 PyObject * obj2 = 0 ;
11347 char *kwnames[] = {
11348 (char *) "self",(char *) "from",(char *) "to", NULL
11349 };
11350
11351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11353 if (SWIG_arg_fail(1)) SWIG_fail;
11354 {
11355 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11356 if (SWIG_arg_fail(2)) SWIG_fail;
11357 }
11358 {
11359 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11360 if (SWIG_arg_fail(3)) SWIG_fail;
11361 }
d14a1e28
RD
11362 {
11363 PyThreadState* __tstate = wxPyBeginAllowThreads();
11364 (arg1)->RefreshLines(arg2,arg3);
11365
11366 wxPyEndAllowThreads(__tstate);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 }
11369 Py_INCREF(Py_None); resultobj = Py_None;
11370 return resultobj;
11371 fail:
11372 return NULL;
11373}
11374
11375
c32bde28 11376static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11377 PyObject *resultobj;
11378 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
e811c8ce
RD
11379 int arg2 ;
11380 int arg3 ;
d14a1e28
RD
11381 int result;
11382 PyObject * obj0 = 0 ;
994141e6
RD
11383 PyObject * obj1 = 0 ;
11384 PyObject * obj2 = 0 ;
d14a1e28
RD
11385 char *kwnames[] = {
11386 (char *) "self",(char *) "x",(char *) "y", NULL
11387 };
11388
354693ff 11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11391 if (SWIG_arg_fail(1)) SWIG_fail;
11392 {
11393 arg2 = (int)(SWIG_As_int(obj1));
11394 if (SWIG_arg_fail(2)) SWIG_fail;
11395 }
11396 {
11397 arg3 = (int)(SWIG_As_int(obj2));
11398 if (SWIG_arg_fail(3)) SWIG_fail;
11399 }
d14a1e28
RD
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
093d3ff1
RD
11407 {
11408 resultobj = SWIG_From_int((int)(result));
11409 }
d14a1e28
RD
11410 return resultobj;
11411 fail:
11412 return NULL;
11413}
11414
11415
c32bde28 11416static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11417 PyObject *resultobj;
11418 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11419 wxPoint *arg2 = 0 ;
11420 int result;
11421 wxPoint temp2 ;
11422 PyObject * obj0 = 0 ;
11423 PyObject * obj1 = 0 ;
11424 char *kwnames[] = {
11425 (char *) "self",(char *) "pt", NULL
11426 };
11427
11428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11430 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11431 {
11432 arg2 = &temp2;
11433 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11434 }
11435 {
11436 PyThreadState* __tstate = wxPyBeginAllowThreads();
11437 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11438
11439 wxPyEndAllowThreads(__tstate);
11440 if (PyErr_Occurred()) SWIG_fail;
11441 }
093d3ff1
RD
11442 {
11443 resultobj = SWIG_From_int((int)(result));
11444 }
d14a1e28
RD
11445 return resultobj;
11446 fail:
11447 return NULL;
11448}
11449
11450
c32bde28 11451static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11452 PyObject *resultobj;
11453 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11454 PyObject * obj0 = 0 ;
11455 char *kwnames[] = {
11456 (char *) "self", NULL
11457 };
11458
11459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
11460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11461 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11462 {
11463 PyThreadState* __tstate = wxPyBeginAllowThreads();
11464 (arg1)->RefreshAll();
11465
11466 wxPyEndAllowThreads(__tstate);
11467 if (PyErr_Occurred()) SWIG_fail;
11468 }
11469 Py_INCREF(Py_None); resultobj = Py_None;
11470 return resultobj;
11471 fail:
11472 return NULL;
11473}
11474
11475
c32bde28 11476static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11477 PyObject *resultobj;
11478 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11479 size_t result;
11480 PyObject * obj0 = 0 ;
11481 char *kwnames[] = {
11482 (char *) "self", NULL
11483 };
11484
11485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
11486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11487 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11488 {
11489 PyThreadState* __tstate = wxPyBeginAllowThreads();
11490 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11491
11492 wxPyEndAllowThreads(__tstate);
11493 if (PyErr_Occurred()) SWIG_fail;
11494 }
093d3ff1
RD
11495 {
11496 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11497 }
d14a1e28
RD
11498 return resultobj;
11499 fail:
11500 return NULL;
11501}
11502
11503
c32bde28 11504static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11505 PyObject *resultobj;
11506 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11507 size_t result;
11508 PyObject * obj0 = 0 ;
11509 char *kwnames[] = {
11510 (char *) "self", NULL
11511 };
11512
11513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
11514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11515 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11519
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
093d3ff1
RD
11523 {
11524 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11525 }
d14a1e28
RD
11526 return resultobj;
11527 fail:
11528 return NULL;
11529}
11530
11531
c32bde28 11532static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11533 PyObject *resultobj;
11534 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11535 size_t result;
11536 PyObject * obj0 = 0 ;
11537 char *kwnames[] = {
11538 (char *) "self", NULL
11539 };
11540
11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
093d3ff1
RD
11542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11543 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11544 {
11545 PyThreadState* __tstate = wxPyBeginAllowThreads();
11546 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11547
11548 wxPyEndAllowThreads(__tstate);
11549 if (PyErr_Occurred()) SWIG_fail;
11550 }
093d3ff1
RD
11551 {
11552 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11553 }
d14a1e28
RD
11554 return resultobj;
11555 fail:
11556 return NULL;
11557}
11558
11559
c32bde28 11560static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11561 PyObject *resultobj;
11562 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11563 size_t arg2 ;
11564 bool result;
11565 PyObject * obj0 = 0 ;
11566 PyObject * obj1 = 0 ;
11567 char *kwnames[] = {
11568 (char *) "self",(char *) "line", NULL
11569 };
11570
11571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11573 if (SWIG_arg_fail(1)) SWIG_fail;
11574 {
11575 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11576 if (SWIG_arg_fail(2)) SWIG_fail;
11577 }
d14a1e28
RD
11578 {
11579 PyThreadState* __tstate = wxPyBeginAllowThreads();
11580 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11581
11582 wxPyEndAllowThreads(__tstate);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 }
4f89f6a3
RD
11585 {
11586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11587 }
d14a1e28
RD
11588 return resultobj;
11589 fail:
11590 return NULL;
11591}
11592
11593
c32bde28 11594static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11595 PyObject *obj;
11596 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11597 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11598 Py_INCREF(obj);
11599 return Py_BuildValue((char *)"");
11600}
c32bde28 11601static int _wrap_VListBoxNameStr_set(PyObject *) {
b2dc1044
RD
11602 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11603 return 1;
11604}
11605
11606
093d3ff1 11607static PyObject *_wrap_VListBoxNameStr_get(void) {
b2dc1044
RD
11608 PyObject *pyobj;
11609
11610 {
11611#if wxUSE_UNICODE
11612 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11613#else
11614 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11615#endif
11616 }
11617 return pyobj;
11618}
11619
11620
c32bde28 11621static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11622 PyObject *resultobj;
11623 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11624 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
11625 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11626 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11627 wxSize const &arg4_defvalue = wxDefaultSize ;
11628 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11629 long arg5 = (long) 0 ;
11630 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11631 wxString *arg6 = (wxString *) &arg6_defvalue ;
11632 wxPyVListBox *result;
11633 wxPoint temp3 ;
11634 wxSize temp4 ;
ae8162c8 11635 bool temp6 = false ;
d14a1e28 11636 PyObject * obj0 = 0 ;
994141e6 11637 PyObject * obj1 = 0 ;
d14a1e28
RD
11638 PyObject * obj2 = 0 ;
11639 PyObject * obj3 = 0 ;
994141e6 11640 PyObject * obj4 = 0 ;
d14a1e28
RD
11641 PyObject * obj5 = 0 ;
11642 char *kwnames[] = {
11643 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11644 };
11645
994141e6 11646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
11647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11648 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 11649 if (obj1) {
093d3ff1
RD
11650 {
11651 arg2 = (int)(SWIG_As_int(obj1));
11652 if (SWIG_arg_fail(2)) SWIG_fail;
11653 }
994141e6 11654 }
d14a1e28
RD
11655 if (obj2) {
11656 {
11657 arg3 = &temp3;
11658 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11659 }
11660 }
11661 if (obj3) {
11662 {
11663 arg4 = &temp4;
11664 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11665 }
11666 }
994141e6 11667 if (obj4) {
093d3ff1
RD
11668 {
11669 arg5 = (long)(SWIG_As_long(obj4));
11670 if (SWIG_arg_fail(5)) SWIG_fail;
11671 }
994141e6 11672 }
d14a1e28
RD
11673 if (obj5) {
11674 {
11675 arg6 = wxString_in_helper(obj5);
11676 if (arg6 == NULL) SWIG_fail;
ae8162c8 11677 temp6 = true;
d14a1e28
RD
11678 }
11679 }
11680 {
e3b71cb8 11681 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11682 PyThreadState* __tstate = wxPyBeginAllowThreads();
11683 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11684
11685 wxPyEndAllowThreads(__tstate);
110da5b0 11686 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11687 }
15afbcd0 11688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
11689 {
11690 if (temp6)
11691 delete arg6;
11692 }
11693 return resultobj;
11694 fail:
11695 {
11696 if (temp6)
11697 delete arg6;
11698 }
11699 return NULL;
11700}
11701
11702
c32bde28 11703static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11704 PyObject *resultobj;
11705 wxPyVListBox *result;
11706 char *kwnames[] = {
11707 NULL
11708 };
11709
11710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11711 {
e3b71cb8 11712 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11713 PyThreadState* __tstate = wxPyBeginAllowThreads();
11714 result = (wxPyVListBox *)new wxPyVListBox();
11715
11716 wxPyEndAllowThreads(__tstate);
110da5b0 11717 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11718 }
15afbcd0 11719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
d14a1e28
RD
11720 return resultobj;
11721 fail:
11722 return NULL;
11723}
11724
11725
c32bde28 11726static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11727 PyObject *resultobj;
11728 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11729 PyObject *arg2 = (PyObject *) 0 ;
11730 PyObject *arg3 = (PyObject *) 0 ;
11731 PyObject * obj0 = 0 ;
11732 PyObject * obj1 = 0 ;
11733 PyObject * obj2 = 0 ;
11734 char *kwnames[] = {
11735 (char *) "self",(char *) "self",(char *) "_class", NULL
11736 };
11737
11738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11740 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11741 arg2 = obj1;
11742 arg3 = obj2;
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 (arg1)->_setCallbackInfo(arg2,arg3);
11746
11747 wxPyEndAllowThreads(__tstate);
11748 if (PyErr_Occurred()) SWIG_fail;
11749 }
11750 Py_INCREF(Py_None); resultobj = Py_None;
11751 return resultobj;
11752 fail:
11753 return NULL;
11754}
11755
11756
c32bde28 11757static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11758 PyObject *resultobj;
11759 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11760 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11761 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
11762 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11763 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11764 wxSize const &arg5_defvalue = wxDefaultSize ;
11765 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11766 long arg6 = (long) 0 ;
11767 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11768 wxString *arg7 = (wxString *) &arg7_defvalue ;
11769 bool result;
11770 wxPoint temp4 ;
11771 wxSize temp5 ;
ae8162c8 11772 bool temp7 = false ;
d14a1e28
RD
11773 PyObject * obj0 = 0 ;
11774 PyObject * obj1 = 0 ;
994141e6 11775 PyObject * obj2 = 0 ;
d14a1e28
RD
11776 PyObject * obj3 = 0 ;
11777 PyObject * obj4 = 0 ;
994141e6 11778 PyObject * obj5 = 0 ;
d14a1e28
RD
11779 PyObject * obj6 = 0 ;
11780 char *kwnames[] = {
11781 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11782 };
11783
994141e6 11784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
11785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11786 if (SWIG_arg_fail(1)) SWIG_fail;
11787 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11788 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 11789 if (obj2) {
093d3ff1
RD
11790 {
11791 arg3 = (int)(SWIG_As_int(obj2));
11792 if (SWIG_arg_fail(3)) SWIG_fail;
11793 }
994141e6 11794 }
d14a1e28
RD
11795 if (obj3) {
11796 {
11797 arg4 = &temp4;
11798 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11799 }
11800 }
11801 if (obj4) {
11802 {
11803 arg5 = &temp5;
11804 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11805 }
11806 }
994141e6 11807 if (obj5) {
093d3ff1
RD
11808 {
11809 arg6 = (long)(SWIG_As_long(obj5));
11810 if (SWIG_arg_fail(6)) SWIG_fail;
11811 }
994141e6 11812 }
d14a1e28
RD
11813 if (obj6) {
11814 {
11815 arg7 = wxString_in_helper(obj6);
11816 if (arg7 == NULL) SWIG_fail;
ae8162c8 11817 temp7 = true;
d14a1e28
RD
11818 }
11819 }
11820 {
11821 PyThreadState* __tstate = wxPyBeginAllowThreads();
11822 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11823
11824 wxPyEndAllowThreads(__tstate);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 }
4f89f6a3
RD
11827 {
11828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11829 }
d14a1e28
RD
11830 {
11831 if (temp7)
11832 delete arg7;
11833 }
11834 return resultobj;
11835 fail:
11836 {
11837 if (temp7)
11838 delete arg7;
11839 }
11840 return NULL;
11841}
11842
11843
c32bde28 11844static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11845 PyObject *resultobj;
11846 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11847 size_t result;
11848 PyObject * obj0 = 0 ;
11849 char *kwnames[] = {
11850 (char *) "self", NULL
11851 };
11852
11853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
11854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11855 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11856 {
11857 PyThreadState* __tstate = wxPyBeginAllowThreads();
11858 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
11859
11860 wxPyEndAllowThreads(__tstate);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 }
093d3ff1
RD
11863 {
11864 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11865 }
d14a1e28
RD
11866 return resultobj;
11867 fail:
11868 return NULL;
11869}
11870
11871
c32bde28 11872static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11873 PyObject *resultobj;
11874 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11875 bool result;
11876 PyObject * obj0 = 0 ;
11877 char *kwnames[] = {
11878 (char *) "self", NULL
11879 };
11880
11881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
11882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11883 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
11887
11888 wxPyEndAllowThreads(__tstate);
11889 if (PyErr_Occurred()) SWIG_fail;
11890 }
4f89f6a3
RD
11891 {
11892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11893 }
d14a1e28
RD
11894 return resultobj;
11895 fail:
11896 return NULL;
11897}
11898
11899
c32bde28 11900static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11901 PyObject *resultobj;
11902 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11903 int result;
11904 PyObject * obj0 = 0 ;
11905 char *kwnames[] = {
11906 (char *) "self", NULL
11907 };
11908
11909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
11910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11911 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
11912 {
11913 PyThreadState* __tstate = wxPyBeginAllowThreads();
11914 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
11915
11916 wxPyEndAllowThreads(__tstate);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
093d3ff1
RD
11919 {
11920 resultobj = SWIG_From_int((int)(result));
11921 }
d14a1e28
RD
11922 return resultobj;
11923 fail:
11924 return NULL;
11925}
11926
11927
c32bde28 11928static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11929 PyObject *resultobj;
11930 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11931 size_t arg2 ;
11932 bool result;
11933 PyObject * obj0 = 0 ;
11934 PyObject * obj1 = 0 ;
11935 char *kwnames[] = {
11936 (char *) "self",(char *) "item", NULL
11937 };
11938
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11941 if (SWIG_arg_fail(1)) SWIG_fail;
11942 {
11943 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11944 if (SWIG_arg_fail(2)) SWIG_fail;
11945 }
d14a1e28
RD
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
11949
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
4f89f6a3
RD
11953 {
11954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11955 }
d14a1e28
RD
11956 return resultobj;
11957 fail:
11958 return NULL;
11959}
11960
11961
c32bde28 11962static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11963 PyObject *resultobj;
11964 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11965 size_t arg2 ;
11966 bool result;
11967 PyObject * obj0 = 0 ;
11968 PyObject * obj1 = 0 ;
11969 char *kwnames[] = {
11970 (char *) "self",(char *) "item", NULL
11971 };
11972
11973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11975 if (SWIG_arg_fail(1)) SWIG_fail;
11976 {
11977 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11978 if (SWIG_arg_fail(2)) SWIG_fail;
11979 }
d14a1e28
RD
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
11982 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
11983
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
4f89f6a3
RD
11987 {
11988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11989 }
d14a1e28
RD
11990 return resultobj;
11991 fail:
11992 return NULL;
11993}
11994
11995
c32bde28 11996static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11997 PyObject *resultobj;
11998 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11999 size_t result;
12000 PyObject * obj0 = 0 ;
12001 char *kwnames[] = {
12002 (char *) "self", NULL
12003 };
12004
12005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
12006 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12007 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
093d3ff1
RD
12015 {
12016 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
12017 }
d14a1e28
RD
12018 return resultobj;
12019 fail:
12020 return NULL;
12021}
12022
12023
c32bde28 12024static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12025 PyObject *resultobj;
12026 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 12027 PyObject *result;
d14a1e28 12028 PyObject * obj0 = 0 ;
d14a1e28 12029 char *kwnames[] = {
09c21d3b 12030 (char *) "self", NULL
d14a1e28
RD
12031 };
12032
09c21d3b 12033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
093d3ff1
RD
12034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12035 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12036 {
12037 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12038 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d14a1e28
RD
12039
12040 wxPyEndAllowThreads(__tstate);
12041 if (PyErr_Occurred()) SWIG_fail;
12042 }
09c21d3b 12043 resultobj = result;
d14a1e28
RD
12044 return resultobj;
12045 fail:
12046 return NULL;
12047}
12048
12049
c32bde28 12050static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12051 PyObject *resultobj;
12052 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
12053 unsigned long arg2 ;
12054 PyObject *result;
d14a1e28
RD
12055 PyObject * obj0 = 0 ;
12056 PyObject * obj1 = 0 ;
12057 char *kwnames[] = {
12058 (char *) "self",(char *) "cookie", NULL
12059 };
12060
12061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12063 if (SWIG_arg_fail(1)) SWIG_fail;
12064 {
12065 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
12066 if (SWIG_arg_fail(2)) SWIG_fail;
12067 }
d14a1e28
RD
12068 {
12069 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 12070 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d14a1e28
RD
12071
12072 wxPyEndAllowThreads(__tstate);
12073 if (PyErr_Occurred()) SWIG_fail;
12074 }
09c21d3b 12075 resultobj = result;
d14a1e28
RD
12076 return resultobj;
12077 fail:
12078 return NULL;
12079}
12080
12081
c32bde28 12082static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12083 PyObject *resultobj;
12084 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12085 wxPoint result;
12086 PyObject * obj0 = 0 ;
12087 char *kwnames[] = {
12088 (char *) "self", NULL
12089 };
12090
12091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
12092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12093 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 result = ((wxPyVListBox const *)arg1)->GetMargins();
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 {
12102 wxPoint * resultptr;
093d3ff1 12103 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 12104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
12105 }
12106 return resultobj;
12107 fail:
12108 return NULL;
12109}
12110
12111
c32bde28 12112static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12113 PyObject *resultobj;
12114 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12115 wxColour *result;
12116 PyObject * obj0 = 0 ;
12117 char *kwnames[] = {
12118 (char *) "self", NULL
12119 };
12120
12121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
093d3ff1
RD
12122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12123 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 {
12127 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12128 result = (wxColour *) &_result_ref;
12129 }
12130
12131 wxPyEndAllowThreads(__tstate);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
15afbcd0 12134 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
12135 return resultobj;
12136 fail:
12137 return NULL;
12138}
12139
12140
c32bde28 12141static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12142 PyObject *resultobj;
12143 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12144 size_t arg2 ;
12145 PyObject * obj0 = 0 ;
12146 PyObject * obj1 = 0 ;
12147 char *kwnames[] = {
12148 (char *) "self",(char *) "count", NULL
12149 };
12150
12151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12153 if (SWIG_arg_fail(1)) SWIG_fail;
12154 {
12155 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12156 if (SWIG_arg_fail(2)) SWIG_fail;
12157 }
d14a1e28
RD
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 (arg1)->SetItemCount(arg2);
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 Py_INCREF(Py_None); resultobj = Py_None;
12166 return resultobj;
12167 fail:
12168 return NULL;
12169}
12170
12171
c32bde28 12172static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12173 PyObject *resultobj;
12174 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12175 PyObject * obj0 = 0 ;
12176 char *kwnames[] = {
12177 (char *) "self", NULL
12178 };
12179
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
12181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12182 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 (arg1)->Clear();
12186
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 Py_INCREF(Py_None); resultobj = Py_None;
12191 return resultobj;
12192 fail:
12193 return NULL;
12194}
12195
12196
c32bde28 12197static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12198 PyObject *resultobj;
12199 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12200 int arg2 ;
12201 PyObject * obj0 = 0 ;
994141e6 12202 PyObject * obj1 = 0 ;
d14a1e28
RD
12203 char *kwnames[] = {
12204 (char *) "self",(char *) "selection", NULL
12205 };
12206
994141e6 12207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12209 if (SWIG_arg_fail(1)) SWIG_fail;
12210 {
12211 arg2 = (int)(SWIG_As_int(obj1));
12212 if (SWIG_arg_fail(2)) SWIG_fail;
12213 }
d14a1e28
RD
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 (arg1)->SetSelection(arg2);
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 Py_INCREF(Py_None); resultobj = Py_None;
12222 return resultobj;
12223 fail:
12224 return NULL;
12225}
12226
12227
c32bde28 12228static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12229 PyObject *resultobj;
12230 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12231 size_t arg2 ;
ae8162c8 12232 bool arg3 = (bool) true ;
d14a1e28
RD
12233 bool result;
12234 PyObject * obj0 = 0 ;
12235 PyObject * obj1 = 0 ;
12236 PyObject * obj2 = 0 ;
12237 char *kwnames[] = {
12238 (char *) "self",(char *) "item",(char *) "select", NULL
12239 };
12240
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12243 if (SWIG_arg_fail(1)) SWIG_fail;
12244 {
12245 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12246 if (SWIG_arg_fail(2)) SWIG_fail;
12247 }
a41e16b6 12248 if (obj2) {
093d3ff1
RD
12249 {
12250 arg3 = (bool)(SWIG_As_bool(obj2));
12251 if (SWIG_arg_fail(3)) SWIG_fail;
12252 }
a41e16b6 12253 }
d14a1e28
RD
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 result = (bool)(arg1)->Select(arg2,arg3);
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
4f89f6a3
RD
12261 {
12262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12263 }
d14a1e28
RD
12264 return resultobj;
12265 fail:
12266 return NULL;
12267}
12268
12269
c32bde28 12270static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12271 PyObject *resultobj;
12272 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12273 size_t arg2 ;
12274 size_t arg3 ;
12275 bool result;
12276 PyObject * obj0 = 0 ;
12277 PyObject * obj1 = 0 ;
12278 PyObject * obj2 = 0 ;
15afbcd0
RD
12279 char *kwnames[] = {
12280 (char *) "self",(char *) "from",(char *) "to", NULL
12281 };
12282
12283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12285 if (SWIG_arg_fail(1)) SWIG_fail;
12286 {
12287 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12288 if (SWIG_arg_fail(2)) SWIG_fail;
12289 }
12290 {
12291 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12292 if (SWIG_arg_fail(3)) SWIG_fail;
12293 }
d14a1e28
RD
12294 {
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 result = (bool)(arg1)->SelectRange(arg2,arg3);
12297
12298 wxPyEndAllowThreads(__tstate);
12299 if (PyErr_Occurred()) SWIG_fail;
12300 }
4f89f6a3
RD
12301 {
12302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12303 }
d14a1e28
RD
12304 return resultobj;
12305 fail:
12306 return NULL;
12307}
12308
12309
c32bde28 12310static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12311 PyObject *resultobj;
12312 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12313 size_t arg2 ;
12314 PyObject * obj0 = 0 ;
12315 PyObject * obj1 = 0 ;
12316 char *kwnames[] = {
12317 (char *) "self",(char *) "item", NULL
12318 };
12319
12320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12322 if (SWIG_arg_fail(1)) SWIG_fail;
12323 {
12324 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12325 if (SWIG_arg_fail(2)) SWIG_fail;
12326 }
d14a1e28
RD
12327 {
12328 PyThreadState* __tstate = wxPyBeginAllowThreads();
12329 (arg1)->Toggle(arg2);
12330
12331 wxPyEndAllowThreads(__tstate);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 }
12334 Py_INCREF(Py_None); resultobj = Py_None;
12335 return resultobj;
12336 fail:
12337 return NULL;
12338}
12339
12340
c32bde28 12341static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12342 PyObject *resultobj;
12343 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12344 bool result;
12345 PyObject * obj0 = 0 ;
12346 char *kwnames[] = {
12347 (char *) "self", NULL
12348 };
12349
12350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12352 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12353 {
12354 PyThreadState* __tstate = wxPyBeginAllowThreads();
12355 result = (bool)(arg1)->SelectAll();
12356
12357 wxPyEndAllowThreads(__tstate);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 }
4f89f6a3
RD
12360 {
12361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12362 }
d14a1e28
RD
12363 return resultobj;
12364 fail:
12365 return NULL;
12366}
12367
12368
c32bde28 12369static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12370 PyObject *resultobj;
12371 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12372 bool result;
12373 PyObject * obj0 = 0 ;
12374 char *kwnames[] = {
12375 (char *) "self", NULL
12376 };
12377
12378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12380 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12381 {
12382 PyThreadState* __tstate = wxPyBeginAllowThreads();
12383 result = (bool)(arg1)->DeselectAll();
12384
12385 wxPyEndAllowThreads(__tstate);
12386 if (PyErr_Occurred()) SWIG_fail;
12387 }
4f89f6a3
RD
12388 {
12389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12390 }
d14a1e28
RD
12391 return resultobj;
12392 fail:
12393 return NULL;
12394}
12395
12396
c32bde28 12397static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12398 PyObject *resultobj;
12399 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12400 wxPoint *arg2 = 0 ;
12401 wxPoint temp2 ;
12402 PyObject * obj0 = 0 ;
12403 PyObject * obj1 = 0 ;
12404 char *kwnames[] = {
12405 (char *) "self",(char *) "pt", NULL
12406 };
12407
12408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12410 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12411 {
12412 arg2 = &temp2;
12413 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12414 }
12415 {
12416 PyThreadState* __tstate = wxPyBeginAllowThreads();
12417 (arg1)->SetMargins((wxPoint const &)*arg2);
12418
12419 wxPyEndAllowThreads(__tstate);
12420 if (PyErr_Occurred()) SWIG_fail;
12421 }
12422 Py_INCREF(Py_None); resultobj = Py_None;
12423 return resultobj;
12424 fail:
12425 return NULL;
12426}
12427
12428
c32bde28 12429static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12430 PyObject *resultobj;
12431 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
e811c8ce
RD
12432 int arg2 ;
12433 int arg3 ;
d14a1e28 12434 PyObject * obj0 = 0 ;
994141e6
RD
12435 PyObject * obj1 = 0 ;
12436 PyObject * obj2 = 0 ;
d14a1e28
RD
12437 char *kwnames[] = {
12438 (char *) "self",(char *) "x",(char *) "y", NULL
12439 };
12440
994141e6 12441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12443 if (SWIG_arg_fail(1)) SWIG_fail;
12444 {
12445 arg2 = (int)(SWIG_As_int(obj1));
12446 if (SWIG_arg_fail(2)) SWIG_fail;
12447 }
12448 {
12449 arg3 = (int)(SWIG_As_int(obj2));
12450 if (SWIG_arg_fail(3)) SWIG_fail;
12451 }
d14a1e28
RD
12452 {
12453 PyThreadState* __tstate = wxPyBeginAllowThreads();
12454 (arg1)->SetMargins(arg2,arg3);
12455
12456 wxPyEndAllowThreads(__tstate);
12457 if (PyErr_Occurred()) SWIG_fail;
12458 }
12459 Py_INCREF(Py_None); resultobj = Py_None;
12460 return resultobj;
12461 fail:
12462 return NULL;
12463}
12464
12465
c32bde28 12466static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12467 PyObject *resultobj;
12468 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12469 wxColour *arg2 = 0 ;
12470 wxColour temp2 ;
12471 PyObject * obj0 = 0 ;
12472 PyObject * obj1 = 0 ;
12473 char *kwnames[] = {
12474 (char *) "self",(char *) "col", NULL
12475 };
12476
12477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12479 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12480 {
12481 arg2 = &temp2;
12482 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12483 }
12484 {
12485 PyThreadState* __tstate = wxPyBeginAllowThreads();
12486 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12487
12488 wxPyEndAllowThreads(__tstate);
12489 if (PyErr_Occurred()) SWIG_fail;
12490 }
12491 Py_INCREF(Py_None); resultobj = Py_None;
12492 return resultobj;
12493 fail:
12494 return NULL;
12495}
12496
12497
c32bde28 12498static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12499 PyObject *obj;
12500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12501 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12502 Py_INCREF(obj);
12503 return Py_BuildValue((char *)"");
12504}
c32bde28 12505static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12506 PyObject *resultobj;
12507 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12508 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
12509 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12510 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12511 wxSize const &arg4_defvalue = wxDefaultSize ;
12512 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12513 long arg5 = (long) 0 ;
12514 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12515 wxString *arg6 = (wxString *) &arg6_defvalue ;
12516 wxPyHtmlListBox *result;
12517 wxPoint temp3 ;
12518 wxSize temp4 ;
ae8162c8 12519 bool temp6 = false ;
d14a1e28 12520 PyObject * obj0 = 0 ;
994141e6 12521 PyObject * obj1 = 0 ;
d14a1e28
RD
12522 PyObject * obj2 = 0 ;
12523 PyObject * obj3 = 0 ;
994141e6 12524 PyObject * obj4 = 0 ;
d14a1e28
RD
12525 PyObject * obj5 = 0 ;
12526 char *kwnames[] = {
12527 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12528 };
12529
994141e6 12530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
12531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12532 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 12533 if (obj1) {
093d3ff1
RD
12534 {
12535 arg2 = (int)(SWIG_As_int(obj1));
12536 if (SWIG_arg_fail(2)) SWIG_fail;
12537 }
994141e6 12538 }
d14a1e28
RD
12539 if (obj2) {
12540 {
12541 arg3 = &temp3;
12542 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12543 }
12544 }
12545 if (obj3) {
12546 {
12547 arg4 = &temp4;
12548 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12549 }
12550 }
994141e6 12551 if (obj4) {
093d3ff1
RD
12552 {
12553 arg5 = (long)(SWIG_As_long(obj4));
12554 if (SWIG_arg_fail(5)) SWIG_fail;
12555 }
994141e6 12556 }
d14a1e28
RD
12557 if (obj5) {
12558 {
12559 arg6 = wxString_in_helper(obj5);
12560 if (arg6 == NULL) SWIG_fail;
ae8162c8 12561 temp6 = true;
d14a1e28
RD
12562 }
12563 }
12564 {
e3b71cb8 12565 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12566 PyThreadState* __tstate = wxPyBeginAllowThreads();
12567 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12568
12569 wxPyEndAllowThreads(__tstate);
110da5b0 12570 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12571 }
15afbcd0 12572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
12573 {
12574 if (temp6)
12575 delete arg6;
12576 }
12577 return resultobj;
12578 fail:
12579 {
12580 if (temp6)
12581 delete arg6;
12582 }
12583 return NULL;
12584}
12585
12586
c32bde28 12587static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12588 PyObject *resultobj;
12589 wxPyHtmlListBox *result;
12590 char *kwnames[] = {
12591 NULL
12592 };
12593
12594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12595 {
e3b71cb8 12596 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12599
12600 wxPyEndAllowThreads(__tstate);
110da5b0 12601 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12602 }
15afbcd0 12603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
d14a1e28
RD
12604 return resultobj;
12605 fail:
12606 return NULL;
12607}
12608
12609
c32bde28 12610static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12611 PyObject *resultobj;
12612 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12613 PyObject *arg2 = (PyObject *) 0 ;
12614 PyObject *arg3 = (PyObject *) 0 ;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12617 PyObject * obj2 = 0 ;
12618 char *kwnames[] = {
12619 (char *) "self",(char *) "self",(char *) "_class", NULL
12620 };
12621
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12625 arg2 = obj1;
12626 arg3 = obj2;
12627 {
12628 PyThreadState* __tstate = wxPyBeginAllowThreads();
12629 (arg1)->_setCallbackInfo(arg2,arg3);
12630
12631 wxPyEndAllowThreads(__tstate);
12632 if (PyErr_Occurred()) SWIG_fail;
12633 }
12634 Py_INCREF(Py_None); resultobj = Py_None;
12635 return resultobj;
12636 fail:
12637 return NULL;
12638}
12639
12640
c32bde28 12641static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12642 PyObject *resultobj;
12643 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12644 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12645 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
12646 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12647 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12648 wxSize const &arg5_defvalue = wxDefaultSize ;
12649 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12650 long arg6 = (long) 0 ;
12651 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12652 wxString *arg7 = (wxString *) &arg7_defvalue ;
12653 bool result;
12654 wxPoint temp4 ;
12655 wxSize temp5 ;
ae8162c8 12656 bool temp7 = false ;
d14a1e28
RD
12657 PyObject * obj0 = 0 ;
12658 PyObject * obj1 = 0 ;
994141e6 12659 PyObject * obj2 = 0 ;
d14a1e28
RD
12660 PyObject * obj3 = 0 ;
12661 PyObject * obj4 = 0 ;
994141e6 12662 PyObject * obj5 = 0 ;
d14a1e28
RD
12663 PyObject * obj6 = 0 ;
12664 char *kwnames[] = {
12665 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12666 };
12667
994141e6 12668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
12669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12670 if (SWIG_arg_fail(1)) SWIG_fail;
12671 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12672 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 12673 if (obj2) {
093d3ff1
RD
12674 {
12675 arg3 = (int)(SWIG_As_int(obj2));
12676 if (SWIG_arg_fail(3)) SWIG_fail;
12677 }
994141e6 12678 }
d14a1e28
RD
12679 if (obj3) {
12680 {
12681 arg4 = &temp4;
12682 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12683 }
12684 }
12685 if (obj4) {
12686 {
12687 arg5 = &temp5;
12688 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12689 }
12690 }
994141e6 12691 if (obj5) {
093d3ff1
RD
12692 {
12693 arg6 = (long)(SWIG_As_long(obj5));
12694 if (SWIG_arg_fail(6)) SWIG_fail;
12695 }
994141e6 12696 }
d14a1e28
RD
12697 if (obj6) {
12698 {
12699 arg7 = wxString_in_helper(obj6);
12700 if (arg7 == NULL) SWIG_fail;
ae8162c8 12701 temp7 = true;
d14a1e28
RD
12702 }
12703 }
12704 {
12705 PyThreadState* __tstate = wxPyBeginAllowThreads();
12706 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12707
12708 wxPyEndAllowThreads(__tstate);
12709 if (PyErr_Occurred()) SWIG_fail;
12710 }
4f89f6a3
RD
12711 {
12712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12713 }
d14a1e28
RD
12714 {
12715 if (temp7)
12716 delete arg7;
12717 }
12718 return resultobj;
12719 fail:
12720 {
12721 if (temp7)
12722 delete arg7;
12723 }
12724 return NULL;
12725}
12726
12727
c32bde28 12728static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12729 PyObject *resultobj;
12730 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12731 PyObject * obj0 = 0 ;
12732 char *kwnames[] = {
12733 (char *) "self", NULL
12734 };
12735
12736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
12737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12738 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12739 {
12740 PyThreadState* __tstate = wxPyBeginAllowThreads();
12741 (arg1)->RefreshAll();
12742
12743 wxPyEndAllowThreads(__tstate);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 }
12746 Py_INCREF(Py_None); resultobj = Py_None;
12747 return resultobj;
12748 fail:
12749 return NULL;
12750}
12751
12752
c32bde28 12753static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12754 PyObject *resultobj;
12755 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12756 size_t arg2 ;
12757 PyObject * obj0 = 0 ;
12758 PyObject * obj1 = 0 ;
12759 char *kwnames[] = {
12760 (char *) "self",(char *) "count", NULL
12761 };
12762
12763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12765 if (SWIG_arg_fail(1)) SWIG_fail;
12766 {
12767 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12768 if (SWIG_arg_fail(2)) SWIG_fail;
12769 }
d14a1e28
RD
12770 {
12771 PyThreadState* __tstate = wxPyBeginAllowThreads();
12772 (arg1)->SetItemCount(arg2);
12773
12774 wxPyEndAllowThreads(__tstate);
12775 if (PyErr_Occurred()) SWIG_fail;
12776 }
12777 Py_INCREF(Py_None); resultobj = Py_None;
12778 return resultobj;
12779 fail:
12780 return NULL;
12781}
12782
12783
c32bde28 12784static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
7fdaaabe
RD
12785 PyObject *resultobj;
12786 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12787 wxFileSystem *result;
12788 PyObject * obj0 = 0 ;
12789 char *kwnames[] = {
12790 (char *) "self", NULL
12791 };
12792
12793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
093d3ff1
RD
12794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12795 if (SWIG_arg_fail(1)) SWIG_fail;
7fdaaabe
RD
12796 {
12797 PyThreadState* __tstate = wxPyBeginAllowThreads();
12798 {
12799 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12800 result = (wxFileSystem *) &_result_ref;
12801 }
12802
12803 wxPyEndAllowThreads(__tstate);
12804 if (PyErr_Occurred()) SWIG_fail;
12805 }
12806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12807 return resultobj;
12808 fail:
12809 return NULL;
12810}
12811
12812
c32bde28 12813static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12814 PyObject *obj;
12815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12816 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12817 Py_INCREF(obj);
12818 return Py_BuildValue((char *)"");
12819}
c32bde28 12820static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12821 PyObject *resultobj;
5e483524 12822 wxPyTaskBarIcon *result;
d14a1e28
RD
12823 char *kwnames[] = {
12824 NULL
12825 };
12826
12827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12828 {
e3b71cb8 12829 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 12830 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12831 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d14a1e28
RD
12832
12833 wxPyEndAllowThreads(__tstate);
110da5b0 12834 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 12835 }
5e483524 12836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d14a1e28
RD
12837 return resultobj;
12838 fail:
12839 return NULL;
12840}
12841
12842
5e483524 12843static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12844 PyObject *resultobj;
5e483524
RD
12845 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12846 PyObject *arg2 = (PyObject *) 0 ;
12847 PyObject *arg3 = (PyObject *) 0 ;
12848 int arg4 ;
d14a1e28 12849 PyObject * obj0 = 0 ;
5e483524
RD
12850 PyObject * obj1 = 0 ;
12851 PyObject * obj2 = 0 ;
12852 PyObject * obj3 = 0 ;
d14a1e28 12853 char *kwnames[] = {
5e483524 12854 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d14a1e28
RD
12855 };
12856
5e483524 12857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
12858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12859 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
12860 arg2 = obj1;
12861 arg3 = obj2;
093d3ff1
RD
12862 {
12863 arg4 = (int)(SWIG_As_int(obj3));
12864 if (SWIG_arg_fail(4)) SWIG_fail;
12865 }
d14a1e28
RD
12866 {
12867 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12868 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d14a1e28
RD
12869
12870 wxPyEndAllowThreads(__tstate);
12871 if (PyErr_Occurred()) SWIG_fail;
12872 }
12873 Py_INCREF(Py_None); resultobj = Py_None;
12874 return resultobj;
12875 fail:
12876 return NULL;
12877}
12878
12879
c32bde28 12880static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd 12881 PyObject *resultobj;
5e483524 12882 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
74a57fcd
RD
12883 PyObject * obj0 = 0 ;
12884 char *kwnames[] = {
12885 (char *) "self", NULL
12886 };
12887
12888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
12889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12890 if (SWIG_arg_fail(1)) SWIG_fail;
74a57fcd
RD
12891 {
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12893 wxPyTaskBarIcon_Destroy(arg1);
74a57fcd
RD
12894
12895 wxPyEndAllowThreads(__tstate);
12896 if (PyErr_Occurred()) SWIG_fail;
12897 }
12898 Py_INCREF(Py_None); resultobj = Py_None;
12899 return resultobj;
12900 fail:
12901 return NULL;
12902}
12903
12904
c32bde28 12905static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12906 PyObject *resultobj;
5e483524 12907 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
12908 bool result;
12909 PyObject * obj0 = 0 ;
12910 char *kwnames[] = {
12911 (char *) "self", NULL
12912 };
12913
12914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
12915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12916 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12917 {
12918 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12919 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
d14a1e28
RD
12920
12921 wxPyEndAllowThreads(__tstate);
12922 if (PyErr_Occurred()) SWIG_fail;
12923 }
4f89f6a3
RD
12924 {
12925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12926 }
d14a1e28
RD
12927 return resultobj;
12928 fail:
12929 return NULL;
12930}
12931
12932
c32bde28 12933static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12934 PyObject *resultobj;
5e483524 12935 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
12936 bool result;
12937 PyObject * obj0 = 0 ;
12938 char *kwnames[] = {
12939 (char *) "self", NULL
12940 };
12941
12942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
093d3ff1
RD
12943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12944 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12947 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
d14a1e28
RD
12948
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
4f89f6a3
RD
12952 {
12953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12954 }
d14a1e28
RD
12955 return resultobj;
12956 fail:
12957 return NULL;
12958}
12959
12960
c32bde28 12961static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 12962 PyObject *resultobj;
5e483524 12963 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
12964 wxIcon *arg2 = 0 ;
12965 wxString const &arg3_defvalue = wxPyEmptyString ;
12966 wxString *arg3 = (wxString *) &arg3_defvalue ;
12967 bool result;
ae8162c8 12968 bool temp3 = false ;
d14a1e28
RD
12969 PyObject * obj0 = 0 ;
12970 PyObject * obj1 = 0 ;
12971 PyObject * obj2 = 0 ;
12972 char *kwnames[] = {
12973 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
12977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12978 if (SWIG_arg_fail(1)) SWIG_fail;
12979 {
12980 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
12981 if (SWIG_arg_fail(2)) SWIG_fail;
12982 if (arg2 == NULL) {
12983 SWIG_null_ref("wxIcon");
12984 }
12985 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
12986 }
12987 if (obj2) {
12988 {
12989 arg3 = wxString_in_helper(obj2);
12990 if (arg3 == NULL) SWIG_fail;
ae8162c8 12991 temp3 = true;
d14a1e28
RD
12992 }
12993 }
12994 {
12995 PyThreadState* __tstate = wxPyBeginAllowThreads();
12996 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
12997
12998 wxPyEndAllowThreads(__tstate);
12999 if (PyErr_Occurred()) SWIG_fail;
13000 }
4f89f6a3
RD
13001 {
13002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13003 }
d14a1e28
RD
13004 {
13005 if (temp3)
13006 delete arg3;
13007 }
13008 return resultobj;
13009 fail:
13010 {
13011 if (temp3)
13012 delete arg3;
13013 }
13014 return NULL;
13015}
13016
13017
c32bde28 13018static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13019 PyObject *resultobj;
5e483524 13020 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13021 bool result;
13022 PyObject * obj0 = 0 ;
13023 char *kwnames[] = {
13024 (char *) "self", NULL
13025 };
13026
13027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
13028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13029 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
13032 result = (bool)(arg1)->RemoveIcon();
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
4f89f6a3
RD
13037 {
13038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13039 }
d14a1e28
RD
13040 return resultobj;
13041 fail:
13042 return NULL;
13043}
13044
13045
c32bde28 13046static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 13047 PyObject *resultobj;
5e483524 13048 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d14a1e28
RD
13049 wxMenu *arg2 = (wxMenu *) 0 ;
13050 bool result;
13051 PyObject * obj0 = 0 ;
13052 PyObject * obj1 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self",(char *) "menu", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13059 if (SWIG_arg_fail(1)) SWIG_fail;
13060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
13061 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13062 {
13063 PyThreadState* __tstate = wxPyBeginAllowThreads();
13064 result = (bool)(arg1)->PopupMenu(arg2);
13065
13066 wxPyEndAllowThreads(__tstate);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 }
4f89f6a3
RD
13069 {
13070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13071 }
d14a1e28
RD
13072 return resultobj;
13073 fail:
13074 return NULL;
13075}
13076
13077
c32bde28 13078static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13079 PyObject *obj;
13080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 13081 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d14a1e28
RD
13082 Py_INCREF(obj);
13083 return Py_BuildValue((char *)"");
13084}
c32bde28 13085static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13086 PyObject *resultobj;
13087 wxEventType arg1 ;
13088 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
13089 wxTaskBarIconEvent *result;
994141e6 13090 PyObject * obj0 = 0 ;
d14a1e28
RD
13091 PyObject * obj1 = 0 ;
13092 char *kwnames[] = {
13093 (char *) "evtType",(char *) "tbIcon", NULL
13094 };
13095
994141e6 13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13097 {
13098 arg1 = (wxEventType)(SWIG_As_int(obj0));
13099 if (SWIG_arg_fail(1)) SWIG_fail;
13100 }
13101 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
13102 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13103 {
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
13105 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
13106
13107 wxPyEndAllowThreads(__tstate);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
15afbcd0 13110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
d14a1e28
RD
13111 return resultobj;
13112 fail:
13113 return NULL;
13114}
13115
13116
c32bde28 13117static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13118 PyObject *obj;
13119 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13120 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13121 Py_INCREF(obj);
13122 return Py_BuildValue((char *)"");
13123}
c32bde28 13124static int _wrap_FileSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
13125 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13126 return 1;
13127}
13128
13129
093d3ff1 13130static PyObject *_wrap_FileSelectorPromptStr_get(void) {
b2dc1044
RD
13131 PyObject *pyobj;
13132
13133 {
13134#if wxUSE_UNICODE
13135 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13136#else
13137 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13138#endif
13139 }
13140 return pyobj;
13141}
13142
13143
c32bde28 13144static int _wrap_DirSelectorPromptStr_set(PyObject *) {
b2dc1044
RD
13145 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13146 return 1;
13147}
13148
13149
093d3ff1 13150static PyObject *_wrap_DirSelectorPromptStr_get(void) {
b2dc1044
RD
13151 PyObject *pyobj;
13152
13153 {
13154#if wxUSE_UNICODE
13155 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13156#else
13157 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13158#endif
13159 }
13160 return pyobj;
13161}
13162
13163
c32bde28 13164static int _wrap_DirDialogNameStr_set(PyObject *) {
b2dc1044
RD
13165 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13166 return 1;
13167}
13168
13169
093d3ff1 13170static PyObject *_wrap_DirDialogNameStr_get(void) {
b2dc1044
RD
13171 PyObject *pyobj;
13172
13173 {
13174#if wxUSE_UNICODE
13175 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13176#else
13177 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13178#endif
13179 }
13180 return pyobj;
13181}
13182
13183
c32bde28 13184static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
b2dc1044
RD
13185 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13186 return 1;
13187}
13188
13189
093d3ff1 13190static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
b2dc1044
RD
13191 PyObject *pyobj;
13192
13193 {
13194#if wxUSE_UNICODE
13195 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13196#else
13197 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13198#endif
13199 }
13200 return pyobj;
13201}
13202
13203
c32bde28 13204static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
b2dc1044
RD
13205 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13206 return 1;
13207}
13208
13209
093d3ff1 13210static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
b2dc1044
RD
13211 PyObject *pyobj;
13212
13213 {
13214#if wxUSE_UNICODE
13215 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13216#else
13217 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13218#endif
13219 }
13220 return pyobj;
13221}
13222
13223
c32bde28 13224static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
b2dc1044
RD
13225 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13226 return 1;
13227}
13228
13229
093d3ff1 13230static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
b2dc1044
RD
13231 PyObject *pyobj;
13232
13233 {
13234#if wxUSE_UNICODE
13235 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13236#else
13237 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13238#endif
13239 }
13240 return pyobj;
13241}
13242
13243
c32bde28 13244static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13245 PyObject *resultobj;
13246 wxColourData *result;
13247 char *kwnames[] = {
13248 NULL
13249 };
13250
13251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13252 {
13253 PyThreadState* __tstate = wxPyBeginAllowThreads();
13254 result = (wxColourData *)new wxColourData();
13255
13256 wxPyEndAllowThreads(__tstate);
13257 if (PyErr_Occurred()) SWIG_fail;
13258 }
15afbcd0 13259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
d14a1e28
RD
13260 return resultobj;
13261 fail:
13262 return NULL;
13263}
13264
13265
c32bde28 13266static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13267 PyObject *resultobj;
13268 wxColourData *arg1 = (wxColourData *) 0 ;
13269 PyObject * obj0 = 0 ;
13270 char *kwnames[] = {
13271 (char *) "self", NULL
13272 };
13273
13274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13276 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13277 {
13278 PyThreadState* __tstate = wxPyBeginAllowThreads();
13279 delete arg1;
13280
13281 wxPyEndAllowThreads(__tstate);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 }
13284 Py_INCREF(Py_None); resultobj = Py_None;
13285 return resultobj;
13286 fail:
13287 return NULL;
13288}
13289
13290
c32bde28 13291static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13292 PyObject *resultobj;
13293 wxColourData *arg1 = (wxColourData *) 0 ;
13294 bool result;
13295 PyObject * obj0 = 0 ;
13296 char *kwnames[] = {
13297 (char *) "self", NULL
13298 };
13299
13300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
093d3ff1
RD
13301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13302 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13303 {
13304 PyThreadState* __tstate = wxPyBeginAllowThreads();
13305 result = (bool)(arg1)->GetChooseFull();
13306
13307 wxPyEndAllowThreads(__tstate);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 }
4f89f6a3
RD
13310 {
13311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13312 }
d14a1e28
RD
13313 return resultobj;
13314 fail:
13315 return NULL;
13316}
13317
13318
c32bde28 13319static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13320 PyObject *resultobj;
13321 wxColourData *arg1 = (wxColourData *) 0 ;
13322 wxColour result;
13323 PyObject * obj0 = 0 ;
13324 char *kwnames[] = {
13325 (char *) "self", NULL
13326 };
13327
13328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
13329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13330 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13331 {
13332 PyThreadState* __tstate = wxPyBeginAllowThreads();
13333 result = (arg1)->GetColour();
13334
13335 wxPyEndAllowThreads(__tstate);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 {
13339 wxColour * resultptr;
093d3ff1 13340 resultptr = new wxColour((wxColour &)(result));
15afbcd0 13341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13342 }
13343 return resultobj;
13344 fail:
13345 return NULL;
13346}
13347
13348
c32bde28 13349static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13350 PyObject *resultobj;
13351 wxColourData *arg1 = (wxColourData *) 0 ;
13352 int arg2 ;
13353 wxColour result;
13354 PyObject * obj0 = 0 ;
994141e6 13355 PyObject * obj1 = 0 ;
d14a1e28
RD
13356 char *kwnames[] = {
13357 (char *) "self",(char *) "i", NULL
13358 };
13359
994141e6 13360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13362 if (SWIG_arg_fail(1)) SWIG_fail;
13363 {
13364 arg2 = (int)(SWIG_As_int(obj1));
13365 if (SWIG_arg_fail(2)) SWIG_fail;
13366 }
d14a1e28
RD
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 result = (arg1)->GetCustomColour(arg2);
13370
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 {
13375 wxColour * resultptr;
093d3ff1 13376 resultptr = new wxColour((wxColour &)(result));
15afbcd0 13377 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
13378 }
13379 return resultobj;
13380 fail:
13381 return NULL;
13382}
13383
13384
c32bde28 13385static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13386 PyObject *resultobj;
13387 wxColourData *arg1 = (wxColourData *) 0 ;
13388 int arg2 ;
13389 PyObject * obj0 = 0 ;
994141e6 13390 PyObject * obj1 = 0 ;
d14a1e28
RD
13391 char *kwnames[] = {
13392 (char *) "self",(char *) "flag", NULL
13393 };
13394
994141e6 13395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13396 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13397 if (SWIG_arg_fail(1)) SWIG_fail;
13398 {
13399 arg2 = (int)(SWIG_As_int(obj1));
13400 if (SWIG_arg_fail(2)) SWIG_fail;
13401 }
d14a1e28
RD
13402 {
13403 PyThreadState* __tstate = wxPyBeginAllowThreads();
13404 (arg1)->SetChooseFull(arg2);
13405
13406 wxPyEndAllowThreads(__tstate);
13407 if (PyErr_Occurred()) SWIG_fail;
13408 }
13409 Py_INCREF(Py_None); resultobj = Py_None;
13410 return resultobj;
13411 fail:
13412 return NULL;
13413}
13414
13415
c32bde28 13416static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13417 PyObject *resultobj;
13418 wxColourData *arg1 = (wxColourData *) 0 ;
13419 wxColour *arg2 = 0 ;
13420 wxColour temp2 ;
13421 PyObject * obj0 = 0 ;
13422 PyObject * obj1 = 0 ;
13423 char *kwnames[] = {
13424 (char *) "self",(char *) "colour", NULL
13425 };
13426
13427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13429 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13430 {
13431 arg2 = &temp2;
13432 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13433 }
13434 {
13435 PyThreadState* __tstate = wxPyBeginAllowThreads();
13436 (arg1)->SetColour((wxColour const &)*arg2);
13437
13438 wxPyEndAllowThreads(__tstate);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 Py_INCREF(Py_None); resultobj = Py_None;
13442 return resultobj;
13443 fail:
13444 return NULL;
13445}
13446
13447
c32bde28 13448static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13449 PyObject *resultobj;
13450 wxColourData *arg1 = (wxColourData *) 0 ;
13451 int arg2 ;
13452 wxColour *arg3 = 0 ;
13453 wxColour temp3 ;
13454 PyObject * obj0 = 0 ;
994141e6 13455 PyObject * obj1 = 0 ;
d14a1e28
RD
13456 PyObject * obj2 = 0 ;
13457 char *kwnames[] = {
13458 (char *) "self",(char *) "i",(char *) "colour", NULL
13459 };
13460
994141e6 13461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13463 if (SWIG_arg_fail(1)) SWIG_fail;
13464 {
13465 arg2 = (int)(SWIG_As_int(obj1));
13466 if (SWIG_arg_fail(2)) SWIG_fail;
13467 }
d14a1e28
RD
13468 {
13469 arg3 = &temp3;
13470 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13471 }
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13475
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 Py_INCREF(Py_None); resultobj = Py_None;
13480 return resultobj;
13481 fail:
13482 return NULL;
13483}
13484
13485
c32bde28 13486static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13487 PyObject *obj;
13488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13489 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13490 Py_INCREF(obj);
13491 return Py_BuildValue((char *)"");
13492}
c32bde28 13493static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13494 PyObject *resultobj;
13495 wxWindow *arg1 = (wxWindow *) 0 ;
13496 wxColourData *arg2 = (wxColourData *) NULL ;
13497 wxColourDialog *result;
13498 PyObject * obj0 = 0 ;
13499 PyObject * obj1 = 0 ;
13500 char *kwnames[] = {
13501 (char *) "parent",(char *) "data", NULL
13502 };
13503
13504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13506 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 13507 if (obj1) {
093d3ff1
RD
13508 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13509 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
13510 }
13511 {
e3b71cb8 13512 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13515
13516 wxPyEndAllowThreads(__tstate);
110da5b0 13517 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13518 }
15afbcd0 13519 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
d14a1e28
RD
13520 return resultobj;
13521 fail:
13522 return NULL;
13523}
13524
13525
c32bde28 13526static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13527 PyObject *resultobj;
13528 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13529 wxColourData *result;
13530 PyObject * obj0 = 0 ;
13531 char *kwnames[] = {
13532 (char *) "self", NULL
13533 };
13534
13535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
093d3ff1
RD
13536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13537 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13538 {
13539 PyThreadState* __tstate = wxPyBeginAllowThreads();
13540 {
13541 wxColourData &_result_ref = (arg1)->GetColourData();
13542 result = (wxColourData *) &_result_ref;
13543 }
13544
13545 wxPyEndAllowThreads(__tstate);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 }
15afbcd0 13548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
d14a1e28
RD
13549 return resultobj;
13550 fail:
13551 return NULL;
13552}
13553
13554
c32bde28 13555static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13556 PyObject *obj;
13557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13558 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13559 Py_INCREF(obj);
13560 return Py_BuildValue((char *)"");
13561}
c32bde28 13562static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13563 PyObject *resultobj;
13564 wxWindow *arg1 = (wxWindow *) 0 ;
13565 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13566 wxString *arg2 = (wxString *) &arg2_defvalue ;
13567 wxString const &arg3_defvalue = wxPyEmptyString ;
13568 wxString *arg3 = (wxString *) &arg3_defvalue ;
13569 long arg4 = (long) 0 ;
13570 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13571 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13572 wxSize const &arg6_defvalue = wxDefaultSize ;
13573 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13574 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13575 wxString *arg7 = (wxString *) &arg7_defvalue ;
13576 wxDirDialog *result;
ae8162c8
RD
13577 bool temp2 = false ;
13578 bool temp3 = false ;
d14a1e28
RD
13579 wxPoint temp5 ;
13580 wxSize temp6 ;
ae8162c8 13581 bool temp7 = false ;
d14a1e28
RD
13582 PyObject * obj0 = 0 ;
13583 PyObject * obj1 = 0 ;
13584 PyObject * obj2 = 0 ;
994141e6 13585 PyObject * obj3 = 0 ;
d14a1e28
RD
13586 PyObject * obj4 = 0 ;
13587 PyObject * obj5 = 0 ;
13588 PyObject * obj6 = 0 ;
13589 char *kwnames[] = {
13590 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13591 };
13592
994141e6 13593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13595 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13596 if (obj1) {
13597 {
13598 arg2 = wxString_in_helper(obj1);
13599 if (arg2 == NULL) SWIG_fail;
ae8162c8 13600 temp2 = true;
d14a1e28
RD
13601 }
13602 }
13603 if (obj2) {
13604 {
13605 arg3 = wxString_in_helper(obj2);
13606 if (arg3 == NULL) SWIG_fail;
ae8162c8 13607 temp3 = true;
d14a1e28
RD
13608 }
13609 }
994141e6 13610 if (obj3) {
093d3ff1
RD
13611 {
13612 arg4 = (long)(SWIG_As_long(obj3));
13613 if (SWIG_arg_fail(4)) SWIG_fail;
13614 }
994141e6 13615 }
d14a1e28
RD
13616 if (obj4) {
13617 {
13618 arg5 = &temp5;
13619 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13620 }
13621 }
13622 if (obj5) {
13623 {
13624 arg6 = &temp6;
13625 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13626 }
13627 }
13628 if (obj6) {
13629 {
13630 arg7 = wxString_in_helper(obj6);
13631 if (arg7 == NULL) SWIG_fail;
ae8162c8 13632 temp7 = true;
d14a1e28
RD
13633 }
13634 }
13635 {
e3b71cb8 13636 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13639
13640 wxPyEndAllowThreads(__tstate);
110da5b0 13641 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13642 }
15afbcd0 13643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
d14a1e28
RD
13644 {
13645 if (temp2)
13646 delete arg2;
13647 }
13648 {
13649 if (temp3)
13650 delete arg3;
13651 }
13652 {
13653 if (temp7)
13654 delete arg7;
13655 }
13656 return resultobj;
13657 fail:
13658 {
13659 if (temp2)
13660 delete arg2;
13661 }
13662 {
13663 if (temp3)
13664 delete arg3;
13665 }
13666 {
13667 if (temp7)
13668 delete arg7;
13669 }
13670 return NULL;
13671}
13672
13673
c32bde28 13674static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13675 PyObject *resultobj;
13676 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13677 wxString result;
13678 PyObject * obj0 = 0 ;
13679 char *kwnames[] = {
13680 (char *) "self", NULL
13681 };
13682
13683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
13684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13685 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13686 {
13687 PyThreadState* __tstate = wxPyBeginAllowThreads();
13688 result = (arg1)->GetPath();
13689
13690 wxPyEndAllowThreads(__tstate);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 }
13693 {
13694#if wxUSE_UNICODE
13695 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13696#else
13697 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13698#endif
13699 }
13700 return resultobj;
13701 fail:
13702 return NULL;
13703}
13704
13705
c32bde28 13706static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13707 PyObject *resultobj;
13708 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13709 wxString result;
13710 PyObject * obj0 = 0 ;
13711 char *kwnames[] = {
13712 (char *) "self", NULL
13713 };
13714
13715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
13716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13717 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13718 {
13719 PyThreadState* __tstate = wxPyBeginAllowThreads();
13720 result = (arg1)->GetMessage();
13721
13722 wxPyEndAllowThreads(__tstate);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 }
13725 {
13726#if wxUSE_UNICODE
13727 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13728#else
13729 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13730#endif
13731 }
13732 return resultobj;
13733 fail:
13734 return NULL;
13735}
13736
13737
c32bde28 13738static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13739 PyObject *resultobj;
13740 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13741 long result;
13742 PyObject * obj0 = 0 ;
13743 char *kwnames[] = {
13744 (char *) "self", NULL
13745 };
13746
13747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
13748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13749 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13750 {
13751 PyThreadState* __tstate = wxPyBeginAllowThreads();
13752 result = (long)(arg1)->GetStyle();
13753
13754 wxPyEndAllowThreads(__tstate);
13755 if (PyErr_Occurred()) SWIG_fail;
13756 }
093d3ff1
RD
13757 {
13758 resultobj = SWIG_From_long((long)(result));
13759 }
d14a1e28
RD
13760 return resultobj;
13761 fail:
13762 return NULL;
13763}
13764
13765
c32bde28 13766static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13767 PyObject *resultobj;
13768 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13769 wxString *arg2 = 0 ;
ae8162c8 13770 bool temp2 = false ;
d14a1e28
RD
13771 PyObject * obj0 = 0 ;
13772 PyObject * obj1 = 0 ;
13773 char *kwnames[] = {
13774 (char *) "self",(char *) "message", NULL
13775 };
13776
13777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13779 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13780 {
13781 arg2 = wxString_in_helper(obj1);
13782 if (arg2 == NULL) SWIG_fail;
ae8162c8 13783 temp2 = true;
d14a1e28
RD
13784 }
13785 {
13786 PyThreadState* __tstate = wxPyBeginAllowThreads();
13787 (arg1)->SetMessage((wxString const &)*arg2);
13788
13789 wxPyEndAllowThreads(__tstate);
13790 if (PyErr_Occurred()) SWIG_fail;
13791 }
13792 Py_INCREF(Py_None); resultobj = Py_None;
13793 {
13794 if (temp2)
13795 delete arg2;
13796 }
13797 return resultobj;
13798 fail:
13799 {
13800 if (temp2)
13801 delete arg2;
13802 }
13803 return NULL;
13804}
13805
13806
c32bde28 13807static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13808 PyObject *resultobj;
13809 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13810 wxString *arg2 = 0 ;
ae8162c8 13811 bool temp2 = false ;
d14a1e28
RD
13812 PyObject * obj0 = 0 ;
13813 PyObject * obj1 = 0 ;
13814 char *kwnames[] = {
13815 (char *) "self",(char *) "path", NULL
13816 };
13817
13818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13820 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13821 {
13822 arg2 = wxString_in_helper(obj1);
13823 if (arg2 == NULL) SWIG_fail;
ae8162c8 13824 temp2 = true;
d14a1e28
RD
13825 }
13826 {
13827 PyThreadState* __tstate = wxPyBeginAllowThreads();
13828 (arg1)->SetPath((wxString const &)*arg2);
13829
13830 wxPyEndAllowThreads(__tstate);
13831 if (PyErr_Occurred()) SWIG_fail;
13832 }
13833 Py_INCREF(Py_None); resultobj = Py_None;
13834 {
13835 if (temp2)
13836 delete arg2;
13837 }
13838 return resultobj;
13839 fail:
13840 {
13841 if (temp2)
13842 delete arg2;
13843 }
13844 return NULL;
13845}
13846
13847
c32bde28 13848static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13849 PyObject *obj;
13850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13851 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13852 Py_INCREF(obj);
13853 return Py_BuildValue((char *)"");
13854}
c32bde28 13855static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13856 PyObject *resultobj;
13857 wxWindow *arg1 = (wxWindow *) 0 ;
13858 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
13859 wxString *arg2 = (wxString *) &arg2_defvalue ;
13860 wxString const &arg3_defvalue = wxPyEmptyString ;
13861 wxString *arg3 = (wxString *) &arg3_defvalue ;
13862 wxString const &arg4_defvalue = wxPyEmptyString ;
13863 wxString *arg4 = (wxString *) &arg4_defvalue ;
13864 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
13865 wxString *arg5 = (wxString *) &arg5_defvalue ;
13866 long arg6 = (long) 0 ;
13867 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13868 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13869 wxFileDialog *result;
ae8162c8
RD
13870 bool temp2 = false ;
13871 bool temp3 = false ;
13872 bool temp4 = false ;
13873 bool temp5 = false ;
d14a1e28
RD
13874 wxPoint temp7 ;
13875 PyObject * obj0 = 0 ;
13876 PyObject * obj1 = 0 ;
13877 PyObject * obj2 = 0 ;
13878 PyObject * obj3 = 0 ;
13879 PyObject * obj4 = 0 ;
994141e6 13880 PyObject * obj5 = 0 ;
d14a1e28
RD
13881 PyObject * obj6 = 0 ;
13882 char *kwnames[] = {
13883 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13884 };
13885
994141e6 13886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
13887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13888 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13889 if (obj1) {
13890 {
13891 arg2 = wxString_in_helper(obj1);
13892 if (arg2 == NULL) SWIG_fail;
ae8162c8 13893 temp2 = true;
d14a1e28
RD
13894 }
13895 }
13896 if (obj2) {
13897 {
13898 arg3 = wxString_in_helper(obj2);
13899 if (arg3 == NULL) SWIG_fail;
ae8162c8 13900 temp3 = true;
d14a1e28
RD
13901 }
13902 }
13903 if (obj3) {
13904 {
13905 arg4 = wxString_in_helper(obj3);
13906 if (arg4 == NULL) SWIG_fail;
ae8162c8 13907 temp4 = true;
d14a1e28
RD
13908 }
13909 }
13910 if (obj4) {
13911 {
13912 arg5 = wxString_in_helper(obj4);
13913 if (arg5 == NULL) SWIG_fail;
ae8162c8 13914 temp5 = true;
d14a1e28
RD
13915 }
13916 }
994141e6 13917 if (obj5) {
093d3ff1
RD
13918 {
13919 arg6 = (long)(SWIG_As_long(obj5));
13920 if (SWIG_arg_fail(6)) SWIG_fail;
13921 }
994141e6 13922 }
d14a1e28
RD
13923 if (obj6) {
13924 {
13925 arg7 = &temp7;
13926 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13927 }
13928 }
13929 {
e3b71cb8 13930 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
13933
13934 wxPyEndAllowThreads(__tstate);
110da5b0 13935 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 13936 }
15afbcd0 13937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
d14a1e28
RD
13938 {
13939 if (temp2)
13940 delete arg2;
13941 }
13942 {
13943 if (temp3)
13944 delete arg3;
13945 }
13946 {
13947 if (temp4)
13948 delete arg4;
13949 }
13950 {
13951 if (temp5)
13952 delete arg5;
13953 }
13954 return resultobj;
13955 fail:
13956 {
13957 if (temp2)
13958 delete arg2;
13959 }
13960 {
13961 if (temp3)
13962 delete arg3;
13963 }
13964 {
13965 if (temp4)
13966 delete arg4;
13967 }
13968 {
13969 if (temp5)
13970 delete arg5;
13971 }
13972 return NULL;
13973}
13974
13975
c32bde28 13976static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13977 PyObject *resultobj;
13978 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13979 wxString *arg2 = 0 ;
ae8162c8 13980 bool temp2 = false ;
d14a1e28
RD
13981 PyObject * obj0 = 0 ;
13982 PyObject * obj1 = 0 ;
13983 char *kwnames[] = {
13984 (char *) "self",(char *) "message", NULL
13985 };
13986
13987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
13988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13989 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
13990 {
13991 arg2 = wxString_in_helper(obj1);
13992 if (arg2 == NULL) SWIG_fail;
ae8162c8 13993 temp2 = true;
d14a1e28
RD
13994 }
13995 {
13996 PyThreadState* __tstate = wxPyBeginAllowThreads();
13997 (arg1)->SetMessage((wxString const &)*arg2);
13998
13999 wxPyEndAllowThreads(__tstate);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 }
14002 Py_INCREF(Py_None); resultobj = Py_None;
14003 {
14004 if (temp2)
14005 delete arg2;
14006 }
14007 return resultobj;
14008 fail:
14009 {
14010 if (temp2)
14011 delete arg2;
14012 }
14013 return NULL;
14014}
14015
14016
c32bde28 14017static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14018 PyObject *resultobj;
14019 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14020 wxString *arg2 = 0 ;
ae8162c8 14021 bool temp2 = false ;
d14a1e28
RD
14022 PyObject * obj0 = 0 ;
14023 PyObject * obj1 = 0 ;
14024 char *kwnames[] = {
14025 (char *) "self",(char *) "path", NULL
14026 };
14027
14028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14030 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14031 {
14032 arg2 = wxString_in_helper(obj1);
14033 if (arg2 == NULL) SWIG_fail;
ae8162c8 14034 temp2 = true;
d14a1e28
RD
14035 }
14036 {
14037 PyThreadState* __tstate = wxPyBeginAllowThreads();
14038 (arg1)->SetPath((wxString const &)*arg2);
14039
14040 wxPyEndAllowThreads(__tstate);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
14043 Py_INCREF(Py_None); resultobj = Py_None;
14044 {
14045 if (temp2)
14046 delete arg2;
14047 }
14048 return resultobj;
14049 fail:
14050 {
14051 if (temp2)
14052 delete arg2;
14053 }
14054 return NULL;
14055}
14056
14057
c32bde28 14058static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14059 PyObject *resultobj;
14060 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14061 wxString *arg2 = 0 ;
ae8162c8 14062 bool temp2 = false ;
d14a1e28
RD
14063 PyObject * obj0 = 0 ;
14064 PyObject * obj1 = 0 ;
14065 char *kwnames[] = {
14066 (char *) "self",(char *) "dir", NULL
14067 };
14068
14069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14071 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14072 {
14073 arg2 = wxString_in_helper(obj1);
14074 if (arg2 == NULL) SWIG_fail;
ae8162c8 14075 temp2 = true;
d14a1e28
RD
14076 }
14077 {
14078 PyThreadState* __tstate = wxPyBeginAllowThreads();
14079 (arg1)->SetDirectory((wxString const &)*arg2);
14080
14081 wxPyEndAllowThreads(__tstate);
14082 if (PyErr_Occurred()) SWIG_fail;
14083 }
14084 Py_INCREF(Py_None); resultobj = Py_None;
14085 {
14086 if (temp2)
14087 delete arg2;
14088 }
14089 return resultobj;
14090 fail:
14091 {
14092 if (temp2)
14093 delete arg2;
14094 }
14095 return NULL;
14096}
14097
14098
c32bde28 14099static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14100 PyObject *resultobj;
14101 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14102 wxString *arg2 = 0 ;
ae8162c8 14103 bool temp2 = false ;
d14a1e28
RD
14104 PyObject * obj0 = 0 ;
14105 PyObject * obj1 = 0 ;
14106 char *kwnames[] = {
14107 (char *) "self",(char *) "name", NULL
14108 };
14109
14110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14112 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14113 {
14114 arg2 = wxString_in_helper(obj1);
14115 if (arg2 == NULL) SWIG_fail;
ae8162c8 14116 temp2 = true;
d14a1e28
RD
14117 }
14118 {
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 (arg1)->SetFilename((wxString const &)*arg2);
14121
14122 wxPyEndAllowThreads(__tstate);
14123 if (PyErr_Occurred()) SWIG_fail;
14124 }
14125 Py_INCREF(Py_None); resultobj = Py_None;
14126 {
14127 if (temp2)
14128 delete arg2;
14129 }
14130 return resultobj;
14131 fail:
14132 {
14133 if (temp2)
14134 delete arg2;
14135 }
14136 return NULL;
14137}
14138
14139
c32bde28 14140static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14141 PyObject *resultobj;
14142 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14143 wxString *arg2 = 0 ;
ae8162c8 14144 bool temp2 = false ;
d14a1e28
RD
14145 PyObject * obj0 = 0 ;
14146 PyObject * obj1 = 0 ;
14147 char *kwnames[] = {
14148 (char *) "self",(char *) "wildCard", NULL
14149 };
14150
14151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14153 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14154 {
14155 arg2 = wxString_in_helper(obj1);
14156 if (arg2 == NULL) SWIG_fail;
ae8162c8 14157 temp2 = true;
d14a1e28
RD
14158 }
14159 {
14160 PyThreadState* __tstate = wxPyBeginAllowThreads();
14161 (arg1)->SetWildcard((wxString const &)*arg2);
14162
14163 wxPyEndAllowThreads(__tstate);
14164 if (PyErr_Occurred()) SWIG_fail;
14165 }
14166 Py_INCREF(Py_None); resultobj = Py_None;
14167 {
14168 if (temp2)
14169 delete arg2;
14170 }
14171 return resultobj;
14172 fail:
14173 {
14174 if (temp2)
14175 delete arg2;
14176 }
14177 return NULL;
14178}
14179
14180
c32bde28 14181static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14182 PyObject *resultobj;
14183 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14184 long arg2 ;
14185 PyObject * obj0 = 0 ;
994141e6 14186 PyObject * obj1 = 0 ;
d14a1e28
RD
14187 char *kwnames[] = {
14188 (char *) "self",(char *) "style", NULL
14189 };
14190
994141e6 14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14193 if (SWIG_arg_fail(1)) SWIG_fail;
14194 {
14195 arg2 = (long)(SWIG_As_long(obj1));
14196 if (SWIG_arg_fail(2)) SWIG_fail;
14197 }
d14a1e28
RD
14198 {
14199 PyThreadState* __tstate = wxPyBeginAllowThreads();
14200 (arg1)->SetStyle(arg2);
14201
14202 wxPyEndAllowThreads(__tstate);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
14205 Py_INCREF(Py_None); resultobj = Py_None;
14206 return resultobj;
14207 fail:
14208 return NULL;
14209}
14210
14211
c32bde28 14212static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14213 PyObject *resultobj;
14214 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14215 int arg2 ;
14216 PyObject * obj0 = 0 ;
994141e6 14217 PyObject * obj1 = 0 ;
d14a1e28
RD
14218 char *kwnames[] = {
14219 (char *) "self",(char *) "filterIndex", NULL
14220 };
14221
994141e6 14222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14224 if (SWIG_arg_fail(1)) SWIG_fail;
14225 {
14226 arg2 = (int)(SWIG_As_int(obj1));
14227 if (SWIG_arg_fail(2)) SWIG_fail;
14228 }
d14a1e28
RD
14229 {
14230 PyThreadState* __tstate = wxPyBeginAllowThreads();
14231 (arg1)->SetFilterIndex(arg2);
14232
14233 wxPyEndAllowThreads(__tstate);
14234 if (PyErr_Occurred()) SWIG_fail;
14235 }
14236 Py_INCREF(Py_None); resultobj = Py_None;
14237 return resultobj;
14238 fail:
14239 return NULL;
14240}
14241
14242
c32bde28 14243static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14244 PyObject *resultobj;
14245 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14246 wxString result;
14247 PyObject * obj0 = 0 ;
14248 char *kwnames[] = {
14249 (char *) "self", NULL
14250 };
14251
14252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
093d3ff1
RD
14253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14254 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14255 {
14256 PyThreadState* __tstate = wxPyBeginAllowThreads();
14257 result = ((wxFileDialog const *)arg1)->GetMessage();
14258
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 {
14263#if wxUSE_UNICODE
14264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14265#else
14266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14267#endif
14268 }
14269 return resultobj;
14270 fail:
14271 return NULL;
14272}
14273
14274
c32bde28 14275static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14276 PyObject *resultobj;
14277 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14278 wxString result;
14279 PyObject * obj0 = 0 ;
14280 char *kwnames[] = {
14281 (char *) "self", NULL
14282 };
14283
14284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
14285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14286 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14287 {
14288 PyThreadState* __tstate = wxPyBeginAllowThreads();
14289 result = ((wxFileDialog const *)arg1)->GetPath();
14290
14291 wxPyEndAllowThreads(__tstate);
14292 if (PyErr_Occurred()) SWIG_fail;
14293 }
14294 {
14295#if wxUSE_UNICODE
14296 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14297#else
14298 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14299#endif
14300 }
14301 return resultobj;
14302 fail:
14303 return NULL;
14304}
14305
14306
c32bde28 14307static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14308 PyObject *resultobj;
14309 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14310 wxString result;
14311 PyObject * obj0 = 0 ;
14312 char *kwnames[] = {
14313 (char *) "self", NULL
14314 };
14315
14316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
093d3ff1
RD
14317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14318 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14319 {
14320 PyThreadState* __tstate = wxPyBeginAllowThreads();
14321 result = ((wxFileDialog const *)arg1)->GetDirectory();
14322
14323 wxPyEndAllowThreads(__tstate);
14324 if (PyErr_Occurred()) SWIG_fail;
14325 }
14326 {
14327#if wxUSE_UNICODE
14328 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14329#else
14330 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14331#endif
14332 }
14333 return resultobj;
14334 fail:
14335 return NULL;
14336}
14337
14338
c32bde28 14339static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14340 PyObject *resultobj;
14341 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14342 wxString result;
14343 PyObject * obj0 = 0 ;
14344 char *kwnames[] = {
14345 (char *) "self", NULL
14346 };
14347
14348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
14349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14350 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14351 {
14352 PyThreadState* __tstate = wxPyBeginAllowThreads();
14353 result = ((wxFileDialog const *)arg1)->GetFilename();
14354
14355 wxPyEndAllowThreads(__tstate);
14356 if (PyErr_Occurred()) SWIG_fail;
14357 }
14358 {
14359#if wxUSE_UNICODE
14360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14361#else
14362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14363#endif
14364 }
14365 return resultobj;
14366 fail:
14367 return NULL;
14368}
14369
14370
c32bde28 14371static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14372 PyObject *resultobj;
14373 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14374 wxString result;
14375 PyObject * obj0 = 0 ;
14376 char *kwnames[] = {
14377 (char *) "self", NULL
14378 };
14379
14380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
093d3ff1
RD
14381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14382 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14383 {
14384 PyThreadState* __tstate = wxPyBeginAllowThreads();
14385 result = ((wxFileDialog const *)arg1)->GetWildcard();
14386
14387 wxPyEndAllowThreads(__tstate);
14388 if (PyErr_Occurred()) SWIG_fail;
14389 }
14390 {
14391#if wxUSE_UNICODE
14392 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14393#else
14394 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14395#endif
14396 }
14397 return resultobj;
14398 fail:
14399 return NULL;
14400}
14401
14402
c32bde28 14403static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14404 PyObject *resultobj;
14405 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14406 long result;
14407 PyObject * obj0 = 0 ;
14408 char *kwnames[] = {
14409 (char *) "self", NULL
14410 };
14411
14412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
14413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14414 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14418
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
093d3ff1
RD
14422 {
14423 resultobj = SWIG_From_long((long)(result));
14424 }
d14a1e28
RD
14425 return resultobj;
14426 fail:
14427 return NULL;
14428}
14429
14430
c32bde28 14431static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14432 PyObject *resultobj;
14433 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14434 int result;
14435 PyObject * obj0 = 0 ;
14436 char *kwnames[] = {
14437 (char *) "self", NULL
14438 };
14439
14440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
14441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14442 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14443 {
14444 PyThreadState* __tstate = wxPyBeginAllowThreads();
14445 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14446
14447 wxPyEndAllowThreads(__tstate);
14448 if (PyErr_Occurred()) SWIG_fail;
14449 }
093d3ff1
RD
14450 {
14451 resultobj = SWIG_From_int((int)(result));
14452 }
d14a1e28
RD
14453 return resultobj;
14454 fail:
14455 return NULL;
14456}
14457
14458
c32bde28 14459static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14460 PyObject *resultobj;
14461 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14462 PyObject *result;
14463 PyObject * obj0 = 0 ;
14464 char *kwnames[] = {
14465 (char *) "self", NULL
14466 };
14467
14468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
14469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14470 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14471 {
14472 PyThreadState* __tstate = wxPyBeginAllowThreads();
14473 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14474
14475 wxPyEndAllowThreads(__tstate);
14476 if (PyErr_Occurred()) SWIG_fail;
14477 }
14478 resultobj = result;
14479 return resultobj;
14480 fail:
14481 return NULL;
14482}
14483
14484
c32bde28 14485static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14486 PyObject *resultobj;
14487 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14488 PyObject *result;
14489 PyObject * obj0 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
093d3ff1
RD
14495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14496 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14497 {
14498 PyThreadState* __tstate = wxPyBeginAllowThreads();
14499 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14500
14501 wxPyEndAllowThreads(__tstate);
14502 if (PyErr_Occurred()) SWIG_fail;
14503 }
14504 resultobj = result;
14505 return resultobj;
14506 fail:
14507 return NULL;
14508}
14509
14510
c32bde28 14511static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14512 PyObject *obj;
14513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14514 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14515 Py_INCREF(obj);
14516 return Py_BuildValue((char *)"");
14517}
c32bde28 14518static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14519 PyObject *resultobj;
14520 wxWindow *arg1 = (wxWindow *) 0 ;
14521 wxString *arg2 = 0 ;
14522 wxString *arg3 = 0 ;
4d5c3d91 14523 int arg4 = (int) 0 ;
248ed943 14524 wxString *arg5 = (wxString *) NULL ;
d14a1e28
RD
14525 long arg6 = (long) wxCHOICEDLG_STYLE ;
14526 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14527 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14528 wxMultiChoiceDialog *result;
ae8162c8
RD
14529 bool temp2 = false ;
14530 bool temp3 = false ;
093d3ff1 14531 wxPoint temp7 ;
d14a1e28
RD
14532 PyObject * obj0 = 0 ;
14533 PyObject * obj1 = 0 ;
14534 PyObject * obj2 = 0 ;
994141e6 14535 PyObject * obj3 = 0 ;
d14a1e28 14536 PyObject * obj4 = 0 ;
994141e6 14537 PyObject * obj5 = 0 ;
d14a1e28 14538 char *kwnames[] = {
4d5c3d91 14539 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
d14a1e28
RD
14540 };
14541
4d5c3d91 14542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14544 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14545 {
14546 arg2 = wxString_in_helper(obj1);
14547 if (arg2 == NULL) SWIG_fail;
ae8162c8 14548 temp2 = true;
d14a1e28
RD
14549 }
14550 {
14551 arg3 = wxString_in_helper(obj2);
14552 if (arg3 == NULL) SWIG_fail;
ae8162c8 14553 temp3 = true;
d14a1e28 14554 }
4d5c3d91
RD
14555 if (obj3) {
14556 {
14557 arg4 = PyList_Size(obj3);
14558 arg5 = wxString_LIST_helper(obj3);
14559 if (arg5 == NULL) SWIG_fail;
14560 }
7eae615b 14561 }
4d5c3d91 14562 if (obj4) {
093d3ff1
RD
14563 {
14564 arg6 = (long)(SWIG_As_long(obj4));
14565 if (SWIG_arg_fail(6)) SWIG_fail;
14566 }
994141e6 14567 }
4d5c3d91 14568 if (obj5) {
d14a1e28 14569 {
093d3ff1 14570 arg7 = &temp7;
4d5c3d91 14571 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d14a1e28
RD
14572 }
14573 }
14574 {
e3b71cb8 14575 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14578
14579 wxPyEndAllowThreads(__tstate);
110da5b0 14580 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14581 }
15afbcd0 14582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
d14a1e28
RD
14583 {
14584 if (temp2)
14585 delete arg2;
14586 }
14587 {
14588 if (temp3)
14589 delete arg3;
14590 }
7eae615b 14591 {
4d5c3d91 14592 if (arg5) delete [] arg5;
7eae615b 14593 }
d14a1e28
RD
14594 return resultobj;
14595 fail:
14596 {
14597 if (temp2)
14598 delete arg2;
14599 }
14600 {
14601 if (temp3)
14602 delete arg3;
14603 }
7eae615b 14604 {
4d5c3d91 14605 if (arg5) delete [] arg5;
7eae615b 14606 }
d14a1e28
RD
14607 return NULL;
14608}
14609
14610
c32bde28 14611static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14612 PyObject *resultobj;
14613 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14614 wxArrayInt *arg2 = 0 ;
ae8162c8 14615 bool temp2 = false ;
d14a1e28
RD
14616 PyObject * obj0 = 0 ;
14617 PyObject * obj1 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self",(char *) "selections", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14624 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14625 {
14626 if (! PySequence_Check(obj1)) {
14627 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14628 SWIG_fail;
14629 }
14630 arg2 = new wxArrayInt;
ae8162c8 14631 temp2 = true;
d14a1e28
RD
14632 int i, len=PySequence_Length(obj1);
14633 for (i=0; i<len; i++) {
14634 PyObject* item = PySequence_GetItem(obj1, i);
14635 PyObject* number = PyNumber_Int(item);
14636 arg2->Add(PyInt_AS_LONG(number));
14637 Py_DECREF(item);
14638 Py_DECREF(number);
14639 }
14640 }
14641 {
14642 PyThreadState* __tstate = wxPyBeginAllowThreads();
14643 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14644
14645 wxPyEndAllowThreads(__tstate);
14646 if (PyErr_Occurred()) SWIG_fail;
14647 }
14648 Py_INCREF(Py_None); resultobj = Py_None;
14649 {
3adfb63b 14650 if (temp2) delete arg2;
d14a1e28
RD
14651 }
14652 return resultobj;
14653 fail:
14654 {
3adfb63b 14655 if (temp2) delete arg2;
d14a1e28
RD
14656 }
14657 return NULL;
14658}
14659
14660
c32bde28 14661static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14662 PyObject *resultobj;
14663 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14664 PyObject *result;
14665 PyObject * obj0 = 0 ;
14666 char *kwnames[] = {
14667 (char *) "self", NULL
14668 };
14669
14670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
14671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14672 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14673 {
14674 PyThreadState* __tstate = wxPyBeginAllowThreads();
14675 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14676
14677 wxPyEndAllowThreads(__tstate);
14678 if (PyErr_Occurred()) SWIG_fail;
14679 }
14680 resultobj = result;
14681 return resultobj;
14682 fail:
14683 return NULL;
14684}
14685
14686
c32bde28 14687static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14688 PyObject *obj;
14689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14690 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14691 Py_INCREF(obj);
14692 return Py_BuildValue((char *)"");
14693}
c32bde28 14694static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14695 PyObject *resultobj;
14696 wxWindow *arg1 = (wxWindow *) 0 ;
14697 wxString *arg2 = 0 ;
14698 wxString *arg3 = 0 ;
14699 int arg4 ;
14700 wxString *arg5 = (wxString *) 0 ;
14701 long arg6 = (long) wxCHOICEDLG_STYLE ;
14702 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14703 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14704 wxSingleChoiceDialog *result;
ae8162c8
RD
14705 bool temp2 = false ;
14706 bool temp3 = false ;
093d3ff1 14707 wxPoint temp7 ;
d14a1e28
RD
14708 PyObject * obj0 = 0 ;
14709 PyObject * obj1 = 0 ;
14710 PyObject * obj2 = 0 ;
14711 PyObject * obj3 = 0 ;
994141e6 14712 PyObject * obj4 = 0 ;
d14a1e28
RD
14713 PyObject * obj5 = 0 ;
14714 char *kwnames[] = {
14715 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14716 };
14717
994141e6 14718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14720 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14721 {
14722 arg2 = wxString_in_helper(obj1);
14723 if (arg2 == NULL) SWIG_fail;
ae8162c8 14724 temp2 = true;
d14a1e28
RD
14725 }
14726 {
14727 arg3 = wxString_in_helper(obj2);
14728 if (arg3 == NULL) SWIG_fail;
ae8162c8 14729 temp3 = true;
d14a1e28
RD
14730 }
14731 {
14732 arg4 = PyList_Size(obj3);
14733 arg5 = wxString_LIST_helper(obj3);
14734 if (arg5 == NULL) SWIG_fail;
14735 }
994141e6 14736 if (obj4) {
093d3ff1
RD
14737 {
14738 arg6 = (long)(SWIG_As_long(obj4));
14739 if (SWIG_arg_fail(6)) SWIG_fail;
14740 }
994141e6 14741 }
d14a1e28
RD
14742 if (obj5) {
14743 {
093d3ff1 14744 arg7 = &temp7;
d14a1e28
RD
14745 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14746 }
14747 }
14748 {
e3b71cb8 14749 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14750 PyThreadState* __tstate = wxPyBeginAllowThreads();
14751 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14752
14753 wxPyEndAllowThreads(__tstate);
110da5b0 14754 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14755 }
15afbcd0 14756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
d14a1e28
RD
14757 {
14758 if (temp2)
14759 delete arg2;
14760 }
14761 {
14762 if (temp3)
14763 delete arg3;
14764 }
14765 {
14766 if (arg5) delete [] arg5;
14767 }
14768 return resultobj;
14769 fail:
14770 {
14771 if (temp2)
14772 delete arg2;
14773 }
14774 {
14775 if (temp3)
14776 delete arg3;
14777 }
14778 {
14779 if (arg5) delete [] arg5;
14780 }
14781 return NULL;
14782}
14783
14784
c32bde28 14785static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14786 PyObject *resultobj;
14787 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14788 int result;
14789 PyObject * obj0 = 0 ;
14790 char *kwnames[] = {
14791 (char *) "self", NULL
14792 };
14793
14794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14796 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14797 {
14798 PyThreadState* __tstate = wxPyBeginAllowThreads();
14799 result = (int)(arg1)->GetSelection();
14800
14801 wxPyEndAllowThreads(__tstate);
14802 if (PyErr_Occurred()) SWIG_fail;
14803 }
093d3ff1
RD
14804 {
14805 resultobj = SWIG_From_int((int)(result));
14806 }
d14a1e28
RD
14807 return resultobj;
14808 fail:
14809 return NULL;
14810}
14811
14812
c32bde28 14813static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14814 PyObject *resultobj;
14815 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14816 wxString result;
14817 PyObject * obj0 = 0 ;
14818 char *kwnames[] = {
14819 (char *) "self", NULL
14820 };
14821
14822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
14823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14824 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 result = (arg1)->GetStringSelection();
14828
14829 wxPyEndAllowThreads(__tstate);
14830 if (PyErr_Occurred()) SWIG_fail;
14831 }
14832 {
14833#if wxUSE_UNICODE
14834 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14835#else
14836 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14837#endif
14838 }
14839 return resultobj;
14840 fail:
14841 return NULL;
14842}
14843
14844
c32bde28 14845static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14846 PyObject *resultobj;
14847 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14848 int arg2 ;
14849 PyObject * obj0 = 0 ;
994141e6 14850 PyObject * obj1 = 0 ;
d14a1e28
RD
14851 char *kwnames[] = {
14852 (char *) "self",(char *) "sel", NULL
14853 };
14854
994141e6 14855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14857 if (SWIG_arg_fail(1)) SWIG_fail;
14858 {
14859 arg2 = (int)(SWIG_As_int(obj1));
14860 if (SWIG_arg_fail(2)) SWIG_fail;
14861 }
d14a1e28
RD
14862 {
14863 PyThreadState* __tstate = wxPyBeginAllowThreads();
14864 (arg1)->SetSelection(arg2);
14865
14866 wxPyEndAllowThreads(__tstate);
14867 if (PyErr_Occurred()) SWIG_fail;
14868 }
14869 Py_INCREF(Py_None); resultobj = Py_None;
14870 return resultobj;
14871 fail:
14872 return NULL;
14873}
14874
14875
c32bde28 14876static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14877 PyObject *obj;
14878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14879 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
14880 Py_INCREF(obj);
14881 return Py_BuildValue((char *)"");
14882}
c32bde28 14883static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14884 PyObject *resultobj;
14885 wxWindow *arg1 = (wxWindow *) 0 ;
14886 wxString *arg2 = 0 ;
14887 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
14888 wxString *arg3 = (wxString *) &arg3_defvalue ;
14889 wxString const &arg4_defvalue = wxPyEmptyString ;
14890 wxString *arg4 = (wxString *) &arg4_defvalue ;
d3b6e4ff 14891 long arg5 = (long) wxTextEntryDialogStyle ;
d14a1e28
RD
14892 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14893 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14894 wxTextEntryDialog *result;
ae8162c8
RD
14895 bool temp2 = false ;
14896 bool temp3 = false ;
14897 bool temp4 = false ;
d14a1e28
RD
14898 wxPoint temp6 ;
14899 PyObject * obj0 = 0 ;
14900 PyObject * obj1 = 0 ;
14901 PyObject * obj2 = 0 ;
14902 PyObject * obj3 = 0 ;
994141e6 14903 PyObject * obj4 = 0 ;
d14a1e28
RD
14904 PyObject * obj5 = 0 ;
14905 char *kwnames[] = {
14906 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14907 };
14908
994141e6 14909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
14910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14911 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14912 {
14913 arg2 = wxString_in_helper(obj1);
14914 if (arg2 == NULL) SWIG_fail;
ae8162c8 14915 temp2 = true;
d14a1e28
RD
14916 }
14917 if (obj2) {
14918 {
14919 arg3 = wxString_in_helper(obj2);
14920 if (arg3 == NULL) SWIG_fail;
ae8162c8 14921 temp3 = true;
d14a1e28
RD
14922 }
14923 }
14924 if (obj3) {
14925 {
14926 arg4 = wxString_in_helper(obj3);
14927 if (arg4 == NULL) SWIG_fail;
ae8162c8 14928 temp4 = true;
d14a1e28
RD
14929 }
14930 }
994141e6 14931 if (obj4) {
093d3ff1
RD
14932 {
14933 arg5 = (long)(SWIG_As_long(obj4));
14934 if (SWIG_arg_fail(5)) SWIG_fail;
14935 }
994141e6 14936 }
d14a1e28
RD
14937 if (obj5) {
14938 {
14939 arg6 = &temp6;
14940 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14941 }
14942 }
14943 {
e3b71cb8 14944 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
14945 PyThreadState* __tstate = wxPyBeginAllowThreads();
14946 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
14947
14948 wxPyEndAllowThreads(__tstate);
110da5b0 14949 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 14950 }
15afbcd0 14951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
d14a1e28
RD
14952 {
14953 if (temp2)
14954 delete arg2;
14955 }
14956 {
14957 if (temp3)
14958 delete arg3;
14959 }
14960 {
14961 if (temp4)
14962 delete arg4;
14963 }
14964 return resultobj;
14965 fail:
14966 {
14967 if (temp2)
14968 delete arg2;
14969 }
14970 {
14971 if (temp3)
14972 delete arg3;
14973 }
14974 {
14975 if (temp4)
14976 delete arg4;
14977 }
14978 return NULL;
14979}
14980
14981
c32bde28 14982static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14983 PyObject *resultobj;
14984 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
14985 wxString result;
14986 PyObject * obj0 = 0 ;
14987 char *kwnames[] = {
14988 (char *) "self", NULL
14989 };
14990
14991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
14992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
14993 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
14994 {
14995 PyThreadState* __tstate = wxPyBeginAllowThreads();
14996 result = (arg1)->GetValue();
14997
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
15001 {
15002#if wxUSE_UNICODE
15003 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15004#else
15005 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15006#endif
15007 }
15008 return resultobj;
15009 fail:
15010 return NULL;
15011}
15012
15013
c32bde28 15014static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15015 PyObject *resultobj;
15016 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
15017 wxString *arg2 = 0 ;
ae8162c8 15018 bool temp2 = false ;
d14a1e28
RD
15019 PyObject * obj0 = 0 ;
15020 PyObject * obj1 = 0 ;
15021 char *kwnames[] = {
15022 (char *) "self",(char *) "value", NULL
15023 };
15024
15025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
15027 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15028 {
15029 arg2 = wxString_in_helper(obj1);
15030 if (arg2 == NULL) SWIG_fail;
ae8162c8 15031 temp2 = true;
d14a1e28
RD
15032 }
15033 {
15034 PyThreadState* __tstate = wxPyBeginAllowThreads();
15035 (arg1)->SetValue((wxString const &)*arg2);
15036
15037 wxPyEndAllowThreads(__tstate);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 }
15040 Py_INCREF(Py_None); resultobj = Py_None;
15041 {
15042 if (temp2)
15043 delete arg2;
15044 }
15045 return resultobj;
15046 fail:
15047 {
15048 if (temp2)
15049 delete arg2;
15050 }
15051 return NULL;
15052}
15053
15054
c32bde28 15055static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15056 PyObject *obj;
15057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15058 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
15059 Py_INCREF(obj);
15060 return Py_BuildValue((char *)"");
15061}
d3b6e4ff
RD
15062static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
15063 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
15064 return 1;
15065}
15066
15067
093d3ff1 15068static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
d3b6e4ff
RD
15069 PyObject *pyobj;
15070
15071 {
15072#if wxUSE_UNICODE
15073 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15074#else
15075 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
15076#endif
15077 }
15078 return pyobj;
15079}
15080
15081
15082static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
15083 PyObject *resultobj;
15084 wxWindow *arg1 = (wxWindow *) 0 ;
15085 wxString *arg2 = 0 ;
15086 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
15087 wxString *arg3 = (wxString *) &arg3_defvalue ;
15088 wxString const &arg4_defvalue = wxPyEmptyString ;
15089 wxString *arg4 = (wxString *) &arg4_defvalue ;
15090 long arg5 = (long) wxTextEntryDialogStyle ;
15091 wxPoint const &arg6_defvalue = wxDefaultPosition ;
15092 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
15093 wxPasswordEntryDialog *result;
15094 bool temp2 = false ;
15095 bool temp3 = false ;
15096 bool temp4 = false ;
15097 wxPoint temp6 ;
15098 PyObject * obj0 = 0 ;
15099 PyObject * obj1 = 0 ;
15100 PyObject * obj2 = 0 ;
15101 PyObject * obj3 = 0 ;
15102 PyObject * obj4 = 0 ;
15103 PyObject * obj5 = 0 ;
15104 char *kwnames[] = {
15105 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15106 };
15107
15108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
15109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15110 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
15111 {
15112 arg2 = wxString_in_helper(obj1);
15113 if (arg2 == NULL) SWIG_fail;
15114 temp2 = true;
15115 }
15116 if (obj2) {
15117 {
15118 arg3 = wxString_in_helper(obj2);
15119 if (arg3 == NULL) SWIG_fail;
15120 temp3 = true;
15121 }
15122 }
15123 if (obj3) {
15124 {
15125 arg4 = wxString_in_helper(obj3);
15126 if (arg4 == NULL) SWIG_fail;
15127 temp4 = true;
15128 }
15129 }
15130 if (obj4) {
093d3ff1
RD
15131 {
15132 arg5 = (long)(SWIG_As_long(obj4));
15133 if (SWIG_arg_fail(5)) SWIG_fail;
15134 }
d3b6e4ff
RD
15135 }
15136 if (obj5) {
15137 {
15138 arg6 = &temp6;
15139 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15140 }
15141 }
15142 {
15143 PyThreadState* __tstate = wxPyBeginAllowThreads();
15144 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15145
15146 wxPyEndAllowThreads(__tstate);
15147 if (PyErr_Occurred()) SWIG_fail;
15148 }
15149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15150 {
15151 if (temp2)
15152 delete arg2;
15153 }
15154 {
15155 if (temp3)
15156 delete arg3;
15157 }
15158 {
15159 if (temp4)
15160 delete arg4;
15161 }
15162 return resultobj;
15163 fail:
15164 {
15165 if (temp2)
15166 delete arg2;
15167 }
15168 {
15169 if (temp3)
15170 delete arg3;
15171 }
15172 {
15173 if (temp4)
15174 delete arg4;
15175 }
15176 return NULL;
15177}
15178
15179
15180static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15181 PyObject *obj;
15182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15183 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15184 Py_INCREF(obj);
15185 return Py_BuildValue((char *)"");
15186}
c32bde28 15187static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15188 PyObject *resultobj;
15189 wxFontData *result;
15190 char *kwnames[] = {
15191 NULL
15192 };
15193
15194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15195 {
15196 PyThreadState* __tstate = wxPyBeginAllowThreads();
15197 result = (wxFontData *)new wxFontData();
15198
15199 wxPyEndAllowThreads(__tstate);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 }
15afbcd0 15202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
d14a1e28
RD
15203 return resultobj;
15204 fail:
15205 return NULL;
15206}
15207
15208
c32bde28 15209static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15210 PyObject *resultobj;
15211 wxFontData *arg1 = (wxFontData *) 0 ;
15212 PyObject * obj0 = 0 ;
15213 char *kwnames[] = {
15214 (char *) "self", NULL
15215 };
15216
15217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15219 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15220 {
15221 PyThreadState* __tstate = wxPyBeginAllowThreads();
15222 delete arg1;
15223
15224 wxPyEndAllowThreads(__tstate);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 Py_INCREF(Py_None); resultobj = Py_None;
15228 return resultobj;
15229 fail:
15230 return NULL;
15231}
15232
15233
c32bde28 15234static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15235 PyObject *resultobj;
15236 wxFontData *arg1 = (wxFontData *) 0 ;
15237 bool arg2 ;
15238 PyObject * obj0 = 0 ;
15239 PyObject * obj1 = 0 ;
15240 char *kwnames[] = {
15241 (char *) "self",(char *) "enable", NULL
15242 };
15243
15244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15246 if (SWIG_arg_fail(1)) SWIG_fail;
15247 {
15248 arg2 = (bool)(SWIG_As_bool(obj1));
15249 if (SWIG_arg_fail(2)) SWIG_fail;
15250 }
d14a1e28
RD
15251 {
15252 PyThreadState* __tstate = wxPyBeginAllowThreads();
15253 (arg1)->EnableEffects(arg2);
15254
15255 wxPyEndAllowThreads(__tstate);
15256 if (PyErr_Occurred()) SWIG_fail;
15257 }
15258 Py_INCREF(Py_None); resultobj = Py_None;
15259 return resultobj;
15260 fail:
15261 return NULL;
15262}
15263
15264
c32bde28 15265static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15266 PyObject *resultobj;
15267 wxFontData *arg1 = (wxFontData *) 0 ;
15268 bool result;
15269 PyObject * obj0 = 0 ;
15270 char *kwnames[] = {
15271 (char *) "self", NULL
15272 };
15273
15274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
093d3ff1
RD
15275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15276 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15277 {
15278 PyThreadState* __tstate = wxPyBeginAllowThreads();
15279 result = (bool)(arg1)->GetAllowSymbols();
15280
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
4f89f6a3
RD
15284 {
15285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15286 }
d14a1e28
RD
15287 return resultobj;
15288 fail:
15289 return NULL;
15290}
15291
15292
c32bde28 15293static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15294 PyObject *resultobj;
15295 wxFontData *arg1 = (wxFontData *) 0 ;
15296 wxColour result;
15297 PyObject * obj0 = 0 ;
15298 char *kwnames[] = {
15299 (char *) "self", NULL
15300 };
15301
15302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
15303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15304 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15305 {
15306 PyThreadState* __tstate = wxPyBeginAllowThreads();
15307 result = (arg1)->GetColour();
15308
15309 wxPyEndAllowThreads(__tstate);
15310 if (PyErr_Occurred()) SWIG_fail;
15311 }
15312 {
15313 wxColour * resultptr;
093d3ff1 15314 resultptr = new wxColour((wxColour &)(result));
15afbcd0 15315 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
15316 }
15317 return resultobj;
15318 fail:
15319 return NULL;
15320}
15321
15322
c32bde28 15323static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15324 PyObject *resultobj;
15325 wxFontData *arg1 = (wxFontData *) 0 ;
15326 wxFont result;
15327 PyObject * obj0 = 0 ;
15328 char *kwnames[] = {
15329 (char *) "self", NULL
15330 };
15331
15332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15334 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 result = (arg1)->GetChosenFont();
15338
15339 wxPyEndAllowThreads(__tstate);
15340 if (PyErr_Occurred()) SWIG_fail;
15341 }
15342 {
15343 wxFont * resultptr;
093d3ff1 15344 resultptr = new wxFont((wxFont &)(result));
15afbcd0 15345 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
15346 }
15347 return resultobj;
15348 fail:
15349 return NULL;
15350}
15351
15352
c32bde28 15353static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15354 PyObject *resultobj;
15355 wxFontData *arg1 = (wxFontData *) 0 ;
15356 bool result;
15357 PyObject * obj0 = 0 ;
15358 char *kwnames[] = {
15359 (char *) "self", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
093d3ff1
RD
15363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15364 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15365 {
15366 PyThreadState* __tstate = wxPyBeginAllowThreads();
15367 result = (bool)(arg1)->GetEnableEffects();
15368
15369 wxPyEndAllowThreads(__tstate);
15370 if (PyErr_Occurred()) SWIG_fail;
15371 }
4f89f6a3
RD
15372 {
15373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15374 }
d14a1e28
RD
15375 return resultobj;
15376 fail:
15377 return NULL;
15378}
15379
15380
c32bde28 15381static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15382 PyObject *resultobj;
15383 wxFontData *arg1 = (wxFontData *) 0 ;
15384 wxFont result;
15385 PyObject * obj0 = 0 ;
15386 char *kwnames[] = {
15387 (char *) "self", NULL
15388 };
15389
15390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
093d3ff1
RD
15391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15392 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15393 {
15394 PyThreadState* __tstate = wxPyBeginAllowThreads();
15395 result = (arg1)->GetInitialFont();
15396
15397 wxPyEndAllowThreads(__tstate);
15398 if (PyErr_Occurred()) SWIG_fail;
15399 }
15400 {
15401 wxFont * resultptr;
093d3ff1 15402 resultptr = new wxFont((wxFont &)(result));
15afbcd0 15403 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
15404 }
15405 return resultobj;
15406 fail:
15407 return NULL;
15408}
15409
15410
c32bde28 15411static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15412 PyObject *resultobj;
15413 wxFontData *arg1 = (wxFontData *) 0 ;
15414 bool result;
15415 PyObject * obj0 = 0 ;
15416 char *kwnames[] = {
15417 (char *) "self", NULL
15418 };
15419
15420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
15421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15422 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15423 {
15424 PyThreadState* __tstate = wxPyBeginAllowThreads();
15425 result = (bool)(arg1)->GetShowHelp();
15426
15427 wxPyEndAllowThreads(__tstate);
15428 if (PyErr_Occurred()) SWIG_fail;
15429 }
4f89f6a3
RD
15430 {
15431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15432 }
d14a1e28
RD
15433 return resultobj;
15434 fail:
15435 return NULL;
15436}
15437
15438
c32bde28 15439static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15440 PyObject *resultobj;
15441 wxFontData *arg1 = (wxFontData *) 0 ;
15442 bool arg2 ;
15443 PyObject * obj0 = 0 ;
15444 PyObject * obj1 = 0 ;
15445 char *kwnames[] = {
15446 (char *) "self",(char *) "allowSymbols", NULL
15447 };
15448
15449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15451 if (SWIG_arg_fail(1)) SWIG_fail;
15452 {
15453 arg2 = (bool)(SWIG_As_bool(obj1));
15454 if (SWIG_arg_fail(2)) SWIG_fail;
15455 }
d14a1e28
RD
15456 {
15457 PyThreadState* __tstate = wxPyBeginAllowThreads();
15458 (arg1)->SetAllowSymbols(arg2);
15459
15460 wxPyEndAllowThreads(__tstate);
15461 if (PyErr_Occurred()) SWIG_fail;
15462 }
15463 Py_INCREF(Py_None); resultobj = Py_None;
15464 return resultobj;
15465 fail:
15466 return NULL;
15467}
15468
15469
c32bde28 15470static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15471 PyObject *resultobj;
15472 wxFontData *arg1 = (wxFontData *) 0 ;
15473 wxFont *arg2 = 0 ;
15474 PyObject * obj0 = 0 ;
15475 PyObject * obj1 = 0 ;
15476 char *kwnames[] = {
15477 (char *) "self",(char *) "font", NULL
15478 };
15479
15480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15482 if (SWIG_arg_fail(1)) SWIG_fail;
15483 {
15484 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15485 if (SWIG_arg_fail(2)) SWIG_fail;
15486 if (arg2 == NULL) {
15487 SWIG_null_ref("wxFont");
15488 }
15489 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15490 }
15491 {
15492 PyThreadState* __tstate = wxPyBeginAllowThreads();
15493 (arg1)->SetChosenFont((wxFont const &)*arg2);
15494
15495 wxPyEndAllowThreads(__tstate);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 }
15498 Py_INCREF(Py_None); resultobj = Py_None;
15499 return resultobj;
15500 fail:
15501 return NULL;
15502}
15503
15504
c32bde28 15505static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15506 PyObject *resultobj;
15507 wxFontData *arg1 = (wxFontData *) 0 ;
15508 wxColour *arg2 = 0 ;
15509 wxColour temp2 ;
15510 PyObject * obj0 = 0 ;
15511 PyObject * obj1 = 0 ;
15512 char *kwnames[] = {
15513 (char *) "self",(char *) "colour", NULL
15514 };
15515
15516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15518 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15519 {
15520 arg2 = &temp2;
15521 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15522 }
15523 {
15524 PyThreadState* __tstate = wxPyBeginAllowThreads();
15525 (arg1)->SetColour((wxColour const &)*arg2);
15526
15527 wxPyEndAllowThreads(__tstate);
15528 if (PyErr_Occurred()) SWIG_fail;
15529 }
15530 Py_INCREF(Py_None); resultobj = Py_None;
15531 return resultobj;
15532 fail:
15533 return NULL;
15534}
15535
15536
c32bde28 15537static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15538 PyObject *resultobj;
15539 wxFontData *arg1 = (wxFontData *) 0 ;
15540 wxFont *arg2 = 0 ;
15541 PyObject * obj0 = 0 ;
15542 PyObject * obj1 = 0 ;
15543 char *kwnames[] = {
15544 (char *) "self",(char *) "font", NULL
15545 };
15546
15547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15549 if (SWIG_arg_fail(1)) SWIG_fail;
15550 {
15551 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15552 if (SWIG_arg_fail(2)) SWIG_fail;
15553 if (arg2 == NULL) {
15554 SWIG_null_ref("wxFont");
15555 }
15556 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
15557 }
15558 {
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
15560 (arg1)->SetInitialFont((wxFont const &)*arg2);
15561
15562 wxPyEndAllowThreads(__tstate);
15563 if (PyErr_Occurred()) SWIG_fail;
15564 }
15565 Py_INCREF(Py_None); resultobj = Py_None;
15566 return resultobj;
15567 fail:
15568 return NULL;
15569}
15570
15571
c32bde28 15572static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15573 PyObject *resultobj;
15574 wxFontData *arg1 = (wxFontData *) 0 ;
15575 int arg2 ;
15576 int arg3 ;
15577 PyObject * obj0 = 0 ;
994141e6
RD
15578 PyObject * obj1 = 0 ;
15579 PyObject * obj2 = 0 ;
d14a1e28
RD
15580 char *kwnames[] = {
15581 (char *) "self",(char *) "min",(char *) "max", NULL
15582 };
15583
994141e6 15584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15586 if (SWIG_arg_fail(1)) SWIG_fail;
15587 {
15588 arg2 = (int)(SWIG_As_int(obj1));
15589 if (SWIG_arg_fail(2)) SWIG_fail;
15590 }
15591 {
15592 arg3 = (int)(SWIG_As_int(obj2));
15593 if (SWIG_arg_fail(3)) SWIG_fail;
15594 }
d14a1e28
RD
15595 {
15596 PyThreadState* __tstate = wxPyBeginAllowThreads();
15597 (arg1)->SetRange(arg2,arg3);
15598
15599 wxPyEndAllowThreads(__tstate);
15600 if (PyErr_Occurred()) SWIG_fail;
15601 }
15602 Py_INCREF(Py_None); resultobj = Py_None;
15603 return resultobj;
15604 fail:
15605 return NULL;
15606}
15607
15608
c32bde28 15609static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15610 PyObject *resultobj;
15611 wxFontData *arg1 = (wxFontData *) 0 ;
15612 bool arg2 ;
15613 PyObject * obj0 = 0 ;
15614 PyObject * obj1 = 0 ;
15615 char *kwnames[] = {
15616 (char *) "self",(char *) "showHelp", NULL
15617 };
15618
15619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15621 if (SWIG_arg_fail(1)) SWIG_fail;
15622 {
15623 arg2 = (bool)(SWIG_As_bool(obj1));
15624 if (SWIG_arg_fail(2)) SWIG_fail;
15625 }
d14a1e28
RD
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 (arg1)->SetShowHelp(arg2);
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 Py_INCREF(Py_None); resultobj = Py_None;
15634 return resultobj;
15635 fail:
15636 return NULL;
15637}
15638
15639
c32bde28 15640static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15641 PyObject *obj;
15642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15643 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15644 Py_INCREF(obj);
15645 return Py_BuildValue((char *)"");
15646}
c32bde28 15647static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15648 PyObject *resultobj;
e498079e
RD
15649 wxWindow *arg1 = (wxWindow *) 0 ;
15650 wxFontData *arg2 = 0 ;
15651 wxFontDialog *result;
d14a1e28 15652 PyObject * obj0 = 0 ;
e498079e 15653 PyObject * obj1 = 0 ;
15afbcd0
RD
15654 char *kwnames[] = {
15655 (char *) "parent",(char *) "data", NULL
15656 };
d14a1e28 15657
15afbcd0 15658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
15659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15660 if (SWIG_arg_fail(1)) SWIG_fail;
15661 {
15662 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15663 if (SWIG_arg_fail(2)) SWIG_fail;
15664 if (arg2 == NULL) {
15665 SWIG_null_ref("wxFontData");
15666 }
15667 if (SWIG_arg_fail(2)) SWIG_fail;
e498079e 15668 }
d14a1e28 15669 {
e3b71cb8 15670 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 15671 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e 15672 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
d14a1e28
RD
15673
15674 wxPyEndAllowThreads(__tstate);
110da5b0 15675 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15676 }
15afbcd0 15677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
d14a1e28
RD
15678 return resultobj;
15679 fail:
15680 return NULL;
15681}
15682
15683
c32bde28 15684static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15685 PyObject *resultobj;
15686 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
e498079e 15687 wxFontData *result;
d14a1e28
RD
15688 PyObject * obj0 = 0 ;
15689 char *kwnames[] = {
15690 (char *) "self", NULL
15691 };
15692
e498079e 15693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
093d3ff1
RD
15694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15695 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
e498079e
RD
15698 {
15699 wxFontData &_result_ref = (arg1)->GetFontData();
15700 result = (wxFontData *) &_result_ref;
15701 }
d14a1e28
RD
15702
15703 wxPyEndAllowThreads(__tstate);
15704 if (PyErr_Occurred()) SWIG_fail;
15705 }
15afbcd0 15706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
d14a1e28
RD
15707 return resultobj;
15708 fail:
15709 return NULL;
15710}
15711
15712
c32bde28 15713static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15714 PyObject *obj;
15715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15716 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15717 Py_INCREF(obj);
15718 return Py_BuildValue((char *)"");
15719}
c32bde28 15720static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15721 PyObject *resultobj;
15722 wxWindow *arg1 = (wxWindow *) 0 ;
15723 wxString *arg2 = 0 ;
15724 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15725 wxString *arg3 = (wxString *) &arg3_defvalue ;
15726 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15727 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15728 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15729 wxMessageDialog *result;
ae8162c8
RD
15730 bool temp2 = false ;
15731 bool temp3 = false ;
d14a1e28
RD
15732 wxPoint temp5 ;
15733 PyObject * obj0 = 0 ;
15734 PyObject * obj1 = 0 ;
15735 PyObject * obj2 = 0 ;
994141e6 15736 PyObject * obj3 = 0 ;
d14a1e28
RD
15737 PyObject * obj4 = 0 ;
15738 char *kwnames[] = {
15739 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15740 };
15741
994141e6 15742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
15743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15744 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15745 {
15746 arg2 = wxString_in_helper(obj1);
15747 if (arg2 == NULL) SWIG_fail;
ae8162c8 15748 temp2 = true;
d14a1e28
RD
15749 }
15750 if (obj2) {
15751 {
15752 arg3 = wxString_in_helper(obj2);
15753 if (arg3 == NULL) SWIG_fail;
ae8162c8 15754 temp3 = true;
d14a1e28
RD
15755 }
15756 }
994141e6 15757 if (obj3) {
093d3ff1
RD
15758 {
15759 arg4 = (long)(SWIG_As_long(obj3));
15760 if (SWIG_arg_fail(4)) SWIG_fail;
15761 }
994141e6 15762 }
d14a1e28
RD
15763 if (obj4) {
15764 {
15765 arg5 = &temp5;
15766 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15767 }
15768 }
15769 {
e3b71cb8 15770 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15771 PyThreadState* __tstate = wxPyBeginAllowThreads();
15772 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15773
15774 wxPyEndAllowThreads(__tstate);
110da5b0 15775 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15776 }
15afbcd0 15777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
d14a1e28
RD
15778 {
15779 if (temp2)
15780 delete arg2;
15781 }
15782 {
15783 if (temp3)
15784 delete arg3;
15785 }
15786 return resultobj;
15787 fail:
15788 {
15789 if (temp2)
15790 delete arg2;
15791 }
15792 {
15793 if (temp3)
15794 delete arg3;
15795 }
15796 return NULL;
15797}
15798
15799
c32bde28 15800static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15801 PyObject *obj;
15802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15803 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15804 Py_INCREF(obj);
15805 return Py_BuildValue((char *)"");
15806}
c32bde28 15807static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15808 PyObject *resultobj;
15809 wxString *arg1 = 0 ;
15810 wxString *arg2 = 0 ;
15811 int arg3 = (int) 100 ;
15812 wxWindow *arg4 = (wxWindow *) NULL ;
15813 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15814 wxProgressDialog *result;
ae8162c8
RD
15815 bool temp1 = false ;
15816 bool temp2 = false ;
d14a1e28
RD
15817 PyObject * obj0 = 0 ;
15818 PyObject * obj1 = 0 ;
994141e6 15819 PyObject * obj2 = 0 ;
d14a1e28 15820 PyObject * obj3 = 0 ;
994141e6 15821 PyObject * obj4 = 0 ;
d14a1e28
RD
15822 char *kwnames[] = {
15823 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15824 };
15825
994141e6 15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
15827 {
15828 arg1 = wxString_in_helper(obj0);
15829 if (arg1 == NULL) SWIG_fail;
ae8162c8 15830 temp1 = true;
d14a1e28
RD
15831 }
15832 {
15833 arg2 = wxString_in_helper(obj1);
15834 if (arg2 == NULL) SWIG_fail;
ae8162c8 15835 temp2 = true;
d14a1e28 15836 }
994141e6 15837 if (obj2) {
093d3ff1
RD
15838 {
15839 arg3 = (int)(SWIG_As_int(obj2));
15840 if (SWIG_arg_fail(3)) SWIG_fail;
15841 }
994141e6 15842 }
d14a1e28 15843 if (obj3) {
093d3ff1
RD
15844 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15845 if (SWIG_arg_fail(4)) SWIG_fail;
d14a1e28 15846 }
994141e6 15847 if (obj4) {
093d3ff1
RD
15848 {
15849 arg5 = (int)(SWIG_As_int(obj4));
15850 if (SWIG_arg_fail(5)) SWIG_fail;
15851 }
994141e6 15852 }
d14a1e28 15853 {
e3b71cb8 15854 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15857
15858 wxPyEndAllowThreads(__tstate);
110da5b0 15859 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 15860 }
15afbcd0 15861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
d14a1e28
RD
15862 {
15863 if (temp1)
15864 delete arg1;
15865 }
15866 {
15867 if (temp2)
15868 delete arg2;
15869 }
15870 return resultobj;
15871 fail:
15872 {
15873 if (temp1)
15874 delete arg1;
15875 }
15876 {
15877 if (temp2)
15878 delete arg2;
15879 }
15880 return NULL;
15881}
15882
15883
c32bde28 15884static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15885 PyObject *resultobj;
15886 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15887 int arg2 ;
15888 wxString const &arg3_defvalue = wxPyEmptyString ;
15889 wxString *arg3 = (wxString *) &arg3_defvalue ;
15890 bool result;
ae8162c8 15891 bool temp3 = false ;
d14a1e28 15892 PyObject * obj0 = 0 ;
994141e6 15893 PyObject * obj1 = 0 ;
d14a1e28
RD
15894 PyObject * obj2 = 0 ;
15895 char *kwnames[] = {
15896 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15897 };
15898
994141e6 15899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15901 if (SWIG_arg_fail(1)) SWIG_fail;
15902 {
15903 arg2 = (int)(SWIG_As_int(obj1));
15904 if (SWIG_arg_fail(2)) SWIG_fail;
15905 }
d14a1e28
RD
15906 if (obj2) {
15907 {
15908 arg3 = wxString_in_helper(obj2);
15909 if (arg3 == NULL) SWIG_fail;
ae8162c8 15910 temp3 = true;
d14a1e28
RD
15911 }
15912 }
15913 {
15914 PyThreadState* __tstate = wxPyBeginAllowThreads();
15915 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
15916
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
4f89f6a3
RD
15920 {
15921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15922 }
d14a1e28
RD
15923 {
15924 if (temp3)
15925 delete arg3;
15926 }
15927 return resultobj;
15928 fail:
15929 {
15930 if (temp3)
15931 delete arg3;
15932 }
15933 return NULL;
15934}
15935
15936
c32bde28 15937static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15938 PyObject *resultobj;
15939 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15940 PyObject * obj0 = 0 ;
15941 char *kwnames[] = {
15942 (char *) "self", NULL
15943 };
15944
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
15946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15947 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
15948 {
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 (arg1)->Resume();
15951
15952 wxPyEndAllowThreads(__tstate);
15953 if (PyErr_Occurred()) SWIG_fail;
15954 }
15955 Py_INCREF(Py_None); resultobj = Py_None;
15956 return resultobj;
15957 fail:
15958 return NULL;
15959}
15960
15961
c32bde28 15962static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15963 PyObject *obj;
15964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15965 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
15966 Py_INCREF(obj);
15967 return Py_BuildValue((char *)"");
15968}
c32bde28 15969static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15970 PyObject *resultobj;
15971 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15972 int arg2 = (int) 0 ;
15973 wxFindDialogEvent *result;
994141e6
RD
15974 PyObject * obj0 = 0 ;
15975 PyObject * obj1 = 0 ;
d14a1e28
RD
15976 char *kwnames[] = {
15977 (char *) "commandType",(char *) "id", NULL
15978 };
15979
994141e6
RD
15980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
15981 if (obj0) {
093d3ff1
RD
15982 {
15983 arg1 = (wxEventType)(SWIG_As_int(obj0));
15984 if (SWIG_arg_fail(1)) SWIG_fail;
15985 }
994141e6
RD
15986 }
15987 if (obj1) {
093d3ff1
RD
15988 {
15989 arg2 = (int)(SWIG_As_int(obj1));
15990 if (SWIG_arg_fail(2)) SWIG_fail;
15991 }
994141e6 15992 }
d14a1e28
RD
15993 {
15994 PyThreadState* __tstate = wxPyBeginAllowThreads();
15995 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
15996
15997 wxPyEndAllowThreads(__tstate);
15998 if (PyErr_Occurred()) SWIG_fail;
15999 }
15afbcd0 16000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
d14a1e28
RD
16001 return resultobj;
16002 fail:
16003 return NULL;
16004}
16005
16006
c32bde28 16007static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16008 PyObject *resultobj;
16009 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16010 int result;
16011 PyObject * obj0 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16018 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16019 {
16020 PyThreadState* __tstate = wxPyBeginAllowThreads();
16021 result = (int)(arg1)->GetFlags();
16022
16023 wxPyEndAllowThreads(__tstate);
16024 if (PyErr_Occurred()) SWIG_fail;
16025 }
093d3ff1
RD
16026 {
16027 resultobj = SWIG_From_int((int)(result));
16028 }
d14a1e28
RD
16029 return resultobj;
16030 fail:
16031 return NULL;
16032}
16033
16034
c32bde28 16035static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16036 PyObject *resultobj;
16037 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
cc6dd355 16038 wxString *result;
d14a1e28
RD
16039 PyObject * obj0 = 0 ;
16040 char *kwnames[] = {
16041 (char *) "self", NULL
16042 };
16043
16044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16046 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
cc6dd355
RD
16049 {
16050 wxString const &_result_ref = (arg1)->GetFindString();
16051 result = (wxString *) &_result_ref;
16052 }
d14a1e28
RD
16053
16054 wxPyEndAllowThreads(__tstate);
16055 if (PyErr_Occurred()) SWIG_fail;
16056 }
16057 {
16058#if wxUSE_UNICODE
cc6dd355 16059 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 16060#else
cc6dd355 16061 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
16062#endif
16063 }
16064 return resultobj;
16065 fail:
16066 return NULL;
16067}
16068
16069
c32bde28 16070static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16071 PyObject *resultobj;
16072 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16073 wxString *result;
16074 PyObject * obj0 = 0 ;
16075 char *kwnames[] = {
16076 (char *) "self", NULL
16077 };
16078
16079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16081 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16082 {
16083 PyThreadState* __tstate = wxPyBeginAllowThreads();
16084 {
16085 wxString const &_result_ref = (arg1)->GetReplaceString();
16086 result = (wxString *) &_result_ref;
16087 }
16088
16089 wxPyEndAllowThreads(__tstate);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
cc6dd355
RD
16092 {
16093#if wxUSE_UNICODE
16094 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16095#else
16096 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16097#endif
16098 }
d14a1e28
RD
16099 return resultobj;
16100 fail:
16101 return NULL;
16102}
16103
16104
c32bde28 16105static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16106 PyObject *resultobj;
16107 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16108 wxFindReplaceDialog *result;
16109 PyObject * obj0 = 0 ;
16110 char *kwnames[] = {
16111 (char *) "self", NULL
16112 };
16113
16114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
16115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16116 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16117 {
16118 PyThreadState* __tstate = wxPyBeginAllowThreads();
16119 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16120
16121 wxPyEndAllowThreads(__tstate);
16122 if (PyErr_Occurred()) SWIG_fail;
16123 }
15afbcd0 16124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
d14a1e28
RD
16125 return resultobj;
16126 fail:
16127 return NULL;
16128}
16129
16130
c32bde28 16131static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16132 PyObject *resultobj;
16133 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16134 int arg2 ;
16135 PyObject * obj0 = 0 ;
994141e6 16136 PyObject * obj1 = 0 ;
d14a1e28
RD
16137 char *kwnames[] = {
16138 (char *) "self",(char *) "flags", NULL
16139 };
16140
994141e6 16141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16143 if (SWIG_arg_fail(1)) SWIG_fail;
16144 {
16145 arg2 = (int)(SWIG_As_int(obj1));
16146 if (SWIG_arg_fail(2)) SWIG_fail;
16147 }
d14a1e28
RD
16148 {
16149 PyThreadState* __tstate = wxPyBeginAllowThreads();
16150 (arg1)->SetFlags(arg2);
16151
16152 wxPyEndAllowThreads(__tstate);
16153 if (PyErr_Occurred()) SWIG_fail;
16154 }
16155 Py_INCREF(Py_None); resultobj = Py_None;
16156 return resultobj;
16157 fail:
16158 return NULL;
16159}
16160
16161
c32bde28 16162static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16163 PyObject *resultobj;
16164 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16165 wxString *arg2 = 0 ;
ae8162c8 16166 bool temp2 = false ;
d14a1e28
RD
16167 PyObject * obj0 = 0 ;
16168 PyObject * obj1 = 0 ;
16169 char *kwnames[] = {
16170 (char *) "self",(char *) "str", NULL
16171 };
16172
16173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16175 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16176 {
16177 arg2 = wxString_in_helper(obj1);
16178 if (arg2 == NULL) SWIG_fail;
ae8162c8 16179 temp2 = true;
d14a1e28
RD
16180 }
16181 {
16182 PyThreadState* __tstate = wxPyBeginAllowThreads();
16183 (arg1)->SetFindString((wxString const &)*arg2);
16184
16185 wxPyEndAllowThreads(__tstate);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 }
16188 Py_INCREF(Py_None); resultobj = Py_None;
16189 {
16190 if (temp2)
16191 delete arg2;
16192 }
16193 return resultobj;
16194 fail:
16195 {
16196 if (temp2)
16197 delete arg2;
16198 }
16199 return NULL;
16200}
16201
16202
c32bde28 16203static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16204 PyObject *resultobj;
16205 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16206 wxString *arg2 = 0 ;
ae8162c8 16207 bool temp2 = false ;
d14a1e28
RD
16208 PyObject * obj0 = 0 ;
16209 PyObject * obj1 = 0 ;
16210 char *kwnames[] = {
16211 (char *) "self",(char *) "str", NULL
16212 };
16213
16214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16216 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16217 {
16218 arg2 = wxString_in_helper(obj1);
16219 if (arg2 == NULL) SWIG_fail;
ae8162c8 16220 temp2 = true;
d14a1e28
RD
16221 }
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 (arg1)->SetReplaceString((wxString const &)*arg2);
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 Py_INCREF(Py_None); resultobj = Py_None;
16230 {
16231 if (temp2)
16232 delete arg2;
16233 }
16234 return resultobj;
16235 fail:
16236 {
16237 if (temp2)
16238 delete arg2;
16239 }
16240 return NULL;
16241}
16242
16243
c32bde28 16244static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16245 PyObject *obj;
16246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16247 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16248 Py_INCREF(obj);
16249 return Py_BuildValue((char *)"");
16250}
c32bde28 16251static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16252 PyObject *resultobj;
16253 int arg1 = (int) 0 ;
16254 wxFindReplaceData *result;
994141e6 16255 PyObject * obj0 = 0 ;
d14a1e28
RD
16256 char *kwnames[] = {
16257 (char *) "flags", NULL
16258 };
16259
994141e6
RD
16260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16261 if (obj0) {
093d3ff1
RD
16262 {
16263 arg1 = (int)(SWIG_As_int(obj0));
16264 if (SWIG_arg_fail(1)) SWIG_fail;
16265 }
994141e6 16266 }
d14a1e28
RD
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16270
16271 wxPyEndAllowThreads(__tstate);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
15afbcd0 16274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
d14a1e28
RD
16275 return resultobj;
16276 fail:
16277 return NULL;
16278}
16279
16280
c32bde28 16281static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16282 PyObject *resultobj;
16283 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16284 PyObject * obj0 = 0 ;
16285 char *kwnames[] = {
16286 (char *) "self", NULL
16287 };
16288
16289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16291 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16292 {
16293 PyThreadState* __tstate = wxPyBeginAllowThreads();
16294 delete arg1;
16295
16296 wxPyEndAllowThreads(__tstate);
16297 if (PyErr_Occurred()) SWIG_fail;
16298 }
16299 Py_INCREF(Py_None); resultobj = Py_None;
16300 return resultobj;
16301 fail:
16302 return NULL;
16303}
16304
16305
c32bde28 16306static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16307 PyObject *resultobj;
16308 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16309 wxString *result;
16310 PyObject * obj0 = 0 ;
16311 char *kwnames[] = {
16312 (char *) "self", NULL
16313 };
16314
16315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16317 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16318 {
16319 PyThreadState* __tstate = wxPyBeginAllowThreads();
16320 {
16321 wxString const &_result_ref = (arg1)->GetFindString();
16322 result = (wxString *) &_result_ref;
16323 }
16324
16325 wxPyEndAllowThreads(__tstate);
16326 if (PyErr_Occurred()) SWIG_fail;
16327 }
cc6dd355
RD
16328 {
16329#if wxUSE_UNICODE
16330 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16331#else
16332 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16333#endif
16334 }
d14a1e28
RD
16335 return resultobj;
16336 fail:
16337 return NULL;
16338}
16339
16340
c32bde28 16341static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16342 PyObject *resultobj;
16343 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16344 wxString *result;
16345 PyObject * obj0 = 0 ;
16346 char *kwnames[] = {
16347 (char *) "self", NULL
16348 };
16349
16350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
093d3ff1
RD
16351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16352 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16353 {
16354 PyThreadState* __tstate = wxPyBeginAllowThreads();
16355 {
16356 wxString const &_result_ref = (arg1)->GetReplaceString();
16357 result = (wxString *) &_result_ref;
16358 }
16359
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
cc6dd355
RD
16363 {
16364#if wxUSE_UNICODE
16365 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16366#else
16367 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16368#endif
16369 }
d14a1e28
RD
16370 return resultobj;
16371 fail:
16372 return NULL;
16373}
16374
16375
c32bde28 16376static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16377 PyObject *resultobj;
16378 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16379 int result;
16380 PyObject * obj0 = 0 ;
16381 char *kwnames[] = {
16382 (char *) "self", NULL
16383 };
16384
16385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
093d3ff1
RD
16386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16387 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16388 {
16389 PyThreadState* __tstate = wxPyBeginAllowThreads();
16390 result = (int)(arg1)->GetFlags();
16391
16392 wxPyEndAllowThreads(__tstate);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 }
093d3ff1
RD
16395 {
16396 resultobj = SWIG_From_int((int)(result));
16397 }
d14a1e28
RD
16398 return resultobj;
16399 fail:
16400 return NULL;
16401}
16402
16403
c32bde28 16404static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16405 PyObject *resultobj;
16406 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16407 int arg2 ;
16408 PyObject * obj0 = 0 ;
994141e6 16409 PyObject * obj1 = 0 ;
d14a1e28
RD
16410 char *kwnames[] = {
16411 (char *) "self",(char *) "flags", NULL
16412 };
16413
994141e6 16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16416 if (SWIG_arg_fail(1)) SWIG_fail;
16417 {
16418 arg2 = (int)(SWIG_As_int(obj1));
16419 if (SWIG_arg_fail(2)) SWIG_fail;
16420 }
d14a1e28
RD
16421 {
16422 PyThreadState* __tstate = wxPyBeginAllowThreads();
16423 (arg1)->SetFlags(arg2);
16424
16425 wxPyEndAllowThreads(__tstate);
16426 if (PyErr_Occurred()) SWIG_fail;
16427 }
16428 Py_INCREF(Py_None); resultobj = Py_None;
16429 return resultobj;
16430 fail:
16431 return NULL;
16432}
16433
16434
c32bde28 16435static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16436 PyObject *resultobj;
16437 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16438 wxString *arg2 = 0 ;
ae8162c8 16439 bool temp2 = false ;
d14a1e28
RD
16440 PyObject * obj0 = 0 ;
16441 PyObject * obj1 = 0 ;
16442 char *kwnames[] = {
16443 (char *) "self",(char *) "str", NULL
16444 };
16445
16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16448 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16449 {
16450 arg2 = wxString_in_helper(obj1);
16451 if (arg2 == NULL) SWIG_fail;
ae8162c8 16452 temp2 = true;
d14a1e28
RD
16453 }
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 (arg1)->SetFindString((wxString const &)*arg2);
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 Py_INCREF(Py_None); resultobj = Py_None;
16462 {
16463 if (temp2)
16464 delete arg2;
16465 }
16466 return resultobj;
16467 fail:
16468 {
16469 if (temp2)
16470 delete arg2;
16471 }
16472 return NULL;
16473}
16474
16475
c32bde28 16476static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16477 PyObject *resultobj;
16478 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16479 wxString *arg2 = 0 ;
ae8162c8 16480 bool temp2 = false ;
d14a1e28
RD
16481 PyObject * obj0 = 0 ;
16482 PyObject * obj1 = 0 ;
16483 char *kwnames[] = {
16484 (char *) "self",(char *) "str", NULL
16485 };
16486
16487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16489 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16490 {
16491 arg2 = wxString_in_helper(obj1);
16492 if (arg2 == NULL) SWIG_fail;
ae8162c8 16493 temp2 = true;
d14a1e28
RD
16494 }
16495 {
16496 PyThreadState* __tstate = wxPyBeginAllowThreads();
16497 (arg1)->SetReplaceString((wxString const &)*arg2);
16498
16499 wxPyEndAllowThreads(__tstate);
16500 if (PyErr_Occurred()) SWIG_fail;
16501 }
16502 Py_INCREF(Py_None); resultobj = Py_None;
16503 {
16504 if (temp2)
16505 delete arg2;
16506 }
16507 return resultobj;
16508 fail:
16509 {
16510 if (temp2)
16511 delete arg2;
16512 }
16513 return NULL;
16514}
16515
16516
c32bde28 16517static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16518 PyObject *obj;
16519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16520 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16521 Py_INCREF(obj);
16522 return Py_BuildValue((char *)"");
16523}
c32bde28 16524static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16525 PyObject *resultobj;
16526 wxWindow *arg1 = (wxWindow *) 0 ;
16527 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16528 wxString *arg3 = 0 ;
16529 int arg4 = (int) 0 ;
16530 wxFindReplaceDialog *result;
ae8162c8 16531 bool temp3 = false ;
d14a1e28
RD
16532 PyObject * obj0 = 0 ;
16533 PyObject * obj1 = 0 ;
16534 PyObject * obj2 = 0 ;
994141e6 16535 PyObject * obj3 = 0 ;
d14a1e28
RD
16536 char *kwnames[] = {
16537 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16538 };
16539
994141e6 16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
16541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16542 if (SWIG_arg_fail(1)) SWIG_fail;
16543 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16544 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16545 {
16546 arg3 = wxString_in_helper(obj2);
16547 if (arg3 == NULL) SWIG_fail;
ae8162c8 16548 temp3 = true;
d14a1e28 16549 }
994141e6 16550 if (obj3) {
093d3ff1
RD
16551 {
16552 arg4 = (int)(SWIG_As_int(obj3));
16553 if (SWIG_arg_fail(4)) SWIG_fail;
16554 }
994141e6 16555 }
d14a1e28 16556 {
e3b71cb8 16557 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16558 PyThreadState* __tstate = wxPyBeginAllowThreads();
16559 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16560
16561 wxPyEndAllowThreads(__tstate);
110da5b0 16562 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16563 }
15afbcd0 16564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
16565 {
16566 if (temp3)
16567 delete arg3;
16568 }
16569 return resultobj;
16570 fail:
16571 {
16572 if (temp3)
16573 delete arg3;
16574 }
16575 return NULL;
16576}
16577
16578
c32bde28 16579static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16580 PyObject *resultobj;
16581 wxFindReplaceDialog *result;
16582 char *kwnames[] = {
16583 NULL
16584 };
16585
16586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16587 {
e3b71cb8 16588 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16589 PyThreadState* __tstate = wxPyBeginAllowThreads();
16590 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16591
16592 wxPyEndAllowThreads(__tstate);
110da5b0 16593 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16594 }
15afbcd0 16595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
d14a1e28
RD
16596 return resultobj;
16597 fail:
16598 return NULL;
16599}
16600
16601
c32bde28 16602static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16603 PyObject *resultobj;
16604 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16605 wxWindow *arg2 = (wxWindow *) 0 ;
16606 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16607 wxString *arg4 = 0 ;
16608 int arg5 = (int) 0 ;
16609 bool result;
ae8162c8 16610 bool temp4 = false ;
d14a1e28
RD
16611 PyObject * obj0 = 0 ;
16612 PyObject * obj1 = 0 ;
16613 PyObject * obj2 = 0 ;
16614 PyObject * obj3 = 0 ;
994141e6 16615 PyObject * obj4 = 0 ;
d14a1e28
RD
16616 char *kwnames[] = {
16617 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16618 };
16619
994141e6 16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
16621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16622 if (SWIG_arg_fail(1)) SWIG_fail;
16623 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16624 if (SWIG_arg_fail(2)) SWIG_fail;
16625 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16626 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
16627 {
16628 arg4 = wxString_in_helper(obj3);
16629 if (arg4 == NULL) SWIG_fail;
ae8162c8 16630 temp4 = true;
d14a1e28 16631 }
994141e6 16632 if (obj4) {
093d3ff1
RD
16633 {
16634 arg5 = (int)(SWIG_As_int(obj4));
16635 if (SWIG_arg_fail(5)) SWIG_fail;
16636 }
994141e6 16637 }
d14a1e28
RD
16638 {
16639 PyThreadState* __tstate = wxPyBeginAllowThreads();
16640 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16641
16642 wxPyEndAllowThreads(__tstate);
16643 if (PyErr_Occurred()) SWIG_fail;
16644 }
4f89f6a3
RD
16645 {
16646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16647 }
d14a1e28
RD
16648 {
16649 if (temp4)
16650 delete arg4;
16651 }
16652 return resultobj;
16653 fail:
16654 {
16655 if (temp4)
16656 delete arg4;
16657 }
16658 return NULL;
16659}
16660
16661
c32bde28 16662static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16663 PyObject *resultobj;
16664 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16665 wxFindReplaceData *result;
16666 PyObject * obj0 = 0 ;
16667 char *kwnames[] = {
16668 (char *) "self", NULL
16669 };
16670
16671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16673 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16674 {
16675 PyThreadState* __tstate = wxPyBeginAllowThreads();
16676 result = (wxFindReplaceData *)(arg1)->GetData();
16677
16678 wxPyEndAllowThreads(__tstate);
16679 if (PyErr_Occurred()) SWIG_fail;
16680 }
15afbcd0 16681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
d14a1e28
RD
16682 return resultobj;
16683 fail:
16684 return NULL;
16685}
16686
16687
c32bde28 16688static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16689 PyObject *resultobj;
16690 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16691 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16692 PyObject * obj0 = 0 ;
16693 PyObject * obj1 = 0 ;
16694 char *kwnames[] = {
16695 (char *) "self",(char *) "data", NULL
16696 };
16697
16698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16700 if (SWIG_arg_fail(1)) SWIG_fail;
16701 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16702 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
16703 {
16704 PyThreadState* __tstate = wxPyBeginAllowThreads();
16705 (arg1)->SetData(arg2);
16706
16707 wxPyEndAllowThreads(__tstate);
16708 if (PyErr_Occurred()) SWIG_fail;
16709 }
16710 Py_INCREF(Py_None); resultobj = Py_None;
16711 return resultobj;
16712 fail:
16713 return NULL;
16714}
16715
16716
c32bde28 16717static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16718 PyObject *obj;
16719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16720 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16721 Py_INCREF(obj);
16722 return Py_BuildValue((char *)"");
16723}
c32bde28 16724static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16725 PyObject *resultobj;
16726 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
16727 int arg2 = (int) (int)-1 ;
16728 wxString const &arg3_defvalue = wxPyEmptyString ;
16729 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
16730 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16731 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16732 wxSize const &arg5_defvalue = wxDefaultSize ;
16733 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16734 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16735 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16736 wxString *arg7 = (wxString *) &arg7_defvalue ;
16737 wxMDIParentFrame *result;
ae8162c8 16738 bool temp3 = false ;
d14a1e28
RD
16739 wxPoint temp4 ;
16740 wxSize temp5 ;
ae8162c8 16741 bool temp7 = false ;
d14a1e28 16742 PyObject * obj0 = 0 ;
994141e6 16743 PyObject * obj1 = 0 ;
d14a1e28
RD
16744 PyObject * obj2 = 0 ;
16745 PyObject * obj3 = 0 ;
16746 PyObject * obj4 = 0 ;
994141e6 16747 PyObject * obj5 = 0 ;
d14a1e28
RD
16748 PyObject * obj6 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16751 };
16752
248ed943 16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
16754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16755 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 16756 if (obj1) {
093d3ff1
RD
16757 {
16758 arg2 = (int const)(SWIG_As_int(obj1));
16759 if (SWIG_arg_fail(2)) SWIG_fail;
16760 }
248ed943
RD
16761 }
16762 if (obj2) {
16763 {
16764 arg3 = wxString_in_helper(obj2);
16765 if (arg3 == NULL) SWIG_fail;
ae8162c8 16766 temp3 = true;
248ed943 16767 }
d14a1e28
RD
16768 }
16769 if (obj3) {
16770 {
16771 arg4 = &temp4;
16772 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16773 }
16774 }
16775 if (obj4) {
16776 {
16777 arg5 = &temp5;
16778 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16779 }
16780 }
994141e6 16781 if (obj5) {
093d3ff1
RD
16782 {
16783 arg6 = (long)(SWIG_As_long(obj5));
16784 if (SWIG_arg_fail(6)) SWIG_fail;
16785 }
994141e6 16786 }
d14a1e28
RD
16787 if (obj6) {
16788 {
16789 arg7 = wxString_in_helper(obj6);
16790 if (arg7 == NULL) SWIG_fail;
ae8162c8 16791 temp7 = true;
d14a1e28
RD
16792 }
16793 }
16794 {
e3b71cb8 16795 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16796 PyThreadState* __tstate = wxPyBeginAllowThreads();
16797 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16798
16799 wxPyEndAllowThreads(__tstate);
110da5b0 16800 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16801 }
15afbcd0 16802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
16803 {
16804 if (temp3)
16805 delete arg3;
16806 }
16807 {
16808 if (temp7)
16809 delete arg7;
16810 }
16811 return resultobj;
16812 fail:
16813 {
16814 if (temp3)
16815 delete arg3;
16816 }
16817 {
16818 if (temp7)
16819 delete arg7;
16820 }
16821 return NULL;
16822}
16823
16824
c32bde28 16825static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16826 PyObject *resultobj;
16827 wxMDIParentFrame *result;
16828 char *kwnames[] = {
16829 NULL
16830 };
16831
16832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16833 {
e3b71cb8 16834 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
16835 PyThreadState* __tstate = wxPyBeginAllowThreads();
16836 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16837
16838 wxPyEndAllowThreads(__tstate);
110da5b0 16839 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 16840 }
15afbcd0 16841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
d14a1e28
RD
16842 return resultobj;
16843 fail:
16844 return NULL;
16845}
16846
16847
c32bde28 16848static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16849 PyObject *resultobj;
16850 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16851 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
16852 int arg3 = (int) (int)-1 ;
16853 wxString const &arg4_defvalue = wxPyEmptyString ;
16854 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
16855 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16856 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16857 wxSize const &arg6_defvalue = wxDefaultSize ;
16858 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16859 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16860 wxString const &arg8_defvalue = wxPyFrameNameStr ;
16861 wxString *arg8 = (wxString *) &arg8_defvalue ;
16862 bool result;
ae8162c8 16863 bool temp4 = false ;
d14a1e28
RD
16864 wxPoint temp5 ;
16865 wxSize temp6 ;
ae8162c8 16866 bool temp8 = false ;
d14a1e28
RD
16867 PyObject * obj0 = 0 ;
16868 PyObject * obj1 = 0 ;
994141e6 16869 PyObject * obj2 = 0 ;
d14a1e28
RD
16870 PyObject * obj3 = 0 ;
16871 PyObject * obj4 = 0 ;
16872 PyObject * obj5 = 0 ;
994141e6 16873 PyObject * obj6 = 0 ;
d14a1e28
RD
16874 PyObject * obj7 = 0 ;
16875 char *kwnames[] = {
16876 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16877 };
16878
248ed943 16879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
16880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16881 if (SWIG_arg_fail(1)) SWIG_fail;
16882 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16883 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 16884 if (obj2) {
093d3ff1
RD
16885 {
16886 arg3 = (int const)(SWIG_As_int(obj2));
16887 if (SWIG_arg_fail(3)) SWIG_fail;
16888 }
248ed943
RD
16889 }
16890 if (obj3) {
16891 {
16892 arg4 = wxString_in_helper(obj3);
16893 if (arg4 == NULL) SWIG_fail;
ae8162c8 16894 temp4 = true;
248ed943 16895 }
d14a1e28
RD
16896 }
16897 if (obj4) {
16898 {
16899 arg5 = &temp5;
16900 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16901 }
16902 }
16903 if (obj5) {
16904 {
16905 arg6 = &temp6;
16906 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16907 }
16908 }
994141e6 16909 if (obj6) {
093d3ff1
RD
16910 {
16911 arg7 = (long)(SWIG_As_long(obj6));
16912 if (SWIG_arg_fail(7)) SWIG_fail;
16913 }
994141e6 16914 }
d14a1e28
RD
16915 if (obj7) {
16916 {
16917 arg8 = wxString_in_helper(obj7);
16918 if (arg8 == NULL) SWIG_fail;
ae8162c8 16919 temp8 = true;
d14a1e28
RD
16920 }
16921 }
16922 {
16923 PyThreadState* __tstate = wxPyBeginAllowThreads();
16924 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
16925
16926 wxPyEndAllowThreads(__tstate);
16927 if (PyErr_Occurred()) SWIG_fail;
16928 }
4f89f6a3
RD
16929 {
16930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16931 }
d14a1e28
RD
16932 {
16933 if (temp4)
16934 delete arg4;
16935 }
16936 {
16937 if (temp8)
16938 delete arg8;
16939 }
16940 return resultobj;
16941 fail:
16942 {
16943 if (temp4)
16944 delete arg4;
16945 }
16946 {
16947 if (temp8)
16948 delete arg8;
16949 }
16950 return NULL;
16951}
16952
16953
c32bde28 16954static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16955 PyObject *resultobj;
16956 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16957 PyObject * obj0 = 0 ;
16958 char *kwnames[] = {
16959 (char *) "self", NULL
16960 };
16961
16962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
16963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16964 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16965 {
16966 PyThreadState* __tstate = wxPyBeginAllowThreads();
16967 (arg1)->ActivateNext();
16968
16969 wxPyEndAllowThreads(__tstate);
16970 if (PyErr_Occurred()) SWIG_fail;
16971 }
16972 Py_INCREF(Py_None); resultobj = Py_None;
16973 return resultobj;
16974 fail:
16975 return NULL;
16976}
16977
16978
c32bde28 16979static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16980 PyObject *resultobj;
16981 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16982 PyObject * obj0 = 0 ;
16983 char *kwnames[] = {
16984 (char *) "self", NULL
16985 };
16986
16987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
16988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16989 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
16990 {
16991 PyThreadState* __tstate = wxPyBeginAllowThreads();
16992 (arg1)->ActivatePrevious();
16993
16994 wxPyEndAllowThreads(__tstate);
16995 if (PyErr_Occurred()) SWIG_fail;
16996 }
16997 Py_INCREF(Py_None); resultobj = Py_None;
16998 return resultobj;
16999 fail:
17000 return NULL;
17001}
17002
17003
c32bde28 17004static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17005 PyObject *resultobj;
17006 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17007 PyObject * obj0 = 0 ;
17008 char *kwnames[] = {
17009 (char *) "self", NULL
17010 };
17011
17012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
093d3ff1
RD
17013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17014 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17015 {
17016 PyThreadState* __tstate = wxPyBeginAllowThreads();
17017 (arg1)->ArrangeIcons();
17018
17019 wxPyEndAllowThreads(__tstate);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 }
17022 Py_INCREF(Py_None); resultobj = Py_None;
17023 return resultobj;
17024 fail:
17025 return NULL;
17026}
17027
17028
c32bde28 17029static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17030 PyObject *resultobj;
17031 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17032 PyObject * obj0 = 0 ;
17033 char *kwnames[] = {
17034 (char *) "self", NULL
17035 };
17036
17037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
093d3ff1
RD
17038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17039 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 (arg1)->Cascade();
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 Py_INCREF(Py_None); resultobj = Py_None;
17048 return resultobj;
17049 fail:
17050 return NULL;
17051}
17052
17053
c32bde28 17054static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17055 PyObject *resultobj;
17056 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17057 wxMDIChildFrame *result;
17058 PyObject * obj0 = 0 ;
17059 char *kwnames[] = {
17060 (char *) "self", NULL
17061 };
17062
17063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
093d3ff1
RD
17064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17065 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17066 {
17067 PyThreadState* __tstate = wxPyBeginAllowThreads();
17068 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
17069
17070 wxPyEndAllowThreads(__tstate);
17071 if (PyErr_Occurred()) SWIG_fail;
17072 }
17073 {
412d302d 17074 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17075 }
17076 return resultobj;
17077 fail:
17078 return NULL;
17079}
17080
17081
c32bde28 17082static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17083 PyObject *resultobj;
17084 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17085 wxMDIClientWindow *result;
17086 PyObject * obj0 = 0 ;
17087 char *kwnames[] = {
17088 (char *) "self", NULL
17089 };
17090
17091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
17092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17093 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17094 {
17095 PyThreadState* __tstate = wxPyBeginAllowThreads();
17096 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
17097
17098 wxPyEndAllowThreads(__tstate);
17099 if (PyErr_Occurred()) SWIG_fail;
17100 }
17101 {
412d302d 17102 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17103 }
17104 return resultobj;
17105 fail:
17106 return NULL;
17107}
17108
17109
c32bde28 17110static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17111 PyObject *resultobj;
17112 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17113 wxWindow *result;
17114 PyObject * obj0 = 0 ;
17115 char *kwnames[] = {
17116 (char *) "self", NULL
17117 };
17118
17119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",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 result = (wxWindow *)(arg1)->GetToolBar();
17125
17126 wxPyEndAllowThreads(__tstate);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
17129 {
412d302d 17130 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17131 }
17132 return resultobj;
17133 fail:
17134 return NULL;
17135}
17136
17137
c32bde28 17138static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17139 PyObject *resultobj;
17140 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17141 PyObject * obj0 = 0 ;
17142 char *kwnames[] = {
17143 (char *) "self", NULL
17144 };
17145
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
093d3ff1
RD
17147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17148 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17149 {
17150 PyThreadState* __tstate = wxPyBeginAllowThreads();
17151 (arg1)->Tile();
17152
17153 wxPyEndAllowThreads(__tstate);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 Py_INCREF(Py_None); resultobj = Py_None;
17157 return resultobj;
17158 fail:
17159 return NULL;
17160}
17161
17162
c32bde28 17163static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17164 PyObject *obj;
17165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17166 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17167 Py_INCREF(obj);
17168 return Py_BuildValue((char *)"");
17169}
c32bde28 17170static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17171 PyObject *resultobj;
17172 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17173 int arg2 = (int) (int)-1 ;
17174 wxString const &arg3_defvalue = wxPyEmptyString ;
17175 wxString *arg3 = (wxString *) &arg3_defvalue ;
d14a1e28
RD
17176 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17177 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17178 wxSize const &arg5_defvalue = wxDefaultSize ;
17179 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17180 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17181 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17182 wxString *arg7 = (wxString *) &arg7_defvalue ;
17183 wxMDIChildFrame *result;
ae8162c8 17184 bool temp3 = false ;
d14a1e28
RD
17185 wxPoint temp4 ;
17186 wxSize temp5 ;
ae8162c8 17187 bool temp7 = false ;
d14a1e28 17188 PyObject * obj0 = 0 ;
994141e6 17189 PyObject * obj1 = 0 ;
d14a1e28
RD
17190 PyObject * obj2 = 0 ;
17191 PyObject * obj3 = 0 ;
17192 PyObject * obj4 = 0 ;
994141e6 17193 PyObject * obj5 = 0 ;
d14a1e28
RD
17194 PyObject * obj6 = 0 ;
17195 char *kwnames[] = {
17196 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17197 };
17198
248ed943 17199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
17200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17201 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17202 if (obj1) {
093d3ff1
RD
17203 {
17204 arg2 = (int const)(SWIG_As_int(obj1));
17205 if (SWIG_arg_fail(2)) SWIG_fail;
17206 }
248ed943
RD
17207 }
17208 if (obj2) {
17209 {
17210 arg3 = wxString_in_helper(obj2);
17211 if (arg3 == NULL) SWIG_fail;
ae8162c8 17212 temp3 = true;
248ed943 17213 }
d14a1e28
RD
17214 }
17215 if (obj3) {
17216 {
17217 arg4 = &temp4;
17218 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17219 }
17220 }
17221 if (obj4) {
17222 {
17223 arg5 = &temp5;
17224 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17225 }
17226 }
994141e6 17227 if (obj5) {
093d3ff1
RD
17228 {
17229 arg6 = (long)(SWIG_As_long(obj5));
17230 if (SWIG_arg_fail(6)) SWIG_fail;
17231 }
994141e6 17232 }
d14a1e28
RD
17233 if (obj6) {
17234 {
17235 arg7 = wxString_in_helper(obj6);
17236 if (arg7 == NULL) SWIG_fail;
ae8162c8 17237 temp7 = true;
d14a1e28
RD
17238 }
17239 }
17240 {
e3b71cb8 17241 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17242 PyThreadState* __tstate = wxPyBeginAllowThreads();
17243 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17244
17245 wxPyEndAllowThreads(__tstate);
110da5b0 17246 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17247 }
b0f7404b 17248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d14a1e28
RD
17249 {
17250 if (temp3)
17251 delete arg3;
17252 }
17253 {
17254 if (temp7)
17255 delete arg7;
17256 }
17257 return resultobj;
17258 fail:
17259 {
17260 if (temp3)
17261 delete arg3;
17262 }
17263 {
17264 if (temp7)
17265 delete arg7;
17266 }
17267 return NULL;
17268}
17269
17270
c32bde28 17271static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17272 PyObject *resultobj;
17273 wxMDIChildFrame *result;
17274 char *kwnames[] = {
17275 NULL
17276 };
17277
17278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17279 {
e3b71cb8 17280 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17281 PyThreadState* __tstate = wxPyBeginAllowThreads();
17282 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17283
17284 wxPyEndAllowThreads(__tstate);
110da5b0 17285 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17286 }
b0f7404b 17287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d14a1e28
RD
17288 return resultobj;
17289 fail:
17290 return NULL;
17291}
17292
17293
c32bde28 17294static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17295 PyObject *resultobj;
17296 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17297 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
248ed943
RD
17298 int arg3 = (int) (int)-1 ;
17299 wxString const &arg4_defvalue = wxPyEmptyString ;
17300 wxString *arg4 = (wxString *) &arg4_defvalue ;
d14a1e28
RD
17301 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17302 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17303 wxSize const &arg6_defvalue = wxDefaultSize ;
17304 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17305 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17306 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17307 wxString *arg8 = (wxString *) &arg8_defvalue ;
17308 bool result;
ae8162c8 17309 bool temp4 = false ;
d14a1e28
RD
17310 wxPoint temp5 ;
17311 wxSize temp6 ;
ae8162c8 17312 bool temp8 = false ;
d14a1e28
RD
17313 PyObject * obj0 = 0 ;
17314 PyObject * obj1 = 0 ;
994141e6 17315 PyObject * obj2 = 0 ;
d14a1e28
RD
17316 PyObject * obj3 = 0 ;
17317 PyObject * obj4 = 0 ;
17318 PyObject * obj5 = 0 ;
994141e6 17319 PyObject * obj6 = 0 ;
d14a1e28
RD
17320 PyObject * obj7 = 0 ;
17321 char *kwnames[] = {
17322 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17323 };
17324
248ed943 17325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
17326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17327 if (SWIG_arg_fail(1)) SWIG_fail;
17328 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17329 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 17330 if (obj2) {
093d3ff1
RD
17331 {
17332 arg3 = (int const)(SWIG_As_int(obj2));
17333 if (SWIG_arg_fail(3)) SWIG_fail;
17334 }
248ed943
RD
17335 }
17336 if (obj3) {
17337 {
17338 arg4 = wxString_in_helper(obj3);
17339 if (arg4 == NULL) SWIG_fail;
ae8162c8 17340 temp4 = true;
248ed943 17341 }
d14a1e28
RD
17342 }
17343 if (obj4) {
17344 {
17345 arg5 = &temp5;
17346 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17347 }
17348 }
17349 if (obj5) {
17350 {
17351 arg6 = &temp6;
17352 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17353 }
17354 }
994141e6 17355 if (obj6) {
093d3ff1
RD
17356 {
17357 arg7 = (long)(SWIG_As_long(obj6));
17358 if (SWIG_arg_fail(7)) SWIG_fail;
17359 }
994141e6 17360 }
d14a1e28
RD
17361 if (obj7) {
17362 {
17363 arg8 = wxString_in_helper(obj7);
17364 if (arg8 == NULL) SWIG_fail;
ae8162c8 17365 temp8 = true;
d14a1e28
RD
17366 }
17367 }
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
4f89f6a3
RD
17375 {
17376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17377 }
d14a1e28
RD
17378 {
17379 if (temp4)
17380 delete arg4;
17381 }
17382 {
17383 if (temp8)
17384 delete arg8;
17385 }
17386 return resultobj;
17387 fail:
17388 {
17389 if (temp4)
17390 delete arg4;
17391 }
17392 {
17393 if (temp8)
17394 delete arg8;
17395 }
17396 return NULL;
17397}
17398
17399
c32bde28 17400static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17401 PyObject *resultobj;
17402 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17403 PyObject * obj0 = 0 ;
17404 char *kwnames[] = {
17405 (char *) "self", NULL
17406 };
17407
17408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
093d3ff1
RD
17409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17410 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17411 {
17412 PyThreadState* __tstate = wxPyBeginAllowThreads();
17413 (arg1)->Activate();
17414
17415 wxPyEndAllowThreads(__tstate);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 }
17418 Py_INCREF(Py_None); resultobj = Py_None;
17419 return resultobj;
17420 fail:
17421 return NULL;
17422}
17423
17424
c32bde28 17425static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17426 PyObject *resultobj;
17427 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
5cbf236d 17428 bool arg2 = (bool) true ;
d14a1e28
RD
17429 PyObject * obj0 = 0 ;
17430 PyObject * obj1 = 0 ;
17431 char *kwnames[] = {
17432 (char *) "self",(char *) "maximize", NULL
17433 };
17434
5cbf236d 17435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17437 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d 17438 if (obj1) {
093d3ff1
RD
17439 {
17440 arg2 = (bool)(SWIG_As_bool(obj1));
17441 if (SWIG_arg_fail(2)) SWIG_fail;
17442 }
5cbf236d 17443 }
d14a1e28
RD
17444 {
17445 PyThreadState* __tstate = wxPyBeginAllowThreads();
17446 (arg1)->Maximize(arg2);
17447
17448 wxPyEndAllowThreads(__tstate);
17449 if (PyErr_Occurred()) SWIG_fail;
17450 }
17451 Py_INCREF(Py_None); resultobj = Py_None;
17452 return resultobj;
17453 fail:
17454 return NULL;
17455}
17456
17457
c32bde28 17458static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17459 PyObject *resultobj;
17460 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17461 PyObject * obj0 = 0 ;
17462 char *kwnames[] = {
17463 (char *) "self", NULL
17464 };
17465
17466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
093d3ff1
RD
17467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17468 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17469 {
17470 PyThreadState* __tstate = wxPyBeginAllowThreads();
17471 (arg1)->Restore();
17472
17473 wxPyEndAllowThreads(__tstate);
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 Py_INCREF(Py_None); resultobj = Py_None;
17477 return resultobj;
17478 fail:
17479 return NULL;
17480}
17481
17482
c32bde28 17483static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17484 PyObject *obj;
17485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17486 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17487 Py_INCREF(obj);
17488 return Py_BuildValue((char *)"");
17489}
c32bde28 17490static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17491 PyObject *resultobj;
17492 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17493 long arg2 = (long) 0 ;
17494 wxMDIClientWindow *result;
17495 PyObject * obj0 = 0 ;
994141e6 17496 PyObject * obj1 = 0 ;
d14a1e28
RD
17497 char *kwnames[] = {
17498 (char *) "parent",(char *) "style", NULL
17499 };
17500
994141e6 17501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17503 if (SWIG_arg_fail(1)) SWIG_fail;
994141e6 17504 if (obj1) {
093d3ff1
RD
17505 {
17506 arg2 = (long)(SWIG_As_long(obj1));
17507 if (SWIG_arg_fail(2)) SWIG_fail;
17508 }
994141e6 17509 }
d14a1e28 17510 {
e3b71cb8 17511 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17512 PyThreadState* __tstate = wxPyBeginAllowThreads();
17513 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17514
17515 wxPyEndAllowThreads(__tstate);
110da5b0 17516 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17517 }
b0f7404b 17518 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d14a1e28
RD
17519 return resultobj;
17520 fail:
17521 return NULL;
17522}
17523
17524
c32bde28 17525static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17526 PyObject *resultobj;
17527 wxMDIClientWindow *result;
17528 char *kwnames[] = {
17529 NULL
17530 };
17531
17532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17533 {
e3b71cb8 17534 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17535 PyThreadState* __tstate = wxPyBeginAllowThreads();
17536 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17537
17538 wxPyEndAllowThreads(__tstate);
110da5b0 17539 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17540 }
b0f7404b 17541 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d14a1e28
RD
17542 return resultobj;
17543 fail:
17544 return NULL;
17545}
17546
17547
c32bde28 17548static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17549 PyObject *resultobj;
17550 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17551 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17552 long arg3 = (long) 0 ;
17553 bool result;
17554 PyObject * obj0 = 0 ;
17555 PyObject * obj1 = 0 ;
994141e6 17556 PyObject * obj2 = 0 ;
d14a1e28
RD
17557 char *kwnames[] = {
17558 (char *) "self",(char *) "parent",(char *) "style", NULL
17559 };
17560
994141e6 17561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17563 if (SWIG_arg_fail(1)) SWIG_fail;
17564 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17565 if (SWIG_arg_fail(2)) SWIG_fail;
994141e6 17566 if (obj2) {
093d3ff1
RD
17567 {
17568 arg3 = (long)(SWIG_As_long(obj2));
17569 if (SWIG_arg_fail(3)) SWIG_fail;
17570 }
994141e6 17571 }
d14a1e28
RD
17572 {
17573 PyThreadState* __tstate = wxPyBeginAllowThreads();
17574 result = (bool)(arg1)->Create(arg2,arg3);
17575
17576 wxPyEndAllowThreads(__tstate);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 }
4f89f6a3
RD
17579 {
17580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17581 }
d14a1e28
RD
17582 return resultobj;
17583 fail:
17584 return NULL;
17585}
17586
17587
c32bde28 17588static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17589 PyObject *obj;
17590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17591 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17592 Py_INCREF(obj);
17593 return Py_BuildValue((char *)"");
17594}
c32bde28 17595static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17596 PyObject *resultobj;
17597 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 17598 int arg2 = (int) (int)-1 ;
d14a1e28
RD
17599 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17600 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17601 wxSize const &arg4_defvalue = wxDefaultSize ;
17602 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17603 long arg5 = (long) 0 ;
17604 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17605 wxString *arg6 = (wxString *) &arg6_defvalue ;
17606 wxPyWindow *result;
17607 wxPoint temp3 ;
17608 wxSize temp4 ;
ae8162c8 17609 bool temp6 = false ;
d14a1e28 17610 PyObject * obj0 = 0 ;
994141e6 17611 PyObject * obj1 = 0 ;
d14a1e28
RD
17612 PyObject * obj2 = 0 ;
17613 PyObject * obj3 = 0 ;
994141e6 17614 PyObject * obj4 = 0 ;
d14a1e28
RD
17615 PyObject * obj5 = 0 ;
17616 char *kwnames[] = {
17617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17618 };
17619
248ed943 17620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17622 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 17623 if (obj1) {
093d3ff1
RD
17624 {
17625 arg2 = (int const)(SWIG_As_int(obj1));
17626 if (SWIG_arg_fail(2)) SWIG_fail;
17627 }
248ed943 17628 }
d14a1e28
RD
17629 if (obj2) {
17630 {
17631 arg3 = &temp3;
17632 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17633 }
17634 }
17635 if (obj3) {
17636 {
17637 arg4 = &temp4;
17638 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17639 }
17640 }
994141e6 17641 if (obj4) {
093d3ff1
RD
17642 {
17643 arg5 = (long)(SWIG_As_long(obj4));
17644 if (SWIG_arg_fail(5)) SWIG_fail;
17645 }
994141e6 17646 }
d14a1e28
RD
17647 if (obj5) {
17648 {
17649 arg6 = wxString_in_helper(obj5);
17650 if (arg6 == NULL) SWIG_fail;
ae8162c8 17651 temp6 = true;
d14a1e28
RD
17652 }
17653 }
17654 {
e3b71cb8 17655 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
17656 PyThreadState* __tstate = wxPyBeginAllowThreads();
17657 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17658
17659 wxPyEndAllowThreads(__tstate);
110da5b0 17660 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 17661 }
15afbcd0 17662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
d14a1e28
RD
17663 {
17664 if (temp6)
17665 delete arg6;
17666 }
17667 return resultobj;
17668 fail:
17669 {
17670 if (temp6)
17671 delete arg6;
17672 }
17673 return NULL;
17674}
17675
17676
c32bde28 17677static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
17678 PyObject *resultobj;
17679 wxPyWindow *result;
17680 char *kwnames[] = {
17681 NULL
17682 };
17683
17684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17685 {
e3b71cb8 17686 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
17687 PyThreadState* __tstate = wxPyBeginAllowThreads();
17688 result = (wxPyWindow *)new wxPyWindow();
17689
17690 wxPyEndAllowThreads(__tstate);
110da5b0 17691 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
17692 }
17693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17694 return resultobj;
17695 fail:
17696 return NULL;
17697}
17698
17699
c32bde28 17700static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17701 PyObject *resultobj;
17702 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17703 PyObject *arg2 = (PyObject *) 0 ;
17704 PyObject *arg3 = (PyObject *) 0 ;
17705 PyObject * obj0 = 0 ;
17706 PyObject * obj1 = 0 ;
17707 PyObject * obj2 = 0 ;
17708 char *kwnames[] = {
17709 (char *) "self",(char *) "self",(char *) "_class", NULL
17710 };
17711
17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17714 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17715 arg2 = obj1;
17716 arg3 = obj2;
17717 {
17718 PyThreadState* __tstate = wxPyBeginAllowThreads();
17719 (arg1)->_setCallbackInfo(arg2,arg3);
17720
17721 wxPyEndAllowThreads(__tstate);
17722 if (PyErr_Occurred()) SWIG_fail;
17723 }
17724 Py_INCREF(Py_None); resultobj = Py_None;
17725 return resultobj;
17726 fail:
17727 return NULL;
17728}
17729
17730
c32bde28 17731static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
17732 PyObject *resultobj;
17733 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17734 wxSize *arg2 = 0 ;
17735 wxSize temp2 ;
17736 PyObject * obj0 = 0 ;
17737 PyObject * obj1 = 0 ;
17738 char *kwnames[] = {
17739 (char *) "self",(char *) "size", NULL
17740 };
17741
17742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
17743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17744 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
17745 {
17746 arg2 = &temp2;
17747 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17748 }
17749 {
17750 PyThreadState* __tstate = wxPyBeginAllowThreads();
17751 (arg1)->SetBestSize((wxSize const &)*arg2);
17752
17753 wxPyEndAllowThreads(__tstate);
17754 if (PyErr_Occurred()) SWIG_fail;
17755 }
17756 Py_INCREF(Py_None); resultobj = Py_None;
17757 return resultobj;
17758 fail:
17759 return NULL;
17760}
17761
17762
c32bde28 17763static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17764 PyObject *resultobj;
17765 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17766 int arg2 ;
17767 int arg3 ;
17768 int arg4 ;
17769 int arg5 ;
17770 PyObject * obj0 = 0 ;
994141e6
RD
17771 PyObject * obj1 = 0 ;
17772 PyObject * obj2 = 0 ;
17773 PyObject * obj3 = 0 ;
17774 PyObject * obj4 = 0 ;
d14a1e28
RD
17775 char *kwnames[] = {
17776 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17777 };
17778
994141e6 17779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
17780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17781 if (SWIG_arg_fail(1)) SWIG_fail;
17782 {
17783 arg2 = (int)(SWIG_As_int(obj1));
17784 if (SWIG_arg_fail(2)) SWIG_fail;
17785 }
17786 {
17787 arg3 = (int)(SWIG_As_int(obj2));
17788 if (SWIG_arg_fail(3)) SWIG_fail;
17789 }
17790 {
17791 arg4 = (int)(SWIG_As_int(obj3));
17792 if (SWIG_arg_fail(4)) SWIG_fail;
17793 }
17794 {
17795 arg5 = (int)(SWIG_As_int(obj4));
17796 if (SWIG_arg_fail(5)) SWIG_fail;
17797 }
d14a1e28
RD
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17801
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 Py_INCREF(Py_None); resultobj = Py_None;
17806 return resultobj;
17807 fail:
17808 return NULL;
17809}
17810
17811
c32bde28 17812static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17813 PyObject *resultobj;
17814 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17815 int arg2 ;
17816 int arg3 ;
17817 int arg4 ;
17818 int arg5 ;
17819 int arg6 = (int) wxSIZE_AUTO ;
17820 PyObject * obj0 = 0 ;
994141e6
RD
17821 PyObject * obj1 = 0 ;
17822 PyObject * obj2 = 0 ;
17823 PyObject * obj3 = 0 ;
17824 PyObject * obj4 = 0 ;
17825 PyObject * obj5 = 0 ;
d14a1e28
RD
17826 char *kwnames[] = {
17827 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17828 };
17829
994141e6 17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
17831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17832 if (SWIG_arg_fail(1)) SWIG_fail;
17833 {
17834 arg2 = (int)(SWIG_As_int(obj1));
17835 if (SWIG_arg_fail(2)) SWIG_fail;
17836 }
17837 {
17838 arg3 = (int)(SWIG_As_int(obj2));
17839 if (SWIG_arg_fail(3)) SWIG_fail;
17840 }
17841 {
17842 arg4 = (int)(SWIG_As_int(obj3));
17843 if (SWIG_arg_fail(4)) SWIG_fail;
17844 }
17845 {
17846 arg5 = (int)(SWIG_As_int(obj4));
17847 if (SWIG_arg_fail(5)) SWIG_fail;
17848 }
994141e6 17849 if (obj5) {
093d3ff1
RD
17850 {
17851 arg6 = (int)(SWIG_As_int(obj5));
17852 if (SWIG_arg_fail(6)) SWIG_fail;
17853 }
994141e6 17854 }
d14a1e28
RD
17855 {
17856 PyThreadState* __tstate = wxPyBeginAllowThreads();
17857 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 Py_INCREF(Py_None); resultobj = Py_None;
17863 return resultobj;
17864 fail:
17865 return NULL;
17866}
17867
17868
c32bde28 17869static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17870 PyObject *resultobj;
17871 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17872 int arg2 ;
17873 int arg3 ;
17874 PyObject * obj0 = 0 ;
994141e6
RD
17875 PyObject * obj1 = 0 ;
17876 PyObject * obj2 = 0 ;
d14a1e28
RD
17877 char *kwnames[] = {
17878 (char *) "self",(char *) "width",(char *) "height", NULL
17879 };
17880
994141e6 17881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17883 if (SWIG_arg_fail(1)) SWIG_fail;
17884 {
17885 arg2 = (int)(SWIG_As_int(obj1));
17886 if (SWIG_arg_fail(2)) SWIG_fail;
17887 }
17888 {
17889 arg3 = (int)(SWIG_As_int(obj2));
17890 if (SWIG_arg_fail(3)) SWIG_fail;
17891 }
d14a1e28
RD
17892 {
17893 PyThreadState* __tstate = wxPyBeginAllowThreads();
17894 (arg1)->base_DoSetClientSize(arg2,arg3);
17895
17896 wxPyEndAllowThreads(__tstate);
17897 if (PyErr_Occurred()) SWIG_fail;
17898 }
17899 Py_INCREF(Py_None); resultobj = Py_None;
17900 return resultobj;
17901 fail:
17902 return NULL;
17903}
17904
17905
c32bde28 17906static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17907 PyObject *resultobj;
17908 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17909 int arg2 ;
17910 int arg3 ;
17911 PyObject * obj0 = 0 ;
994141e6
RD
17912 PyObject * obj1 = 0 ;
17913 PyObject * obj2 = 0 ;
d14a1e28 17914 char *kwnames[] = {
15afbcd0
RD
17915 (char *) "self",(char *) "x",(char *) "y", NULL
17916 };
17917
17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17920 if (SWIG_arg_fail(1)) SWIG_fail;
17921 {
17922 arg2 = (int)(SWIG_As_int(obj1));
17923 if (SWIG_arg_fail(2)) SWIG_fail;
17924 }
17925 {
17926 arg3 = (int)(SWIG_As_int(obj2));
17927 if (SWIG_arg_fail(3)) SWIG_fail;
17928 }
d14a1e28
RD
17929 {
17930 PyThreadState* __tstate = wxPyBeginAllowThreads();
17931 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17932
17933 wxPyEndAllowThreads(__tstate);
17934 if (PyErr_Occurred()) SWIG_fail;
17935 }
17936 Py_INCREF(Py_None); resultobj = Py_None;
17937 return resultobj;
17938 fail:
17939 return NULL;
17940}
17941
17942
c32bde28 17943static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17944 PyObject *resultobj;
17945 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17946 int *arg2 = (int *) 0 ;
17947 int *arg3 = (int *) 0 ;
17948 int temp2 ;
c32bde28 17949 int res2 = 0 ;
d14a1e28 17950 int temp3 ;
c32bde28 17951 int res3 = 0 ;
d14a1e28
RD
17952 PyObject * obj0 = 0 ;
17953 char *kwnames[] = {
17954 (char *) "self", NULL
17955 };
17956
c32bde28
RD
17957 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17958 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 17959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
17960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17961 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17965
17966 wxPyEndAllowThreads(__tstate);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
17969 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
17970 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17971 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17972 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17973 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
17974 return resultobj;
17975 fail:
17976 return NULL;
17977}
17978
17979
c32bde28 17980static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17981 PyObject *resultobj;
17982 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17983 int *arg2 = (int *) 0 ;
17984 int *arg3 = (int *) 0 ;
17985 int temp2 ;
c32bde28 17986 int res2 = 0 ;
d14a1e28 17987 int temp3 ;
c32bde28 17988 int res3 = 0 ;
d14a1e28
RD
17989 PyObject * obj0 = 0 ;
17990 char *kwnames[] = {
17991 (char *) "self", NULL
17992 };
17993
c32bde28
RD
17994 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17995 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 17996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
17997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17998 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
17999 {
18000 PyThreadState* __tstate = wxPyBeginAllowThreads();
18001 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
18002
18003 wxPyEndAllowThreads(__tstate);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18007 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18008 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18009 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18010 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18011 return resultobj;
18012 fail:
18013 return NULL;
18014}
18015
18016
c32bde28 18017static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18018 PyObject *resultobj;
18019 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18020 int *arg2 = (int *) 0 ;
18021 int *arg3 = (int *) 0 ;
18022 int temp2 ;
c32bde28 18023 int res2 = 0 ;
d14a1e28 18024 int temp3 ;
c32bde28 18025 int res3 = 0 ;
d14a1e28
RD
18026 PyObject * obj0 = 0 ;
18027 char *kwnames[] = {
18028 (char *) "self", NULL
18029 };
18030
c32bde28
RD
18031 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18032 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
18034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18035 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18036 {
18037 PyThreadState* __tstate = wxPyBeginAllowThreads();
18038 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
18039
18040 wxPyEndAllowThreads(__tstate);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18044 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18045 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18046 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18047 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18048 return resultobj;
18049 fail:
18050 return NULL;
18051}
18052
18053
c32bde28 18054static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18055 PyObject *resultobj;
18056 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18057 wxSize result;
18058 PyObject * obj0 = 0 ;
18059 char *kwnames[] = {
18060 (char *) "self", NULL
18061 };
18062
18063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18065 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18066 {
18067 PyThreadState* __tstate = wxPyBeginAllowThreads();
18068 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
18069
18070 wxPyEndAllowThreads(__tstate);
18071 if (PyErr_Occurred()) SWIG_fail;
18072 }
18073 {
18074 wxSize * resultptr;
093d3ff1 18075 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18076 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18077 }
18078 return resultobj;
18079 fail:
18080 return NULL;
18081}
18082
18083
c32bde28 18084static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18085 PyObject *resultobj;
18086 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18087 wxSize result;
18088 PyObject * obj0 = 0 ;
18089 char *kwnames[] = {
18090 (char *) "self", NULL
18091 };
18092
18093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18095 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18096 {
18097 PyThreadState* __tstate = wxPyBeginAllowThreads();
18098 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
18099
18100 wxPyEndAllowThreads(__tstate);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
18103 {
18104 wxSize * resultptr;
093d3ff1 18105 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18106 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18107 }
18108 return resultobj;
18109 fail:
18110 return NULL;
18111}
18112
18113
c32bde28 18114static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18115 PyObject *resultobj;
18116 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18117 PyObject * obj0 = 0 ;
18118 char *kwnames[] = {
18119 (char *) "self", NULL
18120 };
18121
18122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
18123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18124 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18125 {
18126 PyThreadState* __tstate = wxPyBeginAllowThreads();
18127 (arg1)->base_InitDialog();
18128
18129 wxPyEndAllowThreads(__tstate);
18130 if (PyErr_Occurred()) SWIG_fail;
18131 }
18132 Py_INCREF(Py_None); resultobj = Py_None;
18133 return resultobj;
18134 fail:
18135 return NULL;
18136}
18137
18138
c32bde28 18139static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18140 PyObject *resultobj;
18141 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18142 bool result;
18143 PyObject * obj0 = 0 ;
18144 char *kwnames[] = {
18145 (char *) "self", NULL
18146 };
18147
18148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18150 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 result = (bool)(arg1)->base_TransferDataToWindow();
18154
18155 wxPyEndAllowThreads(__tstate);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 }
4f89f6a3
RD
18158 {
18159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18160 }
d14a1e28
RD
18161 return resultobj;
18162 fail:
18163 return NULL;
18164}
18165
18166
c32bde28 18167static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18168 PyObject *resultobj;
18169 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18170 bool result;
18171 PyObject * obj0 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
18177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18178 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18179 {
18180 PyThreadState* __tstate = wxPyBeginAllowThreads();
18181 result = (bool)(arg1)->base_TransferDataFromWindow();
18182
18183 wxPyEndAllowThreads(__tstate);
18184 if (PyErr_Occurred()) SWIG_fail;
18185 }
4f89f6a3
RD
18186 {
18187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18188 }
d14a1e28
RD
18189 return resultobj;
18190 fail:
18191 return NULL;
18192}
18193
18194
c32bde28 18195static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18196 PyObject *resultobj;
18197 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18198 bool result;
18199 PyObject * obj0 = 0 ;
18200 char *kwnames[] = {
18201 (char *) "self", NULL
18202 };
18203
18204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
18205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18206 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18207 {
18208 PyThreadState* __tstate = wxPyBeginAllowThreads();
18209 result = (bool)(arg1)->base_Validate();
18210
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
4f89f6a3
RD
18214 {
18215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18216 }
d14a1e28
RD
18217 return resultobj;
18218 fail:
18219 return NULL;
18220}
18221
18222
c32bde28 18223static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18224 PyObject *resultobj;
18225 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18226 bool result;
18227 PyObject * obj0 = 0 ;
18228 char *kwnames[] = {
18229 (char *) "self", NULL
18230 };
18231
18232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
18233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18234 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18235 {
18236 PyThreadState* __tstate = wxPyBeginAllowThreads();
18237 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18238
18239 wxPyEndAllowThreads(__tstate);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
4f89f6a3
RD
18242 {
18243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18244 }
d14a1e28
RD
18245 return resultobj;
18246 fail:
18247 return NULL;
18248}
18249
18250
c32bde28 18251static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18252 PyObject *resultobj;
18253 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18254 bool result;
18255 PyObject * obj0 = 0 ;
18256 char *kwnames[] = {
18257 (char *) "self", NULL
18258 };
18259
18260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
18261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18262 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18263 {
18264 PyThreadState* __tstate = wxPyBeginAllowThreads();
18265 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18266
18267 wxPyEndAllowThreads(__tstate);
18268 if (PyErr_Occurred()) SWIG_fail;
18269 }
4f89f6a3
RD
18270 {
18271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18272 }
d14a1e28
RD
18273 return resultobj;
18274 fail:
18275 return NULL;
18276}
18277
18278
c32bde28 18279static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18280 PyObject *resultobj;
18281 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18282 wxSize result;
18283 PyObject * obj0 = 0 ;
18284 char *kwnames[] = {
18285 (char *) "self", NULL
18286 };
18287
18288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18290 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18291 {
18292 PyThreadState* __tstate = wxPyBeginAllowThreads();
18293 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18294
18295 wxPyEndAllowThreads(__tstate);
18296 if (PyErr_Occurred()) SWIG_fail;
18297 }
18298 {
18299 wxSize * resultptr;
093d3ff1 18300 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18301 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18302 }
18303 return resultobj;
18304 fail:
18305 return NULL;
18306}
18307
18308
c32bde28 18309static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18310 PyObject *resultobj;
18311 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18312 wxWindow *arg2 = (wxWindow *) 0 ;
18313 PyObject * obj0 = 0 ;
18314 PyObject * obj1 = 0 ;
18315 char *kwnames[] = {
18316 (char *) "self",(char *) "child", NULL
18317 };
18318
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18321 if (SWIG_arg_fail(1)) SWIG_fail;
18322 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18323 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
18324 {
18325 PyThreadState* __tstate = wxPyBeginAllowThreads();
18326 (arg1)->base_AddChild(arg2);
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 Py_INCREF(Py_None); resultobj = Py_None;
18332 return resultobj;
18333 fail:
18334 return NULL;
18335}
18336
18337
c32bde28 18338static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18339 PyObject *resultobj;
18340 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18341 wxWindow *arg2 = (wxWindow *) 0 ;
18342 PyObject * obj0 = 0 ;
18343 PyObject * obj1 = 0 ;
18344 char *kwnames[] = {
18345 (char *) "self",(char *) "child", NULL
18346 };
18347
18348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18350 if (SWIG_arg_fail(1)) SWIG_fail;
18351 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18352 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 (arg1)->base_RemoveChild(arg2);
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 Py_INCREF(Py_None); resultobj = Py_None;
18361 return resultobj;
18362 fail:
18363 return NULL;
18364}
18365
18366
c32bde28 18367static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18368 PyObject *resultobj;
18369 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18370 bool result;
18371 PyObject * obj0 = 0 ;
18372 char *kwnames[] = {
18373 (char *) "self", NULL
18374 };
18375
18376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
18377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18378 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
18379 {
18380 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 18381 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
18382
18383 wxPyEndAllowThreads(__tstate);
18384 if (PyErr_Occurred()) SWIG_fail;
18385 }
18386 {
18387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18388 }
18389 return resultobj;
18390 fail:
18391 return NULL;
18392}
18393
18394
c32bde28 18395static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18396 PyObject *resultobj;
18397 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18398 wxColour *arg2 = 0 ;
18399 wxColour temp2 ;
18400 PyObject * obj0 = 0 ;
18401 PyObject * obj1 = 0 ;
18402 char *kwnames[] = {
18403 (char *) "self",(char *) "c", NULL
18404 };
18405
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18408 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
18409 {
18410 arg2 = &temp2;
18411 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18412 }
18413 {
18414 PyThreadState* __tstate = wxPyBeginAllowThreads();
18415 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18416
18417 wxPyEndAllowThreads(__tstate);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 Py_INCREF(Py_None); resultobj = Py_None;
18421 return resultobj;
18422 fail:
18423 return NULL;
18424}
18425
18426
c32bde28 18427static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
18428 PyObject *resultobj;
18429 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18430 wxVisualAttributes result;
18431 PyObject * obj0 = 0 ;
18432 char *kwnames[] = {
18433 (char *) "self", NULL
18434 };
18435
18436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
18437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18438 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 result = (arg1)->base_GetDefaultAttributes();
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 {
18447 wxVisualAttributes * resultptr;
093d3ff1 18448 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
db3e571a
RD
18449 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18450 }
18451 return resultobj;
18452 fail:
18453 return NULL;
18454}
18455
18456
c32bde28 18457static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18458 PyObject *obj;
18459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18460 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18461 Py_INCREF(obj);
18462 return Py_BuildValue((char *)"");
18463}
c32bde28 18464static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18465 PyObject *resultobj;
18466 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 18467 int arg2 = (int) (int)-1 ;
d14a1e28
RD
18468 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18469 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18470 wxSize const &arg4_defvalue = wxDefaultSize ;
18471 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18472 long arg5 = (long) 0 ;
18473 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18474 wxString *arg6 = (wxString *) &arg6_defvalue ;
18475 wxPyPanel *result;
18476 wxPoint temp3 ;
18477 wxSize temp4 ;
ae8162c8 18478 bool temp6 = false ;
d14a1e28 18479 PyObject * obj0 = 0 ;
994141e6 18480 PyObject * obj1 = 0 ;
d14a1e28
RD
18481 PyObject * obj2 = 0 ;
18482 PyObject * obj3 = 0 ;
994141e6 18483 PyObject * obj4 = 0 ;
d14a1e28
RD
18484 PyObject * obj5 = 0 ;
18485 char *kwnames[] = {
18486 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18487 };
18488
248ed943 18489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18491 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 18492 if (obj1) {
093d3ff1
RD
18493 {
18494 arg2 = (int const)(SWIG_As_int(obj1));
18495 if (SWIG_arg_fail(2)) SWIG_fail;
18496 }
248ed943 18497 }
d14a1e28
RD
18498 if (obj2) {
18499 {
18500 arg3 = &temp3;
18501 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18502 }
18503 }
18504 if (obj3) {
18505 {
18506 arg4 = &temp4;
18507 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18508 }
18509 }
994141e6 18510 if (obj4) {
093d3ff1
RD
18511 {
18512 arg5 = (long)(SWIG_As_long(obj4));
18513 if (SWIG_arg_fail(5)) SWIG_fail;
18514 }
994141e6 18515 }
d14a1e28
RD
18516 if (obj5) {
18517 {
18518 arg6 = wxString_in_helper(obj5);
18519 if (arg6 == NULL) SWIG_fail;
ae8162c8 18520 temp6 = true;
d14a1e28
RD
18521 }
18522 }
18523 {
e3b71cb8 18524 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
18525 PyThreadState* __tstate = wxPyBeginAllowThreads();
18526 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18527
18528 wxPyEndAllowThreads(__tstate);
110da5b0 18529 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 18530 }
15afbcd0 18531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
d14a1e28
RD
18532 {
18533 if (temp6)
18534 delete arg6;
18535 }
18536 return resultobj;
18537 fail:
18538 {
18539 if (temp6)
18540 delete arg6;
18541 }
18542 return NULL;
18543}
18544
18545
c32bde28 18546static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
18547 PyObject *resultobj;
18548 wxPyPanel *result;
18549 char *kwnames[] = {
18550 NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18554 {
e3b71cb8 18555 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 result = (wxPyPanel *)new wxPyPanel();
18558
18559 wxPyEndAllowThreads(__tstate);
110da5b0 18560 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
18561 }
18562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18563 return resultobj;
18564 fail:
18565 return NULL;
18566}
18567
18568
c32bde28 18569static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18570 PyObject *resultobj;
18571 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18572 PyObject *arg2 = (PyObject *) 0 ;
18573 PyObject *arg3 = (PyObject *) 0 ;
18574 PyObject * obj0 = 0 ;
18575 PyObject * obj1 = 0 ;
18576 PyObject * obj2 = 0 ;
18577 char *kwnames[] = {
18578 (char *) "self",(char *) "self",(char *) "_class", NULL
18579 };
18580
18581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18583 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18584 arg2 = obj1;
18585 arg3 = obj2;
18586 {
18587 PyThreadState* __tstate = wxPyBeginAllowThreads();
18588 (arg1)->_setCallbackInfo(arg2,arg3);
18589
18590 wxPyEndAllowThreads(__tstate);
18591 if (PyErr_Occurred()) SWIG_fail;
18592 }
18593 Py_INCREF(Py_None); resultobj = Py_None;
18594 return resultobj;
18595 fail:
18596 return NULL;
18597}
18598
18599
c32bde28 18600static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
18601 PyObject *resultobj;
18602 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18603 wxSize *arg2 = 0 ;
18604 wxSize temp2 ;
18605 PyObject * obj0 = 0 ;
18606 PyObject * obj1 = 0 ;
18607 char *kwnames[] = {
18608 (char *) "self",(char *) "size", NULL
18609 };
18610
18611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18613 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
18614 {
18615 arg2 = &temp2;
18616 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18617 }
18618 {
18619 PyThreadState* __tstate = wxPyBeginAllowThreads();
18620 (arg1)->SetBestSize((wxSize const &)*arg2);
18621
18622 wxPyEndAllowThreads(__tstate);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 }
18625 Py_INCREF(Py_None); resultobj = Py_None;
18626 return resultobj;
18627 fail:
18628 return NULL;
18629}
18630
18631
c32bde28 18632static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18633 PyObject *resultobj;
18634 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18635 int arg2 ;
18636 int arg3 ;
18637 int arg4 ;
18638 int arg5 ;
18639 PyObject * obj0 = 0 ;
994141e6
RD
18640 PyObject * obj1 = 0 ;
18641 PyObject * obj2 = 0 ;
18642 PyObject * obj3 = 0 ;
18643 PyObject * obj4 = 0 ;
d14a1e28
RD
18644 char *kwnames[] = {
18645 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18646 };
18647
994141e6 18648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
18649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18650 if (SWIG_arg_fail(1)) SWIG_fail;
18651 {
18652 arg2 = (int)(SWIG_As_int(obj1));
18653 if (SWIG_arg_fail(2)) SWIG_fail;
18654 }
18655 {
18656 arg3 = (int)(SWIG_As_int(obj2));
18657 if (SWIG_arg_fail(3)) SWIG_fail;
18658 }
18659 {
18660 arg4 = (int)(SWIG_As_int(obj3));
18661 if (SWIG_arg_fail(4)) SWIG_fail;
18662 }
18663 {
18664 arg5 = (int)(SWIG_As_int(obj4));
18665 if (SWIG_arg_fail(5)) SWIG_fail;
18666 }
d14a1e28
RD
18667 {
18668 PyThreadState* __tstate = wxPyBeginAllowThreads();
18669 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18670
18671 wxPyEndAllowThreads(__tstate);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 }
18674 Py_INCREF(Py_None); resultobj = Py_None;
18675 return resultobj;
18676 fail:
18677 return NULL;
18678}
18679
18680
c32bde28 18681static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18682 PyObject *resultobj;
18683 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18684 int arg2 ;
18685 int arg3 ;
18686 int arg4 ;
18687 int arg5 ;
18688 int arg6 = (int) wxSIZE_AUTO ;
18689 PyObject * obj0 = 0 ;
994141e6
RD
18690 PyObject * obj1 = 0 ;
18691 PyObject * obj2 = 0 ;
18692 PyObject * obj3 = 0 ;
18693 PyObject * obj4 = 0 ;
18694 PyObject * obj5 = 0 ;
d14a1e28
RD
18695 char *kwnames[] = {
18696 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18697 };
18698
994141e6 18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
18700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18701 if (SWIG_arg_fail(1)) SWIG_fail;
18702 {
18703 arg2 = (int)(SWIG_As_int(obj1));
18704 if (SWIG_arg_fail(2)) SWIG_fail;
18705 }
18706 {
18707 arg3 = (int)(SWIG_As_int(obj2));
18708 if (SWIG_arg_fail(3)) SWIG_fail;
18709 }
18710 {
18711 arg4 = (int)(SWIG_As_int(obj3));
18712 if (SWIG_arg_fail(4)) SWIG_fail;
18713 }
18714 {
18715 arg5 = (int)(SWIG_As_int(obj4));
18716 if (SWIG_arg_fail(5)) SWIG_fail;
18717 }
994141e6 18718 if (obj5) {
093d3ff1
RD
18719 {
18720 arg6 = (int)(SWIG_As_int(obj5));
18721 if (SWIG_arg_fail(6)) SWIG_fail;
18722 }
994141e6 18723 }
d14a1e28
RD
18724 {
18725 PyThreadState* __tstate = wxPyBeginAllowThreads();
18726 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18727
18728 wxPyEndAllowThreads(__tstate);
18729 if (PyErr_Occurred()) SWIG_fail;
18730 }
18731 Py_INCREF(Py_None); resultobj = Py_None;
18732 return resultobj;
18733 fail:
18734 return NULL;
18735}
18736
18737
c32bde28 18738static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18739 PyObject *resultobj;
18740 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18741 int arg2 ;
18742 int arg3 ;
18743 PyObject * obj0 = 0 ;
994141e6
RD
18744 PyObject * obj1 = 0 ;
18745 PyObject * obj2 = 0 ;
d14a1e28
RD
18746 char *kwnames[] = {
18747 (char *) "self",(char *) "width",(char *) "height", NULL
18748 };
18749
994141e6 18750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18752 if (SWIG_arg_fail(1)) SWIG_fail;
18753 {
18754 arg2 = (int)(SWIG_As_int(obj1));
18755 if (SWIG_arg_fail(2)) SWIG_fail;
18756 }
18757 {
18758 arg3 = (int)(SWIG_As_int(obj2));
18759 if (SWIG_arg_fail(3)) SWIG_fail;
18760 }
d14a1e28
RD
18761 {
18762 PyThreadState* __tstate = wxPyBeginAllowThreads();
18763 (arg1)->base_DoSetClientSize(arg2,arg3);
18764
18765 wxPyEndAllowThreads(__tstate);
18766 if (PyErr_Occurred()) SWIG_fail;
18767 }
18768 Py_INCREF(Py_None); resultobj = Py_None;
18769 return resultobj;
18770 fail:
18771 return NULL;
18772}
18773
18774
c32bde28 18775static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18776 PyObject *resultobj;
18777 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18778 int arg2 ;
18779 int arg3 ;
18780 PyObject * obj0 = 0 ;
994141e6
RD
18781 PyObject * obj1 = 0 ;
18782 PyObject * obj2 = 0 ;
d14a1e28
RD
18783 char *kwnames[] = {
18784 (char *) "self",(char *) "x",(char *) "y", NULL
18785 };
18786
994141e6 18787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18789 if (SWIG_arg_fail(1)) SWIG_fail;
18790 {
18791 arg2 = (int)(SWIG_As_int(obj1));
18792 if (SWIG_arg_fail(2)) SWIG_fail;
18793 }
18794 {
18795 arg3 = (int)(SWIG_As_int(obj2));
18796 if (SWIG_arg_fail(3)) SWIG_fail;
18797 }
d14a1e28
RD
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18801
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 Py_INCREF(Py_None); resultobj = Py_None;
18806 return resultobj;
18807 fail:
18808 return NULL;
18809}
18810
18811
c32bde28 18812static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18813 PyObject *resultobj;
18814 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18815 int *arg2 = (int *) 0 ;
18816 int *arg3 = (int *) 0 ;
18817 int temp2 ;
c32bde28 18818 int res2 = 0 ;
d14a1e28 18819 int temp3 ;
c32bde28 18820 int res3 = 0 ;
d14a1e28
RD
18821 PyObject * obj0 = 0 ;
18822 char *kwnames[] = {
18823 (char *) "self", NULL
18824 };
18825
c32bde28
RD
18826 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18827 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18830 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18831 {
18832 PyThreadState* __tstate = wxPyBeginAllowThreads();
18833 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
18834
18835 wxPyEndAllowThreads(__tstate);
18836 if (PyErr_Occurred()) SWIG_fail;
18837 }
18838 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18839 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18840 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18841 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18842 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18843 return resultobj;
18844 fail:
18845 return NULL;
18846}
18847
18848
c32bde28 18849static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18850 PyObject *resultobj;
18851 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18852 int *arg2 = (int *) 0 ;
18853 int *arg3 = (int *) 0 ;
18854 int temp2 ;
c32bde28 18855 int res2 = 0 ;
d14a1e28 18856 int temp3 ;
c32bde28 18857 int res3 = 0 ;
d14a1e28
RD
18858 PyObject * obj0 = 0 ;
18859 char *kwnames[] = {
18860 (char *) "self", NULL
18861 };
18862
c32bde28
RD
18863 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18864 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18867 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18868 {
18869 PyThreadState* __tstate = wxPyBeginAllowThreads();
18870 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
18871
18872 wxPyEndAllowThreads(__tstate);
18873 if (PyErr_Occurred()) SWIG_fail;
18874 }
18875 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18876 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18877 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18878 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18879 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18880 return resultobj;
18881 fail:
18882 return NULL;
18883}
18884
18885
c32bde28 18886static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18887 PyObject *resultobj;
18888 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18889 int *arg2 = (int *) 0 ;
18890 int *arg3 = (int *) 0 ;
18891 int temp2 ;
c32bde28 18892 int res2 = 0 ;
d14a1e28 18893 int temp3 ;
c32bde28 18894 int res3 = 0 ;
d14a1e28
RD
18895 PyObject * obj0 = 0 ;
18896 char *kwnames[] = {
18897 (char *) "self", NULL
18898 };
18899
c32bde28
RD
18900 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18901 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 18902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
18903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18904 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18905 {
18906 PyThreadState* __tstate = wxPyBeginAllowThreads();
18907 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
18908
18909 wxPyEndAllowThreads(__tstate);
18910 if (PyErr_Occurred()) SWIG_fail;
18911 }
18912 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
18913 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18914 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18915 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18916 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
18917 return resultobj;
18918 fail:
18919 return NULL;
18920}
18921
18922
c32bde28 18923static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18924 PyObject *resultobj;
18925 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18926 wxSize result;
18927 PyObject * obj0 = 0 ;
18928 char *kwnames[] = {
18929 (char *) "self", NULL
18930 };
18931
18932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18934 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18935 {
18936 PyThreadState* __tstate = wxPyBeginAllowThreads();
18937 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
18938
18939 wxPyEndAllowThreads(__tstate);
18940 if (PyErr_Occurred()) SWIG_fail;
18941 }
18942 {
18943 wxSize * resultptr;
093d3ff1 18944 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18946 }
18947 return resultobj;
18948 fail:
18949 return NULL;
18950}
18951
18952
c32bde28 18953static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18954 PyObject *resultobj;
18955 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18956 wxSize result;
18957 PyObject * obj0 = 0 ;
18958 char *kwnames[] = {
18959 (char *) "self", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
18963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18964 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
18968
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 {
18973 wxSize * resultptr;
093d3ff1 18974 resultptr = new wxSize((wxSize &)(result));
15afbcd0 18975 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
18976 }
18977 return resultobj;
18978 fail:
18979 return NULL;
18980}
18981
18982
c32bde28 18983static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18984 PyObject *resultobj;
18985 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18986 PyObject * obj0 = 0 ;
18987 char *kwnames[] = {
18988 (char *) "self", NULL
18989 };
18990
18991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
18992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18993 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
18994 {
18995 PyThreadState* __tstate = wxPyBeginAllowThreads();
18996 (arg1)->base_InitDialog();
18997
18998 wxPyEndAllowThreads(__tstate);
18999 if (PyErr_Occurred()) SWIG_fail;
19000 }
19001 Py_INCREF(Py_None); resultobj = Py_None;
19002 return resultobj;
19003 fail:
19004 return NULL;
19005}
19006
19007
c32bde28 19008static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19009 PyObject *resultobj;
19010 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19011 bool result;
19012 PyObject * obj0 = 0 ;
19013 char *kwnames[] = {
19014 (char *) "self", NULL
19015 };
19016
19017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19019 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19020 {
19021 PyThreadState* __tstate = wxPyBeginAllowThreads();
19022 result = (bool)(arg1)->base_TransferDataToWindow();
19023
19024 wxPyEndAllowThreads(__tstate);
19025 if (PyErr_Occurred()) SWIG_fail;
19026 }
4f89f6a3
RD
19027 {
19028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19029 }
d14a1e28
RD
19030 return resultobj;
19031 fail:
19032 return NULL;
19033}
19034
19035
c32bde28 19036static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19037 PyObject *resultobj;
19038 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19039 bool result;
19040 PyObject * obj0 = 0 ;
19041 char *kwnames[] = {
19042 (char *) "self", NULL
19043 };
19044
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19047 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19048 {
19049 PyThreadState* __tstate = wxPyBeginAllowThreads();
19050 result = (bool)(arg1)->base_TransferDataFromWindow();
19051
19052 wxPyEndAllowThreads(__tstate);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 }
4f89f6a3
RD
19055 {
19056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19057 }
d14a1e28
RD
19058 return resultobj;
19059 fail:
19060 return NULL;
19061}
19062
19063
c32bde28 19064static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19065 PyObject *resultobj;
19066 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19067 bool result;
19068 PyObject * obj0 = 0 ;
19069 char *kwnames[] = {
19070 (char *) "self", NULL
19071 };
19072
19073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
19074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19075 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19076 {
19077 PyThreadState* __tstate = wxPyBeginAllowThreads();
19078 result = (bool)(arg1)->base_Validate();
19079
19080 wxPyEndAllowThreads(__tstate);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 }
4f89f6a3
RD
19083 {
19084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19085 }
d14a1e28
RD
19086 return resultobj;
19087 fail:
19088 return NULL;
19089}
19090
19091
c32bde28 19092static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19093 PyObject *resultobj;
19094 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19095 bool result;
19096 PyObject * obj0 = 0 ;
19097 char *kwnames[] = {
19098 (char *) "self", NULL
19099 };
19100
19101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
19102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19103 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19104 {
19105 PyThreadState* __tstate = wxPyBeginAllowThreads();
19106 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
19107
19108 wxPyEndAllowThreads(__tstate);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 }
4f89f6a3
RD
19111 {
19112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19113 }
d14a1e28
RD
19114 return resultobj;
19115 fail:
19116 return NULL;
19117}
19118
19119
c32bde28 19120static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19121 PyObject *resultobj;
19122 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19123 bool result;
19124 PyObject * obj0 = 0 ;
19125 char *kwnames[] = {
19126 (char *) "self", NULL
19127 };
19128
19129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
19130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19131 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19132 {
19133 PyThreadState* __tstate = wxPyBeginAllowThreads();
19134 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19135
19136 wxPyEndAllowThreads(__tstate);
19137 if (PyErr_Occurred()) SWIG_fail;
19138 }
4f89f6a3
RD
19139 {
19140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19141 }
d14a1e28
RD
19142 return resultobj;
19143 fail:
19144 return NULL;
19145}
19146
19147
c32bde28 19148static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19149 PyObject *resultobj;
19150 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19151 wxSize result;
19152 PyObject * obj0 = 0 ;
19153 char *kwnames[] = {
19154 (char *) "self", NULL
19155 };
19156
19157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19159 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19160 {
19161 PyThreadState* __tstate = wxPyBeginAllowThreads();
19162 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19163
19164 wxPyEndAllowThreads(__tstate);
19165 if (PyErr_Occurred()) SWIG_fail;
19166 }
19167 {
19168 wxSize * resultptr;
093d3ff1 19169 resultptr = new wxSize((wxSize &)(result));
15afbcd0 19170 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
19171 }
19172 return resultobj;
19173 fail:
19174 return NULL;
19175}
19176
19177
c32bde28 19178static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19179 PyObject *resultobj;
19180 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19181 wxWindow *arg2 = (wxWindow *) 0 ;
19182 PyObject * obj0 = 0 ;
19183 PyObject * obj1 = 0 ;
19184 char *kwnames[] = {
19185 (char *) "self",(char *) "child", NULL
19186 };
19187
19188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19190 if (SWIG_arg_fail(1)) SWIG_fail;
19191 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19192 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19193 {
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 (arg1)->base_AddChild(arg2);
19196
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 Py_INCREF(Py_None); resultobj = Py_None;
19201 return resultobj;
19202 fail:
19203 return NULL;
19204}
19205
19206
c32bde28 19207static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19208 PyObject *resultobj;
19209 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19210 wxWindow *arg2 = (wxWindow *) 0 ;
19211 PyObject * obj0 = 0 ;
19212 PyObject * obj1 = 0 ;
19213 char *kwnames[] = {
19214 (char *) "self",(char *) "child", NULL
19215 };
19216
19217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19219 if (SWIG_arg_fail(1)) SWIG_fail;
19220 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19221 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
19222 {
19223 PyThreadState* __tstate = wxPyBeginAllowThreads();
19224 (arg1)->base_RemoveChild(arg2);
19225
19226 wxPyEndAllowThreads(__tstate);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 }
19229 Py_INCREF(Py_None); resultobj = Py_None;
19230 return resultobj;
19231 fail:
19232 return NULL;
19233}
19234
19235
c32bde28 19236static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19237 PyObject *resultobj;
1cb4a8aa
RD
19238 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19239 bool result;
19240 PyObject * obj0 = 0 ;
d14a1e28 19241 char *kwnames[] = {
1cb4a8aa 19242 (char *) "self", NULL
d14a1e28
RD
19243 };
19244
1cb4a8aa 19245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
19246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19247 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
19248 {
19249 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 19250 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d14a1e28
RD
19251
19252 wxPyEndAllowThreads(__tstate);
19253 if (PyErr_Occurred()) SWIG_fail;
19254 }
1cb4a8aa
RD
19255 {
19256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19257 }
d14a1e28
RD
19258 return resultobj;
19259 fail:
19260 return NULL;
19261}
19262
19263
c32bde28 19264static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19265 PyObject *resultobj;
1cb4a8aa
RD
19266 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19267 wxColour *arg2 = 0 ;
19268 wxColour temp2 ;
d14a1e28 19269 PyObject * obj0 = 0 ;
1cb4a8aa 19270 PyObject * obj1 = 0 ;
d14a1e28 19271 char *kwnames[] = {
1cb4a8aa 19272 (char *) "self",(char *) "c", NULL
d14a1e28
RD
19273 };
19274
1cb4a8aa 19275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19277 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19278 {
19279 arg2 = &temp2;
19280 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19281 }
d14a1e28
RD
19282 {
19283 PyThreadState* __tstate = wxPyBeginAllowThreads();
1cb4a8aa 19284 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
d14a1e28
RD
19285
19286 wxPyEndAllowThreads(__tstate);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
19289 Py_INCREF(Py_None); resultobj = Py_None;
19290 return resultobj;
19291 fail:
19292 return NULL;
19293}
19294
19295
c32bde28 19296static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
19297 PyObject *resultobj;
19298 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19299 wxVisualAttributes result;
19300 PyObject * obj0 = 0 ;
19301 char *kwnames[] = {
19302 (char *) "self", NULL
19303 };
19304
19305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
19306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19307 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
19308 {
19309 PyThreadState* __tstate = wxPyBeginAllowThreads();
19310 result = (arg1)->base_GetDefaultAttributes();
19311
19312 wxPyEndAllowThreads(__tstate);
19313 if (PyErr_Occurred()) SWIG_fail;
19314 }
19315 {
19316 wxVisualAttributes * resultptr;
093d3ff1 19317 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
db3e571a
RD
19318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19319 }
19320 return resultobj;
19321 fail:
19322 return NULL;
19323}
19324
19325
c32bde28 19326static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
1cb4a8aa
RD
19327 PyObject *obj;
19328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19329 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19330 Py_INCREF(obj);
19331 return Py_BuildValue((char *)"");
19332}
c32bde28 19333static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 19334 PyObject *resultobj;
1cb4a8aa 19335 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 19336 int arg2 = (int) (int)-1 ;
1cb4a8aa
RD
19337 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19338 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19339 wxSize const &arg4_defvalue = wxDefaultSize ;
19340 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19341 long arg5 = (long) 0 ;
19342 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19343 wxString *arg6 = (wxString *) &arg6_defvalue ;
19344 wxPyScrolledWindow *result;
19345 wxPoint temp3 ;
19346 wxSize temp4 ;
ae8162c8 19347 bool temp6 = false ;
d14a1e28 19348 PyObject * obj0 = 0 ;
1cb4a8aa
RD
19349 PyObject * obj1 = 0 ;
19350 PyObject * obj2 = 0 ;
19351 PyObject * obj3 = 0 ;
19352 PyObject * obj4 = 0 ;
19353 PyObject * obj5 = 0 ;
d14a1e28 19354 char *kwnames[] = {
1cb4a8aa 19355 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
19356 };
19357
248ed943 19358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19360 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 19361 if (obj1) {
093d3ff1
RD
19362 {
19363 arg2 = (int const)(SWIG_As_int(obj1));
19364 if (SWIG_arg_fail(2)) SWIG_fail;
19365 }
248ed943 19366 }
1cb4a8aa
RD
19367 if (obj2) {
19368 {
19369 arg3 = &temp3;
19370 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19371 }
19372 }
19373 if (obj3) {
19374 {
19375 arg4 = &temp4;
19376 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19377 }
19378 }
19379 if (obj4) {
093d3ff1
RD
19380 {
19381 arg5 = (long)(SWIG_As_long(obj4));
19382 if (SWIG_arg_fail(5)) SWIG_fail;
19383 }
1cb4a8aa
RD
19384 }
19385 if (obj5) {
19386 {
19387 arg6 = wxString_in_helper(obj5);
19388 if (arg6 == NULL) SWIG_fail;
ae8162c8 19389 temp6 = true;
1cb4a8aa
RD
19390 }
19391 }
19392 {
e3b71cb8 19393 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
19394 PyThreadState* __tstate = wxPyBeginAllowThreads();
19395 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19396
19397 wxPyEndAllowThreads(__tstate);
110da5b0 19398 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
19399 }
19400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19401 {
19402 if (temp6)
19403 delete arg6;
19404 }
19405 return resultobj;
19406 fail:
19407 {
19408 if (temp6)
19409 delete arg6;
19410 }
19411 return NULL;
19412}
19413
19414
c32bde28 19415static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19416 PyObject *resultobj;
19417 wxPyScrolledWindow *result;
19418 char *kwnames[] = {
19419 NULL
19420 };
19421
19422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19423 {
e3b71cb8 19424 if (!wxPyCheckForApp()) SWIG_fail;
1cb4a8aa
RD
19425 PyThreadState* __tstate = wxPyBeginAllowThreads();
19426 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19427
19428 wxPyEndAllowThreads(__tstate);
110da5b0 19429 if (PyErr_Occurred()) SWIG_fail;
1cb4a8aa
RD
19430 }
19431 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19432 return resultobj;
19433 fail:
19434 return NULL;
19435}
19436
19437
c32bde28 19438static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19439 PyObject *resultobj;
19440 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19441 PyObject *arg2 = (PyObject *) 0 ;
19442 PyObject *arg3 = (PyObject *) 0 ;
19443 PyObject * obj0 = 0 ;
19444 PyObject * obj1 = 0 ;
19445 PyObject * obj2 = 0 ;
19446 char *kwnames[] = {
19447 (char *) "self",(char *) "self",(char *) "_class", NULL
19448 };
19449
19450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19452 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19453 arg2 = obj1;
19454 arg3 = obj2;
19455 {
19456 PyThreadState* __tstate = wxPyBeginAllowThreads();
19457 (arg1)->_setCallbackInfo(arg2,arg3);
19458
19459 wxPyEndAllowThreads(__tstate);
19460 if (PyErr_Occurred()) SWIG_fail;
19461 }
19462 Py_INCREF(Py_None); resultobj = Py_None;
19463 return resultobj;
19464 fail:
19465 return NULL;
19466}
19467
19468
c32bde28 19469static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
19470 PyObject *resultobj;
19471 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19472 wxSize *arg2 = 0 ;
19473 wxSize temp2 ;
19474 PyObject * obj0 = 0 ;
19475 PyObject * obj1 = 0 ;
19476 char *kwnames[] = {
19477 (char *) "self",(char *) "size", NULL
19478 };
19479
19480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19482 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
19483 {
19484 arg2 = &temp2;
19485 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19486 }
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 (arg1)->SetBestSize((wxSize const &)*arg2);
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 Py_INCREF(Py_None); resultobj = Py_None;
19495 return resultobj;
19496 fail:
19497 return NULL;
19498}
19499
19500
c32bde28 19501static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19502 PyObject *resultobj;
19503 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19504 int arg2 ;
19505 int arg3 ;
19506 int arg4 ;
19507 int arg5 ;
19508 PyObject * obj0 = 0 ;
19509 PyObject * obj1 = 0 ;
19510 PyObject * obj2 = 0 ;
19511 PyObject * obj3 = 0 ;
19512 PyObject * obj4 = 0 ;
19513 char *kwnames[] = {
19514 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19515 };
19516
19517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
19518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19519 if (SWIG_arg_fail(1)) SWIG_fail;
19520 {
19521 arg2 = (int)(SWIG_As_int(obj1));
19522 if (SWIG_arg_fail(2)) SWIG_fail;
19523 }
19524 {
19525 arg3 = (int)(SWIG_As_int(obj2));
19526 if (SWIG_arg_fail(3)) SWIG_fail;
19527 }
19528 {
19529 arg4 = (int)(SWIG_As_int(obj3));
19530 if (SWIG_arg_fail(4)) SWIG_fail;
19531 }
19532 {
19533 arg5 = (int)(SWIG_As_int(obj4));
19534 if (SWIG_arg_fail(5)) SWIG_fail;
19535 }
1cb4a8aa
RD
19536 {
19537 PyThreadState* __tstate = wxPyBeginAllowThreads();
19538 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19539
19540 wxPyEndAllowThreads(__tstate);
19541 if (PyErr_Occurred()) SWIG_fail;
19542 }
19543 Py_INCREF(Py_None); resultobj = Py_None;
19544 return resultobj;
19545 fail:
19546 return NULL;
19547}
19548
19549
c32bde28 19550static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19551 PyObject *resultobj;
19552 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19553 int arg2 ;
19554 int arg3 ;
19555 int arg4 ;
19556 int arg5 ;
19557 int arg6 = (int) wxSIZE_AUTO ;
19558 PyObject * obj0 = 0 ;
19559 PyObject * obj1 = 0 ;
19560 PyObject * obj2 = 0 ;
19561 PyObject * obj3 = 0 ;
19562 PyObject * obj4 = 0 ;
19563 PyObject * obj5 = 0 ;
19564 char *kwnames[] = {
19565 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19566 };
19567
19568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
19569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19570 if (SWIG_arg_fail(1)) SWIG_fail;
19571 {
19572 arg2 = (int)(SWIG_As_int(obj1));
19573 if (SWIG_arg_fail(2)) SWIG_fail;
19574 }
19575 {
19576 arg3 = (int)(SWIG_As_int(obj2));
19577 if (SWIG_arg_fail(3)) SWIG_fail;
19578 }
19579 {
19580 arg4 = (int)(SWIG_As_int(obj3));
19581 if (SWIG_arg_fail(4)) SWIG_fail;
19582 }
19583 {
19584 arg5 = (int)(SWIG_As_int(obj4));
19585 if (SWIG_arg_fail(5)) SWIG_fail;
19586 }
1cb4a8aa 19587 if (obj5) {
093d3ff1
RD
19588 {
19589 arg6 = (int)(SWIG_As_int(obj5));
19590 if (SWIG_arg_fail(6)) SWIG_fail;
19591 }
1cb4a8aa
RD
19592 }
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 Py_INCREF(Py_None); resultobj = Py_None;
19601 return resultobj;
19602 fail:
19603 return NULL;
19604}
19605
19606
c32bde28 19607static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19608 PyObject *resultobj;
19609 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19610 int arg2 ;
19611 int arg3 ;
19612 PyObject * obj0 = 0 ;
19613 PyObject * obj1 = 0 ;
19614 PyObject * obj2 = 0 ;
19615 char *kwnames[] = {
19616 (char *) "self",(char *) "width",(char *) "height", NULL
19617 };
19618
19619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19621 if (SWIG_arg_fail(1)) SWIG_fail;
19622 {
19623 arg2 = (int)(SWIG_As_int(obj1));
19624 if (SWIG_arg_fail(2)) SWIG_fail;
19625 }
19626 {
19627 arg3 = (int)(SWIG_As_int(obj2));
19628 if (SWIG_arg_fail(3)) SWIG_fail;
19629 }
1cb4a8aa
RD
19630 {
19631 PyThreadState* __tstate = wxPyBeginAllowThreads();
19632 (arg1)->base_DoSetClientSize(arg2,arg3);
19633
19634 wxPyEndAllowThreads(__tstate);
19635 if (PyErr_Occurred()) SWIG_fail;
19636 }
19637 Py_INCREF(Py_None); resultobj = Py_None;
19638 return resultobj;
19639 fail:
19640 return NULL;
19641}
19642
19643
c32bde28 19644static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19645 PyObject *resultobj;
19646 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19647 int arg2 ;
19648 int arg3 ;
19649 PyObject * obj0 = 0 ;
19650 PyObject * obj1 = 0 ;
19651 PyObject * obj2 = 0 ;
19652 char *kwnames[] = {
19653 (char *) "self",(char *) "x",(char *) "y", NULL
19654 };
19655
19656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19658 if (SWIG_arg_fail(1)) SWIG_fail;
19659 {
19660 arg2 = (int)(SWIG_As_int(obj1));
19661 if (SWIG_arg_fail(2)) SWIG_fail;
19662 }
19663 {
19664 arg3 = (int)(SWIG_As_int(obj2));
19665 if (SWIG_arg_fail(3)) SWIG_fail;
19666 }
1cb4a8aa
RD
19667 {
19668 PyThreadState* __tstate = wxPyBeginAllowThreads();
19669 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19670
19671 wxPyEndAllowThreads(__tstate);
19672 if (PyErr_Occurred()) SWIG_fail;
19673 }
19674 Py_INCREF(Py_None); resultobj = Py_None;
19675 return resultobj;
19676 fail:
19677 return NULL;
19678}
19679
19680
c32bde28 19681static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19682 PyObject *resultobj;
19683 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19684 int *arg2 = (int *) 0 ;
19685 int *arg3 = (int *) 0 ;
19686 int temp2 ;
c32bde28 19687 int res2 = 0 ;
1cb4a8aa 19688 int temp3 ;
c32bde28 19689 int res3 = 0 ;
1cb4a8aa
RD
19690 PyObject * obj0 = 0 ;
19691 char *kwnames[] = {
19692 (char *) "self", NULL
19693 };
19694
c32bde28
RD
19695 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19696 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa 19697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19699 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19703
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19708 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19709 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19710 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19711 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
19712 return resultobj;
19713 fail:
19714 return NULL;
19715}
19716
19717
c32bde28 19718static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19719 PyObject *resultobj;
19720 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19721 int *arg2 = (int *) 0 ;
19722 int *arg3 = (int *) 0 ;
19723 int temp2 ;
c32bde28 19724 int res2 = 0 ;
1cb4a8aa 19725 int temp3 ;
c32bde28 19726 int res3 = 0 ;
1cb4a8aa
RD
19727 PyObject * obj0 = 0 ;
19728 char *kwnames[] = {
19729 (char *) "self", NULL
19730 };
19731
c32bde28
RD
19732 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19733 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa 19734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19735 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19736 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19737 {
19738 PyThreadState* __tstate = wxPyBeginAllowThreads();
19739 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19740
19741 wxPyEndAllowThreads(__tstate);
19742 if (PyErr_Occurred()) SWIG_fail;
19743 }
19744 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19745 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19746 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19747 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19748 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
19749 return resultobj;
19750 fail:
19751 return NULL;
19752}
19753
19754
c32bde28 19755static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19756 PyObject *resultobj;
19757 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19758 int *arg2 = (int *) 0 ;
19759 int *arg3 = (int *) 0 ;
19760 int temp2 ;
c32bde28 19761 int res2 = 0 ;
1cb4a8aa 19762 int temp3 ;
c32bde28 19763 int res3 = 0 ;
1cb4a8aa
RD
19764 PyObject * obj0 = 0 ;
19765 char *kwnames[] = {
19766 (char *) "self", NULL
19767 };
19768
c32bde28
RD
19769 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19770 arg3 = &temp3; res3 = SWIG_NEWOBJ;
1cb4a8aa 19771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
19772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19773 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19777
19778 wxPyEndAllowThreads(__tstate);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 }
19781 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
19782 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19783 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19784 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19785 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
1cb4a8aa
RD
19786 return resultobj;
19787 fail:
19788 return NULL;
19789}
19790
19791
c32bde28 19792static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19793 PyObject *resultobj;
19794 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19795 wxSize result;
19796 PyObject * obj0 = 0 ;
19797 char *kwnames[] = {
19798 (char *) "self", NULL
19799 };
19800
19801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19803 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19804 {
19805 PyThreadState* __tstate = wxPyBeginAllowThreads();
19806 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
19807
19808 wxPyEndAllowThreads(__tstate);
19809 if (PyErr_Occurred()) SWIG_fail;
19810 }
19811 {
19812 wxSize * resultptr;
093d3ff1 19813 resultptr = new wxSize((wxSize &)(result));
1cb4a8aa
RD
19814 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19815 }
19816 return resultobj;
19817 fail:
19818 return NULL;
19819}
19820
19821
c32bde28 19822static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19823 PyObject *resultobj;
19824 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19825 wxSize result;
19826 PyObject * obj0 = 0 ;
19827 char *kwnames[] = {
19828 (char *) "self", NULL
19829 };
19830
19831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
19832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19833 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19834 {
19835 PyThreadState* __tstate = wxPyBeginAllowThreads();
19836 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
19837
19838 wxPyEndAllowThreads(__tstate);
19839 if (PyErr_Occurred()) SWIG_fail;
19840 }
19841 {
19842 wxSize * resultptr;
093d3ff1 19843 resultptr = new wxSize((wxSize &)(result));
1cb4a8aa
RD
19844 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19845 }
19846 return resultobj;
19847 fail:
19848 return NULL;
19849}
19850
19851
c32bde28 19852static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19853 PyObject *resultobj;
19854 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19855 PyObject * obj0 = 0 ;
19856 char *kwnames[] = {
19857 (char *) "self", NULL
19858 };
19859
19860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
19861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19862 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19863 {
19864 PyThreadState* __tstate = wxPyBeginAllowThreads();
19865 (arg1)->base_InitDialog();
19866
19867 wxPyEndAllowThreads(__tstate);
19868 if (PyErr_Occurred()) SWIG_fail;
19869 }
19870 Py_INCREF(Py_None); resultobj = Py_None;
19871 return resultobj;
19872 fail:
19873 return NULL;
19874}
19875
19876
c32bde28 19877static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19878 PyObject *resultobj;
19879 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19880 bool result;
19881 PyObject * obj0 = 0 ;
19882 char *kwnames[] = {
19883 (char *) "self", NULL
19884 };
19885
19886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19888 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19889 {
19890 PyThreadState* __tstate = wxPyBeginAllowThreads();
19891 result = (bool)(arg1)->base_TransferDataToWindow();
19892
19893 wxPyEndAllowThreads(__tstate);
19894 if (PyErr_Occurred()) SWIG_fail;
19895 }
19896 {
19897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19898 }
19899 return resultobj;
19900 fail:
19901 return NULL;
19902}
19903
19904
c32bde28 19905static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19906 PyObject *resultobj;
19907 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19908 bool result;
19909 PyObject * obj0 = 0 ;
19910 char *kwnames[] = {
19911 (char *) "self", NULL
19912 };
19913
19914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
19915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19916 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19917 {
19918 PyThreadState* __tstate = wxPyBeginAllowThreads();
19919 result = (bool)(arg1)->base_TransferDataFromWindow();
19920
19921 wxPyEndAllowThreads(__tstate);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 }
19924 {
19925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19926 }
19927 return resultobj;
19928 fail:
19929 return NULL;
19930}
19931
19932
c32bde28 19933static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19934 PyObject *resultobj;
19935 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19936 bool result;
19937 PyObject * obj0 = 0 ;
19938 char *kwnames[] = {
19939 (char *) "self", NULL
19940 };
19941
19942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
093d3ff1
RD
19943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19944 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19945 {
19946 PyThreadState* __tstate = wxPyBeginAllowThreads();
19947 result = (bool)(arg1)->base_Validate();
19948
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 {
19953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19954 }
19955 return resultobj;
19956 fail:
19957 return NULL;
19958}
19959
19960
c32bde28 19961static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19962 PyObject *resultobj;
19963 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19964 bool result;
19965 PyObject * obj0 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
093d3ff1
RD
19971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19972 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
19973 {
19974 PyThreadState* __tstate = wxPyBeginAllowThreads();
19975 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
19976
19977 wxPyEndAllowThreads(__tstate);
19978 if (PyErr_Occurred()) SWIG_fail;
19979 }
19980 {
19981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19982 }
19983 return resultobj;
19984 fail:
19985 return NULL;
19986}
19987
19988
c32bde28 19989static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
19990 PyObject *resultobj;
19991 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19992 bool result;
19993 PyObject * obj0 = 0 ;
19994 char *kwnames[] = {
19995 (char *) "self", NULL
19996 };
19997
19998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
19999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20000 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20001 {
20002 PyThreadState* __tstate = wxPyBeginAllowThreads();
20003 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
20004
20005 wxPyEndAllowThreads(__tstate);
20006 if (PyErr_Occurred()) SWIG_fail;
20007 }
20008 {
20009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20010 }
20011 return resultobj;
20012 fail:
20013 return NULL;
20014}
20015
20016
c32bde28 20017static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20018 PyObject *resultobj;
20019 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20020 wxSize result;
20021 PyObject * obj0 = 0 ;
20022 char *kwnames[] = {
20023 (char *) "self", NULL
20024 };
20025
20026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
20027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20028 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20029 {
20030 PyThreadState* __tstate = wxPyBeginAllowThreads();
20031 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
20032
20033 wxPyEndAllowThreads(__tstate);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 }
20036 {
20037 wxSize * resultptr;
093d3ff1 20038 resultptr = new wxSize((wxSize &)(result));
1cb4a8aa
RD
20039 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20040 }
20041 return resultobj;
20042 fail:
20043 return NULL;
20044}
20045
20046
c32bde28 20047static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20048 PyObject *resultobj;
20049 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20050 wxWindow *arg2 = (wxWindow *) 0 ;
20051 PyObject * obj0 = 0 ;
20052 PyObject * obj1 = 0 ;
20053 char *kwnames[] = {
20054 (char *) "self",(char *) "child", NULL
20055 };
20056
20057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20059 if (SWIG_arg_fail(1)) SWIG_fail;
20060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20061 if (SWIG_arg_fail(2)) SWIG_fail;
1cb4a8aa
RD
20062 {
20063 PyThreadState* __tstate = wxPyBeginAllowThreads();
20064 (arg1)->base_AddChild(arg2);
20065
20066 wxPyEndAllowThreads(__tstate);
20067 if (PyErr_Occurred()) SWIG_fail;
20068 }
20069 Py_INCREF(Py_None); resultobj = Py_None;
20070 return resultobj;
20071 fail:
20072 return NULL;
20073}
20074
20075
c32bde28 20076static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20077 PyObject *resultobj;
20078 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20079 wxWindow *arg2 = (wxWindow *) 0 ;
20080 PyObject * obj0 = 0 ;
20081 PyObject * obj1 = 0 ;
20082 char *kwnames[] = {
20083 (char *) "self",(char *) "child", NULL
20084 };
20085
20086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20088 if (SWIG_arg_fail(1)) SWIG_fail;
20089 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20090 if (SWIG_arg_fail(2)) SWIG_fail;
1cb4a8aa
RD
20091 {
20092 PyThreadState* __tstate = wxPyBeginAllowThreads();
20093 (arg1)->base_RemoveChild(arg2);
20094
20095 wxPyEndAllowThreads(__tstate);
20096 if (PyErr_Occurred()) SWIG_fail;
20097 }
20098 Py_INCREF(Py_None); resultobj = Py_None;
20099 return resultobj;
20100 fail:
20101 return NULL;
20102}
20103
20104
c32bde28 20105static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20106 PyObject *resultobj;
20107 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20108 bool result;
20109 PyObject * obj0 = 0 ;
20110 char *kwnames[] = {
20111 (char *) "self", NULL
20112 };
20113
20114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
093d3ff1
RD
20115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20116 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20117 {
20118 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 20119 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
1cb4a8aa
RD
20120
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
20124 {
20125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20126 }
20127 return resultobj;
20128 fail:
20129 return NULL;
20130}
20131
20132
c32bde28 20133static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20134 PyObject *resultobj;
20135 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20136 wxColour *arg2 = 0 ;
20137 wxColour temp2 ;
20138 PyObject * obj0 = 0 ;
20139 PyObject * obj1 = 0 ;
20140 char *kwnames[] = {
20141 (char *) "self",(char *) "c", NULL
20142 };
20143
20144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20146 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20147 {
20148 arg2 = &temp2;
20149 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20150 }
20151 {
20152 PyThreadState* __tstate = wxPyBeginAllowThreads();
20153 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
20154
20155 wxPyEndAllowThreads(__tstate);
20156 if (PyErr_Occurred()) SWIG_fail;
20157 }
20158 Py_INCREF(Py_None); resultobj = Py_None;
20159 return resultobj;
20160 fail:
20161 return NULL;
20162}
20163
20164
c32bde28 20165static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
db3e571a
RD
20166 PyObject *resultobj;
20167 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20168 wxVisualAttributes result;
20169 PyObject * obj0 = 0 ;
20170 char *kwnames[] = {
20171 (char *) "self", NULL
20172 };
20173
20174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
093d3ff1
RD
20175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20176 if (SWIG_arg_fail(1)) SWIG_fail;
db3e571a
RD
20177 {
20178 PyThreadState* __tstate = wxPyBeginAllowThreads();
20179 result = (arg1)->base_GetDefaultAttributes();
20180
20181 wxPyEndAllowThreads(__tstate);
20182 if (PyErr_Occurred()) SWIG_fail;
20183 }
20184 {
20185 wxVisualAttributes * resultptr;
093d3ff1 20186 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
db3e571a
RD
20187 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20188 }
20189 return resultobj;
20190 fail:
20191 return NULL;
20192}
20193
20194
c32bde28 20195static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
1cb4a8aa
RD
20196 PyObject *obj;
20197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20198 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20199 Py_INCREF(obj);
20200 return Py_BuildValue((char *)"");
20201}
c32bde28 20202static int _wrap_PrintoutTitleStr_set(PyObject *) {
1cb4a8aa
RD
20203 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20204 return 1;
20205}
20206
20207
093d3ff1 20208static PyObject *_wrap_PrintoutTitleStr_get(void) {
1cb4a8aa
RD
20209 PyObject *pyobj;
20210
20211 {
20212#if wxUSE_UNICODE
20213 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20214#else
20215 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20216#endif
20217 }
20218 return pyobj;
20219}
20220
20221
c32bde28 20222static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
1cb4a8aa
RD
20223 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20224 return 1;
20225}
20226
20227
093d3ff1 20228static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
1cb4a8aa
RD
20229 PyObject *pyobj;
20230
20231 {
20232#if wxUSE_UNICODE
20233 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20234#else
20235 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20236#endif
20237 }
20238 return pyobj;
20239}
20240
20241
c32bde28 20242static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
1cb4a8aa
RD
20243 PyObject *resultobj;
20244 wxPrintData *result;
1cb4a8aa 20245
11207aef 20246 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
1cb4a8aa
RD
20247 {
20248 PyThreadState* __tstate = wxPyBeginAllowThreads();
20249 result = (wxPrintData *)new wxPrintData();
20250
20251 wxPyEndAllowThreads(__tstate);
20252 if (PyErr_Occurred()) SWIG_fail;
20253 }
20254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20255 return resultobj;
20256 fail:
20257 return NULL;
20258}
20259
20260
c32bde28 20261static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
11207aef
RD
20262 PyObject *resultobj;
20263 wxPrintData *arg1 = 0 ;
20264 wxPrintData *result;
20265 PyObject * obj0 = 0 ;
20266
20267 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
093d3ff1
RD
20268 {
20269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20270 if (SWIG_arg_fail(1)) SWIG_fail;
20271 if (arg1 == NULL) {
20272 SWIG_null_ref("wxPrintData");
20273 }
20274 if (SWIG_arg_fail(1)) SWIG_fail;
11207aef
RD
20275 }
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
20283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20284 return resultobj;
20285 fail:
20286 return NULL;
20287}
20288
20289
20290static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20291 int argc;
20292 PyObject *argv[2];
20293 int ii;
20294
20295 argc = PyObject_Length(args);
20296 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20297 argv[ii] = PyTuple_GetItem(args,ii);
20298 }
20299 if (argc == 0) {
20300 return _wrap_new_PrintData__SWIG_0(self,args);
20301 }
20302 if (argc == 1) {
20303 int _v;
20304 {
093d3ff1 20305 void *ptr = 0;
11207aef
RD
20306 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20307 _v = 0;
20308 PyErr_Clear();
20309 } else {
093d3ff1 20310 _v = (ptr != 0);
11207aef
RD
20311 }
20312 }
20313 if (_v) {
20314 return _wrap_new_PrintData__SWIG_1(self,args);
20315 }
20316 }
20317
093d3ff1 20318 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
11207aef
RD
20319 return NULL;
20320}
20321
20322
c32bde28 20323static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20324 PyObject *resultobj;
20325 wxPrintData *arg1 = (wxPrintData *) 0 ;
20326 PyObject * obj0 = 0 ;
20327 char *kwnames[] = {
20328 (char *) "self", NULL
20329 };
20330
20331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
20332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20333 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20334 {
20335 PyThreadState* __tstate = wxPyBeginAllowThreads();
20336 delete arg1;
20337
20338 wxPyEndAllowThreads(__tstate);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 }
20341 Py_INCREF(Py_None); resultobj = Py_None;
20342 return resultobj;
20343 fail:
20344 return NULL;
20345}
20346
20347
c32bde28 20348static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
1cb4a8aa
RD
20349 PyObject *resultobj;
20350 wxPrintData *arg1 = (wxPrintData *) 0 ;
20351 int result;
20352 PyObject * obj0 = 0 ;
20353 char *kwnames[] = {
20354 (char *) "self", NULL
20355 };
20356
20357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
20358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20359 if (SWIG_arg_fail(1)) SWIG_fail;
1cb4a8aa
RD
20360 {
20361 PyThreadState* __tstate = wxPyBeginAllowThreads();
20362 result = (int)(arg1)->GetNoCopies();
20363
20364 wxPyEndAllowThreads(__tstate);
20365 if (PyErr_Occurred()) SWIG_fail;
20366 }
093d3ff1
RD
20367 {
20368 resultobj = SWIG_From_int((int)(result));
20369 }
1cb4a8aa
RD
20370 return resultobj;
20371 fail:
d14a1e28
RD
20372 return NULL;
20373}
20374
20375
c32bde28 20376static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20377 PyObject *resultobj;
20378 wxPrintData *arg1 = (wxPrintData *) 0 ;
20379 bool result;
20380 PyObject * obj0 = 0 ;
20381 char *kwnames[] = {
20382 (char *) "self", NULL
20383 };
20384
20385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
20386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20387 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20388 {
20389 PyThreadState* __tstate = wxPyBeginAllowThreads();
20390 result = (bool)(arg1)->GetCollate();
20391
20392 wxPyEndAllowThreads(__tstate);
20393 if (PyErr_Occurred()) SWIG_fail;
20394 }
4f89f6a3
RD
20395 {
20396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20397 }
d14a1e28
RD
20398 return resultobj;
20399 fail:
20400 return NULL;
20401}
20402
20403
c32bde28 20404static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20405 PyObject *resultobj;
20406 wxPrintData *arg1 = (wxPrintData *) 0 ;
20407 int result;
20408 PyObject * obj0 = 0 ;
20409 char *kwnames[] = {
20410 (char *) "self", NULL
20411 };
20412
20413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
20414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20415 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20416 {
20417 PyThreadState* __tstate = wxPyBeginAllowThreads();
20418 result = (int)(arg1)->GetOrientation();
20419
20420 wxPyEndAllowThreads(__tstate);
20421 if (PyErr_Occurred()) SWIG_fail;
20422 }
093d3ff1
RD
20423 {
20424 resultobj = SWIG_From_int((int)(result));
20425 }
d14a1e28
RD
20426 return resultobj;
20427 fail:
20428 return NULL;
20429}
20430
20431
c32bde28 20432static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20433 PyObject *resultobj;
20434 wxPrintData *arg1 = (wxPrintData *) 0 ;
20435 bool result;
20436 PyObject * obj0 = 0 ;
20437 char *kwnames[] = {
20438 (char *) "self", NULL
20439 };
20440
20441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
20442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20443 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20444 {
20445 PyThreadState* __tstate = wxPyBeginAllowThreads();
20446 result = (bool)(arg1)->Ok();
20447
20448 wxPyEndAllowThreads(__tstate);
20449 if (PyErr_Occurred()) SWIG_fail;
20450 }
4f89f6a3
RD
20451 {
20452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20453 }
d14a1e28
RD
20454 return resultobj;
20455 fail:
20456 return NULL;
20457}
20458
20459
c32bde28 20460static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20461 PyObject *resultobj;
20462 wxPrintData *arg1 = (wxPrintData *) 0 ;
20463 wxString *result;
20464 PyObject * obj0 = 0 ;
20465 char *kwnames[] = {
20466 (char *) "self", NULL
20467 };
20468
20469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
093d3ff1
RD
20470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20471 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20472 {
20473 PyThreadState* __tstate = wxPyBeginAllowThreads();
20474 {
20475 wxString const &_result_ref = (arg1)->GetPrinterName();
20476 result = (wxString *) &_result_ref;
20477 }
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
cc6dd355
RD
20482 {
20483#if wxUSE_UNICODE
20484 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20485#else
20486 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20487#endif
20488 }
d14a1e28
RD
20489 return resultobj;
20490 fail:
20491 return NULL;
20492}
20493
20494
c32bde28 20495static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20496 PyObject *resultobj;
20497 wxPrintData *arg1 = (wxPrintData *) 0 ;
20498 bool result;
20499 PyObject * obj0 = 0 ;
20500 char *kwnames[] = {
20501 (char *) "self", NULL
20502 };
20503
20504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
093d3ff1
RD
20505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20506 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20507 {
20508 PyThreadState* __tstate = wxPyBeginAllowThreads();
20509 result = (bool)(arg1)->GetColour();
20510
20511 wxPyEndAllowThreads(__tstate);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 }
4f89f6a3
RD
20514 {
20515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20516 }
d14a1e28
RD
20517 return resultobj;
20518 fail:
20519 return NULL;
20520}
20521
20522
c32bde28 20523static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20524 PyObject *resultobj;
20525 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20526 wxDuplexMode result;
d14a1e28
RD
20527 PyObject * obj0 = 0 ;
20528 char *kwnames[] = {
20529 (char *) "self", NULL
20530 };
20531
20532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
093d3ff1
RD
20533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20534 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20537 result = (wxDuplexMode)(arg1)->GetDuplex();
d14a1e28
RD
20538
20539 wxPyEndAllowThreads(__tstate);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 }
093d3ff1 20542 resultobj = SWIG_From_int((result));
d14a1e28
RD
20543 return resultobj;
20544 fail:
20545 return NULL;
20546}
20547
20548
c32bde28 20549static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20550 PyObject *resultobj;
20551 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20552 wxPaperSize result;
d14a1e28
RD
20553 PyObject * obj0 = 0 ;
20554 char *kwnames[] = {
20555 (char *) "self", NULL
20556 };
20557
20558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
20559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20560 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20563 result = (wxPaperSize)(arg1)->GetPaperId();
d14a1e28
RD
20564
20565 wxPyEndAllowThreads(__tstate);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
093d3ff1 20568 resultobj = SWIG_From_int((result));
d14a1e28
RD
20569 return resultobj;
20570 fail:
20571 return NULL;
20572}
20573
20574
c32bde28 20575static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20576 PyObject *resultobj;
20577 wxPrintData *arg1 = (wxPrintData *) 0 ;
20578 wxSize *result;
20579 PyObject * obj0 = 0 ;
20580 char *kwnames[] = {
20581 (char *) "self", NULL
20582 };
20583
20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",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 wxSize const &_result_ref = (arg1)->GetPaperSize();
20591 result = (wxSize *) &_result_ref;
20592 }
20593
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
15afbcd0 20597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
20598 return resultobj;
20599 fail:
20600 return NULL;
20601}
20602
20603
c32bde28 20604static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20605 PyObject *resultobj;
20606 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 20607 int result;
d14a1e28
RD
20608 PyObject * obj0 = 0 ;
20609 char *kwnames[] = {
20610 (char *) "self", NULL
20611 };
20612
20613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
093d3ff1
RD
20614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20615 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20616 {
20617 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 20618 result = (int)(arg1)->GetQuality();
d14a1e28
RD
20619
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
093d3ff1
RD
20623 {
20624 resultobj = SWIG_From_int((int)(result));
20625 }
d14a1e28
RD
20626 return resultobj;
20627 fail:
20628 return NULL;
20629}
20630
20631
2ef75293
RD
20632static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20633 PyObject *resultobj;
20634 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20635 wxPrintBin result;
2ef75293
RD
20636 PyObject * obj0 = 0 ;
20637 char *kwnames[] = {
20638 (char *) "self", NULL
20639 };
20640
20641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
093d3ff1
RD
20642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20643 if (SWIG_arg_fail(1)) SWIG_fail;
2ef75293
RD
20644 {
20645 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20646 result = (wxPrintBin)(arg1)->GetBin();
2ef75293
RD
20647
20648 wxPyEndAllowThreads(__tstate);
20649 if (PyErr_Occurred()) SWIG_fail;
20650 }
093d3ff1 20651 resultobj = SWIG_From_int((result));
2ef75293
RD
20652 return resultobj;
20653 fail:
20654 return NULL;
20655}
20656
20657
d3b6e4ff
RD
20658static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20659 PyObject *resultobj;
20660 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20661 wxPrintMode result;
d3b6e4ff
RD
20662 PyObject * obj0 = 0 ;
20663 char *kwnames[] = {
20664 (char *) "self", NULL
20665 };
20666
20667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
20668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20669 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
20670 {
20671 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20672 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
d3b6e4ff
RD
20673
20674 wxPyEndAllowThreads(__tstate);
20675 if (PyErr_Occurred()) SWIG_fail;
20676 }
093d3ff1 20677 resultobj = SWIG_From_int((result));
d3b6e4ff
RD
20678 return resultobj;
20679 fail:
20680 return NULL;
20681}
20682
20683
c32bde28 20684static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20685 PyObject *resultobj;
20686 wxPrintData *arg1 = (wxPrintData *) 0 ;
20687 int arg2 ;
20688 PyObject * obj0 = 0 ;
994141e6 20689 PyObject * obj1 = 0 ;
d14a1e28
RD
20690 char *kwnames[] = {
20691 (char *) "self",(char *) "v", NULL
20692 };
20693
994141e6 20694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20696 if (SWIG_arg_fail(1)) SWIG_fail;
20697 {
20698 arg2 = (int)(SWIG_As_int(obj1));
20699 if (SWIG_arg_fail(2)) SWIG_fail;
20700 }
d14a1e28
RD
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 (arg1)->SetNoCopies(arg2);
20704
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 Py_INCREF(Py_None); resultobj = Py_None;
20709 return resultobj;
20710 fail:
20711 return NULL;
20712}
20713
20714
c32bde28 20715static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20716 PyObject *resultobj;
20717 wxPrintData *arg1 = (wxPrintData *) 0 ;
20718 bool arg2 ;
20719 PyObject * obj0 = 0 ;
20720 PyObject * obj1 = 0 ;
20721 char *kwnames[] = {
20722 (char *) "self",(char *) "flag", NULL
20723 };
20724
20725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20727 if (SWIG_arg_fail(1)) SWIG_fail;
20728 {
20729 arg2 = (bool)(SWIG_As_bool(obj1));
20730 if (SWIG_arg_fail(2)) SWIG_fail;
20731 }
d14a1e28
RD
20732 {
20733 PyThreadState* __tstate = wxPyBeginAllowThreads();
20734 (arg1)->SetCollate(arg2);
20735
20736 wxPyEndAllowThreads(__tstate);
20737 if (PyErr_Occurred()) SWIG_fail;
20738 }
20739 Py_INCREF(Py_None); resultobj = Py_None;
20740 return resultobj;
20741 fail:
20742 return NULL;
20743}
20744
20745
c32bde28 20746static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20747 PyObject *resultobj;
20748 wxPrintData *arg1 = (wxPrintData *) 0 ;
20749 int arg2 ;
20750 PyObject * obj0 = 0 ;
994141e6 20751 PyObject * obj1 = 0 ;
d14a1e28
RD
20752 char *kwnames[] = {
20753 (char *) "self",(char *) "orient", NULL
20754 };
20755
994141e6 20756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) 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;
20759 {
20760 arg2 = (int)(SWIG_As_int(obj1));
20761 if (SWIG_arg_fail(2)) SWIG_fail;
20762 }
d14a1e28
RD
20763 {
20764 PyThreadState* __tstate = wxPyBeginAllowThreads();
20765 (arg1)->SetOrientation(arg2);
20766
20767 wxPyEndAllowThreads(__tstate);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 Py_INCREF(Py_None); resultobj = Py_None;
20771 return resultobj;
20772 fail:
20773 return NULL;
20774}
20775
20776
c32bde28 20777static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20778 PyObject *resultobj;
20779 wxPrintData *arg1 = (wxPrintData *) 0 ;
20780 wxString *arg2 = 0 ;
ae8162c8 20781 bool temp2 = false ;
d14a1e28
RD
20782 PyObject * obj0 = 0 ;
20783 PyObject * obj1 = 0 ;
20784 char *kwnames[] = {
20785 (char *) "self",(char *) "name", NULL
20786 };
20787
20788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20790 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20791 {
20792 arg2 = wxString_in_helper(obj1);
20793 if (arg2 == NULL) SWIG_fail;
ae8162c8 20794 temp2 = true;
d14a1e28
RD
20795 }
20796 {
20797 PyThreadState* __tstate = wxPyBeginAllowThreads();
20798 (arg1)->SetPrinterName((wxString const &)*arg2);
20799
20800 wxPyEndAllowThreads(__tstate);
20801 if (PyErr_Occurred()) SWIG_fail;
20802 }
20803 Py_INCREF(Py_None); resultobj = Py_None;
20804 {
20805 if (temp2)
20806 delete arg2;
20807 }
20808 return resultobj;
20809 fail:
20810 {
20811 if (temp2)
20812 delete arg2;
20813 }
20814 return NULL;
20815}
20816
20817
c32bde28 20818static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20819 PyObject *resultobj;
20820 wxPrintData *arg1 = (wxPrintData *) 0 ;
20821 bool arg2 ;
20822 PyObject * obj0 = 0 ;
20823 PyObject * obj1 = 0 ;
20824 char *kwnames[] = {
20825 (char *) "self",(char *) "colour", NULL
20826 };
20827
20828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20830 if (SWIG_arg_fail(1)) SWIG_fail;
20831 {
20832 arg2 = (bool)(SWIG_As_bool(obj1));
20833 if (SWIG_arg_fail(2)) SWIG_fail;
20834 }
d14a1e28
RD
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 (arg1)->SetColour(arg2);
20838
20839 wxPyEndAllowThreads(__tstate);
20840 if (PyErr_Occurred()) SWIG_fail;
20841 }
20842 Py_INCREF(Py_None); resultobj = Py_None;
20843 return resultobj;
20844 fail:
20845 return NULL;
20846}
20847
20848
c32bde28 20849static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20850 PyObject *resultobj;
20851 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20852 wxDuplexMode arg2 ;
d14a1e28 20853 PyObject * obj0 = 0 ;
994141e6 20854 PyObject * obj1 = 0 ;
d14a1e28
RD
20855 char *kwnames[] = {
20856 (char *) "self",(char *) "duplex", NULL
20857 };
20858
994141e6 20859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20861 if (SWIG_arg_fail(1)) SWIG_fail;
20862 {
20863 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
20864 if (SWIG_arg_fail(2)) SWIG_fail;
20865 }
d14a1e28
RD
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 (arg1)->SetDuplex((wxDuplexMode )arg2);
20869
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
20873 Py_INCREF(Py_None); resultobj = Py_None;
20874 return resultobj;
20875 fail:
20876 return NULL;
20877}
20878
20879
c32bde28 20880static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20881 PyObject *resultobj;
20882 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20883 wxPaperSize arg2 ;
d14a1e28 20884 PyObject * obj0 = 0 ;
994141e6 20885 PyObject * obj1 = 0 ;
d14a1e28
RD
20886 char *kwnames[] = {
20887 (char *) "self",(char *) "sizeId", NULL
20888 };
20889
994141e6 20890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20892 if (SWIG_arg_fail(1)) SWIG_fail;
20893 {
20894 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
20895 if (SWIG_arg_fail(2)) SWIG_fail;
20896 }
d14a1e28
RD
20897 {
20898 PyThreadState* __tstate = wxPyBeginAllowThreads();
20899 (arg1)->SetPaperId((wxPaperSize )arg2);
20900
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
20904 Py_INCREF(Py_None); resultobj = Py_None;
20905 return resultobj;
20906 fail:
20907 return NULL;
20908}
20909
20910
c32bde28 20911static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20912 PyObject *resultobj;
20913 wxPrintData *arg1 = (wxPrintData *) 0 ;
20914 wxSize *arg2 = 0 ;
20915 wxSize temp2 ;
20916 PyObject * obj0 = 0 ;
20917 PyObject * obj1 = 0 ;
20918 char *kwnames[] = {
20919 (char *) "self",(char *) "sz", NULL
20920 };
20921
20922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20924 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
20925 {
20926 arg2 = &temp2;
20927 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20928 }
20929 {
20930 PyThreadState* __tstate = wxPyBeginAllowThreads();
20931 (arg1)->SetPaperSize((wxSize const &)*arg2);
20932
20933 wxPyEndAllowThreads(__tstate);
20934 if (PyErr_Occurred()) SWIG_fail;
20935 }
20936 Py_INCREF(Py_None); resultobj = Py_None;
20937 return resultobj;
20938 fail:
20939 return NULL;
20940}
20941
20942
c32bde28 20943static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20944 PyObject *resultobj;
20945 wxPrintData *arg1 = (wxPrintData *) 0 ;
b2dc1044 20946 int arg2 ;
d14a1e28 20947 PyObject * obj0 = 0 ;
994141e6 20948 PyObject * obj1 = 0 ;
d14a1e28
RD
20949 char *kwnames[] = {
20950 (char *) "self",(char *) "quality", NULL
20951 };
20952
994141e6 20953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20955 if (SWIG_arg_fail(1)) SWIG_fail;
20956 {
20957 arg2 = (int)(SWIG_As_int(obj1));
20958 if (SWIG_arg_fail(2)) SWIG_fail;
20959 }
d14a1e28
RD
20960 {
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 (arg1)->SetQuality(arg2);
20963
20964 wxPyEndAllowThreads(__tstate);
20965 if (PyErr_Occurred()) SWIG_fail;
20966 }
20967 Py_INCREF(Py_None); resultobj = Py_None;
20968 return resultobj;
20969 fail:
20970 return NULL;
20971}
20972
20973
2ef75293
RD
20974static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20975 PyObject *resultobj;
20976 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 20977 wxPrintBin arg2 ;
2ef75293
RD
20978 PyObject * obj0 = 0 ;
20979 PyObject * obj1 = 0 ;
20980 char *kwnames[] = {
20981 (char *) "self",(char *) "bin", NULL
20982 };
20983
20984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20986 if (SWIG_arg_fail(1)) SWIG_fail;
20987 {
20988 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
20989 if (SWIG_arg_fail(2)) SWIG_fail;
20990 }
2ef75293
RD
20991 {
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 (arg1)->SetBin((wxPrintBin )arg2);
20994
20995 wxPyEndAllowThreads(__tstate);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 Py_INCREF(Py_None); resultobj = Py_None;
20999 return resultobj;
21000 fail:
21001 return NULL;
21002}
21003
21004
d3b6e4ff 21005static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21006 PyObject *resultobj;
21007 wxPrintData *arg1 = (wxPrintData *) 0 ;
093d3ff1 21008 wxPrintMode arg2 ;
d3b6e4ff
RD
21009 PyObject * obj0 = 0 ;
21010 PyObject * obj1 = 0 ;
21011 char *kwnames[] = {
21012 (char *) "self",(char *) "printMode", NULL
21013 };
21014
21015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21017 if (SWIG_arg_fail(1)) SWIG_fail;
21018 {
21019 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
21020 if (SWIG_arg_fail(2)) SWIG_fail;
21021 }
d3b6e4ff
RD
21022 {
21023 PyThreadState* __tstate = wxPyBeginAllowThreads();
21024 (arg1)->SetPrintMode((wxPrintMode )arg2);
21025
21026 wxPyEndAllowThreads(__tstate);
21027 if (PyErr_Occurred()) SWIG_fail;
21028 }
21029 Py_INCREF(Py_None); resultobj = Py_None;
21030 return resultobj;
21031 fail:
21032 return NULL;
21033}
21034
21035
21036static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21037 PyObject *resultobj;
21038 wxPrintData *arg1 = (wxPrintData *) 0 ;
21039 wxString result;
d14a1e28
RD
21040 PyObject * obj0 = 0 ;
21041 char *kwnames[] = {
21042 (char *) "self", NULL
21043 };
21044
d3b6e4ff 21045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
093d3ff1
RD
21046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21047 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 21050 result = ((wxPrintData const *)arg1)->GetFilename();
d14a1e28
RD
21051
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
cc6dd355
RD
21055 {
21056#if wxUSE_UNICODE
d3b6e4ff 21057 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
cc6dd355 21058#else
d3b6e4ff 21059 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
cc6dd355
RD
21060#endif
21061 }
d14a1e28
RD
21062 return resultobj;
21063 fail:
21064 return NULL;
21065}
21066
21067
d3b6e4ff
RD
21068static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
21069 PyObject *resultobj;
21070 wxPrintData *arg1 = (wxPrintData *) 0 ;
21071 wxString *arg2 = 0 ;
21072 bool temp2 = false ;
21073 PyObject * obj0 = 0 ;
21074 PyObject * obj1 = 0 ;
21075 char *kwnames[] = {
21076 (char *) "self",(char *) "filename", NULL
21077 };
21078
21079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21080 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21081 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
21082 {
21083 arg2 = wxString_in_helper(obj1);
21084 if (arg2 == NULL) SWIG_fail;
21085 temp2 = true;
21086 }
21087 {
21088 PyThreadState* __tstate = wxPyBeginAllowThreads();
21089 (arg1)->SetFilename((wxString const &)*arg2);
21090
21091 wxPyEndAllowThreads(__tstate);
21092 if (PyErr_Occurred()) SWIG_fail;
21093 }
21094 Py_INCREF(Py_None); resultobj = Py_None;
21095 {
21096 if (temp2)
21097 delete arg2;
21098 }
21099 return resultobj;
21100 fail:
21101 {
21102 if (temp2)
21103 delete arg2;
21104 }
21105 return NULL;
21106}
21107
21108
21109static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21110 PyObject *resultobj;
21111 wxPrintData *arg1 = (wxPrintData *) 0 ;
21112 wxString *result;
21113 PyObject * obj0 = 0 ;
21114 char *kwnames[] = {
21115 (char *) "self", NULL
21116 };
21117
d3b6e4ff 21118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
21119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21120 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 {
d3b6e4ff 21124 wxString const &_result_ref = (arg1)->GetPrinterCommand();
d14a1e28
RD
21125 result = (wxString *) &_result_ref;
21126 }
21127
21128 wxPyEndAllowThreads(__tstate);
21129 if (PyErr_Occurred()) SWIG_fail;
21130 }
cc6dd355
RD
21131 {
21132#if wxUSE_UNICODE
21133 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21134#else
21135 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21136#endif
21137 }
d14a1e28
RD
21138 return resultobj;
21139 fail:
21140 return NULL;
21141}
21142
21143
d3b6e4ff 21144static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21145 PyObject *resultobj;
21146 wxPrintData *arg1 = (wxPrintData *) 0 ;
21147 wxString *result;
21148 PyObject * obj0 = 0 ;
21149 char *kwnames[] = {
21150 (char *) "self", NULL
21151 };
21152
d3b6e4ff 21153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
093d3ff1
RD
21154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21155 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21156 {
21157 PyThreadState* __tstate = wxPyBeginAllowThreads();
21158 {
d3b6e4ff 21159 wxString const &_result_ref = (arg1)->GetPrinterOptions();
d14a1e28
RD
21160 result = (wxString *) &_result_ref;
21161 }
21162
21163 wxPyEndAllowThreads(__tstate);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 }
cc6dd355
RD
21166 {
21167#if wxUSE_UNICODE
21168 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21169#else
21170 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21171#endif
21172 }
d14a1e28
RD
21173 return resultobj;
21174 fail:
21175 return NULL;
21176}
21177
21178
d3b6e4ff 21179static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21180 PyObject *resultobj;
21181 wxPrintData *arg1 = (wxPrintData *) 0 ;
21182 wxString *result;
21183 PyObject * obj0 = 0 ;
21184 char *kwnames[] = {
21185 (char *) "self", NULL
21186 };
21187
d3b6e4ff 21188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
21189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21190 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21191 {
21192 PyThreadState* __tstate = wxPyBeginAllowThreads();
21193 {
d3b6e4ff 21194 wxString const &_result_ref = (arg1)->GetPreviewCommand();
d14a1e28
RD
21195 result = (wxString *) &_result_ref;
21196 }
21197
21198 wxPyEndAllowThreads(__tstate);
21199 if (PyErr_Occurred()) SWIG_fail;
21200 }
cc6dd355
RD
21201 {
21202#if wxUSE_UNICODE
21203 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21204#else
21205 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21206#endif
21207 }
d14a1e28
RD
21208 return resultobj;
21209 fail:
21210 return NULL;
21211}
21212
21213
c32bde28 21214static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21215 PyObject *resultobj;
21216 wxPrintData *arg1 = (wxPrintData *) 0 ;
21217 wxString *result;
21218 PyObject * obj0 = 0 ;
21219 char *kwnames[] = {
21220 (char *) "self", NULL
21221 };
21222
21223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
21224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21225 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21226 {
21227 PyThreadState* __tstate = wxPyBeginAllowThreads();
21228 {
21229 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21230 result = (wxString *) &_result_ref;
21231 }
21232
21233 wxPyEndAllowThreads(__tstate);
21234 if (PyErr_Occurred()) SWIG_fail;
21235 }
cc6dd355
RD
21236 {
21237#if wxUSE_UNICODE
21238 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21239#else
21240 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21241#endif
21242 }
d14a1e28
RD
21243 return resultobj;
21244 fail:
21245 return NULL;
21246}
21247
21248
c32bde28 21249static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21250 PyObject *resultobj;
21251 wxPrintData *arg1 = (wxPrintData *) 0 ;
21252 double result;
21253 PyObject * obj0 = 0 ;
21254 char *kwnames[] = {
21255 (char *) "self", NULL
21256 };
21257
21258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
093d3ff1
RD
21259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21260 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21261 {
21262 PyThreadState* __tstate = wxPyBeginAllowThreads();
21263 result = (double)(arg1)->GetPrinterScaleX();
21264
21265 wxPyEndAllowThreads(__tstate);
21266 if (PyErr_Occurred()) SWIG_fail;
21267 }
093d3ff1
RD
21268 {
21269 resultobj = SWIG_From_double((double)(result));
21270 }
d14a1e28
RD
21271 return resultobj;
21272 fail:
21273 return NULL;
21274}
21275
21276
c32bde28 21277static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21278 PyObject *resultobj;
21279 wxPrintData *arg1 = (wxPrintData *) 0 ;
21280 double result;
21281 PyObject * obj0 = 0 ;
21282 char *kwnames[] = {
21283 (char *) "self", NULL
21284 };
21285
21286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
093d3ff1
RD
21287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21288 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21289 {
21290 PyThreadState* __tstate = wxPyBeginAllowThreads();
21291 result = (double)(arg1)->GetPrinterScaleY();
21292
21293 wxPyEndAllowThreads(__tstate);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
093d3ff1
RD
21296 {
21297 resultobj = SWIG_From_double((double)(result));
21298 }
d14a1e28
RD
21299 return resultobj;
21300 fail:
21301 return NULL;
21302}
21303
21304
c32bde28 21305static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21306 PyObject *resultobj;
21307 wxPrintData *arg1 = (wxPrintData *) 0 ;
21308 long result;
21309 PyObject * obj0 = 0 ;
21310 char *kwnames[] = {
21311 (char *) "self", NULL
21312 };
21313
21314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
093d3ff1
RD
21315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21316 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21317 {
21318 PyThreadState* __tstate = wxPyBeginAllowThreads();
21319 result = (long)(arg1)->GetPrinterTranslateX();
21320
21321 wxPyEndAllowThreads(__tstate);
21322 if (PyErr_Occurred()) SWIG_fail;
21323 }
093d3ff1
RD
21324 {
21325 resultobj = SWIG_From_long((long)(result));
21326 }
d14a1e28
RD
21327 return resultobj;
21328 fail:
21329 return NULL;
21330}
21331
21332
c32bde28 21333static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21334 PyObject *resultobj;
21335 wxPrintData *arg1 = (wxPrintData *) 0 ;
21336 long result;
21337 PyObject * obj0 = 0 ;
21338 char *kwnames[] = {
21339 (char *) "self", NULL
21340 };
21341
21342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
093d3ff1
RD
21343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21344 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21345 {
21346 PyThreadState* __tstate = wxPyBeginAllowThreads();
21347 result = (long)(arg1)->GetPrinterTranslateY();
21348
21349 wxPyEndAllowThreads(__tstate);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 }
093d3ff1
RD
21352 {
21353 resultobj = SWIG_From_long((long)(result));
21354 }
d14a1e28
RD
21355 return resultobj;
21356 fail:
21357 return NULL;
21358}
21359
21360
d3b6e4ff 21361static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21362 PyObject *resultobj;
21363 wxPrintData *arg1 = (wxPrintData *) 0 ;
d3b6e4ff
RD
21364 wxString *arg2 = 0 ;
21365 bool temp2 = false ;
d14a1e28 21366 PyObject * obj0 = 0 ;
d3b6e4ff 21367 PyObject * obj1 = 0 ;
d14a1e28 21368 char *kwnames[] = {
d3b6e4ff 21369 (char *) "self",(char *) "command", NULL
d14a1e28
RD
21370 };
21371
d3b6e4ff 21372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21374 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
21375 {
21376 arg2 = wxString_in_helper(obj1);
21377 if (arg2 == NULL) SWIG_fail;
21378 temp2 = true;
21379 }
d14a1e28
RD
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 21382 (arg1)->SetPrinterCommand((wxString const &)*arg2);
d14a1e28
RD
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
d3b6e4ff
RD
21387 Py_INCREF(Py_None); resultobj = Py_None;
21388 {
21389 if (temp2)
21390 delete arg2;
21391 }
d14a1e28
RD
21392 return resultobj;
21393 fail:
21394 {
21395 if (temp2)
21396 delete arg2;
21397 }
21398 return NULL;
21399}
21400
21401
c32bde28 21402static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21403 PyObject *resultobj;
21404 wxPrintData *arg1 = (wxPrintData *) 0 ;
21405 wxString *arg2 = 0 ;
ae8162c8 21406 bool temp2 = false ;
d14a1e28
RD
21407 PyObject * obj0 = 0 ;
21408 PyObject * obj1 = 0 ;
21409 char *kwnames[] = {
21410 (char *) "self",(char *) "options", NULL
21411 };
21412
21413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21415 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21416 {
21417 arg2 = wxString_in_helper(obj1);
21418 if (arg2 == NULL) SWIG_fail;
ae8162c8 21419 temp2 = true;
d14a1e28
RD
21420 }
21421 {
21422 PyThreadState* __tstate = wxPyBeginAllowThreads();
21423 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21424
21425 wxPyEndAllowThreads(__tstate);
21426 if (PyErr_Occurred()) SWIG_fail;
21427 }
21428 Py_INCREF(Py_None); resultobj = Py_None;
21429 {
21430 if (temp2)
21431 delete arg2;
21432 }
21433 return resultobj;
21434 fail:
21435 {
21436 if (temp2)
21437 delete arg2;
21438 }
21439 return NULL;
21440}
21441
21442
c32bde28 21443static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21444 PyObject *resultobj;
21445 wxPrintData *arg1 = (wxPrintData *) 0 ;
21446 wxString *arg2 = 0 ;
ae8162c8 21447 bool temp2 = false ;
d14a1e28
RD
21448 PyObject * obj0 = 0 ;
21449 PyObject * obj1 = 0 ;
21450 char *kwnames[] = {
21451 (char *) "self",(char *) "command", NULL
21452 };
21453
21454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21456 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21457 {
21458 arg2 = wxString_in_helper(obj1);
21459 if (arg2 == NULL) SWIG_fail;
ae8162c8 21460 temp2 = true;
d14a1e28
RD
21461 }
21462 {
21463 PyThreadState* __tstate = wxPyBeginAllowThreads();
21464 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21465
21466 wxPyEndAllowThreads(__tstate);
21467 if (PyErr_Occurred()) SWIG_fail;
21468 }
21469 Py_INCREF(Py_None); resultobj = Py_None;
21470 {
21471 if (temp2)
21472 delete arg2;
21473 }
21474 return resultobj;
21475 fail:
21476 {
21477 if (temp2)
21478 delete arg2;
21479 }
21480 return NULL;
21481}
21482
21483
c32bde28 21484static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21485 PyObject *resultobj;
21486 wxPrintData *arg1 = (wxPrintData *) 0 ;
21487 wxString *arg2 = 0 ;
ae8162c8 21488 bool temp2 = false ;
d14a1e28
RD
21489 PyObject * obj0 = 0 ;
21490 PyObject * obj1 = 0 ;
21491 char *kwnames[] = {
21492 (char *) "self",(char *) "path", NULL
21493 };
21494
21495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21496 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21497 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21498 {
21499 arg2 = wxString_in_helper(obj1);
21500 if (arg2 == NULL) SWIG_fail;
ae8162c8 21501 temp2 = true;
d14a1e28
RD
21502 }
21503 {
21504 PyThreadState* __tstate = wxPyBeginAllowThreads();
21505 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21506
21507 wxPyEndAllowThreads(__tstate);
21508 if (PyErr_Occurred()) SWIG_fail;
21509 }
21510 Py_INCREF(Py_None); resultobj = Py_None;
21511 {
21512 if (temp2)
21513 delete arg2;
21514 }
21515 return resultobj;
21516 fail:
21517 {
21518 if (temp2)
21519 delete arg2;
21520 }
21521 return NULL;
21522}
21523
21524
c32bde28 21525static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21526 PyObject *resultobj;
21527 wxPrintData *arg1 = (wxPrintData *) 0 ;
21528 double arg2 ;
21529 PyObject * obj0 = 0 ;
994141e6 21530 PyObject * obj1 = 0 ;
d14a1e28
RD
21531 char *kwnames[] = {
21532 (char *) "self",(char *) "x", NULL
21533 };
21534
994141e6 21535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21537 if (SWIG_arg_fail(1)) SWIG_fail;
21538 {
21539 arg2 = (double)(SWIG_As_double(obj1));
21540 if (SWIG_arg_fail(2)) SWIG_fail;
21541 }
d14a1e28
RD
21542 {
21543 PyThreadState* __tstate = wxPyBeginAllowThreads();
21544 (arg1)->SetPrinterScaleX(arg2);
21545
21546 wxPyEndAllowThreads(__tstate);
21547 if (PyErr_Occurred()) SWIG_fail;
21548 }
21549 Py_INCREF(Py_None); resultobj = Py_None;
21550 return resultobj;
21551 fail:
21552 return NULL;
21553}
21554
21555
c32bde28 21556static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21557 PyObject *resultobj;
21558 wxPrintData *arg1 = (wxPrintData *) 0 ;
21559 double arg2 ;
21560 PyObject * obj0 = 0 ;
994141e6 21561 PyObject * obj1 = 0 ;
d14a1e28
RD
21562 char *kwnames[] = {
21563 (char *) "self",(char *) "y", NULL
21564 };
21565
994141e6 21566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21568 if (SWIG_arg_fail(1)) SWIG_fail;
21569 {
21570 arg2 = (double)(SWIG_As_double(obj1));
21571 if (SWIG_arg_fail(2)) SWIG_fail;
21572 }
d14a1e28
RD
21573 {
21574 PyThreadState* __tstate = wxPyBeginAllowThreads();
21575 (arg1)->SetPrinterScaleY(arg2);
21576
21577 wxPyEndAllowThreads(__tstate);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 Py_INCREF(Py_None); resultobj = Py_None;
21581 return resultobj;
21582 fail:
21583 return NULL;
21584}
21585
21586
c32bde28 21587static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21588 PyObject *resultobj;
21589 wxPrintData *arg1 = (wxPrintData *) 0 ;
21590 double arg2 ;
21591 double arg3 ;
21592 PyObject * obj0 = 0 ;
994141e6
RD
21593 PyObject * obj1 = 0 ;
21594 PyObject * obj2 = 0 ;
d14a1e28
RD
21595 char *kwnames[] = {
21596 (char *) "self",(char *) "x",(char *) "y", NULL
21597 };
21598
994141e6 21599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21601 if (SWIG_arg_fail(1)) SWIG_fail;
21602 {
21603 arg2 = (double)(SWIG_As_double(obj1));
21604 if (SWIG_arg_fail(2)) SWIG_fail;
21605 }
21606 {
21607 arg3 = (double)(SWIG_As_double(obj2));
21608 if (SWIG_arg_fail(3)) SWIG_fail;
21609 }
d14a1e28
RD
21610 {
21611 PyThreadState* __tstate = wxPyBeginAllowThreads();
21612 (arg1)->SetPrinterScaling(arg2,arg3);
21613
21614 wxPyEndAllowThreads(__tstate);
21615 if (PyErr_Occurred()) SWIG_fail;
21616 }
21617 Py_INCREF(Py_None); resultobj = Py_None;
21618 return resultobj;
21619 fail:
21620 return NULL;
21621}
21622
21623
c32bde28 21624static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21625 PyObject *resultobj;
21626 wxPrintData *arg1 = (wxPrintData *) 0 ;
21627 long arg2 ;
21628 PyObject * obj0 = 0 ;
994141e6 21629 PyObject * obj1 = 0 ;
d14a1e28
RD
21630 char *kwnames[] = {
21631 (char *) "self",(char *) "x", NULL
21632 };
21633
994141e6 21634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21636 if (SWIG_arg_fail(1)) SWIG_fail;
21637 {
21638 arg2 = (long)(SWIG_As_long(obj1));
21639 if (SWIG_arg_fail(2)) SWIG_fail;
21640 }
d14a1e28
RD
21641 {
21642 PyThreadState* __tstate = wxPyBeginAllowThreads();
21643 (arg1)->SetPrinterTranslateX(arg2);
21644
21645 wxPyEndAllowThreads(__tstate);
21646 if (PyErr_Occurred()) SWIG_fail;
21647 }
21648 Py_INCREF(Py_None); resultobj = Py_None;
21649 return resultobj;
21650 fail:
21651 return NULL;
21652}
21653
21654
c32bde28 21655static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21656 PyObject *resultobj;
21657 wxPrintData *arg1 = (wxPrintData *) 0 ;
21658 long arg2 ;
21659 PyObject * obj0 = 0 ;
994141e6 21660 PyObject * obj1 = 0 ;
d14a1e28
RD
21661 char *kwnames[] = {
21662 (char *) "self",(char *) "y", NULL
21663 };
21664
994141e6 21665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21667 if (SWIG_arg_fail(1)) SWIG_fail;
21668 {
21669 arg2 = (long)(SWIG_As_long(obj1));
21670 if (SWIG_arg_fail(2)) SWIG_fail;
21671 }
d14a1e28
RD
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 (arg1)->SetPrinterTranslateY(arg2);
21675
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 Py_INCREF(Py_None); resultobj = Py_None;
21680 return resultobj;
21681 fail:
21682 return NULL;
21683}
21684
21685
c32bde28 21686static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21687 PyObject *resultobj;
21688 wxPrintData *arg1 = (wxPrintData *) 0 ;
21689 long arg2 ;
21690 long arg3 ;
21691 PyObject * obj0 = 0 ;
994141e6
RD
21692 PyObject * obj1 = 0 ;
21693 PyObject * obj2 = 0 ;
d14a1e28
RD
21694 char *kwnames[] = {
21695 (char *) "self",(char *) "x",(char *) "y", NULL
21696 };
21697
994141e6 21698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21700 if (SWIG_arg_fail(1)) SWIG_fail;
21701 {
21702 arg2 = (long)(SWIG_As_long(obj1));
21703 if (SWIG_arg_fail(2)) SWIG_fail;
21704 }
21705 {
21706 arg3 = (long)(SWIG_As_long(obj2));
21707 if (SWIG_arg_fail(3)) SWIG_fail;
21708 }
d14a1e28
RD
21709 {
21710 PyThreadState* __tstate = wxPyBeginAllowThreads();
21711 (arg1)->SetPrinterTranslation(arg2,arg3);
21712
21713 wxPyEndAllowThreads(__tstate);
21714 if (PyErr_Occurred()) SWIG_fail;
21715 }
21716 Py_INCREF(Py_None); resultobj = Py_None;
21717 return resultobj;
21718 fail:
21719 return NULL;
21720}
21721
21722
c32bde28 21723static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21724 PyObject *obj;
21725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21726 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21727 Py_INCREF(obj);
21728 return Py_BuildValue((char *)"");
21729}
c32bde28 21730static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
21731 PyObject *resultobj;
21732 wxPageSetupDialogData *result;
d14a1e28 21733
11207aef 21734 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d14a1e28
RD
21735 {
21736 PyThreadState* __tstate = wxPyBeginAllowThreads();
21737 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21738
21739 wxPyEndAllowThreads(__tstate);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 }
15afbcd0 21742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
d14a1e28
RD
21743 return resultobj;
21744 fail:
21745 return NULL;
21746}
21747
21748
c32bde28 21749static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
11207aef
RD
21750 PyObject *resultobj;
21751 wxPageSetupDialogData *arg1 = 0 ;
21752 wxPageSetupDialogData *result;
21753 PyObject * obj0 = 0 ;
21754
21755 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
093d3ff1
RD
21756 {
21757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21758 if (SWIG_arg_fail(1)) SWIG_fail;
21759 if (arg1 == NULL) {
21760 SWIG_null_ref("wxPageSetupDialogData");
21761 }
21762 if (SWIG_arg_fail(1)) SWIG_fail;
11207aef
RD
21763 }
21764 {
21765 PyThreadState* __tstate = wxPyBeginAllowThreads();
21766 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21767
21768 wxPyEndAllowThreads(__tstate);
21769 if (PyErr_Occurred()) SWIG_fail;
21770 }
21771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21772 return resultobj;
21773 fail:
21774 return NULL;
21775}
21776
21777
21778static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21779 int argc;
21780 PyObject *argv[2];
21781 int ii;
21782
21783 argc = PyObject_Length(args);
21784 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21785 argv[ii] = PyTuple_GetItem(args,ii);
21786 }
21787 if (argc == 0) {
21788 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21789 }
21790 if (argc == 1) {
21791 int _v;
21792 {
093d3ff1 21793 void *ptr = 0;
11207aef
RD
21794 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21795 _v = 0;
21796 PyErr_Clear();
21797 } else {
093d3ff1 21798 _v = (ptr != 0);
11207aef
RD
21799 }
21800 }
21801 if (_v) {
21802 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21803 }
21804 }
21805
093d3ff1 21806 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
11207aef
RD
21807 return NULL;
21808}
21809
21810
c32bde28 21811static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21812 PyObject *resultobj;
21813 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21814 PyObject * obj0 = 0 ;
21815 char *kwnames[] = {
21816 (char *) "self", NULL
21817 };
21818
21819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
21820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21821 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
21822 {
21823 PyThreadState* __tstate = wxPyBeginAllowThreads();
21824 delete arg1;
21825
21826 wxPyEndAllowThreads(__tstate);
21827 if (PyErr_Occurred()) SWIG_fail;
21828 }
21829 Py_INCREF(Py_None); resultobj = Py_None;
21830 return resultobj;
21831 fail:
21832 return NULL;
21833}
21834
21835
c32bde28 21836static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21837 PyObject *resultobj;
21838 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21839 bool arg2 ;
21840 PyObject * obj0 = 0 ;
21841 PyObject * obj1 = 0 ;
21842 char *kwnames[] = {
21843 (char *) "self",(char *) "flag", NULL
21844 };
21845
21846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21848 if (SWIG_arg_fail(1)) SWIG_fail;
21849 {
21850 arg2 = (bool)(SWIG_As_bool(obj1));
21851 if (SWIG_arg_fail(2)) SWIG_fail;
21852 }
d14a1e28
RD
21853 {
21854 PyThreadState* __tstate = wxPyBeginAllowThreads();
21855 (arg1)->EnableHelp(arg2);
21856
21857 wxPyEndAllowThreads(__tstate);
21858 if (PyErr_Occurred()) SWIG_fail;
21859 }
21860 Py_INCREF(Py_None); resultobj = Py_None;
21861 return resultobj;
21862 fail:
21863 return NULL;
21864}
21865
21866
c32bde28 21867static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21868 PyObject *resultobj;
21869 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21870 bool arg2 ;
21871 PyObject * obj0 = 0 ;
21872 PyObject * obj1 = 0 ;
21873 char *kwnames[] = {
21874 (char *) "self",(char *) "flag", NULL
21875 };
21876
21877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21879 if (SWIG_arg_fail(1)) SWIG_fail;
21880 {
21881 arg2 = (bool)(SWIG_As_bool(obj1));
21882 if (SWIG_arg_fail(2)) SWIG_fail;
21883 }
d14a1e28
RD
21884 {
21885 PyThreadState* __tstate = wxPyBeginAllowThreads();
21886 (arg1)->EnableMargins(arg2);
21887
21888 wxPyEndAllowThreads(__tstate);
21889 if (PyErr_Occurred()) SWIG_fail;
21890 }
21891 Py_INCREF(Py_None); resultobj = Py_None;
21892 return resultobj;
21893 fail:
21894 return NULL;
21895}
21896
21897
c32bde28 21898static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21899 PyObject *resultobj;
21900 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21901 bool arg2 ;
21902 PyObject * obj0 = 0 ;
21903 PyObject * obj1 = 0 ;
21904 char *kwnames[] = {
21905 (char *) "self",(char *) "flag", NULL
21906 };
21907
21908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21910 if (SWIG_arg_fail(1)) SWIG_fail;
21911 {
21912 arg2 = (bool)(SWIG_As_bool(obj1));
21913 if (SWIG_arg_fail(2)) SWIG_fail;
21914 }
d14a1e28
RD
21915 {
21916 PyThreadState* __tstate = wxPyBeginAllowThreads();
21917 (arg1)->EnableOrientation(arg2);
21918
21919 wxPyEndAllowThreads(__tstate);
21920 if (PyErr_Occurred()) SWIG_fail;
21921 }
21922 Py_INCREF(Py_None); resultobj = Py_None;
21923 return resultobj;
21924 fail:
21925 return NULL;
21926}
21927
21928
c32bde28 21929static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21930 PyObject *resultobj;
21931 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21932 bool arg2 ;
21933 PyObject * obj0 = 0 ;
21934 PyObject * obj1 = 0 ;
21935 char *kwnames[] = {
21936 (char *) "self",(char *) "flag", NULL
21937 };
21938
21939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21941 if (SWIG_arg_fail(1)) SWIG_fail;
21942 {
21943 arg2 = (bool)(SWIG_As_bool(obj1));
21944 if (SWIG_arg_fail(2)) SWIG_fail;
21945 }
d14a1e28
RD
21946 {
21947 PyThreadState* __tstate = wxPyBeginAllowThreads();
21948 (arg1)->EnablePaper(arg2);
21949
21950 wxPyEndAllowThreads(__tstate);
21951 if (PyErr_Occurred()) SWIG_fail;
21952 }
21953 Py_INCREF(Py_None); resultobj = Py_None;
21954 return resultobj;
21955 fail:
21956 return NULL;
21957}
21958
21959
c32bde28 21960static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21961 PyObject *resultobj;
21962 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21963 bool arg2 ;
21964 PyObject * obj0 = 0 ;
21965 PyObject * obj1 = 0 ;
21966 char *kwnames[] = {
21967 (char *) "self",(char *) "flag", NULL
21968 };
21969
21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21972 if (SWIG_arg_fail(1)) SWIG_fail;
21973 {
21974 arg2 = (bool)(SWIG_As_bool(obj1));
21975 if (SWIG_arg_fail(2)) SWIG_fail;
21976 }
d14a1e28
RD
21977 {
21978 PyThreadState* __tstate = wxPyBeginAllowThreads();
21979 (arg1)->EnablePrinter(arg2);
21980
21981 wxPyEndAllowThreads(__tstate);
21982 if (PyErr_Occurred()) SWIG_fail;
21983 }
21984 Py_INCREF(Py_None); resultobj = Py_None;
21985 return resultobj;
21986 fail:
21987 return NULL;
21988}
21989
21990
c32bde28 21991static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21992 PyObject *resultobj;
21993 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21994 bool result;
21995 PyObject * obj0 = 0 ;
21996 char *kwnames[] = {
21997 (char *) "self", NULL
21998 };
21999
22000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
22001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22002 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22003 {
22004 PyThreadState* __tstate = wxPyBeginAllowThreads();
22005 result = (bool)(arg1)->GetDefaultMinMargins();
22006
22007 wxPyEndAllowThreads(__tstate);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 }
4f89f6a3
RD
22010 {
22011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22012 }
d14a1e28
RD
22013 return resultobj;
22014 fail:
22015 return NULL;
22016}
22017
22018
c32bde28 22019static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22020 PyObject *resultobj;
22021 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22022 bool result;
22023 PyObject * obj0 = 0 ;
22024 char *kwnames[] = {
22025 (char *) "self", NULL
22026 };
22027
22028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
093d3ff1
RD
22029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22030 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22031 {
22032 PyThreadState* __tstate = wxPyBeginAllowThreads();
22033 result = (bool)(arg1)->GetEnableMargins();
22034
22035 wxPyEndAllowThreads(__tstate);
22036 if (PyErr_Occurred()) SWIG_fail;
22037 }
4f89f6a3
RD
22038 {
22039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22040 }
d14a1e28
RD
22041 return resultobj;
22042 fail:
22043 return NULL;
22044}
22045
22046
c32bde28 22047static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22048 PyObject *resultobj;
22049 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22050 bool result;
22051 PyObject * obj0 = 0 ;
22052 char *kwnames[] = {
22053 (char *) "self", NULL
22054 };
22055
22056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
093d3ff1
RD
22057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22058 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22059 {
22060 PyThreadState* __tstate = wxPyBeginAllowThreads();
22061 result = (bool)(arg1)->GetEnableOrientation();
22062
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
4f89f6a3
RD
22066 {
22067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22068 }
d14a1e28
RD
22069 return resultobj;
22070 fail:
22071 return NULL;
22072}
22073
22074
c32bde28 22075static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22076 PyObject *resultobj;
22077 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22078 bool result;
22079 PyObject * obj0 = 0 ;
22080 char *kwnames[] = {
22081 (char *) "self", NULL
22082 };
22083
22084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
093d3ff1
RD
22085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22086 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22087 {
22088 PyThreadState* __tstate = wxPyBeginAllowThreads();
22089 result = (bool)(arg1)->GetEnablePaper();
22090
22091 wxPyEndAllowThreads(__tstate);
22092 if (PyErr_Occurred()) SWIG_fail;
22093 }
4f89f6a3
RD
22094 {
22095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22096 }
d14a1e28
RD
22097 return resultobj;
22098 fail:
22099 return NULL;
22100}
22101
22102
c32bde28 22103static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22104 PyObject *resultobj;
22105 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22106 bool result;
22107 PyObject * obj0 = 0 ;
22108 char *kwnames[] = {
22109 (char *) "self", NULL
22110 };
22111
22112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
22113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22114 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22115 {
22116 PyThreadState* __tstate = wxPyBeginAllowThreads();
22117 result = (bool)(arg1)->GetEnablePrinter();
22118
22119 wxPyEndAllowThreads(__tstate);
22120 if (PyErr_Occurred()) SWIG_fail;
22121 }
4f89f6a3
RD
22122 {
22123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22124 }
d14a1e28
RD
22125 return resultobj;
22126 fail:
22127 return NULL;
22128}
22129
22130
c32bde28 22131static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22132 PyObject *resultobj;
22133 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22134 bool result;
22135 PyObject * obj0 = 0 ;
22136 char *kwnames[] = {
22137 (char *) "self", NULL
22138 };
22139
22140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
22141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22142 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22143 {
22144 PyThreadState* __tstate = wxPyBeginAllowThreads();
22145 result = (bool)(arg1)->GetEnableHelp();
22146
22147 wxPyEndAllowThreads(__tstate);
22148 if (PyErr_Occurred()) SWIG_fail;
22149 }
4f89f6a3
RD
22150 {
22151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22152 }
d14a1e28
RD
22153 return resultobj;
22154 fail:
22155 return NULL;
22156}
22157
22158
c32bde28 22159static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22160 PyObject *resultobj;
22161 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22162 bool result;
22163 PyObject * obj0 = 0 ;
22164 char *kwnames[] = {
22165 (char *) "self", NULL
22166 };
22167
22168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
22169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22170 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22171 {
22172 PyThreadState* __tstate = wxPyBeginAllowThreads();
22173 result = (bool)(arg1)->GetDefaultInfo();
22174
22175 wxPyEndAllowThreads(__tstate);
22176 if (PyErr_Occurred()) SWIG_fail;
22177 }
4f89f6a3
RD
22178 {
22179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22180 }
d14a1e28
RD
22181 return resultobj;
22182 fail:
22183 return NULL;
22184}
22185
22186
c32bde28 22187static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22188 PyObject *resultobj;
22189 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22190 wxPoint result;
22191 PyObject * obj0 = 0 ;
22192 char *kwnames[] = {
22193 (char *) "self", NULL
22194 };
22195
22196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22198 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22199 {
22200 PyThreadState* __tstate = wxPyBeginAllowThreads();
22201 result = (arg1)->GetMarginTopLeft();
22202
22203 wxPyEndAllowThreads(__tstate);
22204 if (PyErr_Occurred()) SWIG_fail;
22205 }
22206 {
22207 wxPoint * resultptr;
093d3ff1 22208 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 22209 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22210 }
22211 return resultobj;
22212 fail:
22213 return NULL;
22214}
22215
22216
c32bde28 22217static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22218 PyObject *resultobj;
22219 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22220 wxPoint result;
22221 PyObject * obj0 = 0 ;
22222 char *kwnames[] = {
22223 (char *) "self", NULL
22224 };
22225
22226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22228 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22229 {
22230 PyThreadState* __tstate = wxPyBeginAllowThreads();
22231 result = (arg1)->GetMarginBottomRight();
22232
22233 wxPyEndAllowThreads(__tstate);
22234 if (PyErr_Occurred()) SWIG_fail;
22235 }
22236 {
22237 wxPoint * resultptr;
093d3ff1 22238 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 22239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22240 }
22241 return resultobj;
22242 fail:
22243 return NULL;
22244}
22245
22246
c32bde28 22247static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22248 PyObject *resultobj;
22249 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22250 wxPoint result;
22251 PyObject * obj0 = 0 ;
22252 char *kwnames[] = {
22253 (char *) "self", NULL
22254 };
22255
22256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
093d3ff1
RD
22257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22258 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22259 {
22260 PyThreadState* __tstate = wxPyBeginAllowThreads();
22261 result = (arg1)->GetMinMarginTopLeft();
22262
22263 wxPyEndAllowThreads(__tstate);
22264 if (PyErr_Occurred()) SWIG_fail;
22265 }
22266 {
22267 wxPoint * resultptr;
093d3ff1 22268 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 22269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22270 }
22271 return resultobj;
22272 fail:
22273 return NULL;
22274}
22275
22276
c32bde28 22277static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22278 PyObject *resultobj;
22279 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22280 wxPoint result;
22281 PyObject * obj0 = 0 ;
22282 char *kwnames[] = {
22283 (char *) "self", NULL
22284 };
22285
22286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
093d3ff1
RD
22287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22288 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22289 {
22290 PyThreadState* __tstate = wxPyBeginAllowThreads();
22291 result = (arg1)->GetMinMarginBottomRight();
22292
22293 wxPyEndAllowThreads(__tstate);
22294 if (PyErr_Occurred()) SWIG_fail;
22295 }
22296 {
22297 wxPoint * resultptr;
093d3ff1 22298 resultptr = new wxPoint((wxPoint &)(result));
15afbcd0 22299 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22300 }
22301 return resultobj;
22302 fail:
22303 return NULL;
22304}
22305
22306
c32bde28 22307static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22308 PyObject *resultobj;
22309 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22310 wxPaperSize result;
d14a1e28
RD
22311 PyObject * obj0 = 0 ;
22312 char *kwnames[] = {
22313 (char *) "self", NULL
22314 };
22315
22316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
093d3ff1
RD
22317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22318 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22319 {
22320 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22321 result = (wxPaperSize)(arg1)->GetPaperId();
d14a1e28
RD
22322
22323 wxPyEndAllowThreads(__tstate);
22324 if (PyErr_Occurred()) SWIG_fail;
22325 }
093d3ff1 22326 resultobj = SWIG_From_int((result));
d14a1e28
RD
22327 return resultobj;
22328 fail:
22329 return NULL;
22330}
22331
22332
c32bde28 22333static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22334 PyObject *resultobj;
22335 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22336 wxSize result;
22337 PyObject * obj0 = 0 ;
22338 char *kwnames[] = {
22339 (char *) "self", NULL
22340 };
22341
22342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
22343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22344 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22345 {
22346 PyThreadState* __tstate = wxPyBeginAllowThreads();
22347 result = (arg1)->GetPaperSize();
22348
22349 wxPyEndAllowThreads(__tstate);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 {
22353 wxSize * resultptr;
093d3ff1 22354 resultptr = new wxSize((wxSize &)(result));
15afbcd0 22355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22356 }
22357 return resultobj;
22358 fail:
22359 return NULL;
22360}
22361
22362
c32bde28 22363static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22364 PyObject *resultobj;
22365 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22366 wxPrintData *result;
22367 PyObject * obj0 = 0 ;
22368 char *kwnames[] = {
22369 (char *) "self", NULL
22370 };
22371
22372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22374 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22375 {
22376 PyThreadState* __tstate = wxPyBeginAllowThreads();
22377 {
22378 wxPrintData &_result_ref = (arg1)->GetPrintData();
22379 result = (wxPrintData *) &_result_ref;
22380 }
22381
22382 wxPyEndAllowThreads(__tstate);
22383 if (PyErr_Occurred()) SWIG_fail;
22384 }
15afbcd0 22385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
22386 return resultobj;
22387 fail:
22388 return NULL;
22389}
22390
22391
c32bde28 22392static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22393 PyObject *resultobj;
22394 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22395 bool result;
22396 PyObject * obj0 = 0 ;
22397 char *kwnames[] = {
22398 (char *) "self", NULL
22399 };
22400
22401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
22402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22403 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22404 {
22405 PyThreadState* __tstate = wxPyBeginAllowThreads();
22406 result = (bool)(arg1)->Ok();
22407
22408 wxPyEndAllowThreads(__tstate);
22409 if (PyErr_Occurred()) SWIG_fail;
22410 }
4f89f6a3
RD
22411 {
22412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22413 }
d14a1e28
RD
22414 return resultobj;
22415 fail:
22416 return NULL;
22417}
22418
22419
c32bde28 22420static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22421 PyObject *resultobj;
22422 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22423 bool arg2 ;
22424 PyObject * obj0 = 0 ;
22425 PyObject * obj1 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self",(char *) "flag", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22432 if (SWIG_arg_fail(1)) SWIG_fail;
22433 {
22434 arg2 = (bool)(SWIG_As_bool(obj1));
22435 if (SWIG_arg_fail(2)) SWIG_fail;
22436 }
d14a1e28
RD
22437 {
22438 PyThreadState* __tstate = wxPyBeginAllowThreads();
22439 (arg1)->SetDefaultInfo(arg2);
22440
22441 wxPyEndAllowThreads(__tstate);
22442 if (PyErr_Occurred()) SWIG_fail;
22443 }
22444 Py_INCREF(Py_None); resultobj = Py_None;
22445 return resultobj;
22446 fail:
22447 return NULL;
22448}
22449
22450
c32bde28 22451static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22452 PyObject *resultobj;
22453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22454 bool arg2 ;
22455 PyObject * obj0 = 0 ;
22456 PyObject * obj1 = 0 ;
22457 char *kwnames[] = {
22458 (char *) "self",(char *) "flag", NULL
22459 };
22460
22461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22463 if (SWIG_arg_fail(1)) SWIG_fail;
22464 {
22465 arg2 = (bool)(SWIG_As_bool(obj1));
22466 if (SWIG_arg_fail(2)) SWIG_fail;
22467 }
d14a1e28
RD
22468 {
22469 PyThreadState* __tstate = wxPyBeginAllowThreads();
22470 (arg1)->SetDefaultMinMargins(arg2);
22471
22472 wxPyEndAllowThreads(__tstate);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 }
22475 Py_INCREF(Py_None); resultobj = Py_None;
22476 return resultobj;
22477 fail:
22478 return NULL;
22479}
22480
22481
c32bde28 22482static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22483 PyObject *resultobj;
22484 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22485 wxPoint *arg2 = 0 ;
22486 wxPoint temp2 ;
22487 PyObject * obj0 = 0 ;
22488 PyObject * obj1 = 0 ;
22489 char *kwnames[] = {
22490 (char *) "self",(char *) "pt", NULL
22491 };
22492
22493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22494 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22495 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22496 {
22497 arg2 = &temp2;
22498 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22499 }
22500 {
22501 PyThreadState* __tstate = wxPyBeginAllowThreads();
22502 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22503
22504 wxPyEndAllowThreads(__tstate);
22505 if (PyErr_Occurred()) SWIG_fail;
22506 }
22507 Py_INCREF(Py_None); resultobj = Py_None;
22508 return resultobj;
22509 fail:
22510 return NULL;
22511}
22512
22513
c32bde28 22514static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22515 PyObject *resultobj;
22516 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22517 wxPoint *arg2 = 0 ;
22518 wxPoint temp2 ;
22519 PyObject * obj0 = 0 ;
22520 PyObject * obj1 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "self",(char *) "pt", NULL
22523 };
22524
22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22527 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22528 {
22529 arg2 = &temp2;
22530 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22531 }
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
22534 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22535
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
22539 Py_INCREF(Py_None); resultobj = Py_None;
22540 return resultobj;
22541 fail:
22542 return NULL;
22543}
22544
22545
c32bde28 22546static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22547 PyObject *resultobj;
22548 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22549 wxPoint *arg2 = 0 ;
22550 wxPoint temp2 ;
22551 PyObject * obj0 = 0 ;
22552 PyObject * obj1 = 0 ;
22553 char *kwnames[] = {
22554 (char *) "self",(char *) "pt", NULL
22555 };
22556
22557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22559 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22560 {
22561 arg2 = &temp2;
22562 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22563 }
22564 {
22565 PyThreadState* __tstate = wxPyBeginAllowThreads();
22566 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22567
22568 wxPyEndAllowThreads(__tstate);
22569 if (PyErr_Occurred()) SWIG_fail;
22570 }
22571 Py_INCREF(Py_None); resultobj = Py_None;
22572 return resultobj;
22573 fail:
22574 return NULL;
22575}
22576
22577
c32bde28 22578static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22579 PyObject *resultobj;
22580 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22581 wxPoint *arg2 = 0 ;
22582 wxPoint temp2 ;
22583 PyObject * obj0 = 0 ;
22584 PyObject * obj1 = 0 ;
22585 char *kwnames[] = {
22586 (char *) "self",(char *) "pt", NULL
22587 };
22588
22589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22591 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22592 {
22593 arg2 = &temp2;
22594 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22595 }
22596 {
22597 PyThreadState* __tstate = wxPyBeginAllowThreads();
22598 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22599
22600 wxPyEndAllowThreads(__tstate);
22601 if (PyErr_Occurred()) SWIG_fail;
22602 }
22603 Py_INCREF(Py_None); resultobj = Py_None;
22604 return resultobj;
22605 fail:
22606 return NULL;
22607}
22608
22609
c32bde28 22610static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22611 PyObject *resultobj;
22612 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
093d3ff1 22613 wxPaperSize arg2 ;
d14a1e28 22614 PyObject * obj0 = 0 ;
994141e6 22615 PyObject * obj1 = 0 ;
d14a1e28
RD
22616 char *kwnames[] = {
22617 (char *) "self",(char *) "id", NULL
22618 };
22619
994141e6 22620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22622 if (SWIG_arg_fail(1)) SWIG_fail;
22623 {
22624 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22625 if (SWIG_arg_fail(2)) SWIG_fail;
22626 }
d14a1e28
RD
22627 {
22628 PyThreadState* __tstate = wxPyBeginAllowThreads();
22629 (arg1)->SetPaperId((wxPaperSize )arg2);
22630
22631 wxPyEndAllowThreads(__tstate);
22632 if (PyErr_Occurred()) SWIG_fail;
22633 }
22634 Py_INCREF(Py_None); resultobj = Py_None;
22635 return resultobj;
22636 fail:
22637 return NULL;
22638}
22639
22640
c32bde28 22641static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22642 PyObject *resultobj;
22643 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22644 wxSize *arg2 = 0 ;
22645 wxSize temp2 ;
22646 PyObject * obj0 = 0 ;
22647 PyObject * obj1 = 0 ;
22648 char *kwnames[] = {
22649 (char *) "self",(char *) "size", NULL
22650 };
22651
22652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22654 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22655 {
22656 arg2 = &temp2;
22657 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22658 }
22659 {
22660 PyThreadState* __tstate = wxPyBeginAllowThreads();
22661 (arg1)->SetPaperSize((wxSize const &)*arg2);
22662
22663 wxPyEndAllowThreads(__tstate);
22664 if (PyErr_Occurred()) SWIG_fail;
22665 }
22666 Py_INCREF(Py_None); resultobj = Py_None;
22667 return resultobj;
22668 fail:
22669 return NULL;
22670}
22671
22672
c32bde28 22673static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22674 PyObject *resultobj;
22675 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22676 wxPrintData *arg2 = 0 ;
22677 PyObject * obj0 = 0 ;
22678 PyObject * obj1 = 0 ;
22679 char *kwnames[] = {
22680 (char *) "self",(char *) "printData", NULL
22681 };
22682
22683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22685 if (SWIG_arg_fail(1)) SWIG_fail;
22686 {
22687 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22688 if (SWIG_arg_fail(2)) SWIG_fail;
22689 if (arg2 == NULL) {
22690 SWIG_null_ref("wxPrintData");
22691 }
22692 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22693 }
22694 {
22695 PyThreadState* __tstate = wxPyBeginAllowThreads();
22696 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22697
22698 wxPyEndAllowThreads(__tstate);
22699 if (PyErr_Occurred()) SWIG_fail;
22700 }
22701 Py_INCREF(Py_None); resultobj = Py_None;
22702 return resultobj;
22703 fail:
22704 return NULL;
22705}
22706
22707
c32bde28 22708static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22709 PyObject *obj;
22710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22711 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22712 Py_INCREF(obj);
22713 return Py_BuildValue((char *)"");
22714}
c32bde28 22715static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22716 PyObject *resultobj;
22717 wxWindow *arg1 = (wxWindow *) 0 ;
22718 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22719 wxPageSetupDialog *result;
22720 PyObject * obj0 = 0 ;
22721 PyObject * obj1 = 0 ;
22722 char *kwnames[] = {
22723 (char *) "parent",(char *) "data", NULL
22724 };
22725
22726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22728 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 22729 if (obj1) {
093d3ff1
RD
22730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22731 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
22732 }
22733 {
e3b71cb8 22734 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22735 PyThreadState* __tstate = wxPyBeginAllowThreads();
22736 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22737
22738 wxPyEndAllowThreads(__tstate);
110da5b0 22739 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22740 }
15afbcd0 22741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
d14a1e28
RD
22742 return resultobj;
22743 fail:
22744 return NULL;
22745}
22746
22747
c32bde28 22748static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22749 PyObject *resultobj;
22750 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22751 wxPageSetupDialogData *result;
22752 PyObject * obj0 = 0 ;
22753 char *kwnames[] = {
22754 (char *) "self", NULL
22755 };
22756
22757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22759 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 {
22763 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22764 result = (wxPageSetupDialogData *) &_result_ref;
22765 }
22766
22767 wxPyEndAllowThreads(__tstate);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 }
15afbcd0 22770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
d14a1e28
RD
22771 return resultobj;
22772 fail:
22773 return NULL;
22774}
22775
22776
8ac8dba0
RD
22777static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22778 PyObject *resultobj;
22779 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22780 wxPageSetupDialogData *result;
22781 PyObject * obj0 = 0 ;
22782 char *kwnames[] = {
22783 (char *) "self", NULL
22784 };
22785
22786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22788 if (SWIG_arg_fail(1)) SWIG_fail;
8ac8dba0
RD
22789 {
22790 PyThreadState* __tstate = wxPyBeginAllowThreads();
22791 {
22792 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22793 result = (wxPageSetupDialogData *) &_result_ref;
22794 }
22795
22796 wxPyEndAllowThreads(__tstate);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
22799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22800 return resultobj;
22801 fail:
22802 return NULL;
22803}
22804
22805
c32bde28 22806static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22807 PyObject *resultobj;
22808 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22809 int result;
22810 PyObject * obj0 = 0 ;
22811 char *kwnames[] = {
22812 (char *) "self", NULL
22813 };
22814
22815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
22816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22817 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22818 {
22819 PyThreadState* __tstate = wxPyBeginAllowThreads();
22820 result = (int)(arg1)->ShowModal();
22821
22822 wxPyEndAllowThreads(__tstate);
22823 if (PyErr_Occurred()) SWIG_fail;
22824 }
093d3ff1
RD
22825 {
22826 resultobj = SWIG_From_int((int)(result));
22827 }
d14a1e28
RD
22828 return resultobj;
22829 fail:
22830 return NULL;
22831}
22832
22833
c32bde28 22834static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
22835 PyObject *obj;
22836 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22837 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22838 Py_INCREF(obj);
22839 return Py_BuildValue((char *)"");
22840}
c32bde28 22841static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
22842 PyObject *resultobj;
22843 wxPrintDialogData *result;
d14a1e28 22844
4276dc52 22845 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
d14a1e28
RD
22846 {
22847 PyThreadState* __tstate = wxPyBeginAllowThreads();
22848 result = (wxPrintDialogData *)new wxPrintDialogData();
22849
22850 wxPyEndAllowThreads(__tstate);
22851 if (PyErr_Occurred()) SWIG_fail;
22852 }
15afbcd0 22853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
d14a1e28
RD
22854 return resultobj;
22855 fail:
22856 return NULL;
22857}
22858
22859
c32bde28 22860static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
22861 PyObject *resultobj;
22862 wxPrintData *arg1 = 0 ;
22863 wxPrintDialogData *result;
22864 PyObject * obj0 = 0 ;
22865
22866 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
093d3ff1
RD
22867 {
22868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22869 if (SWIG_arg_fail(1)) SWIG_fail;
22870 if (arg1 == NULL) {
22871 SWIG_null_ref("wxPrintData");
22872 }
22873 if (SWIG_arg_fail(1)) SWIG_fail;
4276dc52
RD
22874 }
22875 {
22876 PyThreadState* __tstate = wxPyBeginAllowThreads();
22877 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22878
22879 wxPyEndAllowThreads(__tstate);
22880 if (PyErr_Occurred()) SWIG_fail;
22881 }
22882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22883 return resultobj;
22884 fail:
22885 return NULL;
22886}
22887
22888
22889static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
22890 int argc;
22891 PyObject *argv[2];
22892 int ii;
22893
22894 argc = PyObject_Length(args);
22895 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22896 argv[ii] = PyTuple_GetItem(args,ii);
22897 }
22898 if (argc == 0) {
22899 return _wrap_new_PrintDialogData__SWIG_0(self,args);
22900 }
22901 if (argc == 1) {
22902 int _v;
22903 {
093d3ff1 22904 void *ptr = 0;
4276dc52
RD
22905 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22906 _v = 0;
22907 PyErr_Clear();
22908 } else {
093d3ff1 22909 _v = (ptr != 0);
4276dc52
RD
22910 }
22911 }
22912 if (_v) {
22913 return _wrap_new_PrintDialogData__SWIG_1(self,args);
22914 }
22915 }
22916
093d3ff1 22917 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
4276dc52
RD
22918 return NULL;
22919}
22920
22921
c32bde28 22922static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22923 PyObject *resultobj;
22924 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22925 PyObject * obj0 = 0 ;
22926 char *kwnames[] = {
22927 (char *) "self", NULL
22928 };
22929
22930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
22931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22932 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22933 {
22934 PyThreadState* __tstate = wxPyBeginAllowThreads();
22935 delete arg1;
22936
22937 wxPyEndAllowThreads(__tstate);
22938 if (PyErr_Occurred()) SWIG_fail;
22939 }
22940 Py_INCREF(Py_None); resultobj = Py_None;
22941 return resultobj;
22942 fail:
22943 return NULL;
22944}
22945
22946
c32bde28 22947static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22948 PyObject *resultobj;
22949 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22950 int result;
22951 PyObject * obj0 = 0 ;
22952 char *kwnames[] = {
22953 (char *) "self", NULL
22954 };
22955
22956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
22957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22958 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22959 {
22960 PyThreadState* __tstate = wxPyBeginAllowThreads();
22961 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
22962
22963 wxPyEndAllowThreads(__tstate);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
093d3ff1
RD
22966 {
22967 resultobj = SWIG_From_int((int)(result));
22968 }
d14a1e28
RD
22969 return resultobj;
22970 fail:
22971 return NULL;
22972}
22973
22974
c32bde28 22975static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22976 PyObject *resultobj;
22977 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22978 int result;
22979 PyObject * obj0 = 0 ;
22980 char *kwnames[] = {
22981 (char *) "self", NULL
22982 };
22983
22984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
22985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22986 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
22987 {
22988 PyThreadState* __tstate = wxPyBeginAllowThreads();
22989 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
22990
22991 wxPyEndAllowThreads(__tstate);
22992 if (PyErr_Occurred()) SWIG_fail;
22993 }
093d3ff1
RD
22994 {
22995 resultobj = SWIG_From_int((int)(result));
22996 }
d14a1e28
RD
22997 return resultobj;
22998 fail:
22999 return NULL;
23000}
23001
23002
c32bde28 23003static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23004 PyObject *resultobj;
23005 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23006 int result;
23007 PyObject * obj0 = 0 ;
23008 char *kwnames[] = {
23009 (char *) "self", NULL
23010 };
23011
23012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23014 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23015 {
23016 PyThreadState* __tstate = wxPyBeginAllowThreads();
23017 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
23018
23019 wxPyEndAllowThreads(__tstate);
23020 if (PyErr_Occurred()) SWIG_fail;
23021 }
093d3ff1
RD
23022 {
23023 resultobj = SWIG_From_int((int)(result));
23024 }
d14a1e28
RD
23025 return resultobj;
23026 fail:
23027 return NULL;
23028}
23029
23030
c32bde28 23031static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23032 PyObject *resultobj;
23033 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23034 int result;
23035 PyObject * obj0 = 0 ;
23036 char *kwnames[] = {
23037 (char *) "self", NULL
23038 };
23039
23040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
23041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23042 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23043 {
23044 PyThreadState* __tstate = wxPyBeginAllowThreads();
23045 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
23046
23047 wxPyEndAllowThreads(__tstate);
23048 if (PyErr_Occurred()) SWIG_fail;
23049 }
093d3ff1
RD
23050 {
23051 resultobj = SWIG_From_int((int)(result));
23052 }
d14a1e28
RD
23053 return resultobj;
23054 fail:
23055 return NULL;
23056}
23057
23058
c32bde28 23059static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23060 PyObject *resultobj;
23061 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23062 int result;
23063 PyObject * obj0 = 0 ;
23064 char *kwnames[] = {
23065 (char *) "self", NULL
23066 };
23067
23068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
093d3ff1
RD
23069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23070 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23071 {
23072 PyThreadState* __tstate = wxPyBeginAllowThreads();
23073 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
23074
23075 wxPyEndAllowThreads(__tstate);
23076 if (PyErr_Occurred()) SWIG_fail;
23077 }
093d3ff1
RD
23078 {
23079 resultobj = SWIG_From_int((int)(result));
23080 }
d14a1e28
RD
23081 return resultobj;
23082 fail:
23083 return NULL;
23084}
23085
23086
c32bde28 23087static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23088 PyObject *resultobj;
23089 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23090 bool result;
23091 PyObject * obj0 = 0 ;
23092 char *kwnames[] = {
23093 (char *) "self", NULL
23094 };
23095
23096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
093d3ff1
RD
23097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23098 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23099 {
23100 PyThreadState* __tstate = wxPyBeginAllowThreads();
23101 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
23102
23103 wxPyEndAllowThreads(__tstate);
23104 if (PyErr_Occurred()) SWIG_fail;
23105 }
4f89f6a3
RD
23106 {
23107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23108 }
d14a1e28
RD
23109 return resultobj;
23110 fail:
23111 return NULL;
23112}
23113
23114
c32bde28 23115static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23116 PyObject *resultobj;
23117 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23118 bool result;
23119 PyObject * obj0 = 0 ;
23120 char *kwnames[] = {
23121 (char *) "self", NULL
23122 };
23123
23124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
23125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23126 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23127 {
23128 PyThreadState* __tstate = wxPyBeginAllowThreads();
23129 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23130
23131 wxPyEndAllowThreads(__tstate);
23132 if (PyErr_Occurred()) SWIG_fail;
23133 }
4f89f6a3
RD
23134 {
23135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23136 }
d14a1e28
RD
23137 return resultobj;
23138 fail:
23139 return NULL;
23140}
23141
23142
c32bde28 23143static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23144 PyObject *resultobj;
23145 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23146 bool result;
23147 PyObject * obj0 = 0 ;
23148 char *kwnames[] = {
23149 (char *) "self", NULL
23150 };
23151
23152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
093d3ff1
RD
23153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23154 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23155 {
23156 PyThreadState* __tstate = wxPyBeginAllowThreads();
23157 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23158
23159 wxPyEndAllowThreads(__tstate);
23160 if (PyErr_Occurred()) SWIG_fail;
23161 }
4f89f6a3
RD
23162 {
23163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23164 }
d14a1e28
RD
23165 return resultobj;
23166 fail:
23167 return NULL;
23168}
23169
23170
c32bde28 23171static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23172 PyObject *resultobj;
23173 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23174 bool result;
23175 PyObject * obj0 = 0 ;
23176 char *kwnames[] = {
23177 (char *) "self", NULL
23178 };
23179
23180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23182 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23183 {
23184 PyThreadState* __tstate = wxPyBeginAllowThreads();
23185 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23186
23187 wxPyEndAllowThreads(__tstate);
23188 if (PyErr_Occurred()) SWIG_fail;
23189 }
4f89f6a3
RD
23190 {
23191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23192 }
d14a1e28
RD
23193 return resultobj;
23194 fail:
23195 return NULL;
23196}
23197
23198
c32bde28 23199static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23200 PyObject *resultobj;
23201 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23202 bool result;
23203 PyObject * obj0 = 0 ;
23204 char *kwnames[] = {
23205 (char *) "self", NULL
23206 };
23207
23208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
093d3ff1
RD
23209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23210 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23211 {
23212 PyThreadState* __tstate = wxPyBeginAllowThreads();
23213 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23214
23215 wxPyEndAllowThreads(__tstate);
23216 if (PyErr_Occurred()) SWIG_fail;
23217 }
4f89f6a3
RD
23218 {
23219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23220 }
d14a1e28
RD
23221 return resultobj;
23222 fail:
23223 return NULL;
23224}
23225
23226
d3b6e4ff
RD
23227static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23228 PyObject *resultobj;
23229 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23230 bool arg2 ;
23231 PyObject * obj0 = 0 ;
23232 PyObject * obj1 = 0 ;
23233 char *kwnames[] = {
23234 (char *) "self",(char *) "flag", NULL
23235 };
23236
23237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) 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;
23240 {
23241 arg2 = (bool)(SWIG_As_bool(obj1));
23242 if (SWIG_arg_fail(2)) SWIG_fail;
23243 }
d3b6e4ff
RD
23244 {
23245 PyThreadState* __tstate = wxPyBeginAllowThreads();
23246 (arg1)->SetSetupDialog(arg2);
23247
23248 wxPyEndAllowThreads(__tstate);
23249 if (PyErr_Occurred()) SWIG_fail;
23250 }
23251 Py_INCREF(Py_None); resultobj = Py_None;
23252 return resultobj;
23253 fail:
23254 return NULL;
23255}
23256
23257
c32bde28 23258static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23259 PyObject *resultobj;
23260 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23261 int arg2 ;
23262 PyObject * obj0 = 0 ;
994141e6 23263 PyObject * obj1 = 0 ;
d14a1e28
RD
23264 char *kwnames[] = {
23265 (char *) "self",(char *) "v", NULL
23266 };
23267
994141e6 23268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23270 if (SWIG_arg_fail(1)) SWIG_fail;
23271 {
23272 arg2 = (int)(SWIG_As_int(obj1));
23273 if (SWIG_arg_fail(2)) SWIG_fail;
23274 }
d14a1e28
RD
23275 {
23276 PyThreadState* __tstate = wxPyBeginAllowThreads();
23277 (arg1)->SetFromPage(arg2);
23278
23279 wxPyEndAllowThreads(__tstate);
23280 if (PyErr_Occurred()) SWIG_fail;
23281 }
23282 Py_INCREF(Py_None); resultobj = Py_None;
23283 return resultobj;
23284 fail:
23285 return NULL;
23286}
23287
23288
c32bde28 23289static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23290 PyObject *resultobj;
23291 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23292 int arg2 ;
23293 PyObject * obj0 = 0 ;
994141e6 23294 PyObject * obj1 = 0 ;
d14a1e28
RD
23295 char *kwnames[] = {
23296 (char *) "self",(char *) "v", NULL
23297 };
23298
994141e6 23299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23301 if (SWIG_arg_fail(1)) SWIG_fail;
23302 {
23303 arg2 = (int)(SWIG_As_int(obj1));
23304 if (SWIG_arg_fail(2)) SWIG_fail;
23305 }
d14a1e28
RD
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 (arg1)->SetToPage(arg2);
23309
23310 wxPyEndAllowThreads(__tstate);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 Py_INCREF(Py_None); resultobj = Py_None;
23314 return resultobj;
23315 fail:
23316 return NULL;
23317}
23318
23319
c32bde28 23320static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23321 PyObject *resultobj;
23322 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23323 int arg2 ;
23324 PyObject * obj0 = 0 ;
994141e6 23325 PyObject * obj1 = 0 ;
d14a1e28
RD
23326 char *kwnames[] = {
23327 (char *) "self",(char *) "v", NULL
23328 };
23329
994141e6 23330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23332 if (SWIG_arg_fail(1)) SWIG_fail;
23333 {
23334 arg2 = (int)(SWIG_As_int(obj1));
23335 if (SWIG_arg_fail(2)) SWIG_fail;
23336 }
d14a1e28
RD
23337 {
23338 PyThreadState* __tstate = wxPyBeginAllowThreads();
23339 (arg1)->SetMinPage(arg2);
23340
23341 wxPyEndAllowThreads(__tstate);
23342 if (PyErr_Occurred()) SWIG_fail;
23343 }
23344 Py_INCREF(Py_None); resultobj = Py_None;
23345 return resultobj;
23346 fail:
23347 return NULL;
23348}
23349
23350
c32bde28 23351static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23352 PyObject *resultobj;
23353 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23354 int arg2 ;
23355 PyObject * obj0 = 0 ;
994141e6 23356 PyObject * obj1 = 0 ;
d14a1e28
RD
23357 char *kwnames[] = {
23358 (char *) "self",(char *) "v", NULL
23359 };
23360
994141e6 23361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23363 if (SWIG_arg_fail(1)) SWIG_fail;
23364 {
23365 arg2 = (int)(SWIG_As_int(obj1));
23366 if (SWIG_arg_fail(2)) SWIG_fail;
23367 }
d14a1e28
RD
23368 {
23369 PyThreadState* __tstate = wxPyBeginAllowThreads();
23370 (arg1)->SetMaxPage(arg2);
23371
23372 wxPyEndAllowThreads(__tstate);
23373 if (PyErr_Occurred()) SWIG_fail;
23374 }
23375 Py_INCREF(Py_None); resultobj = Py_None;
23376 return resultobj;
23377 fail:
23378 return NULL;
23379}
23380
23381
c32bde28 23382static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23383 PyObject *resultobj;
23384 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23385 int arg2 ;
23386 PyObject * obj0 = 0 ;
994141e6 23387 PyObject * obj1 = 0 ;
d14a1e28
RD
23388 char *kwnames[] = {
23389 (char *) "self",(char *) "v", NULL
23390 };
23391
994141e6 23392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23394 if (SWIG_arg_fail(1)) SWIG_fail;
23395 {
23396 arg2 = (int)(SWIG_As_int(obj1));
23397 if (SWIG_arg_fail(2)) SWIG_fail;
23398 }
d14a1e28
RD
23399 {
23400 PyThreadState* __tstate = wxPyBeginAllowThreads();
23401 (arg1)->SetNoCopies(arg2);
23402
23403 wxPyEndAllowThreads(__tstate);
23404 if (PyErr_Occurred()) SWIG_fail;
23405 }
23406 Py_INCREF(Py_None); resultobj = Py_None;
23407 return resultobj;
23408 fail:
23409 return NULL;
23410}
23411
23412
c32bde28 23413static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23414 PyObject *resultobj;
23415 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23416 bool arg2 ;
23417 PyObject * obj0 = 0 ;
23418 PyObject * obj1 = 0 ;
23419 char *kwnames[] = {
23420 (char *) "self",(char *) "flag", NULL
23421 };
23422
23423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23425 if (SWIG_arg_fail(1)) SWIG_fail;
23426 {
23427 arg2 = (bool)(SWIG_As_bool(obj1));
23428 if (SWIG_arg_fail(2)) SWIG_fail;
23429 }
d14a1e28
RD
23430 {
23431 PyThreadState* __tstate = wxPyBeginAllowThreads();
23432 (arg1)->SetAllPages(arg2);
23433
23434 wxPyEndAllowThreads(__tstate);
23435 if (PyErr_Occurred()) SWIG_fail;
23436 }
23437 Py_INCREF(Py_None); resultobj = Py_None;
23438 return resultobj;
23439 fail:
23440 return NULL;
23441}
23442
23443
c32bde28 23444static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23445 PyObject *resultobj;
23446 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23447 bool arg2 ;
23448 PyObject * obj0 = 0 ;
23449 PyObject * obj1 = 0 ;
23450 char *kwnames[] = {
23451 (char *) "self",(char *) "flag", NULL
23452 };
23453
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23456 if (SWIG_arg_fail(1)) SWIG_fail;
23457 {
23458 arg2 = (bool)(SWIG_As_bool(obj1));
23459 if (SWIG_arg_fail(2)) SWIG_fail;
23460 }
d14a1e28
RD
23461 {
23462 PyThreadState* __tstate = wxPyBeginAllowThreads();
23463 (arg1)->SetSelection(arg2);
23464
23465 wxPyEndAllowThreads(__tstate);
23466 if (PyErr_Occurred()) SWIG_fail;
23467 }
23468 Py_INCREF(Py_None); resultobj = Py_None;
23469 return resultobj;
23470 fail:
23471 return NULL;
23472}
23473
23474
c32bde28 23475static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23476 PyObject *resultobj;
23477 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23478 bool arg2 ;
23479 PyObject * obj0 = 0 ;
23480 PyObject * obj1 = 0 ;
23481 char *kwnames[] = {
23482 (char *) "self",(char *) "flag", NULL
23483 };
23484
23485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23487 if (SWIG_arg_fail(1)) SWIG_fail;
23488 {
23489 arg2 = (bool)(SWIG_As_bool(obj1));
23490 if (SWIG_arg_fail(2)) SWIG_fail;
23491 }
d14a1e28
RD
23492 {
23493 PyThreadState* __tstate = wxPyBeginAllowThreads();
23494 (arg1)->SetCollate(arg2);
23495
23496 wxPyEndAllowThreads(__tstate);
23497 if (PyErr_Occurred()) SWIG_fail;
23498 }
23499 Py_INCREF(Py_None); resultobj = Py_None;
23500 return resultobj;
23501 fail:
23502 return NULL;
23503}
23504
23505
c32bde28 23506static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23507 PyObject *resultobj;
23508 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23509 bool arg2 ;
23510 PyObject * obj0 = 0 ;
23511 PyObject * obj1 = 0 ;
23512 char *kwnames[] = {
23513 (char *) "self",(char *) "flag", NULL
23514 };
23515
23516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23518 if (SWIG_arg_fail(1)) SWIG_fail;
23519 {
23520 arg2 = (bool)(SWIG_As_bool(obj1));
23521 if (SWIG_arg_fail(2)) SWIG_fail;
23522 }
d14a1e28
RD
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 (arg1)->SetPrintToFile(arg2);
23526
23527 wxPyEndAllowThreads(__tstate);
23528 if (PyErr_Occurred()) SWIG_fail;
23529 }
23530 Py_INCREF(Py_None); resultobj = Py_None;
23531 return resultobj;
23532 fail:
23533 return NULL;
23534}
23535
23536
c32bde28 23537static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23538 PyObject *resultobj;
23539 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23540 bool arg2 ;
23541 PyObject * obj0 = 0 ;
23542 PyObject * obj1 = 0 ;
23543 char *kwnames[] = {
23544 (char *) "self",(char *) "flag", NULL
23545 };
23546
23547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23549 if (SWIG_arg_fail(1)) SWIG_fail;
23550 {
23551 arg2 = (bool)(SWIG_As_bool(obj1));
23552 if (SWIG_arg_fail(2)) SWIG_fail;
23553 }
d14a1e28
RD
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 (arg1)->EnablePrintToFile(arg2);
23557
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 Py_INCREF(Py_None); resultobj = Py_None;
23562 return resultobj;
23563 fail:
23564 return NULL;
23565}
23566
23567
c32bde28 23568static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23569 PyObject *resultobj;
23570 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23571 bool arg2 ;
23572 PyObject * obj0 = 0 ;
23573 PyObject * obj1 = 0 ;
23574 char *kwnames[] = {
23575 (char *) "self",(char *) "flag", NULL
23576 };
23577
23578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23580 if (SWIG_arg_fail(1)) SWIG_fail;
23581 {
23582 arg2 = (bool)(SWIG_As_bool(obj1));
23583 if (SWIG_arg_fail(2)) SWIG_fail;
23584 }
d14a1e28
RD
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 (arg1)->EnableSelection(arg2);
23588
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 Py_INCREF(Py_None); resultobj = Py_None;
23593 return resultobj;
23594 fail:
23595 return NULL;
23596}
23597
23598
c32bde28 23599static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23600 PyObject *resultobj;
23601 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23602 bool arg2 ;
23603 PyObject * obj0 = 0 ;
23604 PyObject * obj1 = 0 ;
23605 char *kwnames[] = {
23606 (char *) "self",(char *) "flag", NULL
23607 };
23608
23609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23611 if (SWIG_arg_fail(1)) SWIG_fail;
23612 {
23613 arg2 = (bool)(SWIG_As_bool(obj1));
23614 if (SWIG_arg_fail(2)) SWIG_fail;
23615 }
d14a1e28
RD
23616 {
23617 PyThreadState* __tstate = wxPyBeginAllowThreads();
23618 (arg1)->EnablePageNumbers(arg2);
23619
23620 wxPyEndAllowThreads(__tstate);
23621 if (PyErr_Occurred()) SWIG_fail;
23622 }
23623 Py_INCREF(Py_None); resultobj = Py_None;
23624 return resultobj;
23625 fail:
23626 return NULL;
23627}
23628
23629
c32bde28 23630static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23631 PyObject *resultobj;
23632 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23633 bool arg2 ;
23634 PyObject * obj0 = 0 ;
23635 PyObject * obj1 = 0 ;
23636 char *kwnames[] = {
23637 (char *) "self",(char *) "flag", NULL
23638 };
23639
23640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23642 if (SWIG_arg_fail(1)) SWIG_fail;
23643 {
23644 arg2 = (bool)(SWIG_As_bool(obj1));
23645 if (SWIG_arg_fail(2)) SWIG_fail;
23646 }
d14a1e28
RD
23647 {
23648 PyThreadState* __tstate = wxPyBeginAllowThreads();
23649 (arg1)->EnableHelp(arg2);
23650
23651 wxPyEndAllowThreads(__tstate);
23652 if (PyErr_Occurred()) SWIG_fail;
23653 }
23654 Py_INCREF(Py_None); resultobj = Py_None;
23655 return resultobj;
23656 fail:
23657 return NULL;
23658}
23659
23660
c32bde28 23661static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23662 PyObject *resultobj;
23663 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23664 bool result;
23665 PyObject * obj0 = 0 ;
23666 char *kwnames[] = {
23667 (char *) "self", NULL
23668 };
23669
23670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
23671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23672 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23673 {
23674 PyThreadState* __tstate = wxPyBeginAllowThreads();
23675 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23676
23677 wxPyEndAllowThreads(__tstate);
23678 if (PyErr_Occurred()) SWIG_fail;
23679 }
4f89f6a3
RD
23680 {
23681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23682 }
d14a1e28
RD
23683 return resultobj;
23684 fail:
23685 return NULL;
23686}
23687
23688
c32bde28 23689static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23690 PyObject *resultobj;
23691 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23692 bool result;
23693 PyObject * obj0 = 0 ;
23694 char *kwnames[] = {
23695 (char *) "self", NULL
23696 };
23697
23698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
23699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23700 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23704
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
4f89f6a3
RD
23708 {
23709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23710 }
d14a1e28
RD
23711 return resultobj;
23712 fail:
23713 return NULL;
23714}
23715
23716
c32bde28 23717static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23718 PyObject *resultobj;
23719 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23720 bool result;
23721 PyObject * obj0 = 0 ;
23722 char *kwnames[] = {
23723 (char *) "self", NULL
23724 };
23725
23726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
093d3ff1
RD
23727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23728 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23729 {
23730 PyThreadState* __tstate = wxPyBeginAllowThreads();
23731 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23732
23733 wxPyEndAllowThreads(__tstate);
23734 if (PyErr_Occurred()) SWIG_fail;
23735 }
4f89f6a3
RD
23736 {
23737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23738 }
d14a1e28
RD
23739 return resultobj;
23740 fail:
23741 return NULL;
23742}
23743
23744
c32bde28 23745static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23746 PyObject *resultobj;
23747 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23748 bool result;
23749 PyObject * obj0 = 0 ;
23750 char *kwnames[] = {
23751 (char *) "self", NULL
23752 };
23753
23754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
093d3ff1
RD
23755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23756 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23757 {
23758 PyThreadState* __tstate = wxPyBeginAllowThreads();
23759 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23760
23761 wxPyEndAllowThreads(__tstate);
23762 if (PyErr_Occurred()) SWIG_fail;
23763 }
4f89f6a3
RD
23764 {
23765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23766 }
d14a1e28
RD
23767 return resultobj;
23768 fail:
23769 return NULL;
23770}
23771
23772
c32bde28 23773static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23774 PyObject *resultobj;
23775 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23776 bool result;
23777 PyObject * obj0 = 0 ;
23778 char *kwnames[] = {
23779 (char *) "self", NULL
23780 };
23781
23782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
23783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23784 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23785 {
23786 PyThreadState* __tstate = wxPyBeginAllowThreads();
23787 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23788
23789 wxPyEndAllowThreads(__tstate);
23790 if (PyErr_Occurred()) SWIG_fail;
23791 }
4f89f6a3
RD
23792 {
23793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23794 }
d14a1e28
RD
23795 return resultobj;
23796 fail:
23797 return NULL;
23798}
23799
23800
c32bde28 23801static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23802 PyObject *resultobj;
23803 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23804 wxPrintData *result;
23805 PyObject * obj0 = 0 ;
23806 char *kwnames[] = {
23807 (char *) "self", NULL
23808 };
23809
23810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23812 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23813 {
23814 PyThreadState* __tstate = wxPyBeginAllowThreads();
23815 {
23816 wxPrintData &_result_ref = (arg1)->GetPrintData();
23817 result = (wxPrintData *) &_result_ref;
23818 }
23819
23820 wxPyEndAllowThreads(__tstate);
23821 if (PyErr_Occurred()) SWIG_fail;
23822 }
15afbcd0 23823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
23824 return resultobj;
23825 fail:
23826 return NULL;
23827}
23828
23829
c32bde28 23830static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23831 PyObject *resultobj;
23832 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23833 wxPrintData *arg2 = 0 ;
23834 PyObject * obj0 = 0 ;
23835 PyObject * obj1 = 0 ;
23836 char *kwnames[] = {
23837 (char *) "self",(char *) "printData", NULL
23838 };
23839
23840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23842 if (SWIG_arg_fail(1)) SWIG_fail;
23843 {
23844 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23845 if (SWIG_arg_fail(2)) SWIG_fail;
23846 if (arg2 == NULL) {
23847 SWIG_null_ref("wxPrintData");
23848 }
23849 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23850 }
23851 {
23852 PyThreadState* __tstate = wxPyBeginAllowThreads();
23853 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23854
23855 wxPyEndAllowThreads(__tstate);
23856 if (PyErr_Occurred()) SWIG_fail;
23857 }
23858 Py_INCREF(Py_None); resultobj = Py_None;
23859 return resultobj;
23860 fail:
23861 return NULL;
23862}
23863
23864
c32bde28 23865static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
23866 PyObject *obj;
23867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23868 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23869 Py_INCREF(obj);
23870 return Py_BuildValue((char *)"");
23871}
c32bde28 23872static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23873 PyObject *resultobj;
23874 wxWindow *arg1 = (wxWindow *) 0 ;
23875 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23876 wxPrintDialog *result;
23877 PyObject * obj0 = 0 ;
23878 PyObject * obj1 = 0 ;
23879 char *kwnames[] = {
23880 (char *) "parent",(char *) "data", NULL
23881 };
23882
23883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23885 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28 23886 if (obj1) {
093d3ff1
RD
23887 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23888 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
23889 }
23890 {
e3b71cb8 23891 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
23892 PyThreadState* __tstate = wxPyBeginAllowThreads();
23893 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
23894
23895 wxPyEndAllowThreads(__tstate);
110da5b0 23896 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 23897 }
15afbcd0 23898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
d14a1e28
RD
23899 return resultobj;
23900 fail:
23901 return NULL;
23902}
23903
23904
d3b6e4ff
RD
23905static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
23906 PyObject *resultobj;
23907 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23908 int result;
23909 PyObject * obj0 = 0 ;
23910 char *kwnames[] = {
23911 (char *) "self", NULL
23912 };
23913
23914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
093d3ff1
RD
23915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23916 if (SWIG_arg_fail(1)) SWIG_fail;
d3b6e4ff
RD
23917 {
23918 PyThreadState* __tstate = wxPyBeginAllowThreads();
23919 result = (int)(arg1)->ShowModal();
23920
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
093d3ff1
RD
23924 {
23925 resultobj = SWIG_From_int((int)(result));
23926 }
d3b6e4ff
RD
23927 return resultobj;
23928 fail:
23929 return NULL;
23930}
23931
23932
c32bde28 23933static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23934 PyObject *resultobj;
23935 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23936 wxPrintDialogData *result;
23937 PyObject * obj0 = 0 ;
23938 char *kwnames[] = {
23939 (char *) "self", NULL
23940 };
23941
23942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23944 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23945 {
23946 PyThreadState* __tstate = wxPyBeginAllowThreads();
23947 {
23948 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23949 result = (wxPrintDialogData *) &_result_ref;
23950 }
23951
23952 wxPyEndAllowThreads(__tstate);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 }
15afbcd0 23955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
23956 return resultobj;
23957 fail:
23958 return NULL;
23959}
23960
23961
d3b6e4ff 23962static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23963 PyObject *resultobj;
23964 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
d3b6e4ff 23965 wxPrintData *result;
d14a1e28
RD
23966 PyObject * obj0 = 0 ;
23967 char *kwnames[] = {
23968 (char *) "self", NULL
23969 };
23970
d3b6e4ff 23971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
093d3ff1
RD
23972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23973 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
23974 {
23975 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff
RD
23976 {
23977 wxPrintData &_result_ref = (arg1)->GetPrintData();
23978 result = (wxPrintData *) &_result_ref;
23979 }
d14a1e28
RD
23980
23981 wxPyEndAllowThreads(__tstate);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 }
d3b6e4ff 23984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d14a1e28
RD
23985 return resultobj;
23986 fail:
23987 return NULL;
23988}
23989
23990
d3b6e4ff 23991static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23992 PyObject *resultobj;
23993 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
d3b6e4ff 23994 wxDC *result;
d14a1e28
RD
23995 PyObject * obj0 = 0 ;
23996 char *kwnames[] = {
23997 (char *) "self", NULL
23998 };
23999
d3b6e4ff 24000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
24002 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24003 {
24004 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24005 result = (wxDC *)(arg1)->GetPrintDC();
d14a1e28
RD
24006
24007 wxPyEndAllowThreads(__tstate);
24008 if (PyErr_Occurred()) SWIG_fail;
24009 }
d3b6e4ff
RD
24010 {
24011 resultobj = wxPyMake_wxObject(result, 1);
24012 }
d14a1e28
RD
24013 return resultobj;
24014 fail:
24015 return NULL;
24016}
24017
24018
c32bde28 24019static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24020 PyObject *obj;
24021 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24022 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
24023 Py_INCREF(obj);
24024 return Py_BuildValue((char *)"");
24025}
c32bde28 24026static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24027 PyObject *resultobj;
24028 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
24029 wxPrinter *result;
24030 PyObject * obj0 = 0 ;
24031 char *kwnames[] = {
24032 (char *) "data", NULL
24033 };
24034
24035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
24036 if (obj0) {
093d3ff1
RD
24037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
24038 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24039 }
24040 {
e3b71cb8 24041 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24042 PyThreadState* __tstate = wxPyBeginAllowThreads();
24043 result = (wxPrinter *)new wxPrinter(arg1);
24044
24045 wxPyEndAllowThreads(__tstate);
110da5b0 24046 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 24047 }
15afbcd0 24048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
d14a1e28
RD
24049 return resultobj;
24050 fail:
24051 return NULL;
24052}
24053
24054
c32bde28 24055static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24056 PyObject *resultobj;
24057 wxPrinter *arg1 = (wxPrinter *) 0 ;
24058 PyObject * obj0 = 0 ;
24059 char *kwnames[] = {
24060 (char *) "self", NULL
24061 };
24062
24063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
093d3ff1
RD
24064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24065 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24066 {
24067 PyThreadState* __tstate = wxPyBeginAllowThreads();
24068 delete arg1;
24069
24070 wxPyEndAllowThreads(__tstate);
24071 if (PyErr_Occurred()) SWIG_fail;
24072 }
24073 Py_INCREF(Py_None); resultobj = Py_None;
24074 return resultobj;
24075 fail:
24076 return NULL;
24077}
24078
24079
c32bde28 24080static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24081 PyObject *resultobj;
24082 wxPrinter *arg1 = (wxPrinter *) 0 ;
24083 wxWindow *arg2 = (wxWindow *) 0 ;
a68b8331 24084 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
d3b6e4ff 24085 wxWindow *result;
d14a1e28
RD
24086 PyObject * obj0 = 0 ;
24087 PyObject * obj1 = 0 ;
24088 PyObject * obj2 = 0 ;
24089 char *kwnames[] = {
24090 (char *) "self",(char *) "parent",(char *) "printout", NULL
24091 };
24092
24093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24095 if (SWIG_arg_fail(1)) SWIG_fail;
24096 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24097 if (SWIG_arg_fail(2)) SWIG_fail;
24098 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24099 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
24100 {
24101 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24102 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
d14a1e28
RD
24103
24104 wxPyEndAllowThreads(__tstate);
24105 if (PyErr_Occurred()) SWIG_fail;
24106 }
d3b6e4ff
RD
24107 {
24108 resultobj = wxPyMake_wxObject(result, 0);
24109 }
d14a1e28
RD
24110 return resultobj;
24111 fail:
24112 return NULL;
24113}
24114
24115
d3b6e4ff 24116static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24117 PyObject *resultobj;
24118 wxPrinter *arg1 = (wxPrinter *) 0 ;
d3b6e4ff 24119 wxWindow *arg2 = (wxWindow *) 0 ;
a68b8331 24120 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
d3b6e4ff
RD
24121 wxString *arg4 = 0 ;
24122 bool temp4 = false ;
d14a1e28 24123 PyObject * obj0 = 0 ;
d3b6e4ff
RD
24124 PyObject * obj1 = 0 ;
24125 PyObject * obj2 = 0 ;
24126 PyObject * obj3 = 0 ;
d14a1e28 24127 char *kwnames[] = {
d3b6e4ff 24128 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
d14a1e28
RD
24129 };
24130
d3b6e4ff 24131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24133 if (SWIG_arg_fail(1)) SWIG_fail;
24134 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24135 if (SWIG_arg_fail(2)) SWIG_fail;
24136 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24137 if (SWIG_arg_fail(3)) SWIG_fail;
d3b6e4ff
RD
24138 {
24139 arg4 = wxString_in_helper(obj3);
24140 if (arg4 == NULL) SWIG_fail;
24141 temp4 = true;
24142 }
d14a1e28
RD
24143 {
24144 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24145 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
d14a1e28
RD
24146
24147 wxPyEndAllowThreads(__tstate);
24148 if (PyErr_Occurred()) SWIG_fail;
24149 }
d3b6e4ff
RD
24150 Py_INCREF(Py_None); resultobj = Py_None;
24151 {
24152 if (temp4)
24153 delete arg4;
24154 }
d14a1e28
RD
24155 return resultobj;
24156 fail:
d3b6e4ff
RD
24157 {
24158 if (temp4)
24159 delete arg4;
24160 }
d14a1e28
RD
24161 return NULL;
24162}
24163
24164
d3b6e4ff 24165static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24166 PyObject *resultobj;
24167 wxPrinter *arg1 = (wxPrinter *) 0 ;
24168 wxWindow *arg2 = (wxWindow *) 0 ;
d14a1e28
RD
24169 bool result;
24170 PyObject * obj0 = 0 ;
24171 PyObject * obj1 = 0 ;
d14a1e28 24172 char *kwnames[] = {
d3b6e4ff 24173 (char *) "self",(char *) "parent", NULL
d14a1e28
RD
24174 };
24175
d3b6e4ff 24176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24178 if (SWIG_arg_fail(1)) SWIG_fail;
24179 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24180 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24181 {
24182 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24183 result = (bool)(arg1)->Setup(arg2);
d14a1e28
RD
24184
24185 wxPyEndAllowThreads(__tstate);
24186 if (PyErr_Occurred()) SWIG_fail;
24187 }
4f89f6a3
RD
24188 {
24189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24190 }
d14a1e28
RD
24191 return resultobj;
24192 fail:
24193 return NULL;
24194}
24195
24196
d3b6e4ff 24197static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24198 PyObject *resultobj;
24199 wxPrinter *arg1 = (wxPrinter *) 0 ;
24200 wxWindow *arg2 = (wxWindow *) 0 ;
a68b8331 24201 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
d3b6e4ff
RD
24202 bool arg4 = (bool) true ;
24203 bool result;
d14a1e28
RD
24204 PyObject * obj0 = 0 ;
24205 PyObject * obj1 = 0 ;
d3b6e4ff
RD
24206 PyObject * obj2 = 0 ;
24207 PyObject * obj3 = 0 ;
d14a1e28 24208 char *kwnames[] = {
d3b6e4ff 24209 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
d14a1e28
RD
24210 };
24211
d3b6e4ff 24212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24214 if (SWIG_arg_fail(1)) SWIG_fail;
24215 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24216 if (SWIG_arg_fail(2)) SWIG_fail;
24217 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24218 if (SWIG_arg_fail(3)) SWIG_fail;
d3b6e4ff 24219 if (obj3) {
093d3ff1
RD
24220 {
24221 arg4 = (bool)(SWIG_As_bool(obj3));
24222 if (SWIG_arg_fail(4)) SWIG_fail;
24223 }
d3b6e4ff 24224 }
d14a1e28
RD
24225 {
24226 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24227 result = (bool)(arg1)->Print(arg2,arg3,arg4);
d14a1e28
RD
24228
24229 wxPyEndAllowThreads(__tstate);
24230 if (PyErr_Occurred()) SWIG_fail;
24231 }
24232 {
d3b6e4ff 24233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24234 }
24235 return resultobj;
24236 fail:
24237 return NULL;
24238}
24239
24240
d3b6e4ff 24241static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24242 PyObject *resultobj;
24243 wxPrinter *arg1 = (wxPrinter *) 0 ;
24244 wxWindow *arg2 = (wxWindow *) 0 ;
d3b6e4ff 24245 wxDC *result;
d14a1e28
RD
24246 PyObject * obj0 = 0 ;
24247 PyObject * obj1 = 0 ;
d14a1e28 24248 char *kwnames[] = {
d3b6e4ff 24249 (char *) "self",(char *) "parent", NULL
d14a1e28
RD
24250 };
24251
d3b6e4ff 24252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24254 if (SWIG_arg_fail(1)) SWIG_fail;
24255 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24256 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24257 {
24258 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 24259 result = (wxDC *)(arg1)->PrintDialog(arg2);
d14a1e28
RD
24260
24261 wxPyEndAllowThreads(__tstate);
24262 if (PyErr_Occurred()) SWIG_fail;
24263 }
d14a1e28 24264 {
d3b6e4ff 24265 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24266 }
24267 return resultobj;
24268 fail:
d14a1e28
RD
24269 return NULL;
24270}
24271
24272
d3b6e4ff 24273static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24274 PyObject *resultobj;
24275 wxPrinter *arg1 = (wxPrinter *) 0 ;
d3b6e4ff 24276 wxPrintDialogData *result;
d14a1e28 24277 PyObject * obj0 = 0 ;
d14a1e28 24278 char *kwnames[] = {
d3b6e4ff 24279 (char *) "self", NULL
d14a1e28
RD
24280 };
24281
d3b6e4ff 24282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
24283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24284 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24285 {
24286 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff
RD
24287 {
24288 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24289 result = (wxPrintDialogData *) &_result_ref;
24290 }
d14a1e28
RD
24291
24292 wxPyEndAllowThreads(__tstate);
24293 if (PyErr_Occurred()) SWIG_fail;
24294 }
d3b6e4ff 24295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
24296 return resultobj;
24297 fail:
24298 return NULL;
24299}
24300
24301
c32bde28 24302static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24303 PyObject *resultobj;
24304 wxPrinter *arg1 = (wxPrinter *) 0 ;
24305 bool result;
24306 PyObject * obj0 = 0 ;
24307 char *kwnames[] = {
24308 (char *) "self", NULL
24309 };
24310
24311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
093d3ff1
RD
24312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24313 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24314 {
24315 PyThreadState* __tstate = wxPyBeginAllowThreads();
24316 result = (bool)(arg1)->GetAbort();
24317
24318 wxPyEndAllowThreads(__tstate);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 }
4f89f6a3
RD
24321 {
24322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24323 }
d14a1e28
RD
24324 return resultobj;
24325 fail:
24326 return NULL;
24327}
24328
24329
c32bde28 24330static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 24331 PyObject *resultobj;
093d3ff1 24332 wxPrinterError result;
d14a1e28
RD
24333 char *kwnames[] = {
24334 NULL
24335 };
24336
24337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24338 {
24339 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 24340 result = (wxPrinterError)wxPrinter::GetLastError();
d14a1e28
RD
24341
24342 wxPyEndAllowThreads(__tstate);
24343 if (PyErr_Occurred()) SWIG_fail;
24344 }
093d3ff1 24345 resultobj = SWIG_From_int((result));
d14a1e28
RD
24346 return resultobj;
24347 fail:
24348 return NULL;
24349}
24350
24351
c32bde28 24352static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
24353 PyObject *obj;
24354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24355 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24356 Py_INCREF(obj);
24357 return Py_BuildValue((char *)"");
24358}
c32bde28 24359static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24360 PyObject *resultobj;
24361 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24362 wxString *arg1 = (wxString *) &arg1_defvalue ;
24363 wxPyPrintout *result;
ae8162c8 24364 bool temp1 = false ;
d14a1e28
RD
24365 PyObject * obj0 = 0 ;
24366 char *kwnames[] = {
24367 (char *) "title", NULL
24368 };
24369
24370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24371 if (obj0) {
24372 {
24373 arg1 = wxString_in_helper(obj0);
24374 if (arg1 == NULL) SWIG_fail;
ae8162c8 24375 temp1 = true;
d14a1e28
RD
24376 }
24377 }
24378 {
e3b71cb8 24379 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24380 PyThreadState* __tstate = wxPyBeginAllowThreads();
24381 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24382
24383 wxPyEndAllowThreads(__tstate);
110da5b0 24384 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24385 }
24386 {
412d302d 24387 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
24388 }
24389 {
24390 if (temp1)
24391 delete arg1;
24392 }
24393 return resultobj;
24394 fail:
24395 {
24396 if (temp1)
24397 delete arg1;
24398 }
24399 return NULL;
24400}
24401
24402
c32bde28 24403static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24404 PyObject *resultobj;
24405 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24406 PyObject *arg2 = (PyObject *) 0 ;
24407 PyObject *arg3 = (PyObject *) 0 ;
24408 PyObject * obj0 = 0 ;
24409 PyObject * obj1 = 0 ;
24410 PyObject * obj2 = 0 ;
24411 char *kwnames[] = {
24412 (char *) "self",(char *) "self",(char *) "_class", NULL
24413 };
24414
24415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24417 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24418 arg2 = obj1;
24419 arg3 = obj2;
24420 {
24421 PyThreadState* __tstate = wxPyBeginAllowThreads();
24422 (arg1)->_setCallbackInfo(arg2,arg3);
24423
24424 wxPyEndAllowThreads(__tstate);
24425 if (PyErr_Occurred()) SWIG_fail;
24426 }
24427 Py_INCREF(Py_None); resultobj = Py_None;
24428 return resultobj;
24429 fail:
24430 return NULL;
24431}
24432
24433
c32bde28 24434static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24435 PyObject *resultobj;
24436 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24437 wxString result;
24438 PyObject * obj0 = 0 ;
24439 char *kwnames[] = {
24440 (char *) "self", NULL
24441 };
24442
24443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
093d3ff1
RD
24444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24445 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24446 {
24447 PyThreadState* __tstate = wxPyBeginAllowThreads();
24448 result = ((wxPyPrintout const *)arg1)->GetTitle();
24449
24450 wxPyEndAllowThreads(__tstate);
24451 if (PyErr_Occurred()) SWIG_fail;
24452 }
24453 {
24454#if wxUSE_UNICODE
24455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24456#else
24457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24458#endif
24459 }
24460 return resultobj;
24461 fail:
24462 return NULL;
24463}
24464
24465
c32bde28 24466static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24467 PyObject *resultobj;
24468 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24469 wxDC *result;
24470 PyObject * obj0 = 0 ;
24471 char *kwnames[] = {
24472 (char *) "self", NULL
24473 };
24474
24475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
093d3ff1
RD
24476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24477 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24478 {
24479 PyThreadState* __tstate = wxPyBeginAllowThreads();
24480 result = (wxDC *)(arg1)->GetDC();
24481
24482 wxPyEndAllowThreads(__tstate);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 {
412d302d 24486 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24487 }
24488 return resultobj;
24489 fail:
24490 return NULL;
24491}
24492
24493
c32bde28 24494static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24495 PyObject *resultobj;
24496 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24497 wxDC *arg2 = (wxDC *) 0 ;
24498 PyObject * obj0 = 0 ;
24499 PyObject * obj1 = 0 ;
24500 char *kwnames[] = {
24501 (char *) "self",(char *) "dc", NULL
24502 };
24503
24504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24506 if (SWIG_arg_fail(1)) SWIG_fail;
24507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24508 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 (arg1)->SetDC(arg2);
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 Py_INCREF(Py_None); resultobj = Py_None;
24517 return resultobj;
24518 fail:
24519 return NULL;
24520}
24521
24522
c32bde28 24523static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24524 PyObject *resultobj;
24525 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
24526 int arg2 ;
24527 int arg3 ;
d14a1e28 24528 PyObject * obj0 = 0 ;
994141e6
RD
24529 PyObject * obj1 = 0 ;
24530 PyObject * obj2 = 0 ;
d14a1e28 24531 char *kwnames[] = {
322913ce 24532 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
24533 };
24534
994141e6 24535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24537 if (SWIG_arg_fail(1)) SWIG_fail;
24538 {
24539 arg2 = (int)(SWIG_As_int(obj1));
24540 if (SWIG_arg_fail(2)) SWIG_fail;
24541 }
24542 {
24543 arg3 = (int)(SWIG_As_int(obj2));
24544 if (SWIG_arg_fail(3)) SWIG_fail;
24545 }
d14a1e28
RD
24546 {
24547 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 24548 (arg1)->SetPageSizePixels(arg2,arg3);
d14a1e28
RD
24549
24550 wxPyEndAllowThreads(__tstate);
24551 if (PyErr_Occurred()) SWIG_fail;
24552 }
24553 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
24554 return resultobj;
24555 fail:
24556 return NULL;
24557}
24558
24559
c32bde28 24560static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24561 PyObject *resultobj;
24562 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
322913ce
RD
24563 int *arg2 = (int *) 0 ;
24564 int *arg3 = (int *) 0 ;
24565 int temp2 ;
c32bde28 24566 int res2 = 0 ;
322913ce 24567 int temp3 ;
c32bde28 24568 int res3 = 0 ;
d14a1e28
RD
24569 PyObject * obj0 = 0 ;
24570 char *kwnames[] = {
322913ce 24571 (char *) "self", NULL
d14a1e28
RD
24572 };
24573
c32bde28
RD
24574 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24575 arg3 = &temp3; res3 = SWIG_NEWOBJ;
322913ce 24576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
093d3ff1
RD
24577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24578 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24579 {
24580 PyThreadState* __tstate = wxPyBeginAllowThreads();
322913ce 24581 (arg1)->GetPageSizePixels(arg2,arg3);
d14a1e28
RD
24582
24583 wxPyEndAllowThreads(__tstate);
24584 if (PyErr_Occurred()) SWIG_fail;
24585 }
24586 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24587 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24588 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24589 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24590 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24591 return resultobj;
24592 fail:
24593 return NULL;
24594}
24595
24596
c32bde28 24597static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24598 PyObject *resultobj;
24599 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24600 int arg2 ;
24601 int arg3 ;
24602 PyObject * obj0 = 0 ;
994141e6
RD
24603 PyObject * obj1 = 0 ;
24604 PyObject * obj2 = 0 ;
d14a1e28
RD
24605 char *kwnames[] = {
24606 (char *) "self",(char *) "w",(char *) "h", NULL
24607 };
24608
994141e6 24609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail;
24612 {
24613 arg2 = (int)(SWIG_As_int(obj1));
24614 if (SWIG_arg_fail(2)) SWIG_fail;
24615 }
24616 {
24617 arg3 = (int)(SWIG_As_int(obj2));
24618 if (SWIG_arg_fail(3)) SWIG_fail;
24619 }
d14a1e28
RD
24620 {
24621 PyThreadState* __tstate = wxPyBeginAllowThreads();
24622 (arg1)->SetPageSizeMM(arg2,arg3);
24623
24624 wxPyEndAllowThreads(__tstate);
24625 if (PyErr_Occurred()) SWIG_fail;
24626 }
24627 Py_INCREF(Py_None); resultobj = Py_None;
24628 return resultobj;
24629 fail:
24630 return NULL;
24631}
24632
24633
c32bde28 24634static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24635 PyObject *resultobj;
24636 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24637 int *arg2 = (int *) 0 ;
24638 int *arg3 = (int *) 0 ;
24639 int temp2 ;
c32bde28 24640 int res2 = 0 ;
d14a1e28 24641 int temp3 ;
c32bde28 24642 int res3 = 0 ;
d14a1e28
RD
24643 PyObject * obj0 = 0 ;
24644 char *kwnames[] = {
24645 (char *) "self", NULL
24646 };
24647
c32bde28
RD
24648 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24649 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 24650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
093d3ff1
RD
24651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24652 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 (arg1)->GetPageSizeMM(arg2,arg3);
24656
24657 wxPyEndAllowThreads(__tstate);
24658 if (PyErr_Occurred()) SWIG_fail;
24659 }
24660 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24661 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24662 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24663 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24664 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24665 return resultobj;
24666 fail:
24667 return NULL;
24668}
24669
24670
c32bde28 24671static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24672 PyObject *resultobj;
24673 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24674 int arg2 ;
24675 int arg3 ;
24676 PyObject * obj0 = 0 ;
994141e6
RD
24677 PyObject * obj1 = 0 ;
24678 PyObject * obj2 = 0 ;
d14a1e28
RD
24679 char *kwnames[] = {
24680 (char *) "self",(char *) "x",(char *) "y", NULL
24681 };
24682
994141e6 24683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24685 if (SWIG_arg_fail(1)) SWIG_fail;
24686 {
24687 arg2 = (int)(SWIG_As_int(obj1));
24688 if (SWIG_arg_fail(2)) SWIG_fail;
24689 }
24690 {
24691 arg3 = (int)(SWIG_As_int(obj2));
24692 if (SWIG_arg_fail(3)) SWIG_fail;
24693 }
d14a1e28
RD
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 (arg1)->SetPPIScreen(arg2,arg3);
24697
24698 wxPyEndAllowThreads(__tstate);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 Py_INCREF(Py_None); resultobj = Py_None;
24702 return resultobj;
24703 fail:
24704 return NULL;
24705}
24706
24707
c32bde28 24708static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24709 PyObject *resultobj;
24710 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24711 int *arg2 = (int *) 0 ;
24712 int *arg3 = (int *) 0 ;
24713 int temp2 ;
c32bde28 24714 int res2 = 0 ;
d14a1e28 24715 int temp3 ;
c32bde28 24716 int res3 = 0 ;
d14a1e28
RD
24717 PyObject * obj0 = 0 ;
24718 char *kwnames[] = {
24719 (char *) "self", NULL
24720 };
24721
c32bde28
RD
24722 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24723 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 24724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
093d3ff1
RD
24725 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24726 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24727 {
24728 PyThreadState* __tstate = wxPyBeginAllowThreads();
24729 (arg1)->GetPPIScreen(arg2,arg3);
24730
24731 wxPyEndAllowThreads(__tstate);
24732 if (PyErr_Occurred()) SWIG_fail;
24733 }
24734 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24735 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24736 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24737 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24738 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24739 return resultobj;
24740 fail:
24741 return NULL;
24742}
24743
24744
c32bde28 24745static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24746 PyObject *resultobj;
24747 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24748 int arg2 ;
24749 int arg3 ;
24750 PyObject * obj0 = 0 ;
994141e6
RD
24751 PyObject * obj1 = 0 ;
24752 PyObject * obj2 = 0 ;
d14a1e28
RD
24753 char *kwnames[] = {
24754 (char *) "self",(char *) "x",(char *) "y", NULL
24755 };
24756
994141e6 24757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24759 if (SWIG_arg_fail(1)) SWIG_fail;
24760 {
24761 arg2 = (int)(SWIG_As_int(obj1));
24762 if (SWIG_arg_fail(2)) SWIG_fail;
24763 }
24764 {
24765 arg3 = (int)(SWIG_As_int(obj2));
24766 if (SWIG_arg_fail(3)) SWIG_fail;
24767 }
d14a1e28
RD
24768 {
24769 PyThreadState* __tstate = wxPyBeginAllowThreads();
24770 (arg1)->SetPPIPrinter(arg2,arg3);
24771
24772 wxPyEndAllowThreads(__tstate);
24773 if (PyErr_Occurred()) SWIG_fail;
24774 }
24775 Py_INCREF(Py_None); resultobj = Py_None;
24776 return resultobj;
24777 fail:
24778 return NULL;
24779}
24780
24781
c32bde28 24782static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24783 PyObject *resultobj;
24784 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24785 int *arg2 = (int *) 0 ;
24786 int *arg3 = (int *) 0 ;
24787 int temp2 ;
c32bde28 24788 int res2 = 0 ;
d14a1e28 24789 int temp3 ;
c32bde28 24790 int res3 = 0 ;
d14a1e28
RD
24791 PyObject * obj0 = 0 ;
24792 char *kwnames[] = {
24793 (char *) "self", NULL
24794 };
24795
c32bde28
RD
24796 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24797 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 24798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
093d3ff1
RD
24799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24800 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24801 {
24802 PyThreadState* __tstate = wxPyBeginAllowThreads();
24803 (arg1)->GetPPIPrinter(arg2,arg3);
24804
24805 wxPyEndAllowThreads(__tstate);
24806 if (PyErr_Occurred()) SWIG_fail;
24807 }
24808 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24809 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24810 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24811 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24812 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24813 return resultobj;
24814 fail:
24815 return NULL;
24816}
24817
24818
c32bde28 24819static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24820 PyObject *resultobj;
24821 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24822 bool result;
24823 PyObject * obj0 = 0 ;
24824 char *kwnames[] = {
24825 (char *) "self", NULL
24826 };
24827
24828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
24829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24830 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24831 {
24832 PyThreadState* __tstate = wxPyBeginAllowThreads();
24833 result = (bool)(arg1)->IsPreview();
24834
24835 wxPyEndAllowThreads(__tstate);
24836 if (PyErr_Occurred()) SWIG_fail;
24837 }
4f89f6a3
RD
24838 {
24839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24840 }
d14a1e28
RD
24841 return resultobj;
24842 fail:
24843 return NULL;
24844}
24845
24846
c32bde28 24847static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24848 PyObject *resultobj;
24849 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24850 bool arg2 ;
24851 PyObject * obj0 = 0 ;
24852 PyObject * obj1 = 0 ;
24853 char *kwnames[] = {
24854 (char *) "self",(char *) "p", NULL
24855 };
24856
24857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24859 if (SWIG_arg_fail(1)) SWIG_fail;
24860 {
24861 arg2 = (bool)(SWIG_As_bool(obj1));
24862 if (SWIG_arg_fail(2)) SWIG_fail;
24863 }
d14a1e28
RD
24864 {
24865 PyThreadState* __tstate = wxPyBeginAllowThreads();
24866 (arg1)->SetIsPreview(arg2);
24867
24868 wxPyEndAllowThreads(__tstate);
24869 if (PyErr_Occurred()) SWIG_fail;
24870 }
24871 Py_INCREF(Py_None); resultobj = Py_None;
24872 return resultobj;
24873 fail:
24874 return NULL;
24875}
24876
24877
c32bde28 24878static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24879 PyObject *resultobj;
24880 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24881 int arg2 ;
24882 int arg3 ;
24883 bool result;
24884 PyObject * obj0 = 0 ;
994141e6
RD
24885 PyObject * obj1 = 0 ;
24886 PyObject * obj2 = 0 ;
d14a1e28
RD
24887 char *kwnames[] = {
24888 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24889 };
24890
994141e6 24891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24893 if (SWIG_arg_fail(1)) SWIG_fail;
24894 {
24895 arg2 = (int)(SWIG_As_int(obj1));
24896 if (SWIG_arg_fail(2)) SWIG_fail;
24897 }
24898 {
24899 arg3 = (int)(SWIG_As_int(obj2));
24900 if (SWIG_arg_fail(3)) SWIG_fail;
24901 }
d14a1e28
RD
24902 {
24903 PyThreadState* __tstate = wxPyBeginAllowThreads();
24904 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
24905
24906 wxPyEndAllowThreads(__tstate);
24907 if (PyErr_Occurred()) SWIG_fail;
24908 }
4f89f6a3
RD
24909 {
24910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24911 }
d14a1e28
RD
24912 return resultobj;
24913 fail:
24914 return NULL;
24915}
24916
24917
c32bde28 24918static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24919 PyObject *resultobj;
24920 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24921 PyObject * obj0 = 0 ;
24922 char *kwnames[] = {
24923 (char *) "self", NULL
24924 };
24925
24926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
093d3ff1
RD
24927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24928 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24929 {
24930 PyThreadState* __tstate = wxPyBeginAllowThreads();
24931 (arg1)->base_OnEndDocument();
24932
24933 wxPyEndAllowThreads(__tstate);
24934 if (PyErr_Occurred()) SWIG_fail;
24935 }
24936 Py_INCREF(Py_None); resultobj = Py_None;
24937 return resultobj;
24938 fail:
24939 return NULL;
24940}
24941
24942
c32bde28 24943static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24944 PyObject *resultobj;
24945 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24946 PyObject * obj0 = 0 ;
24947 char *kwnames[] = {
24948 (char *) "self", NULL
24949 };
24950
24951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
24952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24953 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24954 {
24955 PyThreadState* __tstate = wxPyBeginAllowThreads();
24956 (arg1)->base_OnBeginPrinting();
24957
24958 wxPyEndAllowThreads(__tstate);
24959 if (PyErr_Occurred()) SWIG_fail;
24960 }
24961 Py_INCREF(Py_None); resultobj = Py_None;
24962 return resultobj;
24963 fail:
24964 return NULL;
24965}
24966
24967
c32bde28 24968static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24969 PyObject *resultobj;
24970 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24971 PyObject * obj0 = 0 ;
24972 char *kwnames[] = {
24973 (char *) "self", NULL
24974 };
24975
24976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
24977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24978 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
24979 {
24980 PyThreadState* __tstate = wxPyBeginAllowThreads();
24981 (arg1)->base_OnEndPrinting();
24982
24983 wxPyEndAllowThreads(__tstate);
24984 if (PyErr_Occurred()) SWIG_fail;
24985 }
24986 Py_INCREF(Py_None); resultobj = Py_None;
24987 return resultobj;
24988 fail:
24989 return NULL;
24990}
24991
24992
c32bde28 24993static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24994 PyObject *resultobj;
24995 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24996 PyObject * obj0 = 0 ;
24997 char *kwnames[] = {
24998 (char *) "self", NULL
24999 };
25000
25001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25003 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25004 {
25005 PyThreadState* __tstate = wxPyBeginAllowThreads();
25006 (arg1)->base_OnPreparePrinting();
25007
25008 wxPyEndAllowThreads(__tstate);
25009 if (PyErr_Occurred()) SWIG_fail;
25010 }
25011 Py_INCREF(Py_None); resultobj = Py_None;
25012 return resultobj;
25013 fail:
25014 return NULL;
25015}
25016
25017
c32bde28 25018static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
322913ce
RD
25019 PyObject *resultobj;
25020 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25021 int arg2 ;
25022 bool result;
25023 PyObject * obj0 = 0 ;
994141e6 25024 PyObject * obj1 = 0 ;
322913ce
RD
25025 char *kwnames[] = {
25026 (char *) "self",(char *) "page", NULL
25027 };
25028
994141e6 25029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25031 if (SWIG_arg_fail(1)) SWIG_fail;
25032 {
25033 arg2 = (int)(SWIG_As_int(obj1));
25034 if (SWIG_arg_fail(2)) SWIG_fail;
25035 }
322913ce
RD
25036 {
25037 PyThreadState* __tstate = wxPyBeginAllowThreads();
25038 result = (bool)(arg1)->base_HasPage(arg2);
25039
25040 wxPyEndAllowThreads(__tstate);
25041 if (PyErr_Occurred()) SWIG_fail;
25042 }
4f89f6a3
RD
25043 {
25044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25045 }
322913ce
RD
25046 return resultobj;
25047 fail:
25048 return NULL;
25049}
25050
25051
c32bde28 25052static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25053 PyObject *resultobj;
25054 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25055 int *arg2 = (int *) 0 ;
25056 int *arg3 = (int *) 0 ;
25057 int *arg4 = (int *) 0 ;
25058 int *arg5 = (int *) 0 ;
25059 int temp2 ;
c32bde28 25060 int res2 = 0 ;
d14a1e28 25061 int temp3 ;
c32bde28 25062 int res3 = 0 ;
d14a1e28 25063 int temp4 ;
c32bde28 25064 int res4 = 0 ;
d14a1e28 25065 int temp5 ;
c32bde28 25066 int res5 = 0 ;
d14a1e28
RD
25067 PyObject * obj0 = 0 ;
25068 char *kwnames[] = {
25069 (char *) "self", NULL
25070 };
25071
c32bde28
RD
25072 arg2 = &temp2; res2 = SWIG_NEWOBJ;
25073 arg3 = &temp3; res3 = SWIG_NEWOBJ;
25074 arg4 = &temp4; res4 = SWIG_NEWOBJ;
25075 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d14a1e28 25076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
25077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25078 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
25082
25083 wxPyEndAllowThreads(__tstate);
25084 if (PyErr_Occurred()) SWIG_fail;
25085 }
25086 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
25087 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
25088 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
25089 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25090 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
25091 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
25092 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
25093 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
25094 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d14a1e28
RD
25095 return resultobj;
25096 fail:
25097 return NULL;
25098}
25099
25100
c32bde28 25101static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25102 PyObject *obj;
25103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25104 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
25105 Py_INCREF(obj);
25106 return Py_BuildValue((char *)"");
25107}
c32bde28 25108static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25109 PyObject *resultobj;
25110 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25111 wxWindow *arg2 = (wxWindow *) 0 ;
25112 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25113 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25114 wxSize const &arg4_defvalue = wxDefaultSize ;
25115 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25116 long arg5 = (long) 0 ;
25117 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25118 wxString *arg6 = (wxString *) &arg6_defvalue ;
25119 wxPreviewCanvas *result;
25120 wxPoint temp3 ;
25121 wxSize temp4 ;
ae8162c8 25122 bool temp6 = false ;
d14a1e28
RD
25123 PyObject * obj0 = 0 ;
25124 PyObject * obj1 = 0 ;
25125 PyObject * obj2 = 0 ;
25126 PyObject * obj3 = 0 ;
994141e6 25127 PyObject * obj4 = 0 ;
d14a1e28
RD
25128 PyObject * obj5 = 0 ;
25129 char *kwnames[] = {
25130 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25131 };
25132
994141e6 25133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
25134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25135 if (SWIG_arg_fail(1)) SWIG_fail;
25136 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25137 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25138 if (obj2) {
25139 {
25140 arg3 = &temp3;
25141 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25142 }
25143 }
25144 if (obj3) {
25145 {
25146 arg4 = &temp4;
25147 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25148 }
25149 }
994141e6 25150 if (obj4) {
093d3ff1
RD
25151 {
25152 arg5 = (long)(SWIG_As_long(obj4));
25153 if (SWIG_arg_fail(5)) SWIG_fail;
25154 }
994141e6 25155 }
d14a1e28
RD
25156 if (obj5) {
25157 {
25158 arg6 = wxString_in_helper(obj5);
25159 if (arg6 == NULL) SWIG_fail;
ae8162c8 25160 temp6 = true;
d14a1e28
RD
25161 }
25162 }
25163 {
e3b71cb8 25164 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25165 PyThreadState* __tstate = wxPyBeginAllowThreads();
25166 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25167
25168 wxPyEndAllowThreads(__tstate);
110da5b0 25169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25170 }
15afbcd0 25171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
d14a1e28
RD
25172 {
25173 if (temp6)
25174 delete arg6;
25175 }
25176 return resultobj;
25177 fail:
25178 {
25179 if (temp6)
25180 delete arg6;
25181 }
25182 return NULL;
25183}
25184
25185
c32bde28 25186static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25187 PyObject *obj;
25188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25189 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25190 Py_INCREF(obj);
25191 return Py_BuildValue((char *)"");
25192}
c32bde28 25193static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25194 PyObject *resultobj;
25195 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25196 wxFrame *arg2 = (wxFrame *) 0 ;
25197 wxString *arg3 = 0 ;
25198 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25199 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25200 wxSize const &arg5_defvalue = wxDefaultSize ;
25201 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25202 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25203 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25204 wxString *arg7 = (wxString *) &arg7_defvalue ;
25205 wxPreviewFrame *result;
ae8162c8 25206 bool temp3 = false ;
d14a1e28
RD
25207 wxPoint temp4 ;
25208 wxSize temp5 ;
ae8162c8 25209 bool temp7 = false ;
d14a1e28
RD
25210 PyObject * obj0 = 0 ;
25211 PyObject * obj1 = 0 ;
25212 PyObject * obj2 = 0 ;
25213 PyObject * obj3 = 0 ;
25214 PyObject * obj4 = 0 ;
994141e6 25215 PyObject * obj5 = 0 ;
d14a1e28
RD
25216 PyObject * obj6 = 0 ;
25217 char *kwnames[] = {
25218 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25219 };
25220
994141e6 25221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25223 if (SWIG_arg_fail(1)) SWIG_fail;
25224 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25225 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25226 {
25227 arg3 = wxString_in_helper(obj2);
25228 if (arg3 == NULL) SWIG_fail;
ae8162c8 25229 temp3 = true;
d14a1e28
RD
25230 }
25231 if (obj3) {
25232 {
25233 arg4 = &temp4;
25234 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25235 }
25236 }
25237 if (obj4) {
25238 {
25239 arg5 = &temp5;
25240 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25241 }
25242 }
994141e6 25243 if (obj5) {
093d3ff1
RD
25244 {
25245 arg6 = (long)(SWIG_As_long(obj5));
25246 if (SWIG_arg_fail(6)) SWIG_fail;
25247 }
994141e6 25248 }
d14a1e28
RD
25249 if (obj6) {
25250 {
25251 arg7 = wxString_in_helper(obj6);
25252 if (arg7 == NULL) SWIG_fail;
ae8162c8 25253 temp7 = true;
d14a1e28
RD
25254 }
25255 }
25256 {
e3b71cb8 25257 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25258 PyThreadState* __tstate = wxPyBeginAllowThreads();
25259 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25260
25261 wxPyEndAllowThreads(__tstate);
110da5b0 25262 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25263 }
15afbcd0 25264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
d14a1e28
RD
25265 {
25266 if (temp3)
25267 delete arg3;
25268 }
25269 {
25270 if (temp7)
25271 delete arg7;
25272 }
25273 return resultobj;
25274 fail:
25275 {
25276 if (temp3)
25277 delete arg3;
25278 }
25279 {
25280 if (temp7)
25281 delete arg7;
25282 }
25283 return NULL;
25284}
25285
25286
c32bde28 25287static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25288 PyObject *resultobj;
25289 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25290 PyObject * obj0 = 0 ;
25291 char *kwnames[] = {
25292 (char *) "self", NULL
25293 };
25294
25295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
25296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25297 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25298 {
25299 PyThreadState* __tstate = wxPyBeginAllowThreads();
25300 (arg1)->Initialize();
25301
25302 wxPyEndAllowThreads(__tstate);
25303 if (PyErr_Occurred()) SWIG_fail;
25304 }
25305 Py_INCREF(Py_None); resultobj = Py_None;
25306 return resultobj;
25307 fail:
25308 return NULL;
25309}
25310
25311
c32bde28 25312static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25313 PyObject *resultobj;
25314 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25315 PyObject * obj0 = 0 ;
25316 char *kwnames[] = {
25317 (char *) "self", NULL
25318 };
25319
25320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25322 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25323 {
25324 PyThreadState* __tstate = wxPyBeginAllowThreads();
25325 (arg1)->CreateControlBar();
25326
25327 wxPyEndAllowThreads(__tstate);
25328 if (PyErr_Occurred()) SWIG_fail;
25329 }
25330 Py_INCREF(Py_None); resultobj = Py_None;
25331 return resultobj;
25332 fail:
25333 return NULL;
25334}
25335
25336
c32bde28 25337static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25338 PyObject *resultobj;
25339 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25340 PyObject * obj0 = 0 ;
25341 char *kwnames[] = {
25342 (char *) "self", NULL
25343 };
25344
25345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
25346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25347 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25348 {
25349 PyThreadState* __tstate = wxPyBeginAllowThreads();
25350 (arg1)->CreateCanvas();
25351
25352 wxPyEndAllowThreads(__tstate);
25353 if (PyErr_Occurred()) SWIG_fail;
25354 }
25355 Py_INCREF(Py_None); resultobj = Py_None;
25356 return resultobj;
25357 fail:
25358 return NULL;
25359}
25360
25361
c32bde28 25362static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25363 PyObject *resultobj;
25364 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25365 wxPreviewControlBar *result;
25366 PyObject * obj0 = 0 ;
25367 char *kwnames[] = {
25368 (char *) "self", NULL
25369 };
25370
25371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
25372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25373 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25374 {
25375 PyThreadState* __tstate = wxPyBeginAllowThreads();
25376 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25377
25378 wxPyEndAllowThreads(__tstate);
25379 if (PyErr_Occurred()) SWIG_fail;
25380 }
15afbcd0 25381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
d14a1e28
RD
25382 return resultobj;
25383 fail:
25384 return NULL;
25385}
25386
25387
c32bde28 25388static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25389 PyObject *obj;
25390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25391 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25392 Py_INCREF(obj);
25393 return Py_BuildValue((char *)"");
25394}
c32bde28 25395static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25396 PyObject *resultobj;
25397 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25398 long arg2 ;
25399 wxWindow *arg3 = (wxWindow *) 0 ;
25400 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25401 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25402 wxSize const &arg5_defvalue = wxDefaultSize ;
25403 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25404 long arg6 = (long) wxTAB_TRAVERSAL ;
25405 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25406 wxString *arg7 = (wxString *) &arg7_defvalue ;
25407 wxPreviewControlBar *result;
25408 wxPoint temp4 ;
25409 wxSize temp5 ;
ae8162c8 25410 bool temp7 = false ;
d14a1e28 25411 PyObject * obj0 = 0 ;
994141e6 25412 PyObject * obj1 = 0 ;
d14a1e28
RD
25413 PyObject * obj2 = 0 ;
25414 PyObject * obj3 = 0 ;
25415 PyObject * obj4 = 0 ;
994141e6 25416 PyObject * obj5 = 0 ;
d14a1e28
RD
25417 PyObject * obj6 = 0 ;
25418 char *kwnames[] = {
25419 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25420 };
25421
994141e6 25422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
25423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25424 if (SWIG_arg_fail(1)) SWIG_fail;
25425 {
25426 arg2 = (long)(SWIG_As_long(obj1));
25427 if (SWIG_arg_fail(2)) SWIG_fail;
25428 }
25429 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25430 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
25431 if (obj3) {
25432 {
25433 arg4 = &temp4;
25434 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25435 }
25436 }
25437 if (obj4) {
25438 {
25439 arg5 = &temp5;
25440 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25441 }
25442 }
994141e6 25443 if (obj5) {
093d3ff1
RD
25444 {
25445 arg6 = (long)(SWIG_As_long(obj5));
25446 if (SWIG_arg_fail(6)) SWIG_fail;
25447 }
994141e6 25448 }
d14a1e28
RD
25449 if (obj6) {
25450 {
25451 arg7 = wxString_in_helper(obj6);
25452 if (arg7 == NULL) SWIG_fail;
ae8162c8 25453 temp7 = true;
d14a1e28
RD
25454 }
25455 }
25456 {
e3b71cb8 25457 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25458 PyThreadState* __tstate = wxPyBeginAllowThreads();
25459 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25460
25461 wxPyEndAllowThreads(__tstate);
110da5b0 25462 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25463 }
15afbcd0 25464 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
d14a1e28
RD
25465 {
25466 if (temp7)
25467 delete arg7;
25468 }
25469 return resultobj;
25470 fail:
25471 {
25472 if (temp7)
25473 delete arg7;
25474 }
25475 return NULL;
25476}
25477
25478
c32bde28 25479static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25480 PyObject *resultobj;
25481 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25482 int result;
25483 PyObject * obj0 = 0 ;
25484 char *kwnames[] = {
25485 (char *) "self", NULL
25486 };
25487
25488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
093d3ff1
RD
25489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25490 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25491 {
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 result = (int)(arg1)->GetZoomControl();
25494
25495 wxPyEndAllowThreads(__tstate);
25496 if (PyErr_Occurred()) SWIG_fail;
25497 }
093d3ff1
RD
25498 {
25499 resultobj = SWIG_From_int((int)(result));
25500 }
d14a1e28
RD
25501 return resultobj;
25502 fail:
25503 return NULL;
25504}
25505
25506
c32bde28 25507static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25508 PyObject *resultobj;
25509 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25510 int arg2 ;
25511 PyObject * obj0 = 0 ;
994141e6 25512 PyObject * obj1 = 0 ;
d14a1e28
RD
25513 char *kwnames[] = {
25514 (char *) "self",(char *) "zoom", NULL
25515 };
25516
994141e6 25517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25519 if (SWIG_arg_fail(1)) SWIG_fail;
25520 {
25521 arg2 = (int)(SWIG_As_int(obj1));
25522 if (SWIG_arg_fail(2)) SWIG_fail;
25523 }
d14a1e28
RD
25524 {
25525 PyThreadState* __tstate = wxPyBeginAllowThreads();
25526 (arg1)->SetZoomControl(arg2);
25527
25528 wxPyEndAllowThreads(__tstate);
25529 if (PyErr_Occurred()) SWIG_fail;
25530 }
25531 Py_INCREF(Py_None); resultobj = Py_None;
25532 return resultobj;
25533 fail:
25534 return NULL;
25535}
25536
25537
c32bde28 25538static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25539 PyObject *resultobj;
25540 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25541 wxPrintPreview *result;
25542 PyObject * obj0 = 0 ;
25543 char *kwnames[] = {
25544 (char *) "self", NULL
25545 };
25546
25547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
093d3ff1
RD
25548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25549 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25550 {
25551 PyThreadState* __tstate = wxPyBeginAllowThreads();
25552 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25553
25554 wxPyEndAllowThreads(__tstate);
25555 if (PyErr_Occurred()) SWIG_fail;
25556 }
15afbcd0 25557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
d14a1e28
RD
25558 return resultobj;
25559 fail:
25560 return NULL;
25561}
25562
25563
c32bde28 25564static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25565 PyObject *resultobj;
25566 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25567 PyObject * obj0 = 0 ;
25568 char *kwnames[] = {
25569 (char *) "self", NULL
25570 };
25571
25572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
093d3ff1
RD
25573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25574 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25575 {
25576 PyThreadState* __tstate = wxPyBeginAllowThreads();
25577 (arg1)->OnNext();
25578
25579 wxPyEndAllowThreads(__tstate);
25580 if (PyErr_Occurred()) SWIG_fail;
25581 }
25582 Py_INCREF(Py_None); resultobj = Py_None;
25583 return resultobj;
25584 fail:
25585 return NULL;
25586}
25587
25588
c32bde28 25589static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25590 PyObject *resultobj;
25591 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25592 PyObject * obj0 = 0 ;
25593 char *kwnames[] = {
25594 (char *) "self", NULL
25595 };
25596
25597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
093d3ff1
RD
25598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25599 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25600 {
25601 PyThreadState* __tstate = wxPyBeginAllowThreads();
25602 (arg1)->OnPrevious();
25603
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 Py_INCREF(Py_None); resultobj = Py_None;
25608 return resultobj;
25609 fail:
25610 return NULL;
25611}
25612
25613
c32bde28 25614static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25615 PyObject *resultobj;
25616 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25617 PyObject * obj0 = 0 ;
25618 char *kwnames[] = {
25619 (char *) "self", NULL
25620 };
25621
25622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
093d3ff1
RD
25623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25624 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25625 {
25626 PyThreadState* __tstate = wxPyBeginAllowThreads();
25627 (arg1)->OnFirst();
25628
25629 wxPyEndAllowThreads(__tstate);
25630 if (PyErr_Occurred()) SWIG_fail;
25631 }
25632 Py_INCREF(Py_None); resultobj = Py_None;
25633 return resultobj;
25634 fail:
25635 return NULL;
25636}
25637
25638
c32bde28 25639static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25640 PyObject *resultobj;
25641 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25642 PyObject * obj0 = 0 ;
25643 char *kwnames[] = {
25644 (char *) "self", NULL
25645 };
25646
25647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
093d3ff1
RD
25648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25649 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25650 {
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 (arg1)->OnLast();
25653
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
25657 Py_INCREF(Py_None); resultobj = Py_None;
25658 return resultobj;
25659 fail:
25660 return NULL;
25661}
25662
25663
c32bde28 25664static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25665 PyObject *resultobj;
25666 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25667 PyObject * obj0 = 0 ;
25668 char *kwnames[] = {
25669 (char *) "self", NULL
25670 };
25671
25672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
093d3ff1
RD
25673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25674 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25675 {
25676 PyThreadState* __tstate = wxPyBeginAllowThreads();
25677 (arg1)->OnGoto();
25678
25679 wxPyEndAllowThreads(__tstate);
25680 if (PyErr_Occurred()) SWIG_fail;
25681 }
25682 Py_INCREF(Py_None); resultobj = Py_None;
25683 return resultobj;
25684 fail:
25685 return NULL;
25686}
25687
25688
c32bde28 25689static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
25690 PyObject *obj;
25691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25692 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25693 Py_INCREF(obj);
25694 return Py_BuildValue((char *)"");
25695}
c32bde28 25696static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
25697 PyObject *resultobj;
25698 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25699 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 25700 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
25701 wxPrintPreview *result;
25702 PyObject * obj0 = 0 ;
25703 PyObject * obj1 = 0 ;
25704 PyObject * obj2 = 0 ;
d14a1e28 25705
4276dc52 25706 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25708 if (SWIG_arg_fail(1)) SWIG_fail;
25709 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25710 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 25711 if (obj2) {
093d3ff1
RD
25712 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25713 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
25714 }
25715 {
e3b71cb8 25716 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
25717 PyThreadState* __tstate = wxPyBeginAllowThreads();
25718 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25719
25720 wxPyEndAllowThreads(__tstate);
110da5b0 25721 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25722 }
15afbcd0 25723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
d14a1e28
RD
25724 return resultobj;
25725 fail:
25726 return NULL;
25727}
25728
25729
c32bde28 25730static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
25731 PyObject *resultobj;
25732 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25733 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25734 wxPrintData *arg3 = (wxPrintData *) 0 ;
25735 wxPrintPreview *result;
25736 PyObject * obj0 = 0 ;
25737 PyObject * obj1 = 0 ;
25738 PyObject * obj2 = 0 ;
25739
25740 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
25741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25742 if (SWIG_arg_fail(1)) SWIG_fail;
25743 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25744 if (SWIG_arg_fail(2)) SWIG_fail;
25745 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25746 if (SWIG_arg_fail(3)) SWIG_fail;
4276dc52 25747 {
e3b71cb8 25748 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
25749 PyThreadState* __tstate = wxPyBeginAllowThreads();
25750 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25751
25752 wxPyEndAllowThreads(__tstate);
110da5b0 25753 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
25754 }
25755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25756 return resultobj;
25757 fail:
25758 return NULL;
25759}
25760
25761
25762static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25763 int argc;
25764 PyObject *argv[4];
25765 int ii;
25766
25767 argc = PyObject_Length(args);
25768 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25769 argv[ii] = PyTuple_GetItem(args,ii);
25770 }
25771 if ((argc >= 2) && (argc <= 3)) {
25772 int _v;
25773 {
25774 void *ptr;
25775 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25776 _v = 0;
25777 PyErr_Clear();
25778 } else {
25779 _v = 1;
25780 }
25781 }
25782 if (_v) {
25783 {
25784 void *ptr;
25785 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25786 _v = 0;
25787 PyErr_Clear();
25788 } else {
25789 _v = 1;
25790 }
25791 }
25792 if (_v) {
25793 if (argc <= 2) {
25794 return _wrap_new_PrintPreview__SWIG_0(self,args);
25795 }
25796 {
25797 void *ptr;
25798 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25799 _v = 0;
25800 PyErr_Clear();
25801 } else {
25802 _v = 1;
25803 }
25804 }
25805 if (_v) {
25806 return _wrap_new_PrintPreview__SWIG_0(self,args);
25807 }
25808 }
25809 }
25810 }
25811 if (argc == 3) {
25812 int _v;
25813 {
25814 void *ptr;
25815 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25816 _v = 0;
25817 PyErr_Clear();
25818 } else {
25819 _v = 1;
25820 }
25821 }
25822 if (_v) {
25823 {
25824 void *ptr;
25825 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25826 _v = 0;
25827 PyErr_Clear();
25828 } else {
25829 _v = 1;
25830 }
25831 }
25832 if (_v) {
25833 {
25834 void *ptr;
25835 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25836 _v = 0;
25837 PyErr_Clear();
25838 } else {
25839 _v = 1;
25840 }
25841 }
25842 if (_v) {
25843 return _wrap_new_PrintPreview__SWIG_1(self,args);
25844 }
25845 }
25846 }
25847 }
25848
093d3ff1 25849 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
4276dc52
RD
25850 return NULL;
25851}
25852
25853
c32bde28 25854static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25855 PyObject *resultobj;
25856 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25857 int arg2 ;
25858 bool result;
25859 PyObject * obj0 = 0 ;
994141e6 25860 PyObject * obj1 = 0 ;
d14a1e28
RD
25861 char *kwnames[] = {
25862 (char *) "self",(char *) "pageNum", NULL
25863 };
25864
994141e6 25865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25867 if (SWIG_arg_fail(1)) SWIG_fail;
25868 {
25869 arg2 = (int)(SWIG_As_int(obj1));
25870 if (SWIG_arg_fail(2)) SWIG_fail;
25871 }
d14a1e28
RD
25872 {
25873 PyThreadState* __tstate = wxPyBeginAllowThreads();
25874 result = (bool)(arg1)->SetCurrentPage(arg2);
25875
25876 wxPyEndAllowThreads(__tstate);
25877 if (PyErr_Occurred()) SWIG_fail;
25878 }
4f89f6a3
RD
25879 {
25880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25881 }
d14a1e28
RD
25882 return resultobj;
25883 fail:
25884 return NULL;
25885}
25886
25887
c32bde28 25888static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25889 PyObject *resultobj;
25890 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25891 int result;
25892 PyObject * obj0 = 0 ;
25893 char *kwnames[] = {
25894 (char *) "self", NULL
25895 };
25896
25897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
25898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25899 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25900 {
25901 PyThreadState* __tstate = wxPyBeginAllowThreads();
25902 result = (int)(arg1)->GetCurrentPage();
25903
25904 wxPyEndAllowThreads(__tstate);
25905 if (PyErr_Occurred()) SWIG_fail;
25906 }
093d3ff1
RD
25907 {
25908 resultobj = SWIG_From_int((int)(result));
25909 }
d14a1e28
RD
25910 return resultobj;
25911 fail:
25912 return NULL;
25913}
25914
25915
c32bde28 25916static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25917 PyObject *resultobj;
25918 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25919 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25920 PyObject * obj0 = 0 ;
25921 PyObject * obj1 = 0 ;
25922 char *kwnames[] = {
25923 (char *) "self",(char *) "printout", NULL
25924 };
25925
25926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25928 if (SWIG_arg_fail(1)) SWIG_fail;
25929 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25930 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
25931 {
25932 PyThreadState* __tstate = wxPyBeginAllowThreads();
25933 (arg1)->SetPrintout(arg2);
25934
25935 wxPyEndAllowThreads(__tstate);
25936 if (PyErr_Occurred()) SWIG_fail;
25937 }
25938 Py_INCREF(Py_None); resultobj = Py_None;
25939 return resultobj;
25940 fail:
25941 return NULL;
25942}
25943
25944
c32bde28 25945static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25946 PyObject *resultobj;
25947 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25948 wxPyPrintout *result;
25949 PyObject * obj0 = 0 ;
25950 char *kwnames[] = {
25951 (char *) "self", NULL
25952 };
25953
25954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
093d3ff1
RD
25955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25956 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25957 {
25958 PyThreadState* __tstate = wxPyBeginAllowThreads();
25959 result = (wxPyPrintout *)(arg1)->GetPrintout();
25960
25961 wxPyEndAllowThreads(__tstate);
25962 if (PyErr_Occurred()) SWIG_fail;
25963 }
25964 {
412d302d 25965 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25966 }
25967 return resultobj;
25968 fail:
25969 return NULL;
25970}
25971
25972
c32bde28 25973static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25974 PyObject *resultobj;
25975 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25976 wxPyPrintout *result;
25977 PyObject * obj0 = 0 ;
25978 char *kwnames[] = {
25979 (char *) "self", NULL
25980 };
25981
25982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
093d3ff1
RD
25983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25984 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
25985 {
25986 PyThreadState* __tstate = wxPyBeginAllowThreads();
25987 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
25988
25989 wxPyEndAllowThreads(__tstate);
25990 if (PyErr_Occurred()) SWIG_fail;
25991 }
25992 {
412d302d 25993 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25994 }
25995 return resultobj;
25996 fail:
25997 return NULL;
25998}
25999
26000
c32bde28 26001static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26002 PyObject *resultobj;
26003 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26004 wxFrame *arg2 = (wxFrame *) 0 ;
26005 PyObject * obj0 = 0 ;
26006 PyObject * obj1 = 0 ;
26007 char *kwnames[] = {
26008 (char *) "self",(char *) "frame", NULL
26009 };
26010
26011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26013 if (SWIG_arg_fail(1)) SWIG_fail;
26014 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26015 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26016 {
26017 PyThreadState* __tstate = wxPyBeginAllowThreads();
26018 (arg1)->SetFrame(arg2);
26019
26020 wxPyEndAllowThreads(__tstate);
26021 if (PyErr_Occurred()) SWIG_fail;
26022 }
26023 Py_INCREF(Py_None); resultobj = Py_None;
26024 return resultobj;
26025 fail:
26026 return NULL;
26027}
26028
26029
c32bde28 26030static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26031 PyObject *resultobj;
26032 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26033 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26034 PyObject * obj0 = 0 ;
26035 PyObject * obj1 = 0 ;
26036 char *kwnames[] = {
26037 (char *) "self",(char *) "canvas", NULL
26038 };
26039
26040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26042 if (SWIG_arg_fail(1)) SWIG_fail;
26043 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26044 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26045 {
26046 PyThreadState* __tstate = wxPyBeginAllowThreads();
26047 (arg1)->SetCanvas(arg2);
26048
26049 wxPyEndAllowThreads(__tstate);
26050 if (PyErr_Occurred()) SWIG_fail;
26051 }
26052 Py_INCREF(Py_None); resultobj = Py_None;
26053 return resultobj;
26054 fail:
26055 return NULL;
26056}
26057
26058
c32bde28 26059static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26060 PyObject *resultobj;
26061 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26062 wxFrame *result;
26063 PyObject * obj0 = 0 ;
26064 char *kwnames[] = {
26065 (char *) "self", NULL
26066 };
26067
26068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
26069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26070 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26071 {
26072 PyThreadState* __tstate = wxPyBeginAllowThreads();
26073 result = (wxFrame *)(arg1)->GetFrame();
26074
26075 wxPyEndAllowThreads(__tstate);
26076 if (PyErr_Occurred()) SWIG_fail;
26077 }
26078 {
412d302d 26079 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26080 }
26081 return resultobj;
26082 fail:
26083 return NULL;
26084}
26085
26086
c32bde28 26087static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26088 PyObject *resultobj;
26089 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26090 wxPreviewCanvas *result;
26091 PyObject * obj0 = 0 ;
26092 char *kwnames[] = {
26093 (char *) "self", NULL
26094 };
26095
26096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
26097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26098 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26099 {
26100 PyThreadState* __tstate = wxPyBeginAllowThreads();
26101 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
26102
26103 wxPyEndAllowThreads(__tstate);
26104 if (PyErr_Occurred()) SWIG_fail;
26105 }
15afbcd0 26106 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
d14a1e28
RD
26107 return resultobj;
26108 fail:
26109 return NULL;
26110}
26111
26112
c32bde28 26113static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26114 PyObject *resultobj;
26115 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26116 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26117 wxDC *arg3 = 0 ;
26118 bool result;
26119 PyObject * obj0 = 0 ;
26120 PyObject * obj1 = 0 ;
26121 PyObject * obj2 = 0 ;
26122 char *kwnames[] = {
26123 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26124 };
26125
26126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26128 if (SWIG_arg_fail(1)) SWIG_fail;
26129 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26130 if (SWIG_arg_fail(2)) SWIG_fail;
26131 {
26132 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26133 if (SWIG_arg_fail(3)) SWIG_fail;
26134 if (arg3 == NULL) {
26135 SWIG_null_ref("wxDC");
26136 }
26137 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26138 }
26139 {
26140 PyThreadState* __tstate = wxPyBeginAllowThreads();
26141 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26142
26143 wxPyEndAllowThreads(__tstate);
26144 if (PyErr_Occurred()) SWIG_fail;
26145 }
4f89f6a3
RD
26146 {
26147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26148 }
d14a1e28
RD
26149 return resultobj;
26150 fail:
26151 return NULL;
26152}
26153
26154
c32bde28 26155static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26156 PyObject *resultobj;
26157 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26158 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26159 wxDC *arg3 = 0 ;
26160 bool result;
26161 PyObject * obj0 = 0 ;
26162 PyObject * obj1 = 0 ;
26163 PyObject * obj2 = 0 ;
26164 char *kwnames[] = {
26165 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26166 };
26167
26168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26170 if (SWIG_arg_fail(1)) SWIG_fail;
26171 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26172 if (SWIG_arg_fail(2)) SWIG_fail;
26173 {
26174 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26175 if (SWIG_arg_fail(3)) SWIG_fail;
26176 if (arg3 == NULL) {
26177 SWIG_null_ref("wxDC");
26178 }
26179 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26180 }
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26184
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
4f89f6a3
RD
26188 {
26189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26190 }
d14a1e28
RD
26191 return resultobj;
26192 fail:
26193 return NULL;
26194}
26195
26196
c32bde28 26197static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26198 PyObject *resultobj;
26199 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26200 int arg2 ;
26201 bool result;
26202 PyObject * obj0 = 0 ;
994141e6 26203 PyObject * obj1 = 0 ;
d14a1e28
RD
26204 char *kwnames[] = {
26205 (char *) "self",(char *) "pageNum", NULL
26206 };
26207
994141e6 26208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26210 if (SWIG_arg_fail(1)) SWIG_fail;
26211 {
26212 arg2 = (int)(SWIG_As_int(obj1));
26213 if (SWIG_arg_fail(2)) SWIG_fail;
26214 }
d14a1e28
RD
26215 {
26216 PyThreadState* __tstate = wxPyBeginAllowThreads();
26217 result = (bool)(arg1)->RenderPage(arg2);
26218
26219 wxPyEndAllowThreads(__tstate);
26220 if (PyErr_Occurred()) SWIG_fail;
26221 }
4f89f6a3
RD
26222 {
26223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26224 }
d14a1e28
RD
26225 return resultobj;
26226 fail:
26227 return NULL;
26228}
26229
26230
c32bde28 26231static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26232 PyObject *resultobj;
26233 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26234 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26235 PyObject * obj0 = 0 ;
26236 PyObject * obj1 = 0 ;
26237 char *kwnames[] = {
26238 (char *) "self",(char *) "canvas", NULL
26239 };
26240
26241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26243 if (SWIG_arg_fail(1)) SWIG_fail;
26244 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26245 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
26246 {
26247 PyThreadState* __tstate = wxPyBeginAllowThreads();
26248 (arg1)->AdjustScrollbars(arg2);
26249
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
26253 Py_INCREF(Py_None); resultobj = Py_None;
26254 return resultobj;
26255 fail:
26256 return NULL;
26257}
26258
26259
c32bde28 26260static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26261 PyObject *resultobj;
26262 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26263 wxPrintDialogData *result;
26264 PyObject * obj0 = 0 ;
26265 char *kwnames[] = {
26266 (char *) "self", NULL
26267 };
26268
26269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
093d3ff1
RD
26270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26271 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26272 {
26273 PyThreadState* __tstate = wxPyBeginAllowThreads();
26274 {
26275 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26276 result = (wxPrintDialogData *) &_result_ref;
26277 }
26278
26279 wxPyEndAllowThreads(__tstate);
26280 if (PyErr_Occurred()) SWIG_fail;
26281 }
15afbcd0 26282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
d14a1e28
RD
26283 return resultobj;
26284 fail:
26285 return NULL;
26286}
26287
26288
c32bde28 26289static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26290 PyObject *resultobj;
26291 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26292 int arg2 ;
26293 PyObject * obj0 = 0 ;
994141e6 26294 PyObject * obj1 = 0 ;
d14a1e28
RD
26295 char *kwnames[] = {
26296 (char *) "self",(char *) "percent", NULL
26297 };
26298
994141e6 26299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26301 if (SWIG_arg_fail(1)) SWIG_fail;
26302 {
26303 arg2 = (int)(SWIG_As_int(obj1));
26304 if (SWIG_arg_fail(2)) SWIG_fail;
26305 }
d14a1e28
RD
26306 {
26307 PyThreadState* __tstate = wxPyBeginAllowThreads();
26308 (arg1)->SetZoom(arg2);
26309
26310 wxPyEndAllowThreads(__tstate);
26311 if (PyErr_Occurred()) SWIG_fail;
26312 }
26313 Py_INCREF(Py_None); resultobj = Py_None;
26314 return resultobj;
26315 fail:
26316 return NULL;
26317}
26318
26319
c32bde28 26320static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26321 PyObject *resultobj;
26322 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26323 int result;
26324 PyObject * obj0 = 0 ;
26325 char *kwnames[] = {
26326 (char *) "self", NULL
26327 };
26328
26329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
093d3ff1
RD
26330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26331 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26332 {
26333 PyThreadState* __tstate = wxPyBeginAllowThreads();
26334 result = (int)(arg1)->GetZoom();
26335
26336 wxPyEndAllowThreads(__tstate);
26337 if (PyErr_Occurred()) SWIG_fail;
26338 }
093d3ff1
RD
26339 {
26340 resultobj = SWIG_From_int((int)(result));
26341 }
d14a1e28
RD
26342 return resultobj;
26343 fail:
26344 return NULL;
26345}
26346
26347
c32bde28 26348static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26349 PyObject *resultobj;
26350 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26351 int result;
26352 PyObject * obj0 = 0 ;
26353 char *kwnames[] = {
26354 (char *) "self", NULL
26355 };
26356
26357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26359 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26360 {
26361 PyThreadState* __tstate = wxPyBeginAllowThreads();
26362 result = (int)(arg1)->GetMaxPage();
26363
26364 wxPyEndAllowThreads(__tstate);
26365 if (PyErr_Occurred()) SWIG_fail;
26366 }
093d3ff1
RD
26367 {
26368 resultobj = SWIG_From_int((int)(result));
26369 }
d14a1e28
RD
26370 return resultobj;
26371 fail:
26372 return NULL;
26373}
26374
26375
c32bde28 26376static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26377 PyObject *resultobj;
26378 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26379 int result;
26380 PyObject * obj0 = 0 ;
26381 char *kwnames[] = {
26382 (char *) "self", NULL
26383 };
26384
26385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
093d3ff1
RD
26386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26387 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26388 {
26389 PyThreadState* __tstate = wxPyBeginAllowThreads();
26390 result = (int)(arg1)->GetMinPage();
26391
26392 wxPyEndAllowThreads(__tstate);
26393 if (PyErr_Occurred()) SWIG_fail;
26394 }
093d3ff1
RD
26395 {
26396 resultobj = SWIG_From_int((int)(result));
26397 }
d14a1e28
RD
26398 return resultobj;
26399 fail:
26400 return NULL;
26401}
26402
26403
c32bde28 26404static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26405 PyObject *resultobj;
26406 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26407 bool result;
26408 PyObject * obj0 = 0 ;
26409 char *kwnames[] = {
26410 (char *) "self", NULL
26411 };
26412
26413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
093d3ff1
RD
26414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26415 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26416 {
26417 PyThreadState* __tstate = wxPyBeginAllowThreads();
26418 result = (bool)(arg1)->Ok();
26419
26420 wxPyEndAllowThreads(__tstate);
26421 if (PyErr_Occurred()) SWIG_fail;
26422 }
4f89f6a3
RD
26423 {
26424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26425 }
d14a1e28
RD
26426 return resultobj;
26427 fail:
26428 return NULL;
26429}
26430
26431
c32bde28 26432static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26433 PyObject *resultobj;
26434 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26435 bool arg2 ;
26436 PyObject * obj0 = 0 ;
26437 PyObject * obj1 = 0 ;
26438 char *kwnames[] = {
26439 (char *) "self",(char *) "ok", NULL
26440 };
26441
26442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26444 if (SWIG_arg_fail(1)) SWIG_fail;
26445 {
26446 arg2 = (bool)(SWIG_As_bool(obj1));
26447 if (SWIG_arg_fail(2)) SWIG_fail;
26448 }
d14a1e28
RD
26449 {
26450 PyThreadState* __tstate = wxPyBeginAllowThreads();
26451 (arg1)->SetOk(arg2);
26452
26453 wxPyEndAllowThreads(__tstate);
26454 if (PyErr_Occurred()) SWIG_fail;
26455 }
26456 Py_INCREF(Py_None); resultobj = Py_None;
26457 return resultobj;
26458 fail:
26459 return NULL;
26460}
26461
26462
c32bde28 26463static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26464 PyObject *resultobj;
26465 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26466 bool arg2 ;
26467 bool result;
26468 PyObject * obj0 = 0 ;
26469 PyObject * obj1 = 0 ;
26470 char *kwnames[] = {
26471 (char *) "self",(char *) "interactive", NULL
26472 };
26473
26474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26476 if (SWIG_arg_fail(1)) SWIG_fail;
26477 {
26478 arg2 = (bool)(SWIG_As_bool(obj1));
26479 if (SWIG_arg_fail(2)) SWIG_fail;
26480 }
d14a1e28
RD
26481 {
26482 PyThreadState* __tstate = wxPyBeginAllowThreads();
26483 result = (bool)(arg1)->Print(arg2);
26484
26485 wxPyEndAllowThreads(__tstate);
26486 if (PyErr_Occurred()) SWIG_fail;
26487 }
4f89f6a3
RD
26488 {
26489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26490 }
d14a1e28
RD
26491 return resultobj;
26492 fail:
26493 return NULL;
26494}
26495
26496
c32bde28 26497static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26498 PyObject *resultobj;
26499 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26500 PyObject * obj0 = 0 ;
26501 char *kwnames[] = {
26502 (char *) "self", NULL
26503 };
26504
26505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
26506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26507 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26508 {
26509 PyThreadState* __tstate = wxPyBeginAllowThreads();
26510 (arg1)->DetermineScaling();
26511
26512 wxPyEndAllowThreads(__tstate);
26513 if (PyErr_Occurred()) SWIG_fail;
26514 }
26515 Py_INCREF(Py_None); resultobj = Py_None;
26516 return resultobj;
26517 fail:
26518 return NULL;
26519}
26520
26521
c32bde28 26522static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26523 PyObject *obj;
26524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26525 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26526 Py_INCREF(obj);
26527 return Py_BuildValue((char *)"");
26528}
c32bde28 26529static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
26530 PyObject *resultobj;
26531 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26532 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
4276dc52 26533 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
d14a1e28
RD
26534 wxPyPrintPreview *result;
26535 PyObject * obj0 = 0 ;
26536 PyObject * obj1 = 0 ;
26537 PyObject * obj2 = 0 ;
d14a1e28 26538
4276dc52 26539 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26541 if (SWIG_arg_fail(1)) SWIG_fail;
26542 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26543 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28 26544 if (obj2) {
093d3ff1
RD
26545 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26546 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26547 }
26548 {
e3b71cb8 26549 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26550 PyThreadState* __tstate = wxPyBeginAllowThreads();
26551 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26552
26553 wxPyEndAllowThreads(__tstate);
110da5b0 26554 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26555 }
15afbcd0 26556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
d14a1e28
RD
26557 return resultobj;
26558 fail:
26559 return NULL;
26560}
26561
26562
c32bde28 26563static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
4276dc52
RD
26564 PyObject *resultobj;
26565 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26566 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26567 wxPrintData *arg3 = (wxPrintData *) 0 ;
26568 wxPyPrintPreview *result;
26569 PyObject * obj0 = 0 ;
26570 PyObject * obj1 = 0 ;
26571 PyObject * obj2 = 0 ;
26572
26573 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26575 if (SWIG_arg_fail(1)) SWIG_fail;
26576 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26577 if (SWIG_arg_fail(2)) SWIG_fail;
26578 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26579 if (SWIG_arg_fail(3)) SWIG_fail;
4276dc52 26580 {
e3b71cb8 26581 if (!wxPyCheckForApp()) SWIG_fail;
4276dc52
RD
26582 PyThreadState* __tstate = wxPyBeginAllowThreads();
26583 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26584
26585 wxPyEndAllowThreads(__tstate);
110da5b0 26586 if (PyErr_Occurred()) SWIG_fail;
4276dc52
RD
26587 }
26588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26589 return resultobj;
26590 fail:
26591 return NULL;
26592}
26593
26594
26595static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26596 int argc;
26597 PyObject *argv[4];
26598 int ii;
26599
26600 argc = PyObject_Length(args);
26601 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26602 argv[ii] = PyTuple_GetItem(args,ii);
26603 }
26604 if ((argc >= 2) && (argc <= 3)) {
26605 int _v;
26606 {
26607 void *ptr;
26608 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26609 _v = 0;
26610 PyErr_Clear();
26611 } else {
26612 _v = 1;
26613 }
26614 }
26615 if (_v) {
26616 {
26617 void *ptr;
26618 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26619 _v = 0;
26620 PyErr_Clear();
26621 } else {
26622 _v = 1;
26623 }
26624 }
26625 if (_v) {
26626 if (argc <= 2) {
26627 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26628 }
26629 {
26630 void *ptr;
26631 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26632 _v = 0;
26633 PyErr_Clear();
26634 } else {
26635 _v = 1;
26636 }
26637 }
26638 if (_v) {
26639 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26640 }
26641 }
26642 }
26643 }
26644 if (argc == 3) {
26645 int _v;
26646 {
26647 void *ptr;
26648 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26649 _v = 0;
26650 PyErr_Clear();
26651 } else {
26652 _v = 1;
26653 }
26654 }
26655 if (_v) {
26656 {
26657 void *ptr;
26658 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26659 _v = 0;
26660 PyErr_Clear();
26661 } else {
26662 _v = 1;
26663 }
26664 }
26665 if (_v) {
26666 {
26667 void *ptr;
26668 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26669 _v = 0;
26670 PyErr_Clear();
26671 } else {
26672 _v = 1;
26673 }
26674 }
26675 if (_v) {
26676 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26677 }
26678 }
26679 }
26680 }
26681
093d3ff1 26682 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
4276dc52
RD
26683 return NULL;
26684}
26685
26686
c32bde28 26687static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26688 PyObject *resultobj;
26689 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26690 PyObject *arg2 = (PyObject *) 0 ;
26691 PyObject *arg3 = (PyObject *) 0 ;
26692 PyObject * obj0 = 0 ;
26693 PyObject * obj1 = 0 ;
26694 PyObject * obj2 = 0 ;
26695 char *kwnames[] = {
26696 (char *) "self",(char *) "self",(char *) "_class", NULL
26697 };
26698
26699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26701 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26702 arg2 = obj1;
26703 arg3 = obj2;
26704 {
26705 PyThreadState* __tstate = wxPyBeginAllowThreads();
26706 (arg1)->_setCallbackInfo(arg2,arg3);
26707
26708 wxPyEndAllowThreads(__tstate);
26709 if (PyErr_Occurred()) SWIG_fail;
26710 }
26711 Py_INCREF(Py_None); resultobj = Py_None;
26712 return resultobj;
26713 fail:
26714 return NULL;
26715}
26716
26717
c32bde28 26718static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26719 PyObject *resultobj;
26720 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26721 int arg2 ;
26722 bool result;
26723 PyObject * obj0 = 0 ;
994141e6 26724 PyObject * obj1 = 0 ;
d14a1e28
RD
26725 char *kwnames[] = {
26726 (char *) "self",(char *) "pageNum", NULL
26727 };
26728
994141e6 26729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26731 if (SWIG_arg_fail(1)) SWIG_fail;
26732 {
26733 arg2 = (int)(SWIG_As_int(obj1));
26734 if (SWIG_arg_fail(2)) SWIG_fail;
26735 }
d14a1e28
RD
26736 {
26737 PyThreadState* __tstate = wxPyBeginAllowThreads();
26738 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26739
26740 wxPyEndAllowThreads(__tstate);
26741 if (PyErr_Occurred()) SWIG_fail;
26742 }
4f89f6a3
RD
26743 {
26744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26745 }
d14a1e28
RD
26746 return resultobj;
26747 fail:
26748 return NULL;
26749}
26750
26751
c32bde28 26752static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26753 PyObject *resultobj;
26754 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26755 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26756 wxDC *arg3 = 0 ;
26757 bool result;
26758 PyObject * obj0 = 0 ;
26759 PyObject * obj1 = 0 ;
26760 PyObject * obj2 = 0 ;
26761 char *kwnames[] = {
26762 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26763 };
26764
26765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26767 if (SWIG_arg_fail(1)) SWIG_fail;
26768 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26769 if (SWIG_arg_fail(2)) SWIG_fail;
26770 {
26771 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26772 if (SWIG_arg_fail(3)) SWIG_fail;
26773 if (arg3 == NULL) {
26774 SWIG_null_ref("wxDC");
26775 }
26776 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26777 }
26778 {
26779 PyThreadState* __tstate = wxPyBeginAllowThreads();
26780 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26781
26782 wxPyEndAllowThreads(__tstate);
26783 if (PyErr_Occurred()) SWIG_fail;
26784 }
4f89f6a3
RD
26785 {
26786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26787 }
d14a1e28
RD
26788 return resultobj;
26789 fail:
26790 return NULL;
26791}
26792
26793
c32bde28 26794static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26795 PyObject *resultobj;
26796 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26797 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26798 wxDC *arg3 = 0 ;
26799 bool result;
26800 PyObject * obj0 = 0 ;
26801 PyObject * obj1 = 0 ;
26802 PyObject * obj2 = 0 ;
26803 char *kwnames[] = {
26804 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26805 };
26806
26807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
26808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26809 if (SWIG_arg_fail(1)) SWIG_fail;
26810 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26811 if (SWIG_arg_fail(2)) SWIG_fail;
26812 {
26813 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26814 if (SWIG_arg_fail(3)) SWIG_fail;
26815 if (arg3 == NULL) {
26816 SWIG_null_ref("wxDC");
26817 }
26818 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
26819 }
26820 {
26821 PyThreadState* __tstate = wxPyBeginAllowThreads();
26822 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26823
26824 wxPyEndAllowThreads(__tstate);
26825 if (PyErr_Occurred()) SWIG_fail;
26826 }
4f89f6a3
RD
26827 {
26828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26829 }
d14a1e28
RD
26830 return resultobj;
26831 fail:
26832 return NULL;
26833}
26834
26835
c32bde28 26836static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26837 PyObject *resultobj;
26838 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26839 int arg2 ;
26840 bool result;
26841 PyObject * obj0 = 0 ;
994141e6 26842 PyObject * obj1 = 0 ;
d14a1e28
RD
26843 char *kwnames[] = {
26844 (char *) "self",(char *) "pageNum", NULL
26845 };
26846
994141e6 26847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26849 if (SWIG_arg_fail(1)) SWIG_fail;
26850 {
26851 arg2 = (int)(SWIG_As_int(obj1));
26852 if (SWIG_arg_fail(2)) SWIG_fail;
26853 }
d14a1e28
RD
26854 {
26855 PyThreadState* __tstate = wxPyBeginAllowThreads();
26856 result = (bool)(arg1)->base_RenderPage(arg2);
26857
26858 wxPyEndAllowThreads(__tstate);
26859 if (PyErr_Occurred()) SWIG_fail;
26860 }
4f89f6a3
RD
26861 {
26862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26863 }
d14a1e28
RD
26864 return resultobj;
26865 fail:
26866 return NULL;
26867}
26868
26869
c32bde28 26870static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26871 PyObject *resultobj;
26872 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26873 int arg2 ;
26874 PyObject * obj0 = 0 ;
994141e6 26875 PyObject * obj1 = 0 ;
d14a1e28
RD
26876 char *kwnames[] = {
26877 (char *) "self",(char *) "percent", NULL
26878 };
26879
994141e6 26880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail;
26883 {
26884 arg2 = (int)(SWIG_As_int(obj1));
26885 if (SWIG_arg_fail(2)) SWIG_fail;
26886 }
d14a1e28
RD
26887 {
26888 PyThreadState* __tstate = wxPyBeginAllowThreads();
26889 (arg1)->base_SetZoom(arg2);
26890
26891 wxPyEndAllowThreads(__tstate);
26892 if (PyErr_Occurred()) SWIG_fail;
26893 }
26894 Py_INCREF(Py_None); resultobj = Py_None;
26895 return resultobj;
26896 fail:
26897 return NULL;
26898}
26899
26900
c32bde28 26901static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26902 PyObject *resultobj;
26903 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26904 bool arg2 ;
26905 bool result;
26906 PyObject * obj0 = 0 ;
26907 PyObject * obj1 = 0 ;
26908 char *kwnames[] = {
26909 (char *) "self",(char *) "interactive", NULL
26910 };
26911
26912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail;
26915 {
26916 arg2 = (bool)(SWIG_As_bool(obj1));
26917 if (SWIG_arg_fail(2)) SWIG_fail;
26918 }
d14a1e28
RD
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
26921 result = (bool)(arg1)->base_Print(arg2);
26922
26923 wxPyEndAllowThreads(__tstate);
26924 if (PyErr_Occurred()) SWIG_fail;
26925 }
4f89f6a3
RD
26926 {
26927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26928 }
d14a1e28
RD
26929 return resultobj;
26930 fail:
26931 return NULL;
26932}
26933
26934
c32bde28 26935static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26936 PyObject *resultobj;
26937 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26938 PyObject * obj0 = 0 ;
26939 char *kwnames[] = {
26940 (char *) "self", NULL
26941 };
26942
26943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
093d3ff1
RD
26944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26945 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
26946 {
26947 PyThreadState* __tstate = wxPyBeginAllowThreads();
26948 (arg1)->base_DetermineScaling();
26949
26950 wxPyEndAllowThreads(__tstate);
26951 if (PyErr_Occurred()) SWIG_fail;
26952 }
26953 Py_INCREF(Py_None); resultobj = Py_None;
26954 return resultobj;
26955 fail:
26956 return NULL;
26957}
26958
26959
c32bde28 26960static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26961 PyObject *obj;
26962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26963 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
26964 Py_INCREF(obj);
26965 return Py_BuildValue((char *)"");
26966}
c32bde28 26967static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26968 PyObject *resultobj;
26969 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26970 wxFrame *arg2 = (wxFrame *) 0 ;
26971 wxString *arg3 = 0 ;
26972 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26973 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26974 wxSize const &arg5_defvalue = wxDefaultSize ;
26975 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26976 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
26977 wxString const &arg7_defvalue = wxPyFrameNameStr ;
26978 wxString *arg7 = (wxString *) &arg7_defvalue ;
26979 wxPyPreviewFrame *result;
ae8162c8 26980 bool temp3 = false ;
d14a1e28
RD
26981 wxPoint temp4 ;
26982 wxSize temp5 ;
ae8162c8 26983 bool temp7 = false ;
d14a1e28
RD
26984 PyObject * obj0 = 0 ;
26985 PyObject * obj1 = 0 ;
26986 PyObject * obj2 = 0 ;
26987 PyObject * obj3 = 0 ;
26988 PyObject * obj4 = 0 ;
994141e6 26989 PyObject * obj5 = 0 ;
d14a1e28
RD
26990 PyObject * obj6 = 0 ;
26991 char *kwnames[] = {
26992 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26993 };
26994
994141e6 26995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
26996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26997 if (SWIG_arg_fail(1)) SWIG_fail;
26998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26999 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27000 {
27001 arg3 = wxString_in_helper(obj2);
27002 if (arg3 == NULL) SWIG_fail;
ae8162c8 27003 temp3 = true;
d14a1e28
RD
27004 }
27005 if (obj3) {
27006 {
27007 arg4 = &temp4;
27008 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27009 }
27010 }
27011 if (obj4) {
27012 {
27013 arg5 = &temp5;
27014 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27015 }
27016 }
994141e6 27017 if (obj5) {
093d3ff1
RD
27018 {
27019 arg6 = (long)(SWIG_As_long(obj5));
27020 if (SWIG_arg_fail(6)) SWIG_fail;
27021 }
994141e6 27022 }
d14a1e28
RD
27023 if (obj6) {
27024 {
27025 arg7 = wxString_in_helper(obj6);
27026 if (arg7 == NULL) SWIG_fail;
ae8162c8 27027 temp7 = true;
d14a1e28
RD
27028 }
27029 }
27030 {
e3b71cb8 27031 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
27032 PyThreadState* __tstate = wxPyBeginAllowThreads();
27033 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27034
27035 wxPyEndAllowThreads(__tstate);
110da5b0 27036 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27037 }
15afbcd0 27038 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
d14a1e28
RD
27039 {
27040 if (temp3)
27041 delete arg3;
27042 }
27043 {
27044 if (temp7)
27045 delete arg7;
27046 }
27047 return resultobj;
27048 fail:
27049 {
27050 if (temp3)
27051 delete arg3;
27052 }
27053 {
27054 if (temp7)
27055 delete arg7;
27056 }
27057 return NULL;
27058}
27059
27060
c32bde28 27061static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27062 PyObject *resultobj;
27063 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27064 PyObject *arg2 = (PyObject *) 0 ;
27065 PyObject *arg3 = (PyObject *) 0 ;
27066 PyObject * obj0 = 0 ;
27067 PyObject * obj1 = 0 ;
27068 PyObject * obj2 = 0 ;
27069 char *kwnames[] = {
27070 (char *) "self",(char *) "self",(char *) "_class", NULL
27071 };
27072
27073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27075 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27076 arg2 = obj1;
27077 arg3 = obj2;
27078 {
27079 PyThreadState* __tstate = wxPyBeginAllowThreads();
27080 (arg1)->_setCallbackInfo(arg2,arg3);
27081
27082 wxPyEndAllowThreads(__tstate);
27083 if (PyErr_Occurred()) SWIG_fail;
27084 }
27085 Py_INCREF(Py_None); resultobj = Py_None;
27086 return resultobj;
27087 fail:
27088 return NULL;
27089}
27090
27091
c32bde28 27092static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27093 PyObject *resultobj;
27094 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27095 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
27096 PyObject * obj0 = 0 ;
27097 PyObject * obj1 = 0 ;
27098 char *kwnames[] = {
27099 (char *) "self",(char *) "canvas", NULL
27100 };
27101
27102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27104 if (SWIG_arg_fail(1)) SWIG_fail;
27105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
27106 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27107 {
27108 PyThreadState* __tstate = wxPyBeginAllowThreads();
27109 (arg1)->SetPreviewCanvas(arg2);
27110
27111 wxPyEndAllowThreads(__tstate);
27112 if (PyErr_Occurred()) SWIG_fail;
27113 }
27114 Py_INCREF(Py_None); resultobj = Py_None;
27115 return resultobj;
27116 fail:
27117 return NULL;
27118}
27119
27120
c32bde28 27121static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27122 PyObject *resultobj;
27123 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27124 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27125 PyObject * obj0 = 0 ;
27126 PyObject * obj1 = 0 ;
27127 char *kwnames[] = {
27128 (char *) "self",(char *) "bar", NULL
27129 };
27130
27131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27133 if (SWIG_arg_fail(1)) SWIG_fail;
27134 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27135 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27136 {
27137 PyThreadState* __tstate = wxPyBeginAllowThreads();
27138 (arg1)->SetControlBar(arg2);
27139
27140 wxPyEndAllowThreads(__tstate);
27141 if (PyErr_Occurred()) SWIG_fail;
27142 }
27143 Py_INCREF(Py_None); resultobj = Py_None;
27144 return resultobj;
27145 fail:
27146 return NULL;
27147}
27148
27149
c32bde28 27150static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27151 PyObject *resultobj;
27152 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27153 PyObject * obj0 = 0 ;
27154 char *kwnames[] = {
27155 (char *) "self", NULL
27156 };
27157
27158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
093d3ff1
RD
27159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27160 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27161 {
27162 PyThreadState* __tstate = wxPyBeginAllowThreads();
27163 (arg1)->base_Initialize();
27164
27165 wxPyEndAllowThreads(__tstate);
27166 if (PyErr_Occurred()) SWIG_fail;
27167 }
27168 Py_INCREF(Py_None); resultobj = Py_None;
27169 return resultobj;
27170 fail:
27171 return NULL;
27172}
27173
27174
c32bde28 27175static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27176 PyObject *resultobj;
27177 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27178 PyObject * obj0 = 0 ;
27179 char *kwnames[] = {
27180 (char *) "self", NULL
27181 };
27182
27183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
093d3ff1
RD
27184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27185 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27186 {
27187 PyThreadState* __tstate = wxPyBeginAllowThreads();
27188 (arg1)->base_CreateCanvas();
27189
27190 wxPyEndAllowThreads(__tstate);
27191 if (PyErr_Occurred()) SWIG_fail;
27192 }
27193 Py_INCREF(Py_None); resultobj = Py_None;
27194 return resultobj;
27195 fail:
27196 return NULL;
27197}
27198
27199
c32bde28 27200static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27201 PyObject *resultobj;
27202 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27203 PyObject * obj0 = 0 ;
27204 char *kwnames[] = {
27205 (char *) "self", NULL
27206 };
27207
27208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
093d3ff1
RD
27209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27210 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27211 {
27212 PyThreadState* __tstate = wxPyBeginAllowThreads();
27213 (arg1)->base_CreateControlBar();
27214
27215 wxPyEndAllowThreads(__tstate);
27216 if (PyErr_Occurred()) SWIG_fail;
27217 }
27218 Py_INCREF(Py_None); resultobj = Py_None;
27219 return resultobj;
27220 fail:
27221 return NULL;
27222}
27223
27224
c32bde28 27225static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27226 PyObject *obj;
27227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27228 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27229 Py_INCREF(obj);
27230 return Py_BuildValue((char *)"");
27231}
c32bde28 27232static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27233 PyObject *resultobj;
27234 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27235 long arg2 ;
27236 wxWindow *arg3 = (wxWindow *) 0 ;
27237 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27238 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27239 wxSize const &arg5_defvalue = wxDefaultSize ;
27240 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27241 long arg6 = (long) 0 ;
27242 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27243 wxString *arg7 = (wxString *) &arg7_defvalue ;
27244 wxPyPreviewControlBar *result;
27245 wxPoint temp4 ;
27246 wxSize temp5 ;
ae8162c8 27247 bool temp7 = false ;
d14a1e28 27248 PyObject * obj0 = 0 ;
994141e6 27249 PyObject * obj1 = 0 ;
d14a1e28
RD
27250 PyObject * obj2 = 0 ;
27251 PyObject * obj3 = 0 ;
27252 PyObject * obj4 = 0 ;
994141e6 27253 PyObject * obj5 = 0 ;
d14a1e28
RD
27254 PyObject * obj6 = 0 ;
27255 char *kwnames[] = {
27256 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27257 };
27258
994141e6 27259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
27260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27261 if (SWIG_arg_fail(1)) SWIG_fail;
27262 {
27263 arg2 = (long)(SWIG_As_long(obj1));
27264 if (SWIG_arg_fail(2)) SWIG_fail;
27265 }
27266 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27267 if (SWIG_arg_fail(3)) SWIG_fail;
d14a1e28
RD
27268 if (obj3) {
27269 {
27270 arg4 = &temp4;
27271 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27272 }
27273 }
27274 if (obj4) {
27275 {
27276 arg5 = &temp5;
27277 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27278 }
27279 }
994141e6 27280 if (obj5) {
093d3ff1
RD
27281 {
27282 arg6 = (long)(SWIG_As_long(obj5));
27283 if (SWIG_arg_fail(6)) SWIG_fail;
27284 }
994141e6 27285 }
d14a1e28
RD
27286 if (obj6) {
27287 {
27288 arg7 = wxString_in_helper(obj6);
27289 if (arg7 == NULL) SWIG_fail;
ae8162c8 27290 temp7 = true;
d14a1e28
RD
27291 }
27292 }
27293 {
e3b71cb8 27294 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
27295 PyThreadState* __tstate = wxPyBeginAllowThreads();
27296 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27297
27298 wxPyEndAllowThreads(__tstate);
110da5b0 27299 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27300 }
15afbcd0 27301 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
d14a1e28
RD
27302 {
27303 if (temp7)
27304 delete arg7;
27305 }
27306 return resultobj;
27307 fail:
27308 {
27309 if (temp7)
27310 delete arg7;
27311 }
27312 return NULL;
27313}
27314
27315
c32bde28 27316static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27317 PyObject *resultobj;
27318 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27319 PyObject *arg2 = (PyObject *) 0 ;
27320 PyObject *arg3 = (PyObject *) 0 ;
27321 PyObject * obj0 = 0 ;
27322 PyObject * obj1 = 0 ;
27323 PyObject * obj2 = 0 ;
27324 char *kwnames[] = {
27325 (char *) "self",(char *) "self",(char *) "_class", NULL
27326 };
27327
27328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
27329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27330 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27331 arg2 = obj1;
27332 arg3 = obj2;
27333 {
27334 PyThreadState* __tstate = wxPyBeginAllowThreads();
27335 (arg1)->_setCallbackInfo(arg2,arg3);
27336
27337 wxPyEndAllowThreads(__tstate);
27338 if (PyErr_Occurred()) SWIG_fail;
27339 }
27340 Py_INCREF(Py_None); resultobj = Py_None;
27341 return resultobj;
27342 fail:
27343 return NULL;
27344}
27345
27346
c32bde28 27347static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27348 PyObject *resultobj;
27349 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27350 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27351 PyObject * obj0 = 0 ;
27352 PyObject * obj1 = 0 ;
27353 char *kwnames[] = {
27354 (char *) "self",(char *) "preview", NULL
27355 };
27356
27357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27359 if (SWIG_arg_fail(1)) SWIG_fail;
27360 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27361 if (SWIG_arg_fail(2)) SWIG_fail;
d14a1e28
RD
27362 {
27363 PyThreadState* __tstate = wxPyBeginAllowThreads();
27364 (arg1)->SetPrintPreview(arg2);
27365
27366 wxPyEndAllowThreads(__tstate);
27367 if (PyErr_Occurred()) SWIG_fail;
27368 }
27369 Py_INCREF(Py_None); resultobj = Py_None;
27370 return resultobj;
27371 fail:
27372 return NULL;
27373}
27374
27375
c32bde28 27376static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27377 PyObject *resultobj;
27378 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27379 PyObject * obj0 = 0 ;
27380 char *kwnames[] = {
27381 (char *) "self", NULL
27382 };
27383
27384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
27385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27386 if (SWIG_arg_fail(1)) SWIG_fail;
d14a1e28
RD
27387 {
27388 PyThreadState* __tstate = wxPyBeginAllowThreads();
27389 (arg1)->base_CreateButtons();
27390
27391 wxPyEndAllowThreads(__tstate);
27392 if (PyErr_Occurred()) SWIG_fail;
27393 }
27394 Py_INCREF(Py_None); resultobj = Py_None;
27395 return resultobj;
27396 fail:
27397 return NULL;
27398}
27399
27400
c32bde28 27401static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27402 PyObject *resultobj;
27403 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27404 int arg2 ;
27405 PyObject * obj0 = 0 ;
994141e6 27406 PyObject * obj1 = 0 ;
d14a1e28
RD
27407 char *kwnames[] = {
27408 (char *) "self",(char *) "zoom", NULL
27409 };
27410
994141e6 27411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27413 if (SWIG_arg_fail(1)) SWIG_fail;
27414 {
27415 arg2 = (int)(SWIG_As_int(obj1));
27416 if (SWIG_arg_fail(2)) SWIG_fail;
27417 }
d14a1e28
RD
27418 {
27419 PyThreadState* __tstate = wxPyBeginAllowThreads();
27420 (arg1)->base_SetZoomControl(arg2);
27421
27422 wxPyEndAllowThreads(__tstate);
27423 if (PyErr_Occurred()) SWIG_fail;
27424 }
27425 Py_INCREF(Py_None); resultobj = Py_None;
27426 return resultobj;
27427 fail:
27428 return NULL;
27429}
27430
27431
c32bde28 27432static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27433 PyObject *obj;
27434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27435 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27436 Py_INCREF(obj);
27437 return Py_BuildValue((char *)"");
27438}
d3b6e4ff 27439static PyMethodDef SwigMethods[] = {
093d3ff1
RD
27440 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27441 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27442 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27443 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27444 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27445 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27446 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27447 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27448 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27449 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27450 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27451 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27452 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27453 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27454 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27455 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27456 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27457 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27458 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27459 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27460 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27461 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27462 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27463 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27464 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27465 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27466 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27467 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27468 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27469 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27470 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27471 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27472 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27473 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27474 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27475 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27476 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27477 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27478 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27479 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27480 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27481 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27482 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27483 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27484 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27485 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27486 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27487 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27488 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27489 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27490 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27491 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27492 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27493 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27494 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27495 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27496 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27497 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27498 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27499 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27500 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27501 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27502 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27503 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27504 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27505 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27506 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27507 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27508 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27509 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27510 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27511 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27512 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27513 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27514 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27515 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27516 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27517 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27518 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27519 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
e505d15e 27520 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
27521 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27522 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27523 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27524 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27525 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27526 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27527 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27528 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27529 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27530 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27531 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27532 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27533 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27534 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27535 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27536 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27537 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27538 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27539 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27540 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27541 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27542 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27543 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27544 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27545 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27546 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27547 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27548 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27549 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27550 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27551 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27552 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27553 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27554 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27555 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27556 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27557 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27558 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27559 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27560 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27561 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27563 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27564 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27565 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27566 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27567 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27568 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27569 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27570 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27571 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27572 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27573 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27576 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27577 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27578 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27579 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27584 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27585 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27586 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27592 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27593 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27594 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27595 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27597 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27598 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27601 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27606 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27610 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27615 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27616 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27617 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27620 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27624 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27626 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27629 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27636 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27642 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27651 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27654 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27657 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27658 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27660 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27662 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27663 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS, NULL},
27667 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27668 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27669 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27672 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27685 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27688 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27690 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27694 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27703 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27712 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27716 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27718 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27724 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27730 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27733 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27735 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27737 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27741 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27744 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27747 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27754 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27767 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27772 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27776 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27781 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27785 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27787 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27793 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27803 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27806 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27808 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27812 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27819 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27820 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27821 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27830 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27836 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27848 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27855 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27859 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27865 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27866 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
27885 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27897 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27902 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27903 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
27911 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27936 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
27937 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
27938 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27942 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27953 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
27976 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27978 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
27983 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
27984 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27994 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27995 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
28015 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28018 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28019 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
28020 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
28021 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28028 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28036 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28042 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28043 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28044 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28045 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28046 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
28047 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
28048 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
28049 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
28050 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28051 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28052 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28053 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
28054 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28055 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
28056 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28057 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
28058 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
28059 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
28060 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28061 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
28062 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
28063 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
28064 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
28065 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28066 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
28067 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28068 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
28069 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
28070 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
28071 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
28072 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28073 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
28074 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28075 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
28076 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28077 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
28078 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28079 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
28080 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28081 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
28082 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28083 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
28084 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28085 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28086 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28087 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
28088 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28089 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28090 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28091 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
28092 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28093 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
28094 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28095 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
28096 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28097 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28098 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28099 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28100 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28101 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
28102 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28103 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28104 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28105 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28106 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
28107 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
28108 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
28109 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
28110 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
28111 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
28112 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
28113 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28114 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28115 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28116 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
28117 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28118 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28119 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28120 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28121 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28122 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28123 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28124 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28125 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28126 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28127 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28128 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28129 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28130 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28131 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28132 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28133 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28134 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28135 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28136 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28137 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28138 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28139 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28140 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28141 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28142 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28143 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28144 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28145 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28146 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28147 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28148 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28149 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28150 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28151 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28152 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28153 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28154 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28155 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28156 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28157 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28158 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28159 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
c32bde28 28160 { NULL, NULL, 0, NULL }
d14a1e28
RD
28161};
28162
28163
28164/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28165
28166static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28167 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28168}
28169static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28170 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28171}
28172static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28173 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28174}
28175static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28176 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28177}
28178static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28179 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28180}
28181static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28182 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28183}
28184static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28185 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28186}
28187static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28188 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28189}
28190static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28191 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28192}
28193static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28194 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28195}
28196static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28197 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28198}
28199static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28200 return (void *)((wxEvent *) ((wxPyEvent *) x));
28201}
28202static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28203 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28204}
28205static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28206 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28207}
28208static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28209 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28210}
28211static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28212 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28213}
28214static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28215 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28216}
28217static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28218 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28219}
28220static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28221 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28222}
28223static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28224 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28225}
28226static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28227 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28228}
28229static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28230 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28231}
28232static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28233 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28234}
28235static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28236 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28237}
28238static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28239 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28240}
28241static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28242 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28243}
28244static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28245 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28246}
28247static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28248 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28249}
28250static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28251 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28252}
28253static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28254 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28255}
28256static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28257 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28258}
28259static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28260 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28261}
28262static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28263 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28264}
28265static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28266 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28267}
28268static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28269 return (void *)((wxEvent *) ((wxShowEvent *) x));
28270}
28271static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28272 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28273}
28274static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28275 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28276}
28277static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28278 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28279}
28280static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28281 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28282}
28283static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28284 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28285}
28286static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28287 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28288}
28289static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28290 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28291}
28292static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28293 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28294}
d3b6e4ff
RD
28295static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28296 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28297}
d14a1e28
RD
28298static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28299 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28300}
28301static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28302 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28303}
28304static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28305 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28306}
28307static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28308 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28309}
28310static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28311 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28312}
28313static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28314 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28315}
28316static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28317 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28318}
d3b6e4ff
RD
28319static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28320 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28321}
d14a1e28
RD
28322static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28323 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28324}
28325static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28326 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28327}
28328static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28329 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28330}
28331static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28332 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28333}
28334static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28335 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28336}
28337static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28338 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28339}
28340static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28341 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28342}
28343static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28344 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28345}
28346static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28347 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28348}
28349static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28350 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28351}
28352static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28353 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28354}
28355static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28356 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28357}
28358static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28359 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28360}
28361static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28362 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28363}
28364static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28365 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28366}
28367static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28368 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28369}
28370static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28371 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28372}
28373static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28374 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28375}
28376static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28377 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28378}
28379static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28380 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28381}
28382static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28383 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28384}
1cb4a8aa
RD
28385static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28386 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28387}
d14a1e28
RD
28388static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28389 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28390}
28391static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28392 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28393}
28394static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28395 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28396}
28397static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28398 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28399}
28400static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28401 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28402}
28403static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28404 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28405}
28406static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28407 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28408}
28409static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28410 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28411}
28412static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28413 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28414}
28415static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28416 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28417}
28418static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28419 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28420}
28421static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28422 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28423}
5e483524
RD
28424static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28425 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
28426}
28427static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28428 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28429}
d14a1e28
RD
28430static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28431 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28432}
28433static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28434 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28435}
28436static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28437 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28438}
d3b6e4ff
RD
28439static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28440 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28441}
d14a1e28
RD
28442static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28443 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28444}
28445static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28446 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28447}
28448static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28449 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28450}
28451static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28452 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28453}
28454static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28455 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28456}
28457static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28458 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28459}
28460static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28461 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28462}
28463static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28464 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28465}
28466static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28467 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28468}
28469static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28470 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28471}
28472static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28473 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28474}
28475static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28476 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28477}
28478static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28480}
28481static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28482 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28483}
28484static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28485 return (void *)((wxObject *) ((wxSizerItem *) x));
28486}
28487static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28488 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28489}
28490static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28491 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28492}
28493static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28494 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28495}
28496static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28497 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28498}
28499static void *_p_wxSizerTo_p_wxObject(void *x) {
28500 return (void *)((wxObject *) ((wxSizer *) x));
28501}
28502static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28503 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28504}
28505static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28506 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28507}
28508static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28510}
28511static void *_p_wxEventTo_p_wxObject(void *x) {
28512 return (void *)((wxObject *) ((wxEvent *) x));
28513}
28514static void *_p_wxFontDataTo_p_wxObject(void *x) {
28515 return (void *)((wxObject *) ((wxFontData *) x));
28516}
28517static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28518 return (void *)((wxObject *) ((wxPrintData *) x));
28519}
28520static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28521 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28522}
28523static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28524 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28525}
28526static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28527 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28528}
28529static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28530 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28531}
5e483524
RD
28532static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28533 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
28534}
28535static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28536 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28537}
28538static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28539 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28540}
28541static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28542 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28543}
28544static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28545 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28546}
28547static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28548 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28549}
28550static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28551 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28552}
28553static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28554 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28555}
28556static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28558}
28559static void *_p_wxControlTo_p_wxObject(void *x) {
28560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28561}
28562static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28563 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28564}
28565static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28566 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28567}
28568static void *_p_wxFSFileTo_p_wxObject(void *x) {
28569 return (void *)((wxObject *) ((wxFSFile *) x));
28570}
28571static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28572 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28573}
28574static void *_p_wxPySizerTo_p_wxObject(void *x) {
28575 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28576}
28577static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28579}
28580static void *_p_wxColourDataTo_p_wxObject(void *x) {
28581 return (void *)((wxObject *) ((wxColourData *) x));
28582}
28583static void *_p_wxPyEventTo_p_wxObject(void *x) {
28584 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28585}
28586static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28587 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28588}
28589static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28591}
28592static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28594}
28595static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28597}
28598static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28599 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28600}
28601static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28603}
28604static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28606}
d3b6e4ff
RD
28607static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28609}
d14a1e28
RD
28610static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28612}
28613static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28615}
28616static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28618}
28619static void *_p_wxShowEventTo_p_wxObject(void *x) {
28620 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28621}
28622static void *_p_wxPrinterTo_p_wxObject(void *x) {
28623 return (void *)((wxObject *) ((wxPrinter *) x));
28624}
28625static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28626 return (void *)((wxObject *) ((wxMenuItem *) x));
28627}
28628static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28629 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28630}
28631static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28632 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28633}
28634static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28635 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28636}
28637static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28638 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28639}
28640static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28641 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28642}
28643static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28644 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28645}
28646static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28647 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28648}
28649static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28650 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28651}
28652static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28653 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28654}
28655static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28656 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28657}
28658static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28659 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28660}
28661static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28662 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28663}
28664static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28665 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28666}
28667static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28668 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28669}
28670static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28671 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28672}
28673static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28674 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28675}
28676static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28677 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28678}
28679static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28680 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28681}
28682static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28683 return (void *)((wxObject *) ((wxImageHandler *) x));
28684}
28685static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28686 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28687}
28688static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28689 return (void *)((wxObject *) ((wxEvtHandler *) x));
28690}
28691static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28692 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28693}
28694static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28695 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28696}
28697static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28699}
e505d15e
RD
28700static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28701 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28702}
d14a1e28
RD
28703static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28704 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28705}
28706static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28708}
28709static void *_p_wxImageTo_p_wxObject(void *x) {
28710 return (void *)((wxObject *) ((wxImage *) x));
28711}
28712static void *_p_wxFrameTo_p_wxObject(void *x) {
28713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28714}
28715static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28716 return (void *)((wxObject *) ((wxPyPrintout *) x));
28717}
28718static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28719 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28720}
28721static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28722 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28723}
28724static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28726}
28727static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28729}
28730static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28731 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28732}
28733static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28734 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28735}
28736static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28737 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28738}
d14a1e28
RD
28739static void *_p_wxWindowTo_p_wxObject(void *x) {
28740 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28741}
28742static void *_p_wxMenuTo_p_wxObject(void *x) {
28743 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28744}
28745static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28746 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28747}
1e0c8722
RD
28748static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28750}
d14a1e28
RD
28751static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28753}
28754static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28756}
28757static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28759}
28760static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28762}
28763static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28765}
28766static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28768}
28769static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28771}
28772static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28774}
28775static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28777}
28778static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28780}
1cb4a8aa
RD
28781static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28783}
d14a1e28
RD
28784static void *_p_wxSashEventTo_p_wxObject(void *x) {
28785 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28786}
28787static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28788 return (void *)((wxObject *) ((wxPrintPreview *) x));
28789}
28790static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28791 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28792}
28793static void *_p_wxPanelTo_p_wxObject(void *x) {
28794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28795}
28796static void *_p_wxDialogTo_p_wxObject(void *x) {
28797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28798}
28799static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28801}
28802static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28804}
28805static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28807}
28808static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 28809 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
28810}
28811static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
a68b8331 28812 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
28813}
28814static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28815 return (void *)((wxObject *) ((wxFileSystem *) x));
28816}
28817static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28818 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28819}
28820static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28821 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28822}
28823static void *_p_wxPyAppTo_p_wxObject(void *x) {
28824 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28825}
28826static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28827 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28828}
28829static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28830 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28831}
28832static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28833 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28834}
28835static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28836 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28837}
28838static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28839 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28840}
28841static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28843}
28844static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28846}
28847static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28848 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28849}
28850static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28851 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28852}
28853static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28854 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28855}
28856static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28858}
28859static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28860 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28861}
28862static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28863 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28864}
28865static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28866 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28867}
28868static void *_p_wxValidatorTo_p_wxObject(void *x) {
28869 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28870}
28871static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28872 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28873}
28874static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28875 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28876}
28877static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
28878 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28879}
28880static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
28881 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28882}
28883static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
28884 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28885}
28886static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
28887 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
28888}
28889static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
28890 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
28891}
28892static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
28893 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
28894}
28895static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
28896 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
28897}
28898static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
28899 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
28900}
28901static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
28902 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
28903}
28904static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
28905 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
28906}
d14a1e28
RD
28907static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
28908 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
28909}
28910static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
28911 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
28912}
28913static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
28914 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
28915}
d14a1e28
RD
28916static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
28917 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
28918}
28919static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
28920 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
28921}
d3b6e4ff
RD
28922static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
28923 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28924}
d14a1e28
RD
28925static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
28926 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
28927}
28928static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28929 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
28930}
28931static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28932 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
28933}
28934static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
28935 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
28936}
d3b6e4ff
RD
28937static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
28938 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
28939}
d14a1e28
RD
28940static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28941 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
28942}
28943static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28944 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28945}
28946static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
28947 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28948}
28949static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
28950 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28951}
28952static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
28953 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
28954}
28955static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28956 return (void *)((wxWindow *) ((wxMenuBar *) x));
28957}
28958static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
28959 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28960}
28961static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
28962 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28963}
28964static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
28965 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28966}
d3b6e4ff
RD
28967static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
28968 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28969}
d14a1e28
RD
28970static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
28971 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28972}
28973static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
28974 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28975}
28976static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
28977 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28978}
28979static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
28980 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28981}
28982static void *_p_wxPanelTo_p_wxWindow(void *x) {
28983 return (void *)((wxWindow *) ((wxPanel *) x));
28984}
28985static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
28986 return (void *)((wxWindow *) ((wxStatusBar *) x));
28987}
d14a1e28
RD
28988static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
28989 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
28990}
28991static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
28992 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
28993}
28994static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
28995 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28996}
28997static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
28998 return (void *)((wxWindow *) ((wxPopupWindow *) x));
28999}
29000static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
29001 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
29002}
29003static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
29004 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
29005}
29006static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
29007 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
29008}
29009static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
29010 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
29011}
29012static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
29013 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
29014}
29015static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
29016 return (void *)((wxWindow *) ((wxSashWindow *) x));
29017}
d3b6e4ff
RD
29018static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
29019 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
29020}
1cb4a8aa
RD
29021static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
29022 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29023}
d14a1e28
RD
29024static void *_p_wxControlTo_p_wxWindow(void *x) {
29025 return (void *)((wxWindow *) ((wxControl *) x));
29026}
29027static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
29028 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
29029}
29030static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
29031 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
29032}
29033static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
29034 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
29035}
29036static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
29037 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
29038}
29039static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
29040 return (void *)((wxWindow *) ((wxPyWindow *) x));
29041}
29042static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
29043 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
29044}
29045static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
29046 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29047}
29048static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
29049 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29050}
29051static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
29052 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
29053}
29054static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
29055 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29056}
29057static void *_p_wxFrameTo_p_wxWindow(void *x) {
29058 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
29059}
29060static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
29061 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
29062}
29063static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
29064 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
29065}
29066static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
29067 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
29068}
29069static void *_p_wxDialogTo_p_wxWindow(void *x) {
29070 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
29071}
d14a1e28
RD
29072static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
29073 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
29074}
1cb4a8aa
RD
29075static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
29076 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29077}
d14a1e28
RD
29078static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
29079 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
29080}
29081static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
29082 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
29083}
29084static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
29085 return (void *)((wxDialog *) ((wxColourDialog *) x));
29086}
29087static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
29088 return (void *)((wxDialog *) ((wxDirDialog *) x));
29089}
29090static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
29091 return (void *)((wxDialog *) ((wxFontDialog *) x));
29092}
d14a1e28
RD
29093static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
29094 return (void *)((wxDialog *) ((wxFileDialog *) x));
29095}
29096static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
29097 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
29098}
29099static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
29100 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
29101}
29102static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
29103 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
29104}
d3b6e4ff
RD
29105static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
29106 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
29107}
d14a1e28
RD
29108static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
29109 return (void *)((wxDialog *) ((wxMessageDialog *) x));
29110}
29111static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
29112 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
29113}
29114static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
29115 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
29116}
29117static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29118 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29119}
1cb4a8aa
RD
29120static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29121 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29122}
d14a1e28
RD
29123static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29124 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29125}
29126static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29127 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29128}
29129static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29130 return (void *)((wxPanel *) ((wxPyPanel *) x));
29131}
29132static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29133 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29134}
29135static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29136 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29137}
29138static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29139 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29140}
29141static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29142 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29143}
29144static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29145 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29146}
29147static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29148 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29149}
29150static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29151 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29152}
29153static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29154 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29155}
29156static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29157 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29158}
29159static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29160 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29161}
29162static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29163 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29164}
29165static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29166 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29167}
29168static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29169 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29170}
29171static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29172 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29173}
29174static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29175 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29176}
15afbcd0
RD
29177static 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}};
29178static 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}};
29179static 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}};
29180static 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}};
29181static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
29182static 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}};
29183static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f5b96ee1 29184static 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 29185static 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 29186static 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
29187static 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}};
29188static 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}};
29189static 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}};
29190static 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}};
29191static 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}};
29192static 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}};
29193static 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
29194static 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}};
29195static 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
29196static 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}};
29197static 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}};
29198static 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}};
29199static 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}};
29200static 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 29201static 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
29202static 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}};
29203static 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}};
29204static 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}};
29205static 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 29206static 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 29207static 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 29208static 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
29209static 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}};
29210static 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}};
29211static 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 29212static 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
29213static 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}};
29214static 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}};
29215static 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
29216static 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}};
29217static 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 29218static 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 29219static 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
29220static 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}};
29221static 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}};
29222static 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}};
29223static 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 29224static 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
29225static 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}};
29226static 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}};
29227static 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}};
29228static 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}};
29229static 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}};
29230static 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 29231static 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
29232static 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}};
29233static 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}};
29234static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
e505d15e 29235static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
093d3ff1 29236static 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
29237static 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}};
29238static 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}};
29239static 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 29240static 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
29241static 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}};
29242static 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}};
29243static 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}};
29244static 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
29245static 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}};
29246static 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 29247static 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 29248static 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 29249static 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 29250static 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
29251static 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}};
29252static 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}};
29253static 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}};
29254static 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
29255static 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}};
29256static 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 29257static 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 29258static 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 29259static 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
29260static 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}};
29261static 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 29262static 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 29263static 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
29264static 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}};
29265static 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}};
29266static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15afbcd0
RD
29267static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29268static 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}};
29269static 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}};
29270static 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}};
29271static 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}};
29272static 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}};
29273static 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
29274
29275static swig_type_info *swig_types_initial[] = {
29276_swigt__p_wxQueryLayoutInfoEvent,
29277_swigt__p_wxPreviewFrame,
29278_swigt__p_wxPyPreviewFrame,
d14a1e28
RD
29279_swigt__p_wxPyPanel,
29280_swigt__p_wxMenu,
d14a1e28
RD
29281_swigt__p_wxFontData,
29282_swigt__p_wxEvent,
f5b96ee1 29283_swigt__p_wxPrintData,
d14a1e28 29284_swigt__p_wxTaskBarIcon,
5e483524 29285_swigt__p_wxPyTaskBarIcon,
d14a1e28
RD
29286_swigt__p_wxIconBundle,
29287_swigt__p_wxLayoutAlgorithm,
29288_swigt__p_wxFindDialogEvent,
29289_swigt__p_wxPreviewCanvas,
29290_swigt__p_wxFont,
29291_swigt__p_wxSplitterEvent,
29292_swigt__p_wxRegion,
093d3ff1
RD
29293_swigt__ptrdiff_t,
29294_swigt__std__ptrdiff_t,
d14a1e28
RD
29295_swigt__p_wxFindReplaceData,
29296_swigt__p_int,
29297_swigt__p_wxSize,
29298_swigt__p_wxDC,
29299_swigt__p_wxIcon,
22bfe96c 29300_swigt__p_wxVisualAttributes,
d14a1e28
RD
29301_swigt__p_wxMDIChildFrame,
29302_swigt__p_wxColourData,
29303_swigt__p_wxNotifyEvent,
29304_swigt__p_wxPyWindow,
093d3ff1 29305_swigt__p_form_ops_t,
d14a1e28 29306_swigt__p_wxSplashScreen,
d3b6e4ff 29307_swigt__p_wxPasswordEntryDialog,
d14a1e28
RD
29308_swigt__p_wxSingleChoiceDialog,
29309_swigt__p_wxMultiChoiceDialog,
29310_swigt__p_wxFileDialog,
d3b6e4ff 29311_swigt__p_wxTextEntryDialog,
093d3ff1
RD
29312_swigt__p_wxMessageDialog,
29313_swigt__p_wxProgressDialog,
29314_swigt__p_wxFindReplaceDialog,
d14a1e28 29315_swigt__p_wxPrinter,
d14a1e28 29316_swigt__p_wxArrayInt,
093d3ff1 29317_swigt__p_wxDuplexMode,
d14a1e28
RD
29318_swigt__p_wxEvtHandler,
29319_swigt__p_wxCalculateLayoutEvent,
29320_swigt__p_wxPyHtmlListBox,
29321_swigt__p_wxPyVListBox,
29322_swigt__p_wxRect,
e505d15e 29323_swigt__p_wxStdDialogButtonSizer,
994141e6 29324_swigt__p_char,
d14a1e28
RD
29325_swigt__p_wxMiniFrame,
29326_swigt__p_wxFrame,
29327_swigt__p_wxPyPrintout,
29328_swigt__p_wxTaskBarIconEvent,
29329_swigt__p_wxScrollWinEvent,
093d3ff1 29330_swigt__p_wxPaperSize,
d14a1e28
RD
29331_swigt__p_wxStatusBar,
29332_swigt__p_wxMDIParentFrame,
29333_swigt__p_wxPoint,
29334_swigt__p_wxObject,
093d3ff1 29335_swigt__p_unsigned_long,
d14a1e28
RD
29336_swigt__p_wxTipWindow,
29337_swigt__p_wxSashLayoutWindow,
29338_swigt__p_wxSplitterWindow,
f5b96ee1 29339_swigt__p_wxSplashScreenWindow,
d14a1e28
RD
29340_swigt__p_wxPyVScrolledWindow,
29341_swigt__p_wxPyPopupTransientWindow,
29342_swigt__p_wxPopupWindow,
29343_swigt__p_wxSashWindow,
29344_swigt__p_wxTopLevelWindow,
29345_swigt__p_wxWindow,
29346_swigt__p_wxScrolledWindow,
29347_swigt__p_wxMenuBar,
093d3ff1 29348_swigt__p_wxMDIClientWindow,
5e483524 29349_swigt__p_wxPyScrolledWindow,
d14a1e28
RD
29350_swigt__p_wxPrintPreview,
29351_swigt__p_wxSashEvent,
29352_swigt__p_wxString,
29353_swigt__p_wxPyPrintPreview,
d14a1e28
RD
29354_swigt__p_wxDirDialog,
29355_swigt__p_wxColourDialog,
29356_swigt__p_wxDialog,
29357_swigt__p_wxPanel,
093d3ff1 29358_swigt__p_wxFontDialog,
db914595 29359_swigt__p_wxPageSetupDialog,
d14a1e28 29360_swigt__p_wxPrintDialog,
7fdaaabe 29361_swigt__p_wxFileSystem,
d14a1e28 29362_swigt__p_wxBitmap,
093d3ff1
RD
29363_swigt__unsigned_int,
29364_swigt__p_unsigned_int,
29365_swigt__p_unsigned_char,
d14a1e28 29366_swigt__p_wxCommandEvent,
d14a1e28
RD
29367_swigt__p_wxPreviewControlBar,
29368_swigt__p_wxPyPreviewControlBar,
29369_swigt__p_wxColour,
29370_swigt__p_wxToolBar,
b2dc1044 29371_swigt__p_wxPageSetupDialogData,
994141e6 29372_swigt__p_wxPrintDialogData,
d14a1e28
RD
293730
29374};
29375
29376
29377/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29378
29379static swig_const_info swig_const_table[] = {
c32bde28 29380{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
29381
29382#ifdef __cplusplus
29383}
29384#endif
29385
093d3ff1
RD
29386
29387#ifdef __cplusplus
29388extern "C" {
29389#endif
29390
29391 /* Python-specific SWIG API */
29392#define SWIG_newvarlink() SWIG_Python_newvarlink()
29393#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29394#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29395
29396 /* -----------------------------------------------------------------------------
29397 * global variable support code.
29398 * ----------------------------------------------------------------------------- */
29399
29400 typedef struct swig_globalvar {
29401 char *name; /* Name of global variable */
29402 PyObject *(*get_attr)(); /* Return the current value */
29403 int (*set_attr)(PyObject *); /* Set the value */
29404 struct swig_globalvar *next;
29405 } swig_globalvar;
29406
29407 typedef struct swig_varlinkobject {
29408 PyObject_HEAD
29409 swig_globalvar *vars;
29410 } swig_varlinkobject;
29411
29412 static PyObject *
29413 swig_varlink_repr(swig_varlinkobject *v) {
29414 v = v;
29415 return PyString_FromString("<Swig global variables>");
29416 }
29417
29418 static int
29419 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29420 swig_globalvar *var;
29421 flags = flags;
29422 fprintf(fp,"Swig global variables { ");
29423 for (var = v->vars; var; var=var->next) {
29424 fprintf(fp,"%s", var->name);
29425 if (var->next) fprintf(fp,", ");
29426 }
29427 fprintf(fp," }\n");
29428 return 0;
29429 }
29430
29431 static PyObject *
29432 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29433 swig_globalvar *var = v->vars;
29434 while (var) {
29435 if (strcmp(var->name,n) == 0) {
29436 return (*var->get_attr)();
29437 }
29438 var = var->next;
29439 }
29440 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29441 return NULL;
29442 }
29443
29444 static int
29445 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29446 swig_globalvar *var = v->vars;
29447 while (var) {
29448 if (strcmp(var->name,n) == 0) {
29449 return (*var->set_attr)(p);
29450 }
29451 var = var->next;
29452 }
29453 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29454 return 1;
29455 }
29456
29457 static PyTypeObject varlinktype = {
29458 PyObject_HEAD_INIT(0)
29459 0, /* Number of items in variable part (ob_size) */
29460 (char *)"swigvarlink", /* Type name (tp_name) */
29461 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29462 0, /* Itemsize (tp_itemsize) */
29463 0, /* Deallocator (tp_dealloc) */
29464 (printfunc) swig_varlink_print, /* Print (tp_print) */
29465 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29466 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29467 0, /* tp_compare */
29468 (reprfunc) swig_varlink_repr, /* tp_repr */
29469 0, /* tp_as_number */
29470 0, /* tp_as_sequence */
29471 0, /* tp_as_mapping */
29472 0, /* tp_hash */
29473 0, /* tp_call */
29474 0, /* tp_str */
29475 0, /* tp_getattro */
29476 0, /* tp_setattro */
29477 0, /* tp_as_buffer */
29478 0, /* tp_flags */
29479 0, /* tp_doc */
29480#if PY_VERSION_HEX >= 0x02000000
29481 0, /* tp_traverse */
29482 0, /* tp_clear */
29483#endif
29484#if PY_VERSION_HEX >= 0x02010000
29485 0, /* tp_richcompare */
29486 0, /* tp_weaklistoffset */
29487#endif
29488#if PY_VERSION_HEX >= 0x02020000
29489 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29490#endif
29491#if PY_VERSION_HEX >= 0x02030000
29492 0, /* tp_del */
29493#endif
29494#ifdef COUNT_ALLOCS
29495 0,0,0,0 /* tp_alloc -> tp_next */
29496#endif
29497 };
29498
29499 /* Create a variable linking object for use later */
29500 static PyObject *
29501 SWIG_Python_newvarlink(void) {
29502 swig_varlinkobject *result = 0;
29503 result = PyMem_NEW(swig_varlinkobject,1);
29504 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29505 result->ob_type = &varlinktype;
29506 result->vars = 0;
29507 result->ob_refcnt = 0;
29508 Py_XINCREF((PyObject *) result);
29509 return ((PyObject*) result);
29510 }
29511
29512 static void
29513 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29514 swig_varlinkobject *v;
29515 swig_globalvar *gv;
29516 v= (swig_varlinkobject *) p;
29517 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29518 gv->name = (char *) malloc(strlen(name)+1);
29519 strcpy(gv->name,name);
29520 gv->get_attr = get_attr;
29521 gv->set_attr = set_attr;
29522 gv->next = v->vars;
29523 v->vars = gv;
29524 }
29525
29526 /* -----------------------------------------------------------------------------
29527 * constants/methods manipulation
29528 * ----------------------------------------------------------------------------- */
29529
29530 /* Install Constants */
29531 static void
29532 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29533 PyObject *obj = 0;
29534 size_t i;
29535 for (i = 0; constants[i].type; i++) {
29536 switch(constants[i].type) {
29537 case SWIG_PY_INT:
29538 obj = PyInt_FromLong(constants[i].lvalue);
29539 break;
29540 case SWIG_PY_FLOAT:
29541 obj = PyFloat_FromDouble(constants[i].dvalue);
29542 break;
29543 case SWIG_PY_STRING:
29544 if (constants[i].pvalue) {
29545 obj = PyString_FromString((char *) constants[i].pvalue);
29546 } else {
29547 Py_INCREF(Py_None);
29548 obj = Py_None;
29549 }
29550 break;
29551 case SWIG_PY_POINTER:
29552 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29553 break;
29554 case SWIG_PY_BINARY:
29555 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29556 break;
29557 default:
29558 obj = 0;
29559 break;
29560 }
29561 if (obj) {
29562 PyDict_SetItemString(d,constants[i].name,obj);
29563 Py_DECREF(obj);
29564 }
29565 }
29566 }
29567
29568 /* -----------------------------------------------------------------------------*/
29569 /* Fix SwigMethods to carry the callback ptrs when needed */
29570 /* -----------------------------------------------------------------------------*/
29571
29572 static void
29573 SWIG_Python_FixMethods(PyMethodDef *methods,
29574 swig_const_info *const_table,
29575 swig_type_info **types,
29576 swig_type_info **types_initial) {
29577 size_t i;
29578 for (i = 0; methods[i].ml_name; ++i) {
29579 char *c = methods[i].ml_doc;
29580 if (c && (c = strstr(c, "swig_ptr: "))) {
29581 int j;
29582 swig_const_info *ci = 0;
29583 char *name = c + 10;
29584 for (j = 0; const_table[j].type; j++) {
29585 if (strncmp(const_table[j].name, name,
29586 strlen(const_table[j].name)) == 0) {
29587 ci = &(const_table[j]);
29588 break;
29589 }
29590 }
29591 if (ci) {
29592 size_t shift = (ci->ptype) - types;
29593 swig_type_info *ty = types_initial[shift];
29594 size_t ldoc = (c - methods[i].ml_doc);
29595 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29596 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29597 char *buff = ndoc;
29598 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29599 strncpy(buff, methods[i].ml_doc, ldoc);
29600 buff += ldoc;
29601 strncpy(buff, "swig_ptr: ", 10);
29602 buff += 10;
29603 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29604 methods[i].ml_doc = ndoc;
29605 }
29606 }
29607 }
29608 }
29609
29610 /* -----------------------------------------------------------------------------*
29611 * Initialize type list
29612 * -----------------------------------------------------------------------------*/
29613
29614#if PY_MAJOR_VERSION < 2
29615 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29616 is copied out of Python/modsupport.c in python version 2.3.4 */
29617 static int
29618 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29619 {
29620 PyObject *dict;
29621 if (!PyModule_Check(m)) {
29622 PyErr_SetString(PyExc_TypeError,
29623 "PyModule_AddObject() needs module as first arg");
29624 return -1;
29625 }
29626 if (!o) {
29627 PyErr_SetString(PyExc_TypeError,
29628 "PyModule_AddObject() needs non-NULL value");
29629 return -1;
29630 }
29631
29632 dict = PyModule_GetDict(m);
29633 if (dict == NULL) {
29634 /* Internal error -- modules must have a dict! */
29635 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29636 PyModule_GetName(m));
29637 return -1;
29638 }
29639 if (PyDict_SetItemString(dict, name, o))
29640 return -1;
29641 Py_DECREF(o);
29642 return 0;
29643 }
29644#endif
29645
29646 static swig_type_info **
29647 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29648 static PyMethodDef swig_empty_runtime_method_table[] = {
29649 {
29650 NULL, NULL, 0, NULL
29651 }
29652 };/* Sentinel */
29653
29654 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
29655 swig_empty_runtime_method_table);
29656 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
29657 if (pointer && module) {
29658 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
29659 }
29660 return type_list_handle;
29661 }
29662
29663 static swig_type_info **
29664 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
29665 swig_type_info **type_pointer;
29666
29667 /* first check if module already created */
29668 type_pointer = SWIG_Python_GetTypeListHandle();
29669 if (type_pointer) {
29670 return type_pointer;
29671 } else {
29672 /* create a new module and variable */
29673 return SWIG_Python_SetTypeListHandle(type_list_handle);
29674 }
29675 }
29676
29677#ifdef __cplusplus
29678}
29679#endif
29680
29681/* -----------------------------------------------------------------------------*
29682 * Partial Init method
29683 * -----------------------------------------------------------------------------*/
29684
29685#ifdef SWIG_LINK_RUNTIME
29686#ifdef __cplusplus
29687extern "C"
29688#endif
29689SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29690#endif
29691
d14a1e28
RD
29692#ifdef __cplusplus
29693extern "C"
29694#endif
29695SWIGEXPORT(void) SWIG_init(void) {
29696 static PyObject *SWIG_globals = 0;
29697 static int typeinit = 0;
29698 PyObject *m, *d;
29699 int i;
29700 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
29701
29702 /* Fix SwigMethods to carry the callback ptrs when needed */
29703 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
29704
d14a1e28
RD
29705 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29706 d = PyModule_GetDict(m);
29707
29708 if (!typeinit) {
093d3ff1
RD
29709#ifdef SWIG_LINK_RUNTIME
29710 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
29711#else
29712# ifndef SWIG_STATIC_RUNTIME
29713 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
29714# endif
29715#endif
d14a1e28
RD
29716 for (i = 0; swig_types_initial[i]; i++) {
29717 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29718 }
29719 typeinit = 1;
29720 }
093d3ff1
RD
29721 SWIG_InstallConstants(d,swig_const_table);
29722
29723 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29724 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
29725 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
29726 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
29727 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
29728 {
29729 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
29730 }
29731 {
29732 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
29733 }
29734 {
29735 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
29736 }
29737 {
29738 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
29739 }
29740 {
29741 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
29742 }
29743 {
29744 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
29745 }
29746 {
29747 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
29748 }
29749 {
29750 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
29751 }
29752 {
29753 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
29754 }
29755 {
29756 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
29757 }
29758 {
29759 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
29760 }
29761 {
29762 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
29763 }
29764 {
29765 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
29766 }
29767 {
29768 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
29769 }
29770 {
29771 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
29772 }
29773 {
29774 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
29775 }
29776 {
29777 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
29778 }
29779 {
29780 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
29781 }
29782 {
29783 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
29784 }
29785 {
29786 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
29787 }
29788 {
29789 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
29790 }
29791 {
29792 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
29793 }
29794 {
29795 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
29796 }
29797 {
29798 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
29799 }
29800 {
29801 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
29802 }
29803 {
29804 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
29805 }
29806 {
29807 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
29808 }
29809 {
29810 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
29811 }
29812 {
29813 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
29814 }
29815 {
29816 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
29817 }
29818 {
29819 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
29820 }
29821 {
29822 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
29823 }
29824 {
29825 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
29826 }
29827 {
29828 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
29829 }
29830 {
29831 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
29832 }
29833 {
29834 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
29835 }
29836 {
29837 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
29838 }
29839 {
29840 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
29841 }
29842 {
29843 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
29844 }
29845 {
29846 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
29847 }
29848 {
29849 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
29850 }
29851 {
29852 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
29853 }
29854 {
29855 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
29856 }
b2dc1044 29857 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
093d3ff1
RD
29858 {
29859 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
29860 }
29861 {
29862 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
29863 }
29864 {
29865 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
29866 }
29867 {
29868 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
29869 }
29870 {
29871 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
29872 }
29873 {
29874 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
29875 }
29876 {
29877 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
29878 }
29879 {
29880 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
29881 }
29882 {
29883 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
29884 }
29885 {
29886 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
29887 }
29888 {
29889 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
29890 }
29891 {
29892 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
29893 }
29894 {
29895 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
29896 }
29897 {
29898 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
29899 }
d14a1e28
RD
29900 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
29901 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
29902 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
29903 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
b2dc1044
RD
29904 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
29905 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
093d3ff1
RD
29906 {
29907 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
29908 }
29909 {
29910 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
29911 }
29912 {
29913 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
29914 }
29915 {
29916 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
29917 }
29918 {
29919 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
29920 }
29921 {
29922 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
29923 }
29924 {
29925 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
29926 }
29927 {
29928 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
29929 }
29930 {
29931 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
29932 }
29933 {
29934 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
29935 }
29936 {
29937 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
29938 }
29939 {
29940 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
29941 }
29942 {
29943 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
29944 }
29945 {
29946 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
29947 }
29948 {
29949 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
29950 }
d14a1e28 29951 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
093d3ff1
RD
29952 {
29953 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
29954 }
29955 {
29956 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
29957 }
29958 {
29959 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
29960 }
29961 {
29962 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
29963 }
29964 {
29965 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
29966 }
29967 {
29968 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
29969 }
29970 {
29971 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
29972 }
29973 {
29974 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
29975 }
29976 {
29977 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
29978 }
29979 {
29980 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
29981 }
29982 {
29983 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
29984 }
d14a1e28
RD
29985 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
29986 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
b2dc1044 29987 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
d14a1e28
RD
29988
29989 // Map renamed classes back to their common name for OOR
29990 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
29991 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
29992 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
29993
29994 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
29995 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
29996 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
29997 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
29998 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
29999 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
30000 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
b2dc1044
RD
30001 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
30002 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
30003 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
30004 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
30005 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
30006 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
093d3ff1
RD
30007 {
30008 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
30009 }
30010 {
30011 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
30012 }
d3b6e4ff 30013 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
093d3ff1
RD
30014 {
30015 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
30016 }
30017 {
30018 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
30019 }
30020 {
30021 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
30022 }
30023 {
30024 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
30025 }
30026 {
30027 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
30028 }
30029 {
30030 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
30031 }
30032 {
30033 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
30034 }
d14a1e28
RD
30035 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
30036 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
30037 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
30038 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
30039 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
093d3ff1
RD
30040 {
30041 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30042 }
30043 {
30044 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30045 }
30046 {
30047 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30048 }
30049 {
30050 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30051 }
30052 {
30053 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30054 }
30055 {
30056 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30057 }
30058 {
30059 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30060 }
30061 {
30062 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30063 }
b2dc1044
RD
30064 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
30065 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
093d3ff1
RD
30066 {
30067 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
30068 }
30069 {
30070 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
30071 }
30072 {
30073 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
30074 }
30075 {
30076 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
30077 }
30078 {
30079 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
30080 }
30081 {
30082 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
30083 }
30084 {
30085 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
30086 }
30087 {
30088 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
30089 }
30090 {
30091 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
30092 }
30093 {
30094 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
30095 }
30096 {
30097 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
30098 }
30099 {
30100 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
30101 }
30102 {
30103 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
30104 }
30105 {
30106 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
30107 }
30108 {
30109 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
30110 }
30111 {
30112 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
30113 }
30114 {
30115 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
30116 }
30117 {
30118 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30119 }
30120 {
30121 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30122 }
30123 {
30124 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30125 }
30126 {
30127 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30128 }
30129 {
30130 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30131 }
30132 {
30133 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30134 }
30135 {
30136 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30137 }
30138 {
30139 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30140 }
30141 {
30142 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30143 }
30144 {
30145 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30146 }
30147 {
30148 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30149 }
30150 {
30151 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30152 }
30153 {
30154 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30155 }
30156 {
30157 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30158 }
30159 {
30160 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30161 }
30162 {
30163 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30164 }
30165 {
30166 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30167 }
30168 {
30169 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30170 }
30171 {
30172 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30173 }
30174 {
30175 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30176 }
30177 {
30178 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30179 }
30180 {
30181 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30182 }
d14a1e28
RD
30183
30184 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30185
30186}
30187