]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_windows_wrap.cpp
added a test to check how exception handling works with Win32 SEH; corrected copyright
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
36ed4f51 3 * Version 1.3.24
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
d55e5bfc
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 26};
d55e5bfc
RD
27#endif
28
29
36ed4f51
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
d55e5bfc 37
d55e5bfc 38
36ed4f51 39#include <Python.h>
d55e5bfc
RD
40
41/***********************************************************************
36ed4f51 42 * swigrun.swg
d55e5bfc 43 *
36ed4f51
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d55e5bfc
RD
46 *
47 ************************************************************************/
48
36ed4f51
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
d55e5bfc 52
36ed4f51
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 58#else
36ed4f51 59#define SWIG_TYPE_TABLE_NAME
d55e5bfc
RD
60#endif
61
36ed4f51
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
d55e5bfc 67#else
36ed4f51
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
85#endif
86
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
36ed4f51
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
218
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
283
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
306
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
d55e5bfc 375
36ed4f51
RD
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
d55e5bfc 417
36ed4f51
RD
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
d55e5bfc
RD
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
36ed4f51
RD
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
d55e5bfc 441 *
36ed4f51 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d55e5bfc 443 *
36ed4f51
RD
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
d55e5bfc
RD
448 ************************************************************************/
449
36ed4f51
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
d55e5bfc
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
d55e5bfc 465
36ed4f51 466/*************************************************************************/
d55e5bfc 467
d55e5bfc 468
36ed4f51 469/* The static type info list */
d55e5bfc 470
36ed4f51
RD
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
d55e5bfc 474
36ed4f51
RD
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
d55e5bfc 480
36ed4f51
RD
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
d55e5bfc 486
36ed4f51
RD
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
d55e5bfc 492
36ed4f51
RD
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
d55e5bfc
RD
502
503#ifdef __cplusplus
504}
505#endif
506
36ed4f51
RD
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
d55e5bfc 510
36ed4f51
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
c370783e 514
36ed4f51
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
d55e5bfc 518
36ed4f51
RD
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
d55e5bfc 522
36ed4f51
RD
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
d55e5bfc
RD
530
531
36ed4f51
RD
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
d55e5bfc 551
36ed4f51
RD
552/* Constant Types */
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
d55e5bfc 568
c370783e 569
36ed4f51
RD
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
c370783e
RD
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
576
577#ifdef __cplusplus
36ed4f51
RD
578}
579#endif
d55e5bfc 580
d55e5bfc 581
36ed4f51
RD
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
d55e5bfc 591
36ed4f51
RD
592/* Common SWIG API */
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
d55e5bfc 597
36ed4f51
RD
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 601
d55e5bfc 602
36ed4f51
RD
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
d55e5bfc 614
36ed4f51
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 618
d55e5bfc 619
36ed4f51
RD
620#ifdef __cplusplus
621extern "C" {
622#endif
d55e5bfc 623
36ed4f51
RD
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
d55e5bfc 627
36ed4f51
RD
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
d55e5bfc 631
36ed4f51
RD
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
d55e5bfc 637
36ed4f51
RD
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
d55e5bfc 643
36ed4f51 644/* Declarations for objects of type PySwigObject */
d55e5bfc 645
36ed4f51
RD
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 648{
36ed4f51
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;
c370783e 653 } else {
36ed4f51 654 return 1;
c370783e 655 }
d55e5bfc 656}
36ed4f51
RD
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
c370783e 660{
36ed4f51
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;
c370783e 664}
d55e5bfc 665
36ed4f51
RD
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
d55e5bfc 668{
36ed4f51
RD
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
d55e5bfc
RD
672}
673
36ed4f51
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
d55e5bfc 676{
36ed4f51 677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
d55e5bfc
RD
678}
679
36ed4f51
RD
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
c370783e 682{
36ed4f51
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);
c370783e 690}
d55e5bfc 691
36ed4f51
RD
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
d55e5bfc 694{
36ed4f51
RD
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
d55e5bfc
RD
698}
699
36ed4f51
RD
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
d55e5bfc 702{
36ed4f51
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;
c370783e 710 }
c370783e
RD
711}
712
36ed4f51
RD
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
c370783e 715{
36ed4f51 716 PyObject_DEL(self);
d55e5bfc
RD
717}
718
36ed4f51
RD
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
c370783e 723
36ed4f51
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)
c370783e 807{
36ed4f51
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;
c370783e 813}
d55e5bfc 814
36ed4f51
RD
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
c370783e 820
36ed4f51
RD
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
d55e5bfc 826
36ed4f51
RD
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
d55e5bfc 832
36ed4f51
RD
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
d55e5bfc 836
36ed4f51
RD
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
c370783e 843
36ed4f51
RD
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
d55e5bfc 846{
36ed4f51
RD
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
860{
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
d55e5bfc
RD
867}
868
36ed4f51
RD
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
d55e5bfc 879
36ed4f51
RD
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 882{
36ed4f51
RD
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
d55e5bfc 891 }
c370783e
RD
892}
893
36ed4f51
RD
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
c370783e 896{
36ed4f51
RD
897 free(self->pack);
898 PyObject_DEL(self);
d55e5bfc
RD
899}
900
36ed4f51
RD
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
d55e5bfc 949
36ed4f51
RD
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
d55e5bfc 955
36ed4f51
RD
956 return &PySwigPacked_Type;
957}
d55e5bfc 958
36ed4f51
RD
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
d55e5bfc 974
36ed4f51
RD
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977{
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
d55e5bfc 983
36ed4f51
RD
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
d55e5bfc 986{
36ed4f51
RD
987 return ((PySwigPacked *)self)->desc;
988}
d55e5bfc 989
36ed4f51
RD
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
d55e5bfc 995
36ed4f51
RD
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
d55e5bfc 1000
36ed4f51
RD
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
d55e5bfc 1005
36ed4f51 1006#endif
d55e5bfc 1007
36ed4f51 1008#endif
d55e5bfc 1009
36ed4f51
RD
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
d55e5bfc 1013
36ed4f51
RD
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048}
d55e5bfc 1049
36ed4f51
RD
1050SWIGRUNTIMEINLINE void
1051SWIG_Python_NullRef(const char *type)
d55e5bfc 1052{
36ed4f51
RD
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058}
d55e5bfc 1059
36ed4f51
RD
1060SWIGRUNTIME int
1061SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062{
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083}
d55e5bfc 1084
36ed4f51
RD
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
1087{
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096}
d55e5bfc 1097
d55e5bfc 1098
36ed4f51
RD
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
d55e5bfc 1102
36ed4f51
RD
1103/* Convert a pointer value */
1104SWIGRUNTIME int
1105SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
d55e5bfc 1118
36ed4f51
RD
1119#ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136#else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154#endif
d55e5bfc 1155
36ed4f51 1156type_check:
d55e5bfc 1157
36ed4f51
RD
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
d55e5bfc 1165
36ed4f51
RD
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
d55e5bfc 1170
36ed4f51
RD
1171type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194}
d55e5bfc 1195
36ed4f51
RD
1196/* Convert a pointer value, signal an exception on a type mismatch */
1197SWIGRUNTIME void *
1198SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208}
d55e5bfc 1209
36ed4f51
RD
1210/* Convert a packed value value */
1211SWIGRUNTIME int
1212SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
d55e5bfc 1215
36ed4f51
RD
1216#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218#else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223#endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
d55e5bfc 1230
36ed4f51
RD
1231type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241}
1242
1243/* Create a new array object */
1244SWIGRUNTIME PyObject *
1245SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251#ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253#else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259#endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275}
1276
1277SWIGRUNTIME PyObject *
1278SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286#else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292#endif
1293 return robj;
1294}
1295
1296/* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300#ifdef SWIG_LINK_RUNTIME
1301void *SWIG_ReturnGlobalTypeList(void *);
1302#endif
1303
1304SWIGRUNTIME swig_type_info **
1305SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309#ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311#else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319#endif
1320 return (swig_type_info **) type_pointer;
1321}
1322
1323/*
1324 Search for a swig_type_info structure
1325 */
1326SWIGRUNTIMEINLINE swig_type_info *
1327SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330}
1331
1332#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334#ifdef __cplusplus
1335}
1336#endif
1337
1338
1339/* -------- TYPES TABLE (BEGIN) -------- */
1340
1341#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1342#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1343#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1344#define SWIGTYPE_p_wxPyPanel swig_types[3]
1345#define SWIGTYPE_p_wxMenu swig_types[4]
1346#define SWIGTYPE_p_wxFontData swig_types[5]
1347#define SWIGTYPE_p_wxEvent swig_types[6]
1348#define SWIGTYPE_p_wxPrintData swig_types[7]
1349#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1350#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1351#define SWIGTYPE_p_wxIconBundle swig_types[10]
1352#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1353#define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1354#define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1355#define SWIGTYPE_p_wxFont swig_types[14]
1356#define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1357#define SWIGTYPE_p_wxRegion swig_types[16]
1358#define SWIGTYPE_ptrdiff_t swig_types[17]
1359#define SWIGTYPE_std__ptrdiff_t swig_types[18]
1360#define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1361#define SWIGTYPE_p_int swig_types[20]
1362#define SWIGTYPE_p_wxSize swig_types[21]
1363#define SWIGTYPE_p_wxDC swig_types[22]
1364#define SWIGTYPE_p_wxIcon swig_types[23]
1365#define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1366#define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1367#define SWIGTYPE_p_wxColourData swig_types[26]
1368#define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1369#define SWIGTYPE_p_wxPyWindow swig_types[28]
1370#define SWIGTYPE_p_form_ops_t swig_types[29]
1371#define SWIGTYPE_p_wxSplashScreen swig_types[30]
1372#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1373#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1374#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1375#define SWIGTYPE_p_wxFileDialog swig_types[34]
1376#define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1377#define SWIGTYPE_p_wxMessageDialog swig_types[36]
1378#define SWIGTYPE_p_wxProgressDialog swig_types[37]
1379#define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1380#define SWIGTYPE_p_wxPrinter swig_types[39]
1381#define SWIGTYPE_p_wxArrayInt swig_types[40]
1382#define SWIGTYPE_p_wxDuplexMode swig_types[41]
1383#define SWIGTYPE_p_wxEvtHandler swig_types[42]
1384#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1385#define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1386#define SWIGTYPE_p_wxPyVListBox swig_types[45]
1387#define SWIGTYPE_p_wxRect swig_types[46]
62d32a5f
RD
1388#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1389#define SWIGTYPE_p_char swig_types[48]
1390#define SWIGTYPE_p_wxMiniFrame swig_types[49]
1391#define SWIGTYPE_p_wxFrame swig_types[50]
1392#define SWIGTYPE_p_wxPyPrintout swig_types[51]
1393#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1394#define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1395#define SWIGTYPE_p_wxPaperSize swig_types[54]
1396#define SWIGTYPE_p_wxStatusBar swig_types[55]
1397#define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1398#define SWIGTYPE_p_wxPoint swig_types[57]
1399#define SWIGTYPE_p_wxObject swig_types[58]
1400#define SWIGTYPE_p_unsigned_long swig_types[59]
1401#define SWIGTYPE_p_wxTipWindow swig_types[60]
1402#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[61]
1403#define SWIGTYPE_p_wxSashLayoutWindow swig_types[62]
1404#define SWIGTYPE_p_wxSplitterWindow swig_types[63]
1405#define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
1406#define SWIGTYPE_p_wxPyVScrolledWindow 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];
36ed4f51
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}
d55e5bfc 1662
36ed4f51
RD
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);
1693
1694 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1695#define SWIG_From_long PyInt_FromLong
1696/*@@*/
1697
1698
1699
1700static wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
1701 wxRect r;
1702 self->GetFieldRect(i, r);
1703 return r;
1704 }
1705 static const wxString wxPySplitterNameStr(wxT("splitter"));
1706 static const wxString wxPySashNameStr(wxT("sashWindow"));
1707 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
1708
1709#include <wx/popupwin.h>
1710
1711
1712class wxPopupWindow : public wxWindow {
1713public:
1714 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1715 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1716};
1717
1718class wxPyPopupTransientWindow : public wxPopupWindow
1719{
1720public:
1721 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
1722 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1723};
1724
1725
1726#include <wx/tipwin.h>
1727
1728static wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
1729 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
1730 }
1731
1732#include <wx/tipwin.h>
1733
1734
1735#include <wx/vscroll.h>
1736
1737
1738class wxPyVScrolledWindow : public wxVScrolledWindow
1739{
1740 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
1741public:
1742 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1743
1744 wxPyVScrolledWindow(wxWindow *parent,
1745 wxWindowID id = wxID_ANY,
1746 const wxPoint& pos = wxDefaultPosition,
1747 const wxSize& size = wxDefaultSize,
1748 long style = 0,
1749 const wxString& name = wxPyPanelNameStr)
1750 : wxVScrolledWindow(parent, id, pos, size, style, name)
1751 {}
1752
1753 // Overridable virtuals
1754
1755 // this function must be overridden in the derived class and it should
1756 // return the height of the given line in pixels
1757 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
1758
1759
1760 // this function doesn't have to be overridden but it may be useful to do
1761 // it if calculating the lines heights is a relatively expensive operation
1762 // as it gives the user code a possibility to calculate several of them at
1763 // once
1764 //
1765 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1766 // shouldn't rely on the latter being called for all lines in the interval
1767 // specified here. It is also possible that OnGetLineHeight() will be
1768 // called for the lines outside of this interval, so this is really just a
1769 // hint, not a promise.
1770 //
1771 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1772 // usual
1773 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
1774
1775
1776 // when the number of lines changes, we try to estimate the total height
1777 // of all lines which is a rather expensive operation in terms of lines
1778 // access, so if the user code may estimate the average height
1779 // better/faster than we do, it should override this function to implement
1780 // its own logic
1781 //
1782 // this function should return the best guess for the total height it may
1783 // make
1784 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
1785
1786
1787 // Also expose some other interesting protected methods
1788
1789
1790 // find the index of the line we need to show at the top of the window such
1791 // that the last (fully or partially) visible line is the given one
1792 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
1793 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
1794
1795 // get the total height of the lines between lineMin (inclusive) and
1796 // lineMax (exclusive)
1797 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
1798 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
1799
1800
1801 PYPRIVATE;
1802};
1803
1804IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
d55e5bfc
RD
1805
1806IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
1807IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
1808IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
1809
1810
36ed4f51 1811SWIGINTERN int
c370783e 1812SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1813{
c370783e
RD
1814 long v = 0;
1815 if (SWIG_AsVal_long(obj, &v) && v < 0) {
36ed4f51 1816 SWIG_type_error("unsigned number", obj);
d55e5bfc 1817 }
c370783e
RD
1818 else if (val)
1819 *val = (unsigned long)v;
1820 return 1;
d55e5bfc
RD
1821}
1822
1823
36ed4f51 1824SWIGINTERNSHORT unsigned long
c370783e 1825SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1826{
c370783e
RD
1827 unsigned long v;
1828 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1829 /*
36ed4f51 1830 this is needed to make valgrind/purify happier.
c370783e
RD
1831 */
1832 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1833 }
c370783e
RD
1834 return v;
1835}
1836
1837
36ed4f51 1838SWIGINTERNSHORT int
c370783e
RD
1839SWIG_Check_unsigned_SS_long(PyObject* obj)
1840{
1841 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1842}
1843
1844
36ed4f51 1845SWIGINTERNSHORT PyObject*
c370783e 1846 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1847{
1848 return (value > LONG_MAX) ?
1849 PyLong_FromUnsignedLong(value)
36ed4f51 1850 : PyInt_FromLong((long)(value));
d55e5bfc
RD
1851}
1852
1853
1854#include <wx/vlbox.h>
1855
1856 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
1857
1858class wxPyVListBox : public wxVListBox
1859{
1860 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
1861public:
1862 wxPyVListBox() : wxVListBox() {}
1863
1864 wxPyVListBox(wxWindow *parent,
1865 wxWindowID id = wxID_ANY,
1866 const wxPoint& pos = wxDefaultPosition,
1867 const wxSize& size = wxDefaultSize,
1868 long style = 0,
1869 const wxString& name = wxPyVListBoxNameStr)
1870 : wxVListBox(parent, id, pos, size, style, name)
1871 {}
1872
1873 // Overridable virtuals
1874
1875 // the derived class must implement this function to actually draw the item
1876 // with the given index on the provided DC
1877 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1878 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
1879
1880
1881 // the derived class must implement this method to return the height of the
1882 // specified item
1883 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1884 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
1885
1886
1887 // this method may be used to draw separators between the lines; note that
1888 // the rectangle may be modified, typically to deflate it a bit before
1889 // passing to OnDrawItem()
1890 //
1891 // the base class version doesn't do anything
1892 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1893 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
1894
1895
1896 // this method is used to draw the items background and, maybe, a border
1897 // around it
1898 //
1899 // the base class version implements a reasonable default behaviour which
1900 // consists in drawing the selected item with the standard background
1901 // colour and drawing a border around the item if it is either selected or
1902 // current
1903 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1904 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
1905
1906
1907 PYPRIVATE;
1908};
1909
1910IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
1911
1912IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
1913IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1914IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
1915IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
1916
1917
36ed4f51 1918static PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
1919 unsigned long cookie = 0;
1920 int selected = self->GetFirstSelected(cookie);
1921 bool blocked = wxPyBeginBlockThreads();
1922 PyObject* tup = PyTuple_New(2);
1923 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1924 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1925 wxPyEndBlockThreads(blocked);
1926 return tup;
1927 }
36ed4f51 1928static PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b
RD
1929 int selected = self->GetNextSelected(cookie);
1930 bool blocked = wxPyBeginBlockThreads();
1931 PyObject* tup = PyTuple_New(2);
1932 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
1933 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
1934 wxPyEndBlockThreads(blocked);
1935 return tup;
1936 }
d55e5bfc
RD
1937
1938#include <wx/htmllbox.h>
1939
1940
1941class wxPyHtmlListBox : public wxHtmlListBox
1942{
1943 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
1944public:
1945 wxPyHtmlListBox() : wxHtmlListBox() {}
1946
1947 wxPyHtmlListBox(wxWindow *parent,
1948 wxWindowID id = wxID_ANY,
1949 const wxPoint& pos = wxDefaultPosition,
1950 const wxSize& size = wxDefaultSize,
1951 long style = 0,
1952 const wxString& name = wxPyVListBoxNameStr)
1953 : wxHtmlListBox(parent, id, pos, size, style, name)
1954 {}
1955
1956 // Overridable virtuals
1957
1958 // this method must be implemented in the derived class and should return
1959 // the body (i.e. without <html>) of the HTML for the given item
1960 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
1961
1962 // this function may be overridden to decorate HTML returned by OnGetItem()
1963 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
1964
1965// TODO:
1966// // this method allows to customize the selection appearance: it may be used
1967// // to specify the colour of the text which normally has the given colour
1968// // colFg when it is inside the selection
1969// //
1970// // by default, the original colour is not used at all and all text has the
1971// // same (default for this system) colour inside selection
1972// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1973
1974// // this is the same as GetSelectedTextColour() but allows to customize the
1975// // background colour -- this is even more rarely used as you can change it
1976// // globally using SetSelectionBackground()
1977// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1978
1979
1980 PYPRIVATE;
1981};
1982
1983
1984IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
1985
1986IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
1987IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1988
1989
1990
1991
1992
b411df4a
RD
1993#ifndef wxHAS_TASK_BAR_ICON
1994// implement dummy classes for platforms that don't have it
d55e5bfc
RD
1995
1996class wxTaskBarIcon : public wxEvtHandler
1997{
1998public:
1999 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2000};
09c21d3b 2001
d55e5bfc
RD
2002
2003class wxTaskBarIconEvent : public wxEvent
2004{
2005public:
2006 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
2007 { wxPyRaiseNotImplemented(); }
2008 virtual wxEvent* Clone() const { return NULL; }
b411df4a
RD
2009 bool IsOk() const { return false; }
2010 bool IsIconInstalled() const { return false; }
2011 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
2012 bool RemoveIcon() { return false; }
2013 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
2014};
2015
2016enum {
2017 wxEVT_TASKBAR_MOVE = 0,
2018 wxEVT_TASKBAR_LEFT_DOWN = 0,
2019 wxEVT_TASKBAR_LEFT_UP = 0,
2020 wxEVT_TASKBAR_RIGHT_DOWN = 0,
2021 wxEVT_TASKBAR_RIGHT_UP = 0,
2022 wxEVT_TASKBAR_LEFT_DCLICK = 0,
2023 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
2024};
09c21d3b
RD
2025
2026
2027#else
5e483524
RD
2028// Otherwise make a class that can virtualize CreatePopupMenu
2029class wxPyTaskBarIcon : public wxTaskBarIcon
2030{
2031 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
2032public:
2033 wxPyTaskBarIcon() : wxTaskBarIcon()
2034 {}
09c21d3b 2035
5e483524
RD
2036 wxMenu* CreatePopupMenu() {
2037 wxMenu *rval = NULL;
2038 bool found;
2039 bool blocked = wxPyBeginBlockThreads();
2040 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
2041 PyObject* ro;
2042 wxMenu* ptr;
2043 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2044 if (ro) {
2045 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
2046 rval = ptr;
2047 Py_DECREF(ro);
2048 }
2049 }
2050 wxPyEndBlockThreads(blocked);
2051 if (! found)
2052 rval = wxTaskBarIcon::CreatePopupMenu();
2053 return rval;
2054 }
d55e5bfc 2055
5e483524
RD
2056 PYPRIVATE;
2057};
d55e5bfc 2058
5e483524 2059IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
d55e5bfc 2060
5e483524
RD
2061#endif
2062
36ed4f51 2063static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
5e483524
RD
2064 self->RemoveIcon();
2065 delete self;
d55e5bfc
RD
2066 }
2067 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
2068 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
2069 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
2070 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
2071 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
2072 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
36ed4f51 2073static PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
2074 wxArrayString arr;
2075 self->GetFilenames(arr);
2076 return wxArrayString2PyList_helper(arr);
2077 }
36ed4f51 2078static PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
2079 wxArrayString arr;
2080 self->GetPaths(arr);
2081 return wxArrayString2PyList_helper(arr);
2082 }
36ed4f51 2083static PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
2084 return wxArrayInt2PyList_helper(self->GetSelections());
2085 }
36ed4f51 2086static wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
d55e5bfc
RD
2087 return new wxSingleChoiceDialog(parent, message, caption,
2088 choices, choices_array, NULL, style, pos);
2089 }
070c48b4 2090 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc
RD
2091
2092#include <wx/mdi.h>
2093
2094 // C++ version of Python aware wxWindow
2095class wxPyWindow : public wxWindow
2096{
2097 DECLARE_DYNAMIC_CLASS(wxPyWindow)
2098public:
2099 wxPyWindow() : wxWindow() {}
2100 wxPyWindow(wxWindow* parent, const wxWindowID id,
2101 const wxPoint& pos = wxDefaultPosition,
2102 const wxSize& size = wxDefaultSize,
2103 long style = 0,
2104 const wxString& name = wxPyPanelNameStr)
2105 : wxWindow(parent, id, pos, size, style, name) {}
2106
a5ee0656 2107 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc
RD
2108
2109 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2110 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2111 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2112 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2113
2114 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2117
2118 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2119 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2120
2121 DEC_PYCALLBACK__(InitDialog);
2122 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2123 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2124 DEC_PYCALLBACK_BOOL_(Validate);
2125
2126 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2127 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2128 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2129
2130 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2131 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2132
a5ee0656 2133 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 2134 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
a5ee0656 2135 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
2136
2137 PYPRIVATE;
2138};
2139
2140IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
2141
2142IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
2143IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
2144IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
2145IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
2146
2147IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
2148IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
2149IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
2150
2151IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
2152IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
2153
2154IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
2155IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
2156IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
2157IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
2158
2159IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
2160IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
2161IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
2162
2163IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
2164IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
2165
a5ee0656 2166IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
d55e5bfc 2167IMP_PYCALLBACK__COLOUR(wxPyWindow, wxWindow, ApplyParentThemeBackground);
a5ee0656 2168IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
d55e5bfc
RD
2169
2170
2171 // C++ version of Python aware wxPanel
2172class wxPyPanel : public wxPanel
2173{
2174 DECLARE_DYNAMIC_CLASS(wxPyPanel)
2175public:
2176 wxPyPanel() : wxPanel() {}
2177 wxPyPanel(wxWindow* parent, const wxWindowID id,
2178 const wxPoint& pos = wxDefaultPosition,
2179 const wxSize& size = wxDefaultSize,
2180 long style = 0,
2181 const wxString& name = wxPyPanelNameStr)
2182 : wxPanel(parent, id, pos, size, style, name) {}
2183
a5ee0656
RD
2184 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
2185
d55e5bfc
RD
2186
2187 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2188 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2189 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2190 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2191
2192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2194 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2195
2196 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2197 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2198
2199 DEC_PYCALLBACK__(InitDialog);
2200 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2201 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2202 DEC_PYCALLBACK_BOOL_(Validate);
2203
2204 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2205 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2206 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2207
2208 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2209 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2210
a5ee0656 2211 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 2212 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
a5ee0656 2213 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
2214
2215 PYPRIVATE;
2216};
2217
2218IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
2219
2220IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
2221IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
2222IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
2223IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
2224
2225IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
2226IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
2227IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
2228
2229IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
2230IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
2231
2232IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
2233IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
2234IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
2235IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
2236
2237IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
2238IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
2239IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
2240
2241IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
2242IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
2243
a5ee0656 2244IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
d55e5bfc 2245IMP_PYCALLBACK__COLOUR(wxPyPanel, wxPanel, ApplyParentThemeBackground);
a5ee0656 2246IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 2247
a5ee0656 2248
d55e5bfc
RD
2249 // C++ version of Python aware wxScrolledWindow
2250class wxPyScrolledWindow : public wxScrolledWindow
2251{
2252 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
2253public:
2254 wxPyScrolledWindow() : wxScrolledWindow() {}
2255 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
2256 const wxPoint& pos = wxDefaultPosition,
2257 const wxSize& size = wxDefaultSize,
2258 long style = 0,
2259 const wxString& name = wxPyPanelNameStr)
2260 : wxScrolledWindow(parent, id, pos, size, style, name) {}
2261
a5ee0656 2262 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
d55e5bfc
RD
2263
2264 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2265 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2266 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2267 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2268
2269 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2270 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2271 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2272
2273 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2274 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2275
2276 DEC_PYCALLBACK__(InitDialog);
2277 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2278 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2279 DEC_PYCALLBACK_BOOL_(Validate);
2280
2281 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2282 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2283 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2284
2285 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2286 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2287
a5ee0656 2288 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 2289 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
a5ee0656 2290 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
2291
2292 PYPRIVATE;
2293};
2294
2295IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
2296
2297IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
2298IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
2299IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
2300IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
2301
2302IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
2303IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
2304IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
2305
2306IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
2307IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
2308
2309IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
2310IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
2311IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
2312IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
2313
2314IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
2315IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
2316IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
2317
2318IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
2319IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
2320
a5ee0656 2321IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
d55e5bfc 2322IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow, wxScrolledWindow, ApplyParentThemeBackground);
a5ee0656
RD
2323IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
2324
d55e5bfc
RD
2325
2326
2327#include "wx/wxPython/printfw.h"
2328
2329
2330 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
2331 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2332
2333
070c48b4 2334IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
2335
2336// Since this one would be tough and ugly to do with the Macros...
2337void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
b411df4a 2338 bool hadErr = false;
d55e5bfc
RD
2339 bool found;
2340
2341 bool blocked = wxPyBeginBlockThreads();
2342 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
2343 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2344 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
2345 PyObject* val;
2346
2347 val = PyTuple_GetItem(result, 0);
2348 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
b411df4a 2349 else hadErr = true;
d55e5bfc
RD
2350
2351 val = PyTuple_GetItem(result, 1);
2352 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
b411df4a 2353 else hadErr = true;
d55e5bfc
RD
2354
2355 val = PyTuple_GetItem(result, 2);
2356 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
b411df4a 2357 else hadErr = true;
d55e5bfc
RD
2358
2359 val = PyTuple_GetItem(result, 3);
2360 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
b411df4a 2361 else hadErr = true;
d55e5bfc
RD
2362 }
2363 else
b411df4a 2364 hadErr = true;
d55e5bfc
RD
2365
2366 if (hadErr) {
2367 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
2368 PyErr_Print();
2369 }
2370 Py_DECREF(result);
2371 }
2372 wxPyEndBlockThreads(blocked);
2373 if (! found)
2374 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2375}
2376
2377void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
2378 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
2379}
2380
2381
2382IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
2383IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
2384IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
2385IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
2386IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
2387IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
2388IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
2389
2390
2391
2392
2393
b411df4a
RD
2394#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2395 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
d55e5bfc
RD
2396 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2397
2398
b411df4a
RD
2399#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2400 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2401 bool rval=false; \
2402 bool found; \
2403 bool blocked = wxPyBeginBlockThreads(); \
2404 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2405 PyObject* win = wxPyMake_wxObject(a,false); \
2406 PyObject* dc = wxPyMake_wxObject(&b,false); \
2407 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2408 Py_DECREF(win); \
2409 Py_DECREF(dc); \
2410 } \
2411 wxPyEndBlockThreads(blocked); \
2412 if (! found) \
2413 rval = PCLASS::CBNAME(a, b); \
2414 return rval; \
2415 } \
2416 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2417 return PCLASS::CBNAME(a, b); \
d55e5bfc
RD
2418 }
2419
2420
2421
2422
2423class wxPyPrintPreview : public wxPrintPreview
2424{
2425 DECLARE_CLASS(wxPyPrintPreview)
2426public:
2427 wxPyPrintPreview(wxPyPrintout* printout,
2428 wxPyPrintout* printoutForPrinting,
2429 wxPrintDialogData* data=NULL)
2430 : wxPrintPreview(printout, printoutForPrinting, data)
2431 {}
2432 wxPyPrintPreview(wxPyPrintout* printout,
2433 wxPyPrintout* printoutForPrinting,
2434 wxPrintData* data=NULL)
2435 : wxPrintPreview(printout, printoutForPrinting, data)
2436 {}
2437
2438 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
2439 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
2440 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
2441 DEC_PYCALLBACK_BOOL_INT(RenderPage);
2442 DEC_PYCALLBACK_VOID_INT(SetZoom);
2443 DEC_PYCALLBACK_BOOL_BOOL(Print);
2444 DEC_PYCALLBACK_VOID_(DetermineScaling);
2445
2446 PYPRIVATE;
2447};
2448
2449// Stupid renamed classes... Fix this in 2.5...
2450#if defined(__WXMSW__)
2451IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
2452#elif defined(__WXMAC__)
2453IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
2454#else
2455IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
2456#endif
2457
2458IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
2459IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
2460IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
2461IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
2462IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
2463IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
2464IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
2465
2466
2467class wxPyPreviewFrame : public wxPreviewFrame
2468{
2469 DECLARE_CLASS(wxPyPreviewFrame);
2470public:
2471 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
2472 const wxString& title,
2473 const wxPoint& pos = wxDefaultPosition,
2474 const wxSize& size = wxDefaultSize,
2475 long style = wxDEFAULT_FRAME_STYLE,
2476 const wxString& name = wxPyFrameNameStr)
2477 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
2478 {}
2479
2480 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
2481 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
2482
2483 DEC_PYCALLBACK_VOID_(Initialize);
2484 DEC_PYCALLBACK_VOID_(CreateCanvas);
2485 DEC_PYCALLBACK_VOID_(CreateControlBar);
2486
2487 PYPRIVATE;
2488};
2489
2490IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
2491
2492IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
2493IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
2494IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
2495
2496
2497class wxPyPreviewControlBar : public wxPreviewControlBar
2498{
2499 DECLARE_CLASS(wxPyPreviewControlBar);
2500public:
2501 wxPyPreviewControlBar(wxPrintPreview *preview,
2502 long buttons,
2503 wxWindow *parent,
2504 const wxPoint& pos = wxDefaultPosition,
2505 const wxSize& size = wxDefaultSize,
2506 long style = 0,
2507 const wxString& name = wxPyPanelNameStr)
2508 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
2509 {}
2510
2511 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
2512
2513 DEC_PYCALLBACK_VOID_(CreateButtons);
2514 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
2515
2516 PYPRIVATE;
2517};
2518
2519IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
2520IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
2521IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
2522
2523#ifdef __cplusplus
2524extern "C" {
2525#endif
c370783e 2526static PyObject *_wrap_new_Panel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2527 PyObject *resultobj;
2528 wxWindow *arg1 = (wxWindow *) 0 ;
2529 int arg2 = (int) (int)-1 ;
2530 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2531 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2532 wxSize const &arg4_defvalue = wxDefaultSize ;
2533 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2534 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2535 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2536 wxString *arg6 = (wxString *) &arg6_defvalue ;
2537 wxPanel *result;
2538 wxPoint temp3 ;
2539 wxSize temp4 ;
b411df4a 2540 bool temp6 = false ;
d55e5bfc
RD
2541 PyObject * obj0 = 0 ;
2542 PyObject * obj1 = 0 ;
2543 PyObject * obj2 = 0 ;
2544 PyObject * obj3 = 0 ;
2545 PyObject * obj4 = 0 ;
2546 PyObject * obj5 = 0 ;
2547 char *kwnames[] = {
2548 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2549 };
2550
2551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
2552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2553 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2554 if (obj1) {
36ed4f51
RD
2555 {
2556 arg2 = (int const)(SWIG_As_int(obj1));
2557 if (SWIG_arg_fail(2)) SWIG_fail;
2558 }
d55e5bfc
RD
2559 }
2560 if (obj2) {
2561 {
2562 arg3 = &temp3;
2563 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2564 }
2565 }
2566 if (obj3) {
2567 {
2568 arg4 = &temp4;
2569 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2570 }
2571 }
2572 if (obj4) {
36ed4f51
RD
2573 {
2574 arg5 = (long)(SWIG_As_long(obj4));
2575 if (SWIG_arg_fail(5)) SWIG_fail;
2576 }
d55e5bfc
RD
2577 }
2578 if (obj5) {
2579 {
2580 arg6 = wxString_in_helper(obj5);
2581 if (arg6 == NULL) SWIG_fail;
b411df4a 2582 temp6 = true;
d55e5bfc
RD
2583 }
2584 }
2585 {
0439c23b 2586 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2587 PyThreadState* __tstate = wxPyBeginAllowThreads();
2588 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2589
2590 wxPyEndAllowThreads(__tstate);
110da5b0 2591 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2592 }
b0f7404b 2593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2594 {
2595 if (temp6)
2596 delete arg6;
2597 }
2598 return resultobj;
2599 fail:
2600 {
2601 if (temp6)
2602 delete arg6;
2603 }
2604 return NULL;
2605}
2606
2607
c370783e 2608static PyObject *_wrap_new_PrePanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2609 PyObject *resultobj;
2610 wxPanel *result;
2611 char *kwnames[] = {
2612 NULL
2613 };
2614
2615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
2616 {
0439c23b 2617 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2618 PyThreadState* __tstate = wxPyBeginAllowThreads();
2619 result = (wxPanel *)new wxPanel();
2620
2621 wxPyEndAllowThreads(__tstate);
110da5b0 2622 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2623 }
b0f7404b 2624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 1);
d55e5bfc
RD
2625 return resultobj;
2626 fail:
2627 return NULL;
2628}
2629
2630
c370783e 2631static PyObject *_wrap_Panel_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2632 PyObject *resultobj;
2633 wxPanel *arg1 = (wxPanel *) 0 ;
2634 wxWindow *arg2 = (wxWindow *) 0 ;
2635 int arg3 = (int) (int)-1 ;
2636 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2637 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2638 wxSize const &arg5_defvalue = wxDefaultSize ;
2639 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2640 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
2641 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2642 wxString *arg7 = (wxString *) &arg7_defvalue ;
2643 bool result;
2644 wxPoint temp4 ;
2645 wxSize temp5 ;
b411df4a 2646 bool temp7 = false ;
d55e5bfc
RD
2647 PyObject * obj0 = 0 ;
2648 PyObject * obj1 = 0 ;
2649 PyObject * obj2 = 0 ;
2650 PyObject * obj3 = 0 ;
2651 PyObject * obj4 = 0 ;
2652 PyObject * obj5 = 0 ;
2653 PyObject * obj6 = 0 ;
2654 char *kwnames[] = {
2655 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2656 };
2657
2658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
2659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2660 if (SWIG_arg_fail(1)) SWIG_fail;
2661 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2662 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 2663 if (obj2) {
36ed4f51
RD
2664 {
2665 arg3 = (int const)(SWIG_As_int(obj2));
2666 if (SWIG_arg_fail(3)) SWIG_fail;
2667 }
d55e5bfc
RD
2668 }
2669 if (obj3) {
2670 {
2671 arg4 = &temp4;
2672 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2673 }
2674 }
2675 if (obj4) {
2676 {
2677 arg5 = &temp5;
2678 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2679 }
2680 }
2681 if (obj5) {
36ed4f51
RD
2682 {
2683 arg6 = (long)(SWIG_As_long(obj5));
2684 if (SWIG_arg_fail(6)) SWIG_fail;
2685 }
d55e5bfc
RD
2686 }
2687 if (obj6) {
2688 {
2689 arg7 = wxString_in_helper(obj6);
2690 if (arg7 == NULL) SWIG_fail;
b411df4a 2691 temp7 = true;
d55e5bfc
RD
2692 }
2693 }
2694 {
2695 PyThreadState* __tstate = wxPyBeginAllowThreads();
2696 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2697
2698 wxPyEndAllowThreads(__tstate);
2699 if (PyErr_Occurred()) SWIG_fail;
2700 }
2701 {
2702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2703 }
2704 {
2705 if (temp7)
2706 delete arg7;
2707 }
2708 return resultobj;
2709 fail:
2710 {
2711 if (temp7)
2712 delete arg7;
2713 }
2714 return NULL;
2715}
2716
2717
c370783e 2718static PyObject *_wrap_Panel_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2719 PyObject *resultobj;
2720 wxPanel *arg1 = (wxPanel *) 0 ;
2721 PyObject * obj0 = 0 ;
2722 char *kwnames[] = {
2723 (char *) "self", NULL
2724 };
2725
2726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
2727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2728 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2729 {
2730 PyThreadState* __tstate = wxPyBeginAllowThreads();
2731 (arg1)->InitDialog();
2732
2733 wxPyEndAllowThreads(__tstate);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
2736 Py_INCREF(Py_None); resultobj = Py_None;
2737 return resultobj;
2738 fail:
2739 return NULL;
2740}
2741
2742
5cbf236d
RD
2743static PyObject *_wrap_Panel_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
2744 PyObject *resultobj;
2745 wxPanel *arg1 = (wxPanel *) 0 ;
2746 PyObject * obj0 = 0 ;
2747 char *kwnames[] = {
2748 (char *) "self", NULL
2749 };
2750
2751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
2752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2753 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
2754 {
2755 PyThreadState* __tstate = wxPyBeginAllowThreads();
2756 (arg1)->SetFocus();
2757
2758 wxPyEndAllowThreads(__tstate);
2759 if (PyErr_Occurred()) SWIG_fail;
2760 }
2761 Py_INCREF(Py_None); resultobj = Py_None;
2762 return resultobj;
2763 fail:
2764 return NULL;
2765}
2766
2767
2768static PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *, PyObject *args, PyObject *kwargs) {
2769 PyObject *resultobj;
2770 wxPanel *arg1 = (wxPanel *) 0 ;
2771 PyObject * obj0 = 0 ;
2772 char *kwnames[] = {
2773 (char *) "self", NULL
2774 };
2775
2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames,&obj0)) goto fail;
36ed4f51
RD
2777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPanel, SWIG_POINTER_EXCEPTION | 0);
2778 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
2779 {
2780 PyThreadState* __tstate = wxPyBeginAllowThreads();
2781 (arg1)->SetFocusIgnoringChildren();
2782
2783 wxPyEndAllowThreads(__tstate);
2784 if (PyErr_Occurred()) SWIG_fail;
2785 }
2786 Py_INCREF(Py_None); resultobj = Py_None;
2787 return resultobj;
2788 fail:
2789 return NULL;
2790}
2791
2792
c370783e 2793static PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 2794 PyObject *resultobj;
36ed4f51 2795 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
2796 wxVisualAttributes result;
2797 PyObject * obj0 = 0 ;
2798 char *kwnames[] = {
2799 (char *) "variant", NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2803 if (obj0) {
36ed4f51
RD
2804 {
2805 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2806 if (SWIG_arg_fail(1)) SWIG_fail;
2807 }
f20a2e1f
RD
2808 }
2809 {
0439c23b 2810 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
2812 result = wxPanel::GetClassDefaultAttributes((wxWindowVariant )arg1);
2813
2814 wxPyEndAllowThreads(__tstate);
110da5b0 2815 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2816 }
2817 {
2818 wxVisualAttributes * resultptr;
36ed4f51 2819 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
2820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2821 }
2822 return resultobj;
2823 fail:
2824 return NULL;
2825}
2826
2827
c370783e 2828static PyObject * Panel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2829 PyObject *obj;
2830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2831 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
2832 Py_INCREF(obj);
2833 return Py_BuildValue((char *)"");
2834}
c370783e 2835static PyObject *_wrap_new_ScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2836 PyObject *resultobj;
2837 wxWindow *arg1 = (wxWindow *) 0 ;
2838 int arg2 = (int) (int)-1 ;
2839 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2840 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2841 wxSize const &arg4_defvalue = wxDefaultSize ;
2842 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2843 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
2844 wxString const &arg6_defvalue = wxPyPanelNameStr ;
2845 wxString *arg6 = (wxString *) &arg6_defvalue ;
2846 wxScrolledWindow *result;
2847 wxPoint temp3 ;
2848 wxSize temp4 ;
b411df4a 2849 bool temp6 = false ;
d55e5bfc
RD
2850 PyObject * obj0 = 0 ;
2851 PyObject * obj1 = 0 ;
2852 PyObject * obj2 = 0 ;
2853 PyObject * obj3 = 0 ;
2854 PyObject * obj4 = 0 ;
2855 PyObject * obj5 = 0 ;
2856 char *kwnames[] = {
2857 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2858 };
2859
2860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
2861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2862 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 2863 if (obj1) {
36ed4f51
RD
2864 {
2865 arg2 = (int const)(SWIG_As_int(obj1));
2866 if (SWIG_arg_fail(2)) SWIG_fail;
2867 }
d55e5bfc
RD
2868 }
2869 if (obj2) {
2870 {
2871 arg3 = &temp3;
2872 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2873 }
2874 }
2875 if (obj3) {
2876 {
2877 arg4 = &temp4;
2878 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2879 }
2880 }
2881 if (obj4) {
36ed4f51
RD
2882 {
2883 arg5 = (long)(SWIG_As_long(obj4));
2884 if (SWIG_arg_fail(5)) SWIG_fail;
2885 }
d55e5bfc
RD
2886 }
2887 if (obj5) {
2888 {
2889 arg6 = wxString_in_helper(obj5);
2890 if (arg6 == NULL) SWIG_fail;
b411df4a 2891 temp6 = true;
d55e5bfc
RD
2892 }
2893 }
2894 {
0439c23b 2895 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2896 PyThreadState* __tstate = wxPyBeginAllowThreads();
2897 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2898
2899 wxPyEndAllowThreads(__tstate);
110da5b0 2900 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2901 }
b0f7404b 2902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
2903 {
2904 if (temp6)
2905 delete arg6;
2906 }
2907 return resultobj;
2908 fail:
2909 {
2910 if (temp6)
2911 delete arg6;
2912 }
2913 return NULL;
2914}
2915
2916
c370783e 2917static PyObject *_wrap_new_PreScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2918 PyObject *resultobj;
2919 wxScrolledWindow *result;
2920 char *kwnames[] = {
2921 NULL
2922 };
2923
2924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
2925 {
0439c23b 2926 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2927 PyThreadState* __tstate = wxPyBeginAllowThreads();
2928 result = (wxScrolledWindow *)new wxScrolledWindow();
2929
2930 wxPyEndAllowThreads(__tstate);
110da5b0 2931 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2932 }
b0f7404b 2933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrolledWindow, 1);
d55e5bfc
RD
2934 return resultobj;
2935 fail:
2936 return NULL;
2937}
2938
2939
c370783e 2940static PyObject *_wrap_ScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2941 PyObject *resultobj;
2942 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2943 wxWindow *arg2 = (wxWindow *) 0 ;
2944 int arg3 = (int) (int)-1 ;
2945 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2946 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2947 wxSize const &arg5_defvalue = wxDefaultSize ;
2948 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2949 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
2950 wxString const &arg7_defvalue = wxPyPanelNameStr ;
2951 wxString *arg7 = (wxString *) &arg7_defvalue ;
2952 bool result;
2953 wxPoint temp4 ;
2954 wxSize temp5 ;
b411df4a 2955 bool temp7 = false ;
d55e5bfc
RD
2956 PyObject * obj0 = 0 ;
2957 PyObject * obj1 = 0 ;
2958 PyObject * obj2 = 0 ;
2959 PyObject * obj3 = 0 ;
2960 PyObject * obj4 = 0 ;
2961 PyObject * obj5 = 0 ;
2962 PyObject * obj6 = 0 ;
2963 char *kwnames[] = {
2964 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2965 };
2966
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
2968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
2969 if (SWIG_arg_fail(1)) SWIG_fail;
2970 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2971 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 2972 if (obj2) {
36ed4f51
RD
2973 {
2974 arg3 = (int const)(SWIG_As_int(obj2));
2975 if (SWIG_arg_fail(3)) SWIG_fail;
2976 }
d55e5bfc
RD
2977 }
2978 if (obj3) {
2979 {
2980 arg4 = &temp4;
2981 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2982 }
2983 }
2984 if (obj4) {
2985 {
2986 arg5 = &temp5;
2987 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2988 }
2989 }
2990 if (obj5) {
36ed4f51
RD
2991 {
2992 arg6 = (long)(SWIG_As_long(obj5));
2993 if (SWIG_arg_fail(6)) SWIG_fail;
2994 }
d55e5bfc
RD
2995 }
2996 if (obj6) {
2997 {
2998 arg7 = wxString_in_helper(obj6);
2999 if (arg7 == NULL) SWIG_fail;
b411df4a 3000 temp7 = true;
d55e5bfc
RD
3001 }
3002 }
3003 {
3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
3005 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3006
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 {
3011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3012 }
3013 {
3014 if (temp7)
3015 delete arg7;
3016 }
3017 return resultobj;
3018 fail:
3019 {
3020 if (temp7)
3021 delete arg7;
3022 }
3023 return NULL;
3024}
3025
3026
c370783e 3027static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3028 PyObject *resultobj;
3029 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3030 int arg2 ;
3031 int arg3 ;
3032 int arg4 ;
3033 int arg5 ;
3034 int arg6 = (int) 0 ;
3035 int arg7 = (int) 0 ;
b411df4a 3036 bool arg8 = (bool) false ;
d55e5bfc
RD
3037 PyObject * obj0 = 0 ;
3038 PyObject * obj1 = 0 ;
3039 PyObject * obj2 = 0 ;
3040 PyObject * obj3 = 0 ;
3041 PyObject * obj4 = 0 ;
3042 PyObject * obj5 = 0 ;
3043 PyObject * obj6 = 0 ;
3044 PyObject * obj7 = 0 ;
3045 char *kwnames[] = {
3046 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3047 };
3048
3049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
3050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3051 if (SWIG_arg_fail(1)) SWIG_fail;
3052 {
3053 arg2 = (int)(SWIG_As_int(obj1));
3054 if (SWIG_arg_fail(2)) SWIG_fail;
3055 }
3056 {
3057 arg3 = (int)(SWIG_As_int(obj2));
3058 if (SWIG_arg_fail(3)) SWIG_fail;
3059 }
3060 {
3061 arg4 = (int)(SWIG_As_int(obj3));
3062 if (SWIG_arg_fail(4)) SWIG_fail;
3063 }
3064 {
3065 arg5 = (int)(SWIG_As_int(obj4));
3066 if (SWIG_arg_fail(5)) SWIG_fail;
3067 }
d55e5bfc 3068 if (obj5) {
36ed4f51
RD
3069 {
3070 arg6 = (int)(SWIG_As_int(obj5));
3071 if (SWIG_arg_fail(6)) SWIG_fail;
3072 }
d55e5bfc
RD
3073 }
3074 if (obj6) {
36ed4f51
RD
3075 {
3076 arg7 = (int)(SWIG_As_int(obj6));
3077 if (SWIG_arg_fail(7)) SWIG_fail;
3078 }
d55e5bfc
RD
3079 }
3080 if (obj7) {
36ed4f51
RD
3081 {
3082 arg8 = (bool)(SWIG_As_bool(obj7));
3083 if (SWIG_arg_fail(8)) SWIG_fail;
3084 }
d55e5bfc
RD
3085 }
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) SWIG_fail;
3092 }
3093 Py_INCREF(Py_None); resultobj = Py_None;
3094 return resultobj;
3095 fail:
3096 return NULL;
3097}
3098
3099
c370783e 3100static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3101 PyObject *resultobj;
3102 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3103 int arg2 ;
3104 int arg3 ;
3105 PyObject * obj0 = 0 ;
3106 PyObject * obj1 = 0 ;
3107 PyObject * obj2 = 0 ;
3108 char *kwnames[] = {
3109 (char *) "self",(char *) "x",(char *) "y", NULL
3110 };
3111
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3114 if (SWIG_arg_fail(1)) SWIG_fail;
3115 {
3116 arg2 = (int)(SWIG_As_int(obj1));
3117 if (SWIG_arg_fail(2)) SWIG_fail;
3118 }
3119 {
3120 arg3 = (int)(SWIG_As_int(obj2));
3121 if (SWIG_arg_fail(3)) SWIG_fail;
3122 }
d55e5bfc
RD
3123 {
3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
3125 (arg1)->Scroll(arg2,arg3);
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 Py_INCREF(Py_None); resultobj = Py_None;
3131 return resultobj;
3132 fail:
3133 return NULL;
3134}
3135
3136
c370783e 3137static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3138 PyObject *resultobj;
3139 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3140 int arg2 ;
3141 int result;
3142 PyObject * obj0 = 0 ;
3143 PyObject * obj1 = 0 ;
3144 char *kwnames[] = {
3145 (char *) "self",(char *) "orient", NULL
3146 };
3147
3148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3150 if (SWIG_arg_fail(1)) SWIG_fail;
3151 {
3152 arg2 = (int)(SWIG_As_int(obj1));
3153 if (SWIG_arg_fail(2)) SWIG_fail;
3154 }
d55e5bfc
RD
3155 {
3156 PyThreadState* __tstate = wxPyBeginAllowThreads();
3157 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
3158
3159 wxPyEndAllowThreads(__tstate);
3160 if (PyErr_Occurred()) SWIG_fail;
3161 }
36ed4f51
RD
3162 {
3163 resultobj = SWIG_From_int((int)(result));
3164 }
d55e5bfc
RD
3165 return resultobj;
3166 fail:
3167 return NULL;
3168}
3169
3170
c370783e 3171static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3172 PyObject *resultobj;
3173 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3174 int arg2 ;
3175 int arg3 ;
3176 PyObject * obj0 = 0 ;
3177 PyObject * obj1 = 0 ;
3178 PyObject * obj2 = 0 ;
3179 char *kwnames[] = {
3180 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3181 };
3182
3183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3185 if (SWIG_arg_fail(1)) SWIG_fail;
3186 {
3187 arg2 = (int)(SWIG_As_int(obj1));
3188 if (SWIG_arg_fail(2)) SWIG_fail;
3189 }
3190 {
3191 arg3 = (int)(SWIG_As_int(obj2));
3192 if (SWIG_arg_fail(3)) SWIG_fail;
3193 }
d55e5bfc
RD
3194 {
3195 PyThreadState* __tstate = wxPyBeginAllowThreads();
3196 (arg1)->SetScrollPageSize(arg2,arg3);
3197
3198 wxPyEndAllowThreads(__tstate);
3199 if (PyErr_Occurred()) SWIG_fail;
3200 }
3201 Py_INCREF(Py_None); resultobj = Py_None;
3202 return resultobj;
3203 fail:
3204 return NULL;
3205}
3206
3207
c370783e 3208static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3209 PyObject *resultobj;
3210 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3211 int arg2 ;
3212 int arg3 ;
3213 PyObject * obj0 = 0 ;
3214 PyObject * obj1 = 0 ;
3215 PyObject * obj2 = 0 ;
3216 char *kwnames[] = {
3217 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3218 };
3219
3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3222 if (SWIG_arg_fail(1)) SWIG_fail;
3223 {
3224 arg2 = (int)(SWIG_As_int(obj1));
3225 if (SWIG_arg_fail(2)) SWIG_fail;
3226 }
3227 {
3228 arg3 = (int)(SWIG_As_int(obj2));
3229 if (SWIG_arg_fail(3)) SWIG_fail;
3230 }
d55e5bfc
RD
3231 {
3232 PyThreadState* __tstate = wxPyBeginAllowThreads();
3233 (arg1)->SetScrollRate(arg2,arg3);
3234
3235 wxPyEndAllowThreads(__tstate);
3236 if (PyErr_Occurred()) SWIG_fail;
3237 }
3238 Py_INCREF(Py_None); resultobj = Py_None;
3239 return resultobj;
3240 fail:
3241 return NULL;
3242}
3243
3244
c370783e 3245static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3246 PyObject *resultobj;
3247 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3248 int *arg2 = (int *) 0 ;
3249 int *arg3 = (int *) 0 ;
3250 int temp2 ;
c370783e 3251 int res2 = 0 ;
d55e5bfc 3252 int temp3 ;
c370783e 3253 int res3 = 0 ;
d55e5bfc
RD
3254 PyObject * obj0 = 0 ;
3255 char *kwnames[] = {
3256 (char *) "self", NULL
3257 };
3258
c370783e
RD
3259 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3260 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
36ed4f51
RD
3262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3264 {
3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
3266 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
3267
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3272 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3273 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3274 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3275 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3276 return resultobj;
3277 fail:
3278 return NULL;
3279}
3280
3281
c370783e 3282static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3283 PyObject *resultobj;
3284 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3285 bool arg2 ;
3286 bool arg3 ;
3287 PyObject * obj0 = 0 ;
3288 PyObject * obj1 = 0 ;
3289 PyObject * obj2 = 0 ;
3290 char *kwnames[] = {
3291 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3296 if (SWIG_arg_fail(1)) SWIG_fail;
3297 {
3298 arg2 = (bool)(SWIG_As_bool(obj1));
3299 if (SWIG_arg_fail(2)) SWIG_fail;
3300 }
3301 {
3302 arg3 = (bool)(SWIG_As_bool(obj2));
3303 if (SWIG_arg_fail(3)) SWIG_fail;
3304 }
d55e5bfc
RD
3305 {
3306 PyThreadState* __tstate = wxPyBeginAllowThreads();
3307 (arg1)->EnableScrolling(arg2,arg3);
3308
3309 wxPyEndAllowThreads(__tstate);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 }
3312 Py_INCREF(Py_None); resultobj = Py_None;
3313 return resultobj;
3314 fail:
3315 return NULL;
3316}
3317
3318
c370783e 3319static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3320 PyObject *resultobj;
3321 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3322 int *arg2 = (int *) 0 ;
3323 int *arg3 = (int *) 0 ;
3324 int temp2 ;
c370783e 3325 int res2 = 0 ;
d55e5bfc 3326 int temp3 ;
c370783e 3327 int res3 = 0 ;
d55e5bfc
RD
3328 PyObject * obj0 = 0 ;
3329 char *kwnames[] = {
3330 (char *) "self", NULL
3331 };
3332
c370783e
RD
3333 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3334 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 3335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
3336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3338 {
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
3341
3342 wxPyEndAllowThreads(__tstate);
3343 if (PyErr_Occurred()) SWIG_fail;
3344 }
3345 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3346 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3347 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3348 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
3349 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3350 return resultobj;
3351 fail:
3352 return NULL;
3353}
3354
3355
c370783e 3356static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3357 PyObject *resultobj;
3358 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3359 double arg2 ;
3360 double arg3 ;
3361 PyObject * obj0 = 0 ;
3362 PyObject * obj1 = 0 ;
3363 PyObject * obj2 = 0 ;
3364 char *kwnames[] = {
3365 (char *) "self",(char *) "xs",(char *) "ys", NULL
3366 };
3367
3368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3370 if (SWIG_arg_fail(1)) SWIG_fail;
3371 {
3372 arg2 = (double)(SWIG_As_double(obj1));
3373 if (SWIG_arg_fail(2)) SWIG_fail;
3374 }
3375 {
3376 arg3 = (double)(SWIG_As_double(obj2));
3377 if (SWIG_arg_fail(3)) SWIG_fail;
3378 }
d55e5bfc
RD
3379 {
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 (arg1)->SetScale(arg2,arg3);
3382
3383 wxPyEndAllowThreads(__tstate);
3384 if (PyErr_Occurred()) SWIG_fail;
3385 }
3386 Py_INCREF(Py_None); resultobj = Py_None;
3387 return resultobj;
3388 fail:
3389 return NULL;
3390}
3391
3392
c370783e 3393static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3394 PyObject *resultobj;
3395 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3396 double result;
3397 PyObject * obj0 = 0 ;
3398 char *kwnames[] = {
3399 (char *) "self", NULL
3400 };
3401
3402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
36ed4f51
RD
3403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3404 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3405 {
3406 PyThreadState* __tstate = wxPyBeginAllowThreads();
3407 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
3408
3409 wxPyEndAllowThreads(__tstate);
3410 if (PyErr_Occurred()) SWIG_fail;
3411 }
36ed4f51
RD
3412 {
3413 resultobj = SWIG_From_double((double)(result));
3414 }
d55e5bfc
RD
3415 return resultobj;
3416 fail:
3417 return NULL;
3418}
3419
3420
c370783e 3421static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3422 PyObject *resultobj;
3423 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3424 double result;
3425 PyObject * obj0 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "self", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
36ed4f51
RD
3431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3432 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
36ed4f51
RD
3440 {
3441 resultobj = SWIG_From_double((double)(result));
3442 }
d55e5bfc
RD
3443 return resultobj;
3444 fail:
3445 return NULL;
3446}
3447
3448
c370783e 3449static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
3450 PyObject *resultobj;
3451 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3452 wxPoint *arg2 = 0 ;
3453 wxPoint result;
3454 wxPoint temp2 ;
3455 PyObject * obj0 = 0 ;
3456 PyObject * obj1 = 0 ;
3457
3458 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
36ed4f51
RD
3459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3460 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3461 {
3462 arg2 = &temp2;
3463 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3464 }
3465 {
3466 PyThreadState* __tstate = wxPyBeginAllowThreads();
3467 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
3468
3469 wxPyEndAllowThreads(__tstate);
3470 if (PyErr_Occurred()) SWIG_fail;
3471 }
3472 {
3473 wxPoint * resultptr;
36ed4f51 3474 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
3475 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3476 }
3477 return resultobj;
3478 fail:
3479 return NULL;
3480}
3481
3482
c370783e 3483static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
3484 PyObject *resultobj;
3485 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3486 int arg2 ;
3487 int arg3 ;
3488 int *arg4 = (int *) 0 ;
3489 int *arg5 = (int *) 0 ;
3490 int temp4 ;
c370783e 3491 int res4 = 0 ;
d55e5bfc 3492 int temp5 ;
c370783e 3493 int res5 = 0 ;
d55e5bfc
RD
3494 PyObject * obj0 = 0 ;
3495 PyObject * obj1 = 0 ;
3496 PyObject * obj2 = 0 ;
3497
c370783e
RD
3498 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3499 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3500 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3502 if (SWIG_arg_fail(1)) SWIG_fail;
3503 {
3504 arg2 = (int)(SWIG_As_int(obj1));
3505 if (SWIG_arg_fail(2)) SWIG_fail;
3506 }
3507 {
3508 arg3 = (int)(SWIG_As_int(obj2));
3509 if (SWIG_arg_fail(3)) SWIG_fail;
3510 }
d55e5bfc
RD
3511 {
3512 PyThreadState* __tstate = wxPyBeginAllowThreads();
3513 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
3514
3515 wxPyEndAllowThreads(__tstate);
3516 if (PyErr_Occurred()) SWIG_fail;
3517 }
3518 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3519 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3520 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3521 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3522 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3523 return resultobj;
3524 fail:
3525 return NULL;
3526}
3527
3528
3529static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
3530 int argc;
3531 PyObject *argv[4];
3532 int ii;
3533
3534 argc = PyObject_Length(args);
3535 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3536 argv[ii] = PyTuple_GetItem(args,ii);
3537 }
3538 if (argc == 2) {
3539 int _v;
3540 {
3541 void *ptr;
3542 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3543 _v = 0;
3544 PyErr_Clear();
3545 } else {
3546 _v = 1;
3547 }
3548 }
3549 if (_v) {
3550 {
3551 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3552 }
3553 if (_v) {
3554 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
3555 }
3556 }
3557 }
3558 if (argc == 3) {
3559 int _v;
3560 {
3561 void *ptr;
3562 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3563 _v = 0;
3564 PyErr_Clear();
3565 } else {
3566 _v = 1;
3567 }
3568 }
3569 if (_v) {
c370783e 3570 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3571 if (_v) {
c370783e 3572 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3573 if (_v) {
3574 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
3575 }
3576 }
3577 }
3578 }
3579
36ed4f51 3580 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
d55e5bfc
RD
3581 return NULL;
3582}
3583
3584
c370783e 3585static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
3586 PyObject *resultobj;
3587 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3588 wxPoint *arg2 = 0 ;
3589 wxPoint result;
3590 wxPoint temp2 ;
3591 PyObject * obj0 = 0 ;
3592 PyObject * obj1 = 0 ;
3593
3594 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
36ed4f51
RD
3595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3597 {
3598 arg2 = &temp2;
3599 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3600 }
3601 {
3602 PyThreadState* __tstate = wxPyBeginAllowThreads();
3603 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
3604
3605 wxPyEndAllowThreads(__tstate);
3606 if (PyErr_Occurred()) SWIG_fail;
3607 }
3608 {
3609 wxPoint * resultptr;
36ed4f51 3610 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
3611 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
3612 }
3613 return resultobj;
3614 fail:
3615 return NULL;
3616}
3617
3618
c370783e 3619static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
3620 PyObject *resultobj;
3621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3622 int arg2 ;
3623 int arg3 ;
3624 int *arg4 = (int *) 0 ;
3625 int *arg5 = (int *) 0 ;
3626 int temp4 ;
c370783e 3627 int res4 = 0 ;
d55e5bfc 3628 int temp5 ;
c370783e 3629 int res5 = 0 ;
d55e5bfc
RD
3630 PyObject * obj0 = 0 ;
3631 PyObject * obj1 = 0 ;
3632 PyObject * obj2 = 0 ;
3633
c370783e
RD
3634 arg4 = &temp4; res4 = SWIG_NEWOBJ;
3635 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 3636 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3638 if (SWIG_arg_fail(1)) SWIG_fail;
3639 {
3640 arg2 = (int)(SWIG_As_int(obj1));
3641 if (SWIG_arg_fail(2)) SWIG_fail;
3642 }
3643 {
3644 arg3 = (int)(SWIG_As_int(obj2));
3645 if (SWIG_arg_fail(3)) SWIG_fail;
3646 }
d55e5bfc
RD
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
3655 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
3656 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
3657 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
3658 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
3659 return resultobj;
3660 fail:
3661 return NULL;
3662}
3663
3664
3665static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
3666 int argc;
3667 PyObject *argv[4];
3668 int ii;
3669
3670 argc = PyObject_Length(args);
3671 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
3672 argv[ii] = PyTuple_GetItem(args,ii);
3673 }
3674 if (argc == 2) {
3675 int _v;
3676 {
3677 void *ptr;
3678 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3679 _v = 0;
3680 PyErr_Clear();
3681 } else {
3682 _v = 1;
3683 }
3684 }
3685 if (_v) {
3686 {
3687 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
3688 }
3689 if (_v) {
3690 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
3691 }
3692 }
3693 }
3694 if (argc == 3) {
3695 int _v;
3696 {
3697 void *ptr;
3698 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
3699 _v = 0;
3700 PyErr_Clear();
3701 } else {
3702 _v = 1;
3703 }
3704 }
3705 if (_v) {
c370783e 3706 _v = SWIG_Check_int(argv[1]);
d55e5bfc 3707 if (_v) {
c370783e 3708 _v = SWIG_Check_int(argv[2]);
d55e5bfc
RD
3709 if (_v) {
3710 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
3711 }
3712 }
3713 }
3714 }
3715
36ed4f51 3716 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
d55e5bfc
RD
3717 return NULL;
3718}
3719
3720
c370783e 3721static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3722 PyObject *resultobj;
3723 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3724 PyObject * obj0 = 0 ;
3725 char *kwnames[] = {
3726 (char *) "self", NULL
3727 };
3728
3729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
36ed4f51
RD
3730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3731 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3732 {
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 (arg1)->AdjustScrollbars();
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 }
3739 Py_INCREF(Py_None); resultobj = Py_None;
3740 return resultobj;
3741 fail:
3742 return NULL;
3743}
3744
3745
c370783e 3746static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3747 PyObject *resultobj;
3748 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3749 wxScrollWinEvent *arg2 = 0 ;
3750 int result;
3751 PyObject * obj0 = 0 ;
3752 PyObject * obj1 = 0 ;
3753 char *kwnames[] = {
3754 (char *) "self",(char *) "event", NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3759 if (SWIG_arg_fail(1)) SWIG_fail;
3760 {
3761 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollWinEvent, SWIG_POINTER_EXCEPTION | 0);
3762 if (SWIG_arg_fail(2)) SWIG_fail;
3763 if (arg2 == NULL) {
3764 SWIG_null_ref("wxScrollWinEvent");
3765 }
3766 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3767 }
3768 {
3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
3770 result = (int)(arg1)->CalcScrollInc(*arg2);
3771
3772 wxPyEndAllowThreads(__tstate);
3773 if (PyErr_Occurred()) SWIG_fail;
3774 }
36ed4f51
RD
3775 {
3776 resultobj = SWIG_From_int((int)(result));
3777 }
d55e5bfc
RD
3778 return resultobj;
3779 fail:
3780 return NULL;
3781}
3782
3783
c370783e 3784static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3785 PyObject *resultobj;
3786 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3787 wxWindow *arg2 = (wxWindow *) 0 ;
3788 PyObject * obj0 = 0 ;
3789 PyObject * obj1 = 0 ;
3790 char *kwnames[] = {
3791 (char *) "self",(char *) "target", NULL
3792 };
3793
3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3796 if (SWIG_arg_fail(1)) SWIG_fail;
3797 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3798 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3799 {
3800 PyThreadState* __tstate = wxPyBeginAllowThreads();
3801 (arg1)->SetTargetWindow(arg2);
3802
3803 wxPyEndAllowThreads(__tstate);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
3806 Py_INCREF(Py_None); resultobj = Py_None;
3807 return resultobj;
3808 fail:
3809 return NULL;
3810}
3811
3812
c370783e 3813static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3814 PyObject *resultobj;
3815 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3816 wxWindow *result;
3817 PyObject * obj0 = 0 ;
3818 char *kwnames[] = {
3819 (char *) "self", NULL
3820 };
3821
3822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
3823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3824 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3825 {
3826 PyThreadState* __tstate = wxPyBeginAllowThreads();
3827 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
3828
3829 wxPyEndAllowThreads(__tstate);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 {
412d302d 3833 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
3834 }
3835 return resultobj;
3836 fail:
3837 return NULL;
3838}
3839
3840
c370783e 3841static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3842 PyObject *resultobj;
3843 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3844 wxRect *arg2 = 0 ;
3845 wxRect temp2 ;
3846 PyObject * obj0 = 0 ;
3847 PyObject * obj1 = 0 ;
3848 char *kwnames[] = {
3849 (char *) "self",(char *) "rect", NULL
3850 };
3851
3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3855 {
3856 arg2 = &temp2;
3857 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
3858 }
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 (arg1)->SetTargetRect((wxRect const &)*arg2);
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 Py_INCREF(Py_None); resultobj = Py_None;
3867 return resultobj;
3868 fail:
3869 return NULL;
3870}
3871
3872
c370783e 3873static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3874 PyObject *resultobj;
3875 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3876 wxRect result;
3877 PyObject * obj0 = 0 ;
3878 char *kwnames[] = {
3879 (char *) "self", NULL
3880 };
3881
3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
3883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3884 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3885 {
3886 PyThreadState* __tstate = wxPyBeginAllowThreads();
3887 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
3888
3889 wxPyEndAllowThreads(__tstate);
3890 if (PyErr_Occurred()) SWIG_fail;
3891 }
3892 {
3893 wxRect * resultptr;
36ed4f51 3894 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
3895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
3896 }
3897 return resultobj;
3898 fail:
3899 return NULL;
3900}
3901
3902
c370783e 3903static PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
f5b96ee1
RD
3904 PyObject *resultobj;
3905 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
3906 wxDC *arg2 = 0 ;
3907 PyObject * obj0 = 0 ;
3908 PyObject * obj1 = 0 ;
3909 char *kwnames[] = {
3910 (char *) "self",(char *) "dc", NULL
3911 };
3912
3913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
3915 if (SWIG_arg_fail(1)) SWIG_fail;
3916 {
3917 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
3918 if (SWIG_arg_fail(2)) SWIG_fail;
3919 if (arg2 == NULL) {
3920 SWIG_null_ref("wxDC");
3921 }
3922 if (SWIG_arg_fail(2)) SWIG_fail;
f5b96ee1
RD
3923 }
3924 {
3925 PyThreadState* __tstate = wxPyBeginAllowThreads();
3926 (arg1)->DoPrepareDC(*arg2);
3927
3928 wxPyEndAllowThreads(__tstate);
3929 if (PyErr_Occurred()) SWIG_fail;
3930 }
3931 Py_INCREF(Py_None); resultobj = Py_None;
3932 return resultobj;
3933 fail:
3934 return NULL;
3935}
3936
3937
c370783e 3938static PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 3939 PyObject *resultobj;
36ed4f51 3940 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3941 wxVisualAttributes result;
3942 PyObject * obj0 = 0 ;
3943 char *kwnames[] = {
3944 (char *) "variant", NULL
3945 };
3946
3947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3948 if (obj0) {
36ed4f51
RD
3949 {
3950 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3951 if (SWIG_arg_fail(1)) SWIG_fail;
3952 }
f20a2e1f
RD
3953 }
3954 {
0439c23b 3955 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3956 PyThreadState* __tstate = wxPyBeginAllowThreads();
3957 result = wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
3958
3959 wxPyEndAllowThreads(__tstate);
110da5b0 3960 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3961 }
3962 {
3963 wxVisualAttributes * resultptr;
36ed4f51 3964 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
3965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3966 }
3967 return resultobj;
3968 fail:
3969 return NULL;
3970}
3971
3972
c370783e 3973static PyObject * ScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3974 PyObject *obj;
3975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3976 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
3977 Py_INCREF(obj);
3978 return Py_BuildValue((char *)"");
3979}
c370783e 3980static int _wrap_FrameNameStr_set(PyObject *) {
d55e5bfc
RD
3981 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
3982 return 1;
3983}
3984
3985
36ed4f51 3986static PyObject *_wrap_FrameNameStr_get(void) {
d55e5bfc
RD
3987 PyObject *pyobj;
3988
3989 {
3990#if wxUSE_UNICODE
3991 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3992#else
3993 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
3994#endif
3995 }
3996 return pyobj;
3997}
3998
3999
c370783e 4000static int _wrap_DialogNameStr_set(PyObject *) {
d55e5bfc
RD
4001 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
4002 return 1;
4003}
4004
4005
36ed4f51 4006static PyObject *_wrap_DialogNameStr_get(void) {
d55e5bfc
RD
4007 PyObject *pyobj;
4008
4009 {
4010#if wxUSE_UNICODE
4011 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4012#else
4013 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
4014#endif
4015 }
4016 return pyobj;
4017}
4018
4019
c370783e 4020static int _wrap_StatusLineNameStr_set(PyObject *) {
d55e5bfc
RD
4021 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
4022 return 1;
4023}
4024
4025
36ed4f51 4026static PyObject *_wrap_StatusLineNameStr_get(void) {
d55e5bfc
RD
4027 PyObject *pyobj;
4028
4029 {
4030#if wxUSE_UNICODE
4031 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4032#else
4033 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
4034#endif
4035 }
4036 return pyobj;
4037}
4038
4039
c370783e 4040static int _wrap_ToolBarNameStr_set(PyObject *) {
d55e5bfc
RD
4041 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
4042 return 1;
4043}
4044
4045
36ed4f51 4046static PyObject *_wrap_ToolBarNameStr_get(void) {
d55e5bfc
RD
4047 PyObject *pyobj;
4048
4049 {
4050#if wxUSE_UNICODE
4051 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4052#else
4053 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
4054#endif
4055 }
4056 return pyobj;
4057}
4058
4059
c370783e 4060static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4061 PyObject *resultobj;
4062 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
b411df4a 4063 bool arg2 = (bool) true ;
d55e5bfc
RD
4064 PyObject * obj0 = 0 ;
4065 PyObject * obj1 = 0 ;
4066 char *kwnames[] = {
4067 (char *) "self",(char *) "maximize", NULL
4068 };
4069
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4072 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4073 if (obj1) {
36ed4f51
RD
4074 {
4075 arg2 = (bool)(SWIG_As_bool(obj1));
4076 if (SWIG_arg_fail(2)) SWIG_fail;
4077 }
d55e5bfc
RD
4078 }
4079 {
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 (arg1)->Maximize(arg2);
4082
4083 wxPyEndAllowThreads(__tstate);
4084 if (PyErr_Occurred()) SWIG_fail;
4085 }
4086 Py_INCREF(Py_None); resultobj = Py_None;
4087 return resultobj;
4088 fail:
4089 return NULL;
4090}
4091
4092
c370783e 4093static PyObject *_wrap_TopLevelWindow_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4094 PyObject *resultobj;
4095 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4096 PyObject * obj0 = 0 ;
4097 char *kwnames[] = {
4098 (char *) "self", NULL
4099 };
4100
4101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
36ed4f51
RD
4102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4103 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4104 {
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 (arg1)->Restore();
4107
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 Py_INCREF(Py_None); resultobj = Py_None;
4112 return resultobj;
4113 fail:
4114 return NULL;
4115}
4116
4117
c370783e 4118static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4119 PyObject *resultobj;
4120 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
b411df4a 4121 bool arg2 = (bool) true ;
d55e5bfc
RD
4122 PyObject * obj0 = 0 ;
4123 PyObject * obj1 = 0 ;
4124 char *kwnames[] = {
4125 (char *) "self",(char *) "iconize", NULL
4126 };
4127
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4130 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4131 if (obj1) {
36ed4f51
RD
4132 {
4133 arg2 = (bool)(SWIG_As_bool(obj1));
4134 if (SWIG_arg_fail(2)) SWIG_fail;
4135 }
d55e5bfc
RD
4136 }
4137 {
4138 PyThreadState* __tstate = wxPyBeginAllowThreads();
4139 (arg1)->Iconize(arg2);
4140
4141 wxPyEndAllowThreads(__tstate);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4144 Py_INCREF(Py_None); resultobj = Py_None;
4145 return resultobj;
4146 fail:
4147 return NULL;
4148}
4149
4150
c370783e 4151static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4152 PyObject *resultobj;
4153 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4154 bool result;
4155 PyObject * obj0 = 0 ;
4156 char *kwnames[] = {
4157 (char *) "self", NULL
4158 };
4159
4160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
36ed4f51
RD
4161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4163 {
4164 PyThreadState* __tstate = wxPyBeginAllowThreads();
4165 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
4166
4167 wxPyEndAllowThreads(__tstate);
4168 if (PyErr_Occurred()) SWIG_fail;
4169 }
4170 {
4171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4172 }
4173 return resultobj;
4174 fail:
4175 return NULL;
4176}
4177
4178
c370783e 4179static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4180 PyObject *resultobj;
4181 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4182 bool result;
4183 PyObject * obj0 = 0 ;
4184 char *kwnames[] = {
4185 (char *) "self", NULL
4186 };
4187
4188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
36ed4f51
RD
4189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4190 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4191 {
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
4194
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 {
4199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4200 }
4201 return resultobj;
4202 fail:
4203 return NULL;
4204}
4205
4206
c370783e 4207static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4208 PyObject *resultobj;
4209 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4210 wxIcon result;
4211 PyObject * obj0 = 0 ;
4212 char *kwnames[] = {
4213 (char *) "self", NULL
4214 };
4215
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
36ed4f51
RD
4217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4218 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
4222
4223 wxPyEndAllowThreads(__tstate);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
4226 {
4227 wxIcon * resultptr;
36ed4f51 4228 resultptr = new wxIcon((wxIcon &)(result));
d55e5bfc
RD
4229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
4230 }
4231 return resultobj;
4232 fail:
4233 return NULL;
4234}
4235
4236
c370783e 4237static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4238 PyObject *resultobj;
4239 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4240 wxIcon *arg2 = 0 ;
4241 PyObject * obj0 = 0 ;
4242 PyObject * obj1 = 0 ;
4243 char *kwnames[] = {
4244 (char *) "self",(char *) "icon", NULL
4245 };
4246
4247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4249 if (SWIG_arg_fail(1)) SWIG_fail;
4250 {
4251 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
4252 if (SWIG_arg_fail(2)) SWIG_fail;
4253 if (arg2 == NULL) {
4254 SWIG_null_ref("wxIcon");
4255 }
4256 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4257 }
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 (arg1)->SetIcon((wxIcon const &)*arg2);
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 Py_INCREF(Py_None); resultobj = Py_None;
4266 return resultobj;
4267 fail:
4268 return NULL;
4269}
4270
4271
c370783e 4272static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4273 PyObject *resultobj;
4274 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4275 wxIconBundle *arg2 = 0 ;
4276 PyObject * obj0 = 0 ;
4277 PyObject * obj1 = 0 ;
4278 char *kwnames[] = {
4279 (char *) "self",(char *) "icons", NULL
4280 };
4281
4282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4284 if (SWIG_arg_fail(1)) SWIG_fail;
4285 {
4286 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIconBundle, SWIG_POINTER_EXCEPTION | 0);
4287 if (SWIG_arg_fail(2)) SWIG_fail;
4288 if (arg2 == NULL) {
4289 SWIG_null_ref("wxIconBundle");
4290 }
4291 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4292 }
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 (arg1)->SetIcons((wxIconBundle const &)*arg2);
4296
4297 wxPyEndAllowThreads(__tstate);
4298 if (PyErr_Occurred()) SWIG_fail;
4299 }
4300 Py_INCREF(Py_None); resultobj = Py_None;
4301 return resultobj;
4302 fail:
4303 return NULL;
4304}
4305
4306
c370783e 4307static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4308 PyObject *resultobj;
4309 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4310 bool arg2 ;
4311 long arg3 = (long) wxFULLSCREEN_ALL ;
4312 bool result;
4313 PyObject * obj0 = 0 ;
4314 PyObject * obj1 = 0 ;
4315 PyObject * obj2 = 0 ;
4316 char *kwnames[] = {
4317 (char *) "self",(char *) "show",(char *) "style", NULL
4318 };
4319
4320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4322 if (SWIG_arg_fail(1)) SWIG_fail;
4323 {
4324 arg2 = (bool)(SWIG_As_bool(obj1));
4325 if (SWIG_arg_fail(2)) SWIG_fail;
4326 }
d55e5bfc 4327 if (obj2) {
36ed4f51
RD
4328 {
4329 arg3 = (long)(SWIG_As_long(obj2));
4330 if (SWIG_arg_fail(3)) SWIG_fail;
4331 }
d55e5bfc
RD
4332 }
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
4336
4337 wxPyEndAllowThreads(__tstate);
4338 if (PyErr_Occurred()) SWIG_fail;
4339 }
4340 {
4341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4342 }
4343 return resultobj;
4344 fail:
4345 return NULL;
4346}
4347
4348
c370783e 4349static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4350 PyObject *resultobj;
4351 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4352 bool result;
4353 PyObject * obj0 = 0 ;
4354 char *kwnames[] = {
4355 (char *) "self", NULL
4356 };
4357
4358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
36ed4f51
RD
4359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4361 {
4362 PyThreadState* __tstate = wxPyBeginAllowThreads();
4363 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
4364
4365 wxPyEndAllowThreads(__tstate);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 {
4369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4370 }
4371 return resultobj;
4372 fail:
4373 return NULL;
4374}
4375
4376
c370783e 4377static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4378 PyObject *resultobj;
4379 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4380 wxString *arg2 = 0 ;
b411df4a 4381 bool temp2 = false ;
d55e5bfc
RD
4382 PyObject * obj0 = 0 ;
4383 PyObject * obj1 = 0 ;
4384 char *kwnames[] = {
4385 (char *) "self",(char *) "title", NULL
4386 };
4387
4388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4391 {
4392 arg2 = wxString_in_helper(obj1);
4393 if (arg2 == NULL) SWIG_fail;
b411df4a 4394 temp2 = true;
d55e5bfc
RD
4395 }
4396 {
4397 PyThreadState* __tstate = wxPyBeginAllowThreads();
4398 (arg1)->SetTitle((wxString const &)*arg2);
4399
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 Py_INCREF(Py_None); resultobj = Py_None;
4404 {
4405 if (temp2)
4406 delete arg2;
4407 }
4408 return resultobj;
4409 fail:
4410 {
4411 if (temp2)
4412 delete arg2;
4413 }
4414 return NULL;
4415}
4416
4417
c370783e 4418static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4419 PyObject *resultobj;
4420 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4421 wxString result;
4422 PyObject * obj0 = 0 ;
4423 char *kwnames[] = {
4424 (char *) "self", NULL
4425 };
4426
4427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
4428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4429 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4430 {
4431 PyThreadState* __tstate = wxPyBeginAllowThreads();
4432 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
4433
4434 wxPyEndAllowThreads(__tstate);
4435 if (PyErr_Occurred()) SWIG_fail;
4436 }
4437 {
4438#if wxUSE_UNICODE
4439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4440#else
4441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4442#endif
4443 }
4444 return resultobj;
4445 fail:
4446 return NULL;
4447}
4448
4449
c370783e 4450static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4451 PyObject *resultobj;
4452 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4453 wxRegion *arg2 = 0 ;
4454 bool result;
4455 PyObject * obj0 = 0 ;
4456 PyObject * obj1 = 0 ;
4457 char *kwnames[] = {
4458 (char *) "self",(char *) "region", NULL
4459 };
4460
4461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4463 if (SWIG_arg_fail(1)) SWIG_fail;
4464 {
4465 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRegion, SWIG_POINTER_EXCEPTION | 0);
4466 if (SWIG_arg_fail(2)) SWIG_fail;
4467 if (arg2 == NULL) {
4468 SWIG_null_ref("wxRegion");
4469 }
4470 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4471 }
4472 {
4473 PyThreadState* __tstate = wxPyBeginAllowThreads();
4474 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
4475
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
4479 {
4480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4481 }
4482 return resultobj;
4483 fail:
4484 return NULL;
4485}
4486
4487
c370783e
RD
4488static PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *, PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj;
4490 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4491 int arg2 = (int) wxUSER_ATTENTION_INFO ;
4492 PyObject * obj0 = 0 ;
4493 PyObject * obj1 = 0 ;
4494 char *kwnames[] = {
4495 (char *) "self",(char *) "flags", NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4500 if (SWIG_arg_fail(1)) SWIG_fail;
c370783e 4501 if (obj1) {
36ed4f51
RD
4502 {
4503 arg2 = (int)(SWIG_As_int(obj1));
4504 if (SWIG_arg_fail(2)) SWIG_fail;
4505 }
c370783e
RD
4506 }
4507 {
4508 PyThreadState* __tstate = wxPyBeginAllowThreads();
4509 (arg1)->RequestUserAttention(arg2);
4510
4511 wxPyEndAllowThreads(__tstate);
4512 if (PyErr_Occurred()) SWIG_fail;
4513 }
4514 Py_INCREF(Py_None); resultobj = Py_None;
4515 return resultobj;
4516 fail:
4517 return NULL;
4518}
4519
4520
5e483524
RD
4521static PyObject *_wrap_TopLevelWindow_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
4522 PyObject *resultobj;
4523 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4524 bool result;
4525 PyObject * obj0 = 0 ;
4526 char *kwnames[] = {
4527 (char *) "self", NULL
4528 };
4529
4530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsActive",kwnames,&obj0)) goto fail;
36ed4f51
RD
4531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4532 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 result = (bool)(arg1)->IsActive();
4536
4537 wxPyEndAllowThreads(__tstate);
4538 if (PyErr_Occurred()) SWIG_fail;
4539 }
4540 {
4541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4542 }
4543 return resultobj;
4544 fail:
4545 return NULL;
4546}
4547
4548
c370783e 4549static PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4550 PyObject *resultobj;
4551 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4552 bool arg2 ;
4553 PyObject * obj0 = 0 ;
4554 PyObject * obj1 = 0 ;
4555 char *kwnames[] = {
4556 (char *) "self",(char *) "on", NULL
4557 };
4558
4559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4561 if (SWIG_arg_fail(1)) SWIG_fail;
4562 {
4563 arg2 = (bool)(SWIG_As_bool(obj1));
4564 if (SWIG_arg_fail(2)) SWIG_fail;
4565 }
d55e5bfc
RD
4566 {
4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
4568 (arg1)->MacSetMetalAppearance(arg2);
4569
4570 wxPyEndAllowThreads(__tstate);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 }
4573 Py_INCREF(Py_None); resultobj = Py_None;
4574 return resultobj;
4575 fail:
4576 return NULL;
4577}
4578
4579
c370783e 4580static PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4581 PyObject *resultobj;
4582 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
4583 bool result;
4584 PyObject * obj0 = 0 ;
4585 char *kwnames[] = {
4586 (char *) "self", NULL
4587 };
4588
4589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames,&obj0)) goto fail;
36ed4f51
RD
4590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTopLevelWindow, SWIG_POINTER_EXCEPTION | 0);
4591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4592 {
4593 PyThreadState* __tstate = wxPyBeginAllowThreads();
4594 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
4595
4596 wxPyEndAllowThreads(__tstate);
4597 if (PyErr_Occurred()) SWIG_fail;
4598 }
4599 {
4600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4601 }
4602 return resultobj;
4603 fail:
4604 return NULL;
4605}
4606
4607
c370783e 4608static PyObject * TopLevelWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4609 PyObject *obj;
4610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4611 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
4612 Py_INCREF(obj);
4613 return Py_BuildValue((char *)"");
4614}
c370783e 4615static PyObject *_wrap_new_Frame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4616 PyObject *resultobj;
4617 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
4618 int arg2 = (int) (int)-1 ;
4619 wxString const &arg3_defvalue = wxPyEmptyString ;
4620 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4621 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4622 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4623 wxSize const &arg5_defvalue = wxDefaultSize ;
4624 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4625 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4626 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4627 wxString *arg7 = (wxString *) &arg7_defvalue ;
4628 wxFrame *result;
b411df4a 4629 bool temp3 = false ;
d55e5bfc
RD
4630 wxPoint temp4 ;
4631 wxSize temp5 ;
b411df4a 4632 bool temp7 = false ;
d55e5bfc
RD
4633 PyObject * obj0 = 0 ;
4634 PyObject * obj1 = 0 ;
4635 PyObject * obj2 = 0 ;
4636 PyObject * obj3 = 0 ;
4637 PyObject * obj4 = 0 ;
4638 PyObject * obj5 = 0 ;
4639 PyObject * obj6 = 0 ;
4640 char *kwnames[] = {
4641 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4642 };
4643
bfddbb17 4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
4645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4646 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 4647 if (obj1) {
36ed4f51
RD
4648 {
4649 arg2 = (int const)(SWIG_As_int(obj1));
4650 if (SWIG_arg_fail(2)) SWIG_fail;
4651 }
bfddbb17
RD
4652 }
4653 if (obj2) {
4654 {
4655 arg3 = wxString_in_helper(obj2);
4656 if (arg3 == NULL) SWIG_fail;
b411df4a 4657 temp3 = true;
bfddbb17 4658 }
d55e5bfc
RD
4659 }
4660 if (obj3) {
4661 {
4662 arg4 = &temp4;
4663 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4664 }
4665 }
4666 if (obj4) {
4667 {
4668 arg5 = &temp5;
4669 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4670 }
4671 }
4672 if (obj5) {
36ed4f51
RD
4673 {
4674 arg6 = (long)(SWIG_As_long(obj5));
4675 if (SWIG_arg_fail(6)) SWIG_fail;
4676 }
d55e5bfc
RD
4677 }
4678 if (obj6) {
4679 {
4680 arg7 = wxString_in_helper(obj6);
4681 if (arg7 == NULL) SWIG_fail;
b411df4a 4682 temp7 = true;
d55e5bfc
RD
4683 }
4684 }
4685 {
0439c23b 4686 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4688 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4689
4690 wxPyEndAllowThreads(__tstate);
110da5b0 4691 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4692 }
b0f7404b 4693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4694 {
4695 if (temp3)
4696 delete arg3;
4697 }
4698 {
4699 if (temp7)
4700 delete arg7;
4701 }
4702 return resultobj;
4703 fail:
4704 {
4705 if (temp3)
4706 delete arg3;
4707 }
4708 {
4709 if (temp7)
4710 delete arg7;
4711 }
4712 return NULL;
4713}
4714
4715
c370783e 4716static PyObject *_wrap_new_PreFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4717 PyObject *resultobj;
4718 wxFrame *result;
4719 char *kwnames[] = {
4720 NULL
4721 };
4722
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
4724 {
0439c23b 4725 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4726 PyThreadState* __tstate = wxPyBeginAllowThreads();
4727 result = (wxFrame *)new wxFrame();
4728
4729 wxPyEndAllowThreads(__tstate);
110da5b0 4730 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4731 }
b0f7404b 4732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFrame, 1);
d55e5bfc
RD
4733 return resultobj;
4734 fail:
4735 return NULL;
4736}
4737
4738
c370783e 4739static PyObject *_wrap_Frame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4740 PyObject *resultobj;
4741 wxFrame *arg1 = (wxFrame *) 0 ;
4742 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
4743 int arg3 = (int) (int)-1 ;
4744 wxString const &arg4_defvalue = wxPyEmptyString ;
4745 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4746 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4747 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4748 wxSize const &arg6_defvalue = wxDefaultSize ;
4749 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4750 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4751 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4752 wxString *arg8 = (wxString *) &arg8_defvalue ;
4753 bool result;
b411df4a 4754 bool temp4 = false ;
d55e5bfc
RD
4755 wxPoint temp5 ;
4756 wxSize temp6 ;
b411df4a 4757 bool temp8 = false ;
d55e5bfc
RD
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4760 PyObject * obj2 = 0 ;
4761 PyObject * obj3 = 0 ;
4762 PyObject * obj4 = 0 ;
4763 PyObject * obj5 = 0 ;
4764 PyObject * obj6 = 0 ;
4765 PyObject * obj7 = 0 ;
4766 char *kwnames[] = {
4767 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4768 };
4769
bfddbb17 4770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
4771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4772 if (SWIG_arg_fail(1)) SWIG_fail;
4773 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4774 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 4775 if (obj2) {
36ed4f51
RD
4776 {
4777 arg3 = (int const)(SWIG_As_int(obj2));
4778 if (SWIG_arg_fail(3)) SWIG_fail;
4779 }
bfddbb17
RD
4780 }
4781 if (obj3) {
4782 {
4783 arg4 = wxString_in_helper(obj3);
4784 if (arg4 == NULL) SWIG_fail;
b411df4a 4785 temp4 = true;
bfddbb17 4786 }
d55e5bfc
RD
4787 }
4788 if (obj4) {
4789 {
4790 arg5 = &temp5;
4791 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4792 }
4793 }
4794 if (obj5) {
4795 {
4796 arg6 = &temp6;
4797 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4798 }
4799 }
4800 if (obj6) {
36ed4f51
RD
4801 {
4802 arg7 = (long)(SWIG_As_long(obj6));
4803 if (SWIG_arg_fail(7)) SWIG_fail;
4804 }
d55e5bfc
RD
4805 }
4806 if (obj7) {
4807 {
4808 arg8 = wxString_in_helper(obj7);
4809 if (arg8 == NULL) SWIG_fail;
b411df4a 4810 temp8 = true;
d55e5bfc
RD
4811 }
4812 }
4813 {
4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
4815 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4816
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 {
4821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4822 }
4823 {
4824 if (temp4)
4825 delete arg4;
4826 }
4827 {
4828 if (temp8)
4829 delete arg8;
4830 }
4831 return resultobj;
4832 fail:
4833 {
4834 if (temp4)
4835 delete arg4;
4836 }
4837 {
4838 if (temp8)
4839 delete arg8;
4840 }
4841 return NULL;
4842}
4843
4844
c370783e 4845static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4846 PyObject *resultobj;
4847 wxFrame *arg1 = (wxFrame *) 0 ;
4848 wxPoint result;
4849 PyObject * obj0 = 0 ;
4850 char *kwnames[] = {
4851 (char *) "self", NULL
4852 };
4853
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
36ed4f51
RD
4855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4856 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 {
4865 wxPoint * resultptr;
36ed4f51 4866 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
4867 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
4868 }
4869 return resultobj;
4870 fail:
4871 return NULL;
4872}
4873
4874
c370783e 4875static PyObject *_wrap_Frame_SendSizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4876 PyObject *resultobj;
4877 wxFrame *arg1 = (wxFrame *) 0 ;
4878 PyObject * obj0 = 0 ;
4879 char *kwnames[] = {
4880 (char *) "self", NULL
4881 };
4882
4883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
4884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4885 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 (arg1)->SendSizeEvent();
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 Py_INCREF(Py_None); resultobj = Py_None;
4894 return resultobj;
4895 fail:
4896 return NULL;
4897}
4898
4899
c370783e 4900static PyObject *_wrap_Frame_SetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4901 PyObject *resultobj;
4902 wxFrame *arg1 = (wxFrame *) 0 ;
4903 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
4904 PyObject * obj0 = 0 ;
4905 PyObject * obj1 = 0 ;
4906 char *kwnames[] = {
4907 (char *) "self",(char *) "menubar", NULL
4908 };
4909
4910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4912 if (SWIG_arg_fail(1)) SWIG_fail;
4913 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenuBar, SWIG_POINTER_EXCEPTION | 0);
4914 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 (arg1)->SetMenuBar(arg2);
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 Py_INCREF(Py_None); resultobj = Py_None;
4923 return resultobj;
4924 fail:
4925 return NULL;
4926}
4927
4928
c370783e 4929static PyObject *_wrap_Frame_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4930 PyObject *resultobj;
4931 wxFrame *arg1 = (wxFrame *) 0 ;
4932 wxMenuBar *result;
4933 PyObject * obj0 = 0 ;
4934 char *kwnames[] = {
4935 (char *) "self", NULL
4936 };
4937
4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
4939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4940 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4941 {
4942 PyThreadState* __tstate = wxPyBeginAllowThreads();
4943 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
4944
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 {
412d302d 4949 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
4950 }
4951 return resultobj;
4952 fail:
4953 return NULL;
4954}
4955
4956
c370783e 4957static PyObject *_wrap_Frame_ProcessCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4958 PyObject *resultobj;
4959 wxFrame *arg1 = (wxFrame *) 0 ;
4960 int arg2 ;
4961 bool result;
4962 PyObject * obj0 = 0 ;
4963 PyObject * obj1 = 0 ;
4964 char *kwnames[] = {
4965 (char *) "self",(char *) "winid", NULL
4966 };
4967
4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
4970 if (SWIG_arg_fail(1)) SWIG_fail;
4971 {
4972 arg2 = (int)(SWIG_As_int(obj1));
4973 if (SWIG_arg_fail(2)) SWIG_fail;
4974 }
d55e5bfc
RD
4975 {
4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
4977 result = (bool)(arg1)->ProcessCommand(arg2);
4978
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 {
4983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4984 }
4985 return resultobj;
4986 fail:
4987 return NULL;
4988}
4989
4990
c370783e 4991static PyObject *_wrap_Frame_CreateStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4992 PyObject *resultobj;
4993 wxFrame *arg1 = (wxFrame *) 0 ;
4994 int arg2 = (int) 1 ;
4995 long arg3 = (long) wxST_SIZEGRIP ;
4996 int arg4 = (int) 0 ;
4997 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4998 wxString *arg5 = (wxString *) &arg5_defvalue ;
4999 wxStatusBar *result;
b411df4a 5000 bool temp5 = false ;
d55e5bfc
RD
5001 PyObject * obj0 = 0 ;
5002 PyObject * obj1 = 0 ;
5003 PyObject * obj2 = 0 ;
5004 PyObject * obj3 = 0 ;
5005 PyObject * obj4 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
5011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5012 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5013 if (obj1) {
36ed4f51
RD
5014 {
5015 arg2 = (int)(SWIG_As_int(obj1));
5016 if (SWIG_arg_fail(2)) SWIG_fail;
5017 }
d55e5bfc
RD
5018 }
5019 if (obj2) {
36ed4f51
RD
5020 {
5021 arg3 = (long)(SWIG_As_long(obj2));
5022 if (SWIG_arg_fail(3)) SWIG_fail;
5023 }
d55e5bfc
RD
5024 }
5025 if (obj3) {
36ed4f51
RD
5026 {
5027 arg4 = (int)(SWIG_As_int(obj3));
5028 if (SWIG_arg_fail(4)) SWIG_fail;
5029 }
d55e5bfc
RD
5030 }
5031 if (obj4) {
5032 {
5033 arg5 = wxString_in_helper(obj4);
5034 if (arg5 == NULL) SWIG_fail;
b411df4a 5035 temp5 = true;
d55e5bfc
RD
5036 }
5037 }
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
5041
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 {
412d302d 5046 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5047 }
5048 {
5049 if (temp5)
5050 delete arg5;
5051 }
5052 return resultobj;
5053 fail:
5054 {
5055 if (temp5)
5056 delete arg5;
5057 }
5058 return NULL;
5059}
5060
5061
c370783e 5062static PyObject *_wrap_Frame_GetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5063 PyObject *resultobj;
5064 wxFrame *arg1 = (wxFrame *) 0 ;
5065 wxStatusBar *result;
5066 PyObject * obj0 = 0 ;
5067 char *kwnames[] = {
5068 (char *) "self", NULL
5069 };
5070
5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
5072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5073 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5074 {
5075 PyThreadState* __tstate = wxPyBeginAllowThreads();
5076 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
5077
5078 wxPyEndAllowThreads(__tstate);
5079 if (PyErr_Occurred()) SWIG_fail;
5080 }
5081 {
412d302d 5082 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5083 }
5084 return resultobj;
5085 fail:
5086 return NULL;
5087}
5088
5089
c370783e 5090static PyObject *_wrap_Frame_SetStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5091 PyObject *resultobj;
5092 wxFrame *arg1 = (wxFrame *) 0 ;
5093 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
5094 PyObject * obj0 = 0 ;
5095 PyObject * obj1 = 0 ;
5096 char *kwnames[] = {
5097 (char *) "self",(char *) "statBar", NULL
5098 };
5099
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5102 if (SWIG_arg_fail(1)) SWIG_fail;
5103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
5104 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 (arg1)->SetStatusBar(arg2);
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 Py_INCREF(Py_None); resultobj = Py_None;
5113 return resultobj;
5114 fail:
5115 return NULL;
5116}
5117
5118
c370783e 5119static PyObject *_wrap_Frame_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5120 PyObject *resultobj;
5121 wxFrame *arg1 = (wxFrame *) 0 ;
5122 wxString *arg2 = 0 ;
5123 int arg3 = (int) 0 ;
b411df4a 5124 bool temp2 = false ;
d55e5bfc
RD
5125 PyObject * obj0 = 0 ;
5126 PyObject * obj1 = 0 ;
5127 PyObject * obj2 = 0 ;
5128 char *kwnames[] = {
5129 (char *) "self",(char *) "text",(char *) "number", NULL
5130 };
5131
5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5134 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5135 {
5136 arg2 = wxString_in_helper(obj1);
5137 if (arg2 == NULL) SWIG_fail;
b411df4a 5138 temp2 = true;
d55e5bfc
RD
5139 }
5140 if (obj2) {
36ed4f51
RD
5141 {
5142 arg3 = (int)(SWIG_As_int(obj2));
5143 if (SWIG_arg_fail(3)) SWIG_fail;
5144 }
d55e5bfc
RD
5145 }
5146 {
5147 PyThreadState* __tstate = wxPyBeginAllowThreads();
5148 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
5149
5150 wxPyEndAllowThreads(__tstate);
5151 if (PyErr_Occurred()) SWIG_fail;
5152 }
5153 Py_INCREF(Py_None); resultobj = Py_None;
5154 {
5155 if (temp2)
5156 delete arg2;
5157 }
5158 return resultobj;
5159 fail:
5160 {
5161 if (temp2)
5162 delete arg2;
5163 }
5164 return NULL;
5165}
5166
5167
c370783e 5168static PyObject *_wrap_Frame_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5169 PyObject *resultobj;
5170 wxFrame *arg1 = (wxFrame *) 0 ;
5171 int arg2 ;
5172 int *arg3 = (int *) 0 ;
5173 PyObject * obj0 = 0 ;
5174 PyObject * obj1 = 0 ;
5175 char *kwnames[] = {
5176 (char *) "self",(char *) "widths", NULL
5177 };
5178
5179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5181 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5182 {
5183 arg2 = PyList_Size(obj1);
5184 arg3 = int_LIST_helper(obj1);
5185 if (arg3 == NULL) SWIG_fail;
5186 }
5187 {
5188 PyThreadState* __tstate = wxPyBeginAllowThreads();
5189 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5190
5191 wxPyEndAllowThreads(__tstate);
5192 if (PyErr_Occurred()) SWIG_fail;
5193 }
5194 Py_INCREF(Py_None); resultobj = Py_None;
5195 {
5196 if (arg3) delete [] arg3;
5197 }
5198 return resultobj;
5199 fail:
5200 {
5201 if (arg3) delete [] arg3;
5202 }
5203 return NULL;
5204}
5205
5206
c370783e 5207static PyObject *_wrap_Frame_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5208 PyObject *resultobj;
5209 wxFrame *arg1 = (wxFrame *) 0 ;
5210 wxString *arg2 = 0 ;
5211 int arg3 = (int) 0 ;
b411df4a 5212 bool temp2 = false ;
d55e5bfc
RD
5213 PyObject * obj0 = 0 ;
5214 PyObject * obj1 = 0 ;
5215 PyObject * obj2 = 0 ;
5216 char *kwnames[] = {
5217 (char *) "self",(char *) "text",(char *) "number", NULL
5218 };
5219
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5222 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5223 {
5224 arg2 = wxString_in_helper(obj1);
5225 if (arg2 == NULL) SWIG_fail;
b411df4a 5226 temp2 = true;
d55e5bfc
RD
5227 }
5228 if (obj2) {
36ed4f51
RD
5229 {
5230 arg3 = (int)(SWIG_As_int(obj2));
5231 if (SWIG_arg_fail(3)) SWIG_fail;
5232 }
d55e5bfc
RD
5233 }
5234 {
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5237
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
5241 Py_INCREF(Py_None); resultobj = Py_None;
5242 {
5243 if (temp2)
5244 delete arg2;
5245 }
5246 return resultobj;
5247 fail:
5248 {
5249 if (temp2)
5250 delete arg2;
5251 }
5252 return NULL;
5253}
5254
5255
c370783e 5256static PyObject *_wrap_Frame_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5257 PyObject *resultobj;
5258 wxFrame *arg1 = (wxFrame *) 0 ;
5259 int arg2 = (int) 0 ;
5260 PyObject * obj0 = 0 ;
5261 PyObject * obj1 = 0 ;
5262 char *kwnames[] = {
5263 (char *) "self",(char *) "number", NULL
5264 };
5265
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5268 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5269 if (obj1) {
36ed4f51
RD
5270 {
5271 arg2 = (int)(SWIG_As_int(obj1));
5272 if (SWIG_arg_fail(2)) SWIG_fail;
5273 }
d55e5bfc
RD
5274 }
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 (arg1)->PopStatusText(arg2);
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
5282 Py_INCREF(Py_None); resultobj = Py_None;
5283 return resultobj;
5284 fail:
5285 return NULL;
5286}
5287
5288
c370783e 5289static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5290 PyObject *resultobj;
5291 wxFrame *arg1 = (wxFrame *) 0 ;
5292 int arg2 ;
5293 PyObject * obj0 = 0 ;
5294 PyObject * obj1 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self",(char *) "n", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5301 if (SWIG_arg_fail(1)) SWIG_fail;
5302 {
5303 arg2 = (int)(SWIG_As_int(obj1));
5304 if (SWIG_arg_fail(2)) SWIG_fail;
5305 }
d55e5bfc
RD
5306 {
5307 PyThreadState* __tstate = wxPyBeginAllowThreads();
5308 (arg1)->SetStatusBarPane(arg2);
5309
5310 wxPyEndAllowThreads(__tstate);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 }
5313 Py_INCREF(Py_None); resultobj = Py_None;
5314 return resultobj;
5315 fail:
5316 return NULL;
5317}
5318
5319
c370783e 5320static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5321 PyObject *resultobj;
5322 wxFrame *arg1 = (wxFrame *) 0 ;
5323 int result;
5324 PyObject * obj0 = 0 ;
5325 char *kwnames[] = {
5326 (char *) "self", NULL
5327 };
5328
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
36ed4f51
RD
5330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5331 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5332 {
5333 PyThreadState* __tstate = wxPyBeginAllowThreads();
5334 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
5335
5336 wxPyEndAllowThreads(__tstate);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 }
36ed4f51
RD
5339 {
5340 resultobj = SWIG_From_int((int)(result));
5341 }
d55e5bfc
RD
5342 return resultobj;
5343 fail:
5344 return NULL;
5345}
5346
5347
c370783e 5348static PyObject *_wrap_Frame_CreateToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5349 PyObject *resultobj;
5350 wxFrame *arg1 = (wxFrame *) 0 ;
5351 long arg2 = (long) -1 ;
5352 int arg3 = (int) -1 ;
5353 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
5354 wxString *arg4 = (wxString *) &arg4_defvalue ;
5355 wxToolBar *result;
b411df4a 5356 bool temp4 = false ;
d55e5bfc
RD
5357 PyObject * obj0 = 0 ;
5358 PyObject * obj1 = 0 ;
5359 PyObject * obj2 = 0 ;
5360 PyObject * obj3 = 0 ;
5361 char *kwnames[] = {
5362 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5363 };
5364
5365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
5366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5367 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5368 if (obj1) {
36ed4f51
RD
5369 {
5370 arg2 = (long)(SWIG_As_long(obj1));
5371 if (SWIG_arg_fail(2)) SWIG_fail;
5372 }
d55e5bfc
RD
5373 }
5374 if (obj2) {
36ed4f51
RD
5375 {
5376 arg3 = (int)(SWIG_As_int(obj2));
5377 if (SWIG_arg_fail(3)) SWIG_fail;
5378 }
d55e5bfc
RD
5379 }
5380 if (obj3) {
5381 {
5382 arg4 = wxString_in_helper(obj3);
5383 if (arg4 == NULL) SWIG_fail;
b411df4a 5384 temp4 = true;
d55e5bfc
RD
5385 }
5386 }
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 {
412d302d 5395 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5396 }
5397 {
5398 if (temp4)
5399 delete arg4;
5400 }
5401 return resultobj;
5402 fail:
5403 {
5404 if (temp4)
5405 delete arg4;
5406 }
5407 return NULL;
5408}
5409
5410
c370783e 5411static PyObject *_wrap_Frame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5412 PyObject *resultobj;
5413 wxFrame *arg1 = (wxFrame *) 0 ;
5414 wxToolBar *result;
5415 PyObject * obj0 = 0 ;
5416 char *kwnames[] = {
5417 (char *) "self", NULL
5418 };
5419
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
5421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
5426
5427 wxPyEndAllowThreads(__tstate);
5428 if (PyErr_Occurred()) SWIG_fail;
5429 }
5430 {
412d302d 5431 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
5432 }
5433 return resultobj;
5434 fail:
5435 return NULL;
5436}
5437
5438
c370783e 5439static PyObject *_wrap_Frame_SetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5440 PyObject *resultobj;
5441 wxFrame *arg1 = (wxFrame *) 0 ;
5442 wxToolBar *arg2 = (wxToolBar *) 0 ;
5443 PyObject * obj0 = 0 ;
5444 PyObject * obj1 = 0 ;
5445 char *kwnames[] = {
5446 (char *) "self",(char *) "toolbar", NULL
5447 };
5448
5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5451 if (SWIG_arg_fail(1)) SWIG_fail;
5452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
5453 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 (arg1)->SetToolBar(arg2);
5457
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 Py_INCREF(Py_None); resultobj = Py_None;
5462 return resultobj;
5463 fail:
5464 return NULL;
5465}
5466
5467
c370783e 5468static PyObject *_wrap_Frame_DoGiveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5469 PyObject *resultobj;
5470 wxFrame *arg1 = (wxFrame *) 0 ;
5471 wxString *arg2 = 0 ;
5472 bool arg3 ;
b411df4a 5473 bool temp2 = false ;
d55e5bfc
RD
5474 PyObject * obj0 = 0 ;
5475 PyObject * obj1 = 0 ;
5476 PyObject * obj2 = 0 ;
5477 char *kwnames[] = {
5478 (char *) "self",(char *) "text",(char *) "show", NULL
5479 };
5480
5481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5483 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5484 {
5485 arg2 = wxString_in_helper(obj1);
5486 if (arg2 == NULL) SWIG_fail;
b411df4a 5487 temp2 = true;
d55e5bfc 5488 }
36ed4f51
RD
5489 {
5490 arg3 = (bool)(SWIG_As_bool(obj2));
5491 if (SWIG_arg_fail(3)) SWIG_fail;
5492 }
d55e5bfc
RD
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 Py_INCREF(Py_None); resultobj = Py_None;
5501 {
5502 if (temp2)
5503 delete arg2;
5504 }
5505 return resultobj;
5506 fail:
5507 {
5508 if (temp2)
5509 delete arg2;
5510 }
5511 return NULL;
5512}
5513
5514
c370783e 5515static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5516 PyObject *resultobj;
5517 wxFrame *arg1 = (wxFrame *) 0 ;
5518 wxMenu *arg2 = (wxMenu *) NULL ;
5519 PyObject * obj0 = 0 ;
5520 PyObject * obj1 = 0 ;
5521 char *kwnames[] = {
5522 (char *) "self",(char *) "menu", NULL
5523 };
5524
5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
5527 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 5528 if (obj1) {
36ed4f51
RD
5529 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
5530 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
5531 }
5532 {
5533 PyThreadState* __tstate = wxPyBeginAllowThreads();
5534 (arg1)->DoMenuUpdates(arg2);
5535
5536 wxPyEndAllowThreads(__tstate);
5537 if (PyErr_Occurred()) SWIG_fail;
5538 }
5539 Py_INCREF(Py_None); resultobj = Py_None;
5540 return resultobj;
5541 fail:
5542 return NULL;
5543}
5544
5545
c370783e 5546static PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5547 PyObject *resultobj;
36ed4f51 5548 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5549 wxVisualAttributes result;
5550 PyObject * obj0 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "variant", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5556 if (obj0) {
36ed4f51
RD
5557 {
5558 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5559 if (SWIG_arg_fail(1)) SWIG_fail;
5560 }
f20a2e1f
RD
5561 }
5562 {
0439c23b 5563 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 result = wxFrame::GetClassDefaultAttributes((wxWindowVariant )arg1);
5566
5567 wxPyEndAllowThreads(__tstate);
110da5b0 5568 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5569 }
5570 {
5571 wxVisualAttributes * resultptr;
36ed4f51 5572 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5574 }
5575 return resultobj;
5576 fail:
5577 return NULL;
5578}
5579
5580
c370783e 5581static PyObject * Frame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5582 PyObject *obj;
5583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5584 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
5585 Py_INCREF(obj);
5586 return Py_BuildValue((char *)"");
5587}
c370783e 5588static PyObject *_wrap_new_Dialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5589 PyObject *resultobj;
5590 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5591 int arg2 = (int) (int)-1 ;
5592 wxString const &arg3_defvalue = wxPyEmptyString ;
5593 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5594 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5595 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5596 wxSize const &arg5_defvalue = wxDefaultSize ;
5597 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5598 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
5599 wxString const &arg7_defvalue = wxPyDialogNameStr ;
5600 wxString *arg7 = (wxString *) &arg7_defvalue ;
5601 wxDialog *result;
b411df4a 5602 bool temp3 = false ;
d55e5bfc
RD
5603 wxPoint temp4 ;
5604 wxSize temp5 ;
b411df4a 5605 bool temp7 = false ;
d55e5bfc
RD
5606 PyObject * obj0 = 0 ;
5607 PyObject * obj1 = 0 ;
5608 PyObject * obj2 = 0 ;
5609 PyObject * obj3 = 0 ;
5610 PyObject * obj4 = 0 ;
5611 PyObject * obj5 = 0 ;
5612 PyObject * obj6 = 0 ;
5613 char *kwnames[] = {
5614 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5615 };
5616
bfddbb17 5617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
5618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5619 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 5620 if (obj1) {
36ed4f51
RD
5621 {
5622 arg2 = (int const)(SWIG_As_int(obj1));
5623 if (SWIG_arg_fail(2)) SWIG_fail;
5624 }
bfddbb17
RD
5625 }
5626 if (obj2) {
5627 {
5628 arg3 = wxString_in_helper(obj2);
5629 if (arg3 == NULL) SWIG_fail;
b411df4a 5630 temp3 = true;
bfddbb17 5631 }
d55e5bfc
RD
5632 }
5633 if (obj3) {
5634 {
5635 arg4 = &temp4;
5636 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5637 }
5638 }
5639 if (obj4) {
5640 {
5641 arg5 = &temp5;
5642 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5643 }
5644 }
5645 if (obj5) {
36ed4f51
RD
5646 {
5647 arg6 = (long)(SWIG_As_long(obj5));
5648 if (SWIG_arg_fail(6)) SWIG_fail;
5649 }
d55e5bfc
RD
5650 }
5651 if (obj6) {
5652 {
5653 arg7 = wxString_in_helper(obj6);
5654 if (arg7 == NULL) SWIG_fail;
b411df4a 5655 temp7 = true;
d55e5bfc
RD
5656 }
5657 }
5658 {
0439c23b 5659 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5660 PyThreadState* __tstate = wxPyBeginAllowThreads();
5661 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5662
5663 wxPyEndAllowThreads(__tstate);
110da5b0 5664 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5665 }
b0f7404b 5666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5667 {
5668 if (temp3)
5669 delete arg3;
5670 }
5671 {
5672 if (temp7)
5673 delete arg7;
5674 }
5675 return resultobj;
5676 fail:
5677 {
5678 if (temp3)
5679 delete arg3;
5680 }
5681 {
5682 if (temp7)
5683 delete arg7;
5684 }
5685 return NULL;
5686}
5687
5688
c370783e 5689static PyObject *_wrap_new_PreDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5690 PyObject *resultobj;
5691 wxDialog *result;
5692 char *kwnames[] = {
5693 NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
5697 {
0439c23b 5698 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 result = (wxDialog *)new wxDialog();
5701
5702 wxPyEndAllowThreads(__tstate);
110da5b0 5703 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5704 }
b0f7404b 5705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 1);
d55e5bfc
RD
5706 return resultobj;
5707 fail:
5708 return NULL;
5709}
5710
5711
c370783e 5712static PyObject *_wrap_Dialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5713 PyObject *resultobj;
5714 wxDialog *arg1 = (wxDialog *) 0 ;
5715 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5716 int arg3 = (int) (int)-1 ;
5717 wxString const &arg4_defvalue = wxPyEmptyString ;
5718 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
5719 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5720 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5721 wxSize const &arg6_defvalue = wxDefaultSize ;
5722 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5723 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
5724 wxString const &arg8_defvalue = wxPyDialogNameStr ;
5725 wxString *arg8 = (wxString *) &arg8_defvalue ;
5726 bool result;
b411df4a 5727 bool temp4 = false ;
d55e5bfc
RD
5728 wxPoint temp5 ;
5729 wxSize temp6 ;
b411df4a 5730 bool temp8 = false ;
d55e5bfc
RD
5731 PyObject * obj0 = 0 ;
5732 PyObject * obj1 = 0 ;
5733 PyObject * obj2 = 0 ;
5734 PyObject * obj3 = 0 ;
5735 PyObject * obj4 = 0 ;
5736 PyObject * obj5 = 0 ;
5737 PyObject * obj6 = 0 ;
5738 PyObject * obj7 = 0 ;
5739 char *kwnames[] = {
5740 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5741 };
5742
bfddbb17 5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
5744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5745 if (SWIG_arg_fail(1)) SWIG_fail;
5746 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5747 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 5748 if (obj2) {
36ed4f51
RD
5749 {
5750 arg3 = (int const)(SWIG_As_int(obj2));
5751 if (SWIG_arg_fail(3)) SWIG_fail;
5752 }
bfddbb17
RD
5753 }
5754 if (obj3) {
5755 {
5756 arg4 = wxString_in_helper(obj3);
5757 if (arg4 == NULL) SWIG_fail;
b411df4a 5758 temp4 = true;
bfddbb17 5759 }
d55e5bfc
RD
5760 }
5761 if (obj4) {
5762 {
5763 arg5 = &temp5;
5764 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5765 }
5766 }
5767 if (obj5) {
5768 {
5769 arg6 = &temp6;
5770 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5771 }
5772 }
5773 if (obj6) {
36ed4f51
RD
5774 {
5775 arg7 = (long)(SWIG_As_long(obj6));
5776 if (SWIG_arg_fail(7)) SWIG_fail;
5777 }
d55e5bfc
RD
5778 }
5779 if (obj7) {
5780 {
5781 arg8 = wxString_in_helper(obj7);
5782 if (arg8 == NULL) SWIG_fail;
b411df4a 5783 temp8 = true;
d55e5bfc
RD
5784 }
5785 }
5786 {
5787 PyThreadState* __tstate = wxPyBeginAllowThreads();
5788 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5789
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 {
5794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5795 }
5796 {
5797 if (temp4)
5798 delete arg4;
5799 }
5800 {
5801 if (temp8)
5802 delete arg8;
5803 }
5804 return resultobj;
5805 fail:
5806 {
5807 if (temp4)
5808 delete arg4;
5809 }
5810 {
5811 if (temp8)
5812 delete arg8;
5813 }
5814 return NULL;
5815}
5816
5817
c370783e 5818static PyObject *_wrap_Dialog_SetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5819 PyObject *resultobj;
5820 wxDialog *arg1 = (wxDialog *) 0 ;
5821 int arg2 ;
5822 PyObject * obj0 = 0 ;
5823 PyObject * obj1 = 0 ;
5824 char *kwnames[] = {
5825 (char *) "self",(char *) "returnCode", NULL
5826 };
5827
5828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5830 if (SWIG_arg_fail(1)) SWIG_fail;
5831 {
5832 arg2 = (int)(SWIG_As_int(obj1));
5833 if (SWIG_arg_fail(2)) SWIG_fail;
5834 }
d55e5bfc
RD
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
5837 (arg1)->SetReturnCode(arg2);
5838
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 Py_INCREF(Py_None); resultobj = Py_None;
5843 return resultobj;
5844 fail:
5845 return NULL;
5846}
5847
5848
c370783e 5849static PyObject *_wrap_Dialog_GetReturnCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5850 PyObject *resultobj;
5851 wxDialog *arg1 = (wxDialog *) 0 ;
5852 int result;
5853 PyObject * obj0 = 0 ;
5854 char *kwnames[] = {
5855 (char *) "self", NULL
5856 };
5857
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
5859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5860 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5861 {
5862 PyThreadState* __tstate = wxPyBeginAllowThreads();
5863 result = (int)((wxDialog const *)arg1)->GetReturnCode();
5864
5865 wxPyEndAllowThreads(__tstate);
5866 if (PyErr_Occurred()) SWIG_fail;
5867 }
36ed4f51
RD
5868 {
5869 resultobj = SWIG_From_int((int)(result));
5870 }
d55e5bfc
RD
5871 return resultobj;
5872 fail:
5873 return NULL;
5874}
5875
5876
c370783e 5877static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5878 PyObject *resultobj;
5879 wxDialog *arg1 = (wxDialog *) 0 ;
5880 wxString *arg2 = 0 ;
5881 wxSizer *result;
b411df4a 5882 bool temp2 = false ;
d55e5bfc
RD
5883 PyObject * obj0 = 0 ;
5884 PyObject * obj1 = 0 ;
5885 char *kwnames[] = {
5886 (char *) "self",(char *) "message", NULL
5887 };
5888
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5891 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5892 {
5893 arg2 = wxString_in_helper(obj1);
5894 if (arg2 == NULL) SWIG_fail;
b411df4a 5895 temp2 = true;
d55e5bfc
RD
5896 }
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
5900
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 {
412d302d 5905 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
5906 }
5907 {
5908 if (temp2)
5909 delete arg2;
5910 }
5911 return resultobj;
5912 fail:
5913 {
5914 if (temp2)
5915 delete arg2;
5916 }
5917 return NULL;
5918}
5919
5920
c370783e 5921static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5922 PyObject *resultobj;
5923 wxDialog *arg1 = (wxDialog *) 0 ;
5924 long arg2 ;
5925 wxSizer *result;
5926 PyObject * obj0 = 0 ;
5927 PyObject * obj1 = 0 ;
5928 char *kwnames[] = {
5929 (char *) "self",(char *) "flags", NULL
5930 };
5931
5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5934 if (SWIG_arg_fail(1)) SWIG_fail;
5935 {
5936 arg2 = (long)(SWIG_As_long(obj1));
5937 if (SWIG_arg_fail(2)) SWIG_fail;
5938 }
d55e5bfc
RD
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
5941 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
5942
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 {
412d302d 5947 resultobj = wxPyMake_wxSizer(result, 0);
d55e5bfc
RD
5948 }
5949 return resultobj;
5950 fail:
5951 return NULL;
5952}
5953
5954
62d32a5f
RD
5955static PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *, PyObject *args, PyObject *kwargs) {
5956 PyObject *resultobj;
5957 wxDialog *arg1 = (wxDialog *) 0 ;
5958 long arg2 ;
5959 wxStdDialogButtonSizer *result;
5960 PyObject * obj0 = 0 ;
5961 PyObject * obj1 = 0 ;
5962 char *kwnames[] = {
5963 (char *) "self",(char *) "flags", NULL
5964 };
5965
5966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) goto fail;
5967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5968 if (SWIG_arg_fail(1)) SWIG_fail;
5969 {
5970 arg2 = (long)(SWIG_As_long(obj1));
5971 if (SWIG_arg_fail(2)) SWIG_fail;
5972 }
5973 {
5974 PyThreadState* __tstate = wxPyBeginAllowThreads();
5975 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
5976
5977 wxPyEndAllowThreads(__tstate);
5978 if (PyErr_Occurred()) SWIG_fail;
5979 }
5980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0);
5981 return resultobj;
5982 fail:
5983 return NULL;
5984}
5985
5986
c370783e 5987static PyObject *_wrap_Dialog_IsModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5988 PyObject *resultobj;
5989 wxDialog *arg1 = (wxDialog *) 0 ;
5990 bool result;
5991 PyObject * obj0 = 0 ;
5992 char *kwnames[] = {
5993 (char *) "self", NULL
5994 };
5995
5996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
5997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
5998 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5999 {
6000 PyThreadState* __tstate = wxPyBeginAllowThreads();
6001 result = (bool)((wxDialog const *)arg1)->IsModal();
6002
6003 wxPyEndAllowThreads(__tstate);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 }
6006 {
6007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6008 }
6009 return resultobj;
6010 fail:
6011 return NULL;
6012}
6013
6014
c370783e 6015static PyObject *_wrap_Dialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6016 PyObject *resultobj;
6017 wxDialog *arg1 = (wxDialog *) 0 ;
6018 int result;
6019 PyObject * obj0 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
6025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6026 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 result = (int)(arg1)->ShowModal();
6030
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 }
36ed4f51
RD
6034 {
6035 resultobj = SWIG_From_int((int)(result));
6036 }
d55e5bfc
RD
6037 return resultobj;
6038 fail:
6039 return NULL;
6040}
6041
6042
c370783e 6043static PyObject *_wrap_Dialog_EndModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6044 PyObject *resultobj;
6045 wxDialog *arg1 = (wxDialog *) 0 ;
6046 int arg2 ;
6047 PyObject * obj0 = 0 ;
6048 PyObject * obj1 = 0 ;
6049 char *kwnames[] = {
6050 (char *) "self",(char *) "retCode", NULL
6051 };
6052
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDialog, SWIG_POINTER_EXCEPTION | 0);
6055 if (SWIG_arg_fail(1)) SWIG_fail;
6056 {
6057 arg2 = (int)(SWIG_As_int(obj1));
6058 if (SWIG_arg_fail(2)) SWIG_fail;
6059 }
d55e5bfc
RD
6060 {
6061 PyThreadState* __tstate = wxPyBeginAllowThreads();
6062 (arg1)->EndModal(arg2);
6063
6064 wxPyEndAllowThreads(__tstate);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 Py_INCREF(Py_None); resultobj = Py_None;
6068 return resultobj;
6069 fail:
6070 return NULL;
6071}
6072
6073
c370783e 6074static PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6075 PyObject *resultobj;
36ed4f51 6076 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6077 wxVisualAttributes result;
6078 PyObject * obj0 = 0 ;
6079 char *kwnames[] = {
6080 (char *) "variant", NULL
6081 };
6082
6083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6084 if (obj0) {
36ed4f51
RD
6085 {
6086 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6087 if (SWIG_arg_fail(1)) SWIG_fail;
6088 }
f20a2e1f
RD
6089 }
6090 {
0439c23b 6091 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 result = wxDialog::GetClassDefaultAttributes((wxWindowVariant )arg1);
6094
6095 wxPyEndAllowThreads(__tstate);
110da5b0 6096 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6097 }
6098 {
6099 wxVisualAttributes * resultptr;
36ed4f51 6100 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6101 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6102 }
6103 return resultobj;
6104 fail:
6105 return NULL;
6106}
6107
6108
c370783e 6109static PyObject * Dialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6110 PyObject *obj;
6111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6112 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
6113 Py_INCREF(obj);
6114 return Py_BuildValue((char *)"");
6115}
c370783e 6116static PyObject *_wrap_new_MiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6117 PyObject *resultobj;
6118 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6119 int arg2 = (int) (int)-1 ;
6120 wxString const &arg3_defvalue = wxPyEmptyString ;
6121 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6122 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6123 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6124 wxSize const &arg5_defvalue = wxDefaultSize ;
6125 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6126 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6127 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6128 wxString *arg7 = (wxString *) &arg7_defvalue ;
6129 wxMiniFrame *result;
b411df4a 6130 bool temp3 = false ;
d55e5bfc
RD
6131 wxPoint temp4 ;
6132 wxSize temp5 ;
b411df4a 6133 bool temp7 = false ;
d55e5bfc
RD
6134 PyObject * obj0 = 0 ;
6135 PyObject * obj1 = 0 ;
6136 PyObject * obj2 = 0 ;
6137 PyObject * obj3 = 0 ;
6138 PyObject * obj4 = 0 ;
6139 PyObject * obj5 = 0 ;
6140 PyObject * obj6 = 0 ;
6141 char *kwnames[] = {
6142 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6143 };
6144
bfddbb17 6145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6147 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6148 if (obj1) {
36ed4f51
RD
6149 {
6150 arg2 = (int const)(SWIG_As_int(obj1));
6151 if (SWIG_arg_fail(2)) SWIG_fail;
6152 }
bfddbb17
RD
6153 }
6154 if (obj2) {
6155 {
6156 arg3 = wxString_in_helper(obj2);
6157 if (arg3 == NULL) SWIG_fail;
b411df4a 6158 temp3 = true;
bfddbb17 6159 }
d55e5bfc
RD
6160 }
6161 if (obj3) {
6162 {
6163 arg4 = &temp4;
6164 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6165 }
6166 }
6167 if (obj4) {
6168 {
6169 arg5 = &temp5;
6170 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6171 }
6172 }
6173 if (obj5) {
36ed4f51
RD
6174 {
6175 arg6 = (long)(SWIG_As_long(obj5));
6176 if (SWIG_arg_fail(6)) SWIG_fail;
6177 }
d55e5bfc
RD
6178 }
6179 if (obj6) {
6180 {
6181 arg7 = wxString_in_helper(obj6);
6182 if (arg7 == NULL) SWIG_fail;
b411df4a 6183 temp7 = true;
d55e5bfc
RD
6184 }
6185 }
6186 {
0439c23b 6187 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6188 PyThreadState* __tstate = wxPyBeginAllowThreads();
6189 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6190
6191 wxPyEndAllowThreads(__tstate);
110da5b0 6192 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6193 }
6194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6195 {
6196 if (temp3)
6197 delete arg3;
6198 }
6199 {
6200 if (temp7)
6201 delete arg7;
6202 }
6203 return resultobj;
6204 fail:
6205 {
6206 if (temp3)
6207 delete arg3;
6208 }
6209 {
6210 if (temp7)
6211 delete arg7;
6212 }
6213 return NULL;
6214}
6215
6216
c370783e 6217static PyObject *_wrap_new_PreMiniFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6218 PyObject *resultobj;
6219 wxMiniFrame *result;
6220 char *kwnames[] = {
6221 NULL
6222 };
6223
6224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
6225 {
0439c23b 6226 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6227 PyThreadState* __tstate = wxPyBeginAllowThreads();
6228 result = (wxMiniFrame *)new wxMiniFrame();
6229
6230 wxPyEndAllowThreads(__tstate);
110da5b0 6231 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6232 }
6233 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMiniFrame, 1);
6234 return resultobj;
6235 fail:
6236 return NULL;
6237}
6238
6239
c370783e 6240static PyObject *_wrap_MiniFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6241 PyObject *resultobj;
6242 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
6243 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6244 int arg3 = (int) (int)-1 ;
6245 wxString const &arg4_defvalue = wxPyEmptyString ;
6246 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6247 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6248 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6249 wxSize const &arg6_defvalue = wxDefaultSize ;
6250 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6251 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6252 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6253 wxString *arg8 = (wxString *) &arg8_defvalue ;
6254 bool result;
b411df4a 6255 bool temp4 = false ;
d55e5bfc
RD
6256 wxPoint temp5 ;
6257 wxSize temp6 ;
b411df4a 6258 bool temp8 = false ;
d55e5bfc
RD
6259 PyObject * obj0 = 0 ;
6260 PyObject * obj1 = 0 ;
6261 PyObject * obj2 = 0 ;
6262 PyObject * obj3 = 0 ;
6263 PyObject * obj4 = 0 ;
6264 PyObject * obj5 = 0 ;
6265 PyObject * obj6 = 0 ;
6266 PyObject * obj7 = 0 ;
6267 char *kwnames[] = {
6268 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6269 };
6270
bfddbb17 6271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_EXCEPTION | 0);
6273 if (SWIG_arg_fail(1)) SWIG_fail;
6274 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6275 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6276 if (obj2) {
36ed4f51
RD
6277 {
6278 arg3 = (int const)(SWIG_As_int(obj2));
6279 if (SWIG_arg_fail(3)) SWIG_fail;
6280 }
bfddbb17
RD
6281 }
6282 if (obj3) {
6283 {
6284 arg4 = wxString_in_helper(obj3);
6285 if (arg4 == NULL) SWIG_fail;
b411df4a 6286 temp4 = true;
bfddbb17 6287 }
d55e5bfc
RD
6288 }
6289 if (obj4) {
6290 {
6291 arg5 = &temp5;
6292 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6293 }
6294 }
6295 if (obj5) {
6296 {
6297 arg6 = &temp6;
6298 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6299 }
6300 }
6301 if (obj6) {
36ed4f51
RD
6302 {
6303 arg7 = (long)(SWIG_As_long(obj6));
6304 if (SWIG_arg_fail(7)) SWIG_fail;
6305 }
d55e5bfc
RD
6306 }
6307 if (obj7) {
6308 {
6309 arg8 = wxString_in_helper(obj7);
6310 if (arg8 == NULL) SWIG_fail;
b411df4a 6311 temp8 = true;
d55e5bfc
RD
6312 }
6313 }
6314 {
6315 PyThreadState* __tstate = wxPyBeginAllowThreads();
6316 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6317
6318 wxPyEndAllowThreads(__tstate);
6319 if (PyErr_Occurred()) SWIG_fail;
6320 }
6321 {
6322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6323 }
6324 {
6325 if (temp4)
6326 delete arg4;
6327 }
6328 {
6329 if (temp8)
6330 delete arg8;
6331 }
6332 return resultobj;
6333 fail:
6334 {
6335 if (temp4)
6336 delete arg4;
6337 }
6338 {
6339 if (temp8)
6340 delete arg8;
6341 }
6342 return NULL;
6343}
6344
6345
c370783e 6346static PyObject * MiniFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6347 PyObject *obj;
6348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6349 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
6350 Py_INCREF(obj);
6351 return Py_BuildValue((char *)"");
6352}
c370783e 6353static PyObject *_wrap_new_SplashScreenWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6354 PyObject *resultobj;
6355 wxBitmap *arg1 = 0 ;
6356 wxWindow *arg2 = (wxWindow *) 0 ;
6357 int arg3 ;
6358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6360 wxSize const &arg5_defvalue = wxDefaultSize ;
6361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6362 long arg6 = (long) wxNO_BORDER ;
6363 wxSplashScreenWindow *result;
6364 wxPoint temp4 ;
6365 wxSize temp5 ;
6366 PyObject * obj0 = 0 ;
6367 PyObject * obj1 = 0 ;
6368 PyObject * obj2 = 0 ;
6369 PyObject * obj3 = 0 ;
6370 PyObject * obj4 = 0 ;
6371 PyObject * obj5 = 0 ;
6372 char *kwnames[] = {
6373 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6374 };
6375
6376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
6377 {
6378 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6379 if (SWIG_arg_fail(1)) SWIG_fail;
6380 if (arg1 == NULL) {
6381 SWIG_null_ref("wxBitmap");
6382 }
6383 if (SWIG_arg_fail(1)) SWIG_fail;
6384 }
6385 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6386 if (SWIG_arg_fail(2)) SWIG_fail;
6387 {
6388 arg3 = (int)(SWIG_As_int(obj2));
6389 if (SWIG_arg_fail(3)) SWIG_fail;
6390 }
d55e5bfc
RD
6391 if (obj3) {
6392 {
6393 arg4 = &temp4;
6394 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6395 }
6396 }
6397 if (obj4) {
6398 {
6399 arg5 = &temp5;
6400 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6401 }
6402 }
6403 if (obj5) {
36ed4f51
RD
6404 {
6405 arg6 = (long)(SWIG_As_long(obj5));
6406 if (SWIG_arg_fail(6)) SWIG_fail;
6407 }
d55e5bfc
RD
6408 }
6409 {
0439c23b 6410 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
6413
6414 wxPyEndAllowThreads(__tstate);
110da5b0 6415 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6416 }
6417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 1);
6418 return resultobj;
6419 fail:
6420 return NULL;
6421}
6422
6423
c370783e 6424static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6425 PyObject *resultobj;
6426 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6427 wxBitmap *arg2 = 0 ;
6428 PyObject * obj0 = 0 ;
6429 PyObject * obj1 = 0 ;
6430 char *kwnames[] = {
6431 (char *) "self",(char *) "bitmap", NULL
6432 };
6433
6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6436 if (SWIG_arg_fail(1)) SWIG_fail;
6437 {
6438 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6439 if (SWIG_arg_fail(2)) SWIG_fail;
6440 if (arg2 == NULL) {
6441 SWIG_null_ref("wxBitmap");
6442 }
6443 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6444 }
6445 {
6446 PyThreadState* __tstate = wxPyBeginAllowThreads();
6447 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6448
6449 wxPyEndAllowThreads(__tstate);
6450 if (PyErr_Occurred()) SWIG_fail;
6451 }
6452 Py_INCREF(Py_None); resultobj = Py_None;
6453 return resultobj;
6454 fail:
6455 return NULL;
6456}
6457
6458
c370783e 6459static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6460 PyObject *resultobj;
6461 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
6462 wxBitmap *result;
6463 PyObject * obj0 = 0 ;
6464 char *kwnames[] = {
6465 (char *) "self", NULL
6466 };
6467
6468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
6469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_EXCEPTION | 0);
6470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 {
6474 wxBitmap &_result_ref = (arg1)->GetBitmap();
6475 result = (wxBitmap *) &_result_ref;
6476 }
6477
6478 wxPyEndAllowThreads(__tstate);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 }
6481 {
6482 wxBitmap* resultptr = new wxBitmap(*result);
6483 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6484 }
6485 return resultobj;
6486 fail:
6487 return NULL;
6488}
6489
6490
c370783e 6491static PyObject * SplashScreenWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6492 PyObject *obj;
6493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6494 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
6495 Py_INCREF(obj);
6496 return Py_BuildValue((char *)"");
6497}
c370783e 6498static PyObject *_wrap_new_SplashScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6499 PyObject *resultobj;
6500 wxBitmap *arg1 = 0 ;
6501 long arg2 ;
6502 int arg3 ;
6503 wxWindow *arg4 = (wxWindow *) 0 ;
bfddbb17 6504 int arg5 = (int) -1 ;
d55e5bfc
RD
6505 wxPoint const &arg6_defvalue = wxDefaultPosition ;
6506 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
6507 wxSize const &arg7_defvalue = wxDefaultSize ;
6508 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
6509 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
6510 wxSplashScreen *result;
6511 wxPoint temp6 ;
6512 wxSize temp7 ;
6513 PyObject * obj0 = 0 ;
6514 PyObject * obj1 = 0 ;
6515 PyObject * obj2 = 0 ;
6516 PyObject * obj3 = 0 ;
6517 PyObject * obj4 = 0 ;
6518 PyObject * obj5 = 0 ;
6519 PyObject * obj6 = 0 ;
6520 PyObject * obj7 = 0 ;
6521 char *kwnames[] = {
6522 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6523 };
6524
bfddbb17 6525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6526 {
6527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6528 if (SWIG_arg_fail(1)) SWIG_fail;
6529 if (arg1 == NULL) {
6530 SWIG_null_ref("wxBitmap");
6531 }
6532 if (SWIG_arg_fail(1)) SWIG_fail;
6533 }
6534 {
6535 arg2 = (long)(SWIG_As_long(obj1));
6536 if (SWIG_arg_fail(2)) SWIG_fail;
6537 }
6538 {
6539 arg3 = (int)(SWIG_As_int(obj2));
6540 if (SWIG_arg_fail(3)) SWIG_fail;
6541 }
6542 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6543 if (SWIG_arg_fail(4)) SWIG_fail;
bfddbb17 6544 if (obj4) {
36ed4f51
RD
6545 {
6546 arg5 = (int)(SWIG_As_int(obj4));
6547 if (SWIG_arg_fail(5)) SWIG_fail;
6548 }
bfddbb17 6549 }
d55e5bfc
RD
6550 if (obj5) {
6551 {
6552 arg6 = &temp6;
6553 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
6554 }
6555 }
6556 if (obj6) {
6557 {
6558 arg7 = &temp7;
6559 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
6560 }
6561 }
6562 if (obj7) {
36ed4f51
RD
6563 {
6564 arg8 = (long)(SWIG_As_long(obj7));
6565 if (SWIG_arg_fail(8)) SWIG_fail;
6566 }
d55e5bfc
RD
6567 }
6568 {
0439c23b 6569 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
6571 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
6572
6573 wxPyEndAllowThreads(__tstate);
110da5b0 6574 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6575 }
6576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreen, 1);
6577 return resultobj;
6578 fail:
6579 return NULL;
6580}
6581
6582
c370783e 6583static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6584 PyObject *resultobj;
6585 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6586 long result;
6587 PyObject * obj0 = 0 ;
6588 char *kwnames[] = {
6589 (char *) "self", NULL
6590 };
6591
6592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
6593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6594 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6595 {
6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
6597 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
6598
6599 wxPyEndAllowThreads(__tstate);
6600 if (PyErr_Occurred()) SWIG_fail;
6601 }
36ed4f51
RD
6602 {
6603 resultobj = SWIG_From_long((long)(result));
6604 }
d55e5bfc
RD
6605 return resultobj;
6606 fail:
6607 return NULL;
6608}
6609
6610
c370783e 6611static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6612 PyObject *resultobj;
6613 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6614 wxSplashScreenWindow *result;
6615 PyObject * obj0 = 0 ;
6616 char *kwnames[] = {
6617 (char *) "self", NULL
6618 };
6619
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
6621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplashScreenWindow, 0);
6631 return resultobj;
6632 fail:
6633 return NULL;
6634}
6635
6636
c370783e 6637static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6638 PyObject *resultobj;
6639 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
6640 int result;
6641 PyObject * obj0 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
36ed4f51
RD
6647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_EXCEPTION | 0);
6648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6651 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
6652
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
36ed4f51
RD
6656 {
6657 resultobj = SWIG_From_int((int)(result));
6658 }
d55e5bfc
RD
6659 return resultobj;
6660 fail:
6661 return NULL;
6662}
6663
6664
c370783e 6665static PyObject * SplashScreen_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6666 PyObject *obj;
6667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6668 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
6669 Py_INCREF(obj);
6670 return Py_BuildValue((char *)"");
6671}
c370783e 6672static PyObject *_wrap_new_StatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6673 PyObject *resultobj;
6674 wxWindow *arg1 = (wxWindow *) 0 ;
6675 int arg2 = (int) -1 ;
6676 long arg3 = (long) wxST_SIZEGRIP ;
6677 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
6678 wxString *arg4 = (wxString *) &arg4_defvalue ;
6679 wxStatusBar *result;
b411df4a 6680 bool temp4 = false ;
d55e5bfc
RD
6681 PyObject * obj0 = 0 ;
6682 PyObject * obj1 = 0 ;
6683 PyObject * obj2 = 0 ;
6684 PyObject * obj3 = 0 ;
6685 char *kwnames[] = {
6686 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6687 };
6688
6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
6690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6692 if (obj1) {
36ed4f51
RD
6693 {
6694 arg2 = (int)(SWIG_As_int(obj1));
6695 if (SWIG_arg_fail(2)) SWIG_fail;
6696 }
d55e5bfc
RD
6697 }
6698 if (obj2) {
36ed4f51
RD
6699 {
6700 arg3 = (long)(SWIG_As_long(obj2));
6701 if (SWIG_arg_fail(3)) SWIG_fail;
6702 }
d55e5bfc
RD
6703 }
6704 if (obj3) {
6705 {
6706 arg4 = wxString_in_helper(obj3);
6707 if (arg4 == NULL) SWIG_fail;
b411df4a 6708 temp4 = true;
d55e5bfc
RD
6709 }
6710 }
6711 {
0439c23b 6712 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6713 PyThreadState* __tstate = wxPyBeginAllowThreads();
6714 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
6715
6716 wxPyEndAllowThreads(__tstate);
110da5b0 6717 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6718 }
b0f7404b 6719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
6720 {
6721 if (temp4)
6722 delete arg4;
6723 }
6724 return resultobj;
6725 fail:
6726 {
6727 if (temp4)
6728 delete arg4;
6729 }
6730 return NULL;
6731}
6732
6733
c370783e 6734static PyObject *_wrap_new_PreStatusBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6735 PyObject *resultobj;
6736 wxStatusBar *result;
6737 char *kwnames[] = {
6738 NULL
6739 };
6740
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
6742 {
0439c23b 6743 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 result = (wxStatusBar *)new wxStatusBar();
6746
6747 wxPyEndAllowThreads(__tstate);
110da5b0 6748 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6749 }
b0f7404b 6750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStatusBar, 1);
d55e5bfc
RD
6751 return resultobj;
6752 fail:
6753 return NULL;
6754}
6755
6756
c370783e 6757static PyObject *_wrap_StatusBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6758 PyObject *resultobj;
6759 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6760 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 6761 int arg3 = (int) -1 ;
d55e5bfc
RD
6762 long arg4 = (long) wxST_SIZEGRIP ;
6763 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6764 wxString *arg5 = (wxString *) &arg5_defvalue ;
6765 bool result;
b411df4a 6766 bool temp5 = false ;
d55e5bfc
RD
6767 PyObject * obj0 = 0 ;
6768 PyObject * obj1 = 0 ;
6769 PyObject * obj2 = 0 ;
6770 PyObject * obj3 = 0 ;
6771 PyObject * obj4 = 0 ;
6772 char *kwnames[] = {
6773 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6774 };
6775
bfddbb17 6776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
6777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6778 if (SWIG_arg_fail(1)) SWIG_fail;
6779 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6780 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6781 if (obj2) {
36ed4f51
RD
6782 {
6783 arg3 = (int)(SWIG_As_int(obj2));
6784 if (SWIG_arg_fail(3)) SWIG_fail;
6785 }
bfddbb17 6786 }
d55e5bfc 6787 if (obj3) {
36ed4f51
RD
6788 {
6789 arg4 = (long)(SWIG_As_long(obj3));
6790 if (SWIG_arg_fail(4)) SWIG_fail;
6791 }
d55e5bfc
RD
6792 }
6793 if (obj4) {
6794 {
6795 arg5 = wxString_in_helper(obj4);
6796 if (arg5 == NULL) SWIG_fail;
b411df4a 6797 temp5 = true;
d55e5bfc
RD
6798 }
6799 }
6800 {
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
6803
6804 wxPyEndAllowThreads(__tstate);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 }
6807 {
6808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6809 }
6810 {
6811 if (temp5)
6812 delete arg5;
6813 }
6814 return resultobj;
6815 fail:
6816 {
6817 if (temp5)
6818 delete arg5;
6819 }
6820 return NULL;
6821}
6822
6823
c370783e 6824static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6825 PyObject *resultobj;
6826 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6827 int arg2 = (int) 1 ;
6828 PyObject * obj0 = 0 ;
6829 PyObject * obj1 = 0 ;
6830 char *kwnames[] = {
6831 (char *) "self",(char *) "number", NULL
6832 };
6833
6834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6836 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6837 if (obj1) {
36ed4f51
RD
6838 {
6839 arg2 = (int)(SWIG_As_int(obj1));
6840 if (SWIG_arg_fail(2)) SWIG_fail;
6841 }
d55e5bfc
RD
6842 }
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 (arg1)->SetFieldsCount(arg2);
6846
6847 wxPyEndAllowThreads(__tstate);
6848 if (PyErr_Occurred()) SWIG_fail;
6849 }
6850 Py_INCREF(Py_None); resultobj = Py_None;
6851 return resultobj;
6852 fail:
6853 return NULL;
6854}
6855
6856
c370783e 6857static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6858 PyObject *resultobj;
6859 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6860 int result;
6861 PyObject * obj0 = 0 ;
6862 char *kwnames[] = {
6863 (char *) "self", NULL
6864 };
6865
6866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
6867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6868 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
6872
6873 wxPyEndAllowThreads(__tstate);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 }
36ed4f51
RD
6876 {
6877 resultobj = SWIG_From_int((int)(result));
6878 }
d55e5bfc
RD
6879 return resultobj;
6880 fail:
6881 return NULL;
6882}
6883
6884
c370783e 6885static PyObject *_wrap_StatusBar_SetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6886 PyObject *resultobj;
6887 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6888 wxString *arg2 = 0 ;
6889 int arg3 = (int) 0 ;
b411df4a 6890 bool temp2 = false ;
d55e5bfc
RD
6891 PyObject * obj0 = 0 ;
6892 PyObject * obj1 = 0 ;
6893 PyObject * obj2 = 0 ;
6894 char *kwnames[] = {
6895 (char *) "self",(char *) "text",(char *) "number", NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6901 {
6902 arg2 = wxString_in_helper(obj1);
6903 if (arg2 == NULL) SWIG_fail;
b411df4a 6904 temp2 = true;
d55e5bfc
RD
6905 }
6906 if (obj2) {
36ed4f51
RD
6907 {
6908 arg3 = (int)(SWIG_As_int(obj2));
6909 if (SWIG_arg_fail(3)) SWIG_fail;
6910 }
d55e5bfc
RD
6911 }
6912 {
6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6914 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6915
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 Py_INCREF(Py_None); resultobj = Py_None;
6920 {
6921 if (temp2)
6922 delete arg2;
6923 }
6924 return resultobj;
6925 fail:
6926 {
6927 if (temp2)
6928 delete arg2;
6929 }
6930 return NULL;
6931}
6932
6933
c370783e 6934static PyObject *_wrap_StatusBar_GetStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6935 PyObject *resultobj;
6936 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6937 int arg2 = (int) 0 ;
6938 wxString result;
6939 PyObject * obj0 = 0 ;
6940 PyObject * obj1 = 0 ;
6941 char *kwnames[] = {
6942 (char *) "self",(char *) "number", NULL
6943 };
6944
6945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6948 if (obj1) {
36ed4f51
RD
6949 {
6950 arg2 = (int)(SWIG_As_int(obj1));
6951 if (SWIG_arg_fail(2)) SWIG_fail;
6952 }
d55e5bfc
RD
6953 }
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
6961 {
6962#if wxUSE_UNICODE
6963 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6964#else
6965 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6966#endif
6967 }
6968 return resultobj;
6969 fail:
6970 return NULL;
6971}
6972
6973
c370783e 6974static PyObject *_wrap_StatusBar_PushStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6975 PyObject *resultobj;
6976 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
6977 wxString *arg2 = 0 ;
6978 int arg3 = (int) 0 ;
b411df4a 6979 bool temp2 = false ;
d55e5bfc
RD
6980 PyObject * obj0 = 0 ;
6981 PyObject * obj1 = 0 ;
6982 PyObject * obj2 = 0 ;
6983 char *kwnames[] = {
6984 (char *) "self",(char *) "text",(char *) "number", NULL
6985 };
6986
6987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
6989 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6990 {
6991 arg2 = wxString_in_helper(obj1);
6992 if (arg2 == NULL) SWIG_fail;
b411df4a 6993 temp2 = true;
d55e5bfc
RD
6994 }
6995 if (obj2) {
36ed4f51
RD
6996 {
6997 arg3 = (int)(SWIG_As_int(obj2));
6998 if (SWIG_arg_fail(3)) SWIG_fail;
6999 }
d55e5bfc
RD
7000 }
7001 {
7002 PyThreadState* __tstate = wxPyBeginAllowThreads();
7003 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7004
7005 wxPyEndAllowThreads(__tstate);
7006 if (PyErr_Occurred()) SWIG_fail;
7007 }
7008 Py_INCREF(Py_None); resultobj = Py_None;
7009 {
7010 if (temp2)
7011 delete arg2;
7012 }
7013 return resultobj;
7014 fail:
7015 {
7016 if (temp2)
7017 delete arg2;
7018 }
7019 return NULL;
7020}
7021
7022
c370783e 7023static PyObject *_wrap_StatusBar_PopStatusText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7024 PyObject *resultobj;
7025 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7026 int arg2 = (int) 0 ;
7027 PyObject * obj0 = 0 ;
7028 PyObject * obj1 = 0 ;
7029 char *kwnames[] = {
7030 (char *) "self",(char *) "number", NULL
7031 };
7032
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7035 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7036 if (obj1) {
36ed4f51
RD
7037 {
7038 arg2 = (int)(SWIG_As_int(obj1));
7039 if (SWIG_arg_fail(2)) SWIG_fail;
7040 }
d55e5bfc
RD
7041 }
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 (arg1)->PopStatusText(arg2);
7045
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 Py_INCREF(Py_None); resultobj = Py_None;
7050 return resultobj;
7051 fail:
7052 return NULL;
7053}
7054
7055
c370783e 7056static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7057 PyObject *resultobj;
7058 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7059 int arg2 ;
7060 int *arg3 = (int *) 0 ;
7061 PyObject * obj0 = 0 ;
7062 PyObject * obj1 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "self",(char *) "widths", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7069 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7070 {
7071 arg2 = PyList_Size(obj1);
7072 arg3 = int_LIST_helper(obj1);
7073 if (arg3 == NULL) SWIG_fail;
7074 }
7075 {
7076 PyThreadState* __tstate = wxPyBeginAllowThreads();
7077 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
7078
7079 wxPyEndAllowThreads(__tstate);
7080 if (PyErr_Occurred()) SWIG_fail;
7081 }
7082 Py_INCREF(Py_None); resultobj = Py_None;
7083 {
7084 if (arg3) delete [] arg3;
7085 }
7086 return resultobj;
7087 fail:
7088 {
7089 if (arg3) delete [] arg3;
7090 }
7091 return NULL;
7092}
7093
7094
c370783e 7095static PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *, PyObject *args, PyObject *kwargs) {
03837c5c
RD
7096 PyObject *resultobj;
7097 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7098 int arg2 ;
7099 int *arg3 = (int *) 0 ;
7100 PyObject * obj0 = 0 ;
7101 PyObject * obj1 = 0 ;
7102 char *kwnames[] = {
7103 (char *) "self",(char *) "styles", NULL
7104 };
7105
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7108 if (SWIG_arg_fail(1)) SWIG_fail;
03837c5c
RD
7109 {
7110 arg2 = PyList_Size(obj1);
7111 arg3 = int_LIST_helper(obj1);
7112 if (arg3 == NULL) SWIG_fail;
7113 }
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
7117
7118 wxPyEndAllowThreads(__tstate);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 }
7121 Py_INCREF(Py_None); resultobj = Py_None;
7122 {
7123 if (arg3) delete [] arg3;
7124 }
7125 return resultobj;
7126 fail:
7127 {
7128 if (arg3) delete [] arg3;
7129 }
7130 return NULL;
7131}
7132
7133
c370783e 7134static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7135 PyObject *resultobj;
7136 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7137 int arg2 ;
7138 wxRect result;
7139 PyObject * obj0 = 0 ;
7140 PyObject * obj1 = 0 ;
7141 char *kwnames[] = {
7142 (char *) "self",(char *) "i", NULL
7143 };
7144
7145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7147 if (SWIG_arg_fail(1)) SWIG_fail;
7148 {
7149 arg2 = (int)(SWIG_As_int(obj1));
7150 if (SWIG_arg_fail(2)) SWIG_fail;
7151 }
d55e5bfc
RD
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 result = wxStatusBar_GetFieldRect(arg1,arg2);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 {
7160 wxRect * resultptr;
36ed4f51 7161 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
7162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
7163 }
7164 return resultobj;
7165 fail:
7166 return NULL;
7167}
7168
7169
c370783e 7170static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7171 PyObject *resultobj;
7172 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7173 int arg2 ;
7174 PyObject * obj0 = 0 ;
7175 PyObject * obj1 = 0 ;
7176 char *kwnames[] = {
7177 (char *) "self",(char *) "height", NULL
7178 };
7179
7180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7182 if (SWIG_arg_fail(1)) SWIG_fail;
7183 {
7184 arg2 = (int)(SWIG_As_int(obj1));
7185 if (SWIG_arg_fail(2)) SWIG_fail;
7186 }
d55e5bfc
RD
7187 {
7188 PyThreadState* __tstate = wxPyBeginAllowThreads();
7189 (arg1)->SetMinHeight(arg2);
7190
7191 wxPyEndAllowThreads(__tstate);
7192 if (PyErr_Occurred()) SWIG_fail;
7193 }
7194 Py_INCREF(Py_None); resultobj = Py_None;
7195 return resultobj;
7196 fail:
7197 return NULL;
7198}
7199
7200
c370783e 7201static PyObject *_wrap_StatusBar_GetBorderX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7202 PyObject *resultobj;
7203 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7204 int result;
7205 PyObject * obj0 = 0 ;
7206 char *kwnames[] = {
7207 (char *) "self", NULL
7208 };
7209
7210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
36ed4f51
RD
7211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7212 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7213 {
7214 PyThreadState* __tstate = wxPyBeginAllowThreads();
7215 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
7216
7217 wxPyEndAllowThreads(__tstate);
7218 if (PyErr_Occurred()) SWIG_fail;
7219 }
36ed4f51
RD
7220 {
7221 resultobj = SWIG_From_int((int)(result));
7222 }
d55e5bfc
RD
7223 return resultobj;
7224 fail:
7225 return NULL;
7226}
7227
7228
c370783e 7229static PyObject *_wrap_StatusBar_GetBorderY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7230 PyObject *resultobj;
7231 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
7232 int result;
7233 PyObject * obj0 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "self", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
36ed4f51
RD
7239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStatusBar, SWIG_POINTER_EXCEPTION | 0);
7240 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
7244
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
36ed4f51
RD
7248 {
7249 resultobj = SWIG_From_int((int)(result));
7250 }
d55e5bfc
RD
7251 return resultobj;
7252 fail:
7253 return NULL;
7254}
7255
7256
c370783e 7257static PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 7258 PyObject *resultobj;
36ed4f51 7259 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7260 wxVisualAttributes result;
7261 PyObject * obj0 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "variant", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7267 if (obj0) {
36ed4f51
RD
7268 {
7269 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7270 if (SWIG_arg_fail(1)) SWIG_fail;
7271 }
f20a2e1f
RD
7272 }
7273 {
0439c23b 7274 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
7275 PyThreadState* __tstate = wxPyBeginAllowThreads();
7276 result = wxStatusBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
7277
7278 wxPyEndAllowThreads(__tstate);
110da5b0 7279 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7280 }
7281 {
7282 wxVisualAttributes * resultptr;
36ed4f51 7283 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
7284 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7285 }
7286 return resultobj;
7287 fail:
7288 return NULL;
7289}
7290
7291
c370783e 7292static PyObject * StatusBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7293 PyObject *obj;
7294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7295 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
7296 Py_INCREF(obj);
7297 return Py_BuildValue((char *)"");
7298}
c370783e 7299static int _wrap_SplitterNameStr_set(PyObject *) {
d55e5bfc
RD
7300 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
7301 return 1;
7302}
7303
7304
36ed4f51 7305static PyObject *_wrap_SplitterNameStr_get(void) {
d55e5bfc
RD
7306 PyObject *pyobj;
7307
7308 {
7309#if wxUSE_UNICODE
7310 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7311#else
7312 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
7313#endif
7314 }
7315 return pyobj;
7316}
7317
7318
c370783e 7319static PyObject *_wrap_new_SplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7320 PyObject *resultobj;
7321 wxWindow *arg1 = (wxWindow *) 0 ;
7322 int arg2 = (int) -1 ;
7323 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7324 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7325 wxSize const &arg4_defvalue = wxDefaultSize ;
7326 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7327 long arg5 = (long) wxSP_3D ;
7328 wxString const &arg6_defvalue = wxPySplitterNameStr ;
7329 wxString *arg6 = (wxString *) &arg6_defvalue ;
7330 wxSplitterWindow *result;
7331 wxPoint temp3 ;
7332 wxSize temp4 ;
b411df4a 7333 bool temp6 = false ;
d55e5bfc
RD
7334 PyObject * obj0 = 0 ;
7335 PyObject * obj1 = 0 ;
7336 PyObject * obj2 = 0 ;
7337 PyObject * obj3 = 0 ;
7338 PyObject * obj4 = 0 ;
7339 PyObject * obj5 = 0 ;
7340 char *kwnames[] = {
7341 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7342 };
7343
7344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
7345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7346 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7347 if (obj1) {
36ed4f51
RD
7348 {
7349 arg2 = (int)(SWIG_As_int(obj1));
7350 if (SWIG_arg_fail(2)) SWIG_fail;
7351 }
d55e5bfc
RD
7352 }
7353 if (obj2) {
7354 {
7355 arg3 = &temp3;
7356 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7357 }
7358 }
7359 if (obj3) {
7360 {
7361 arg4 = &temp4;
7362 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7363 }
7364 }
7365 if (obj4) {
36ed4f51
RD
7366 {
7367 arg5 = (long)(SWIG_As_long(obj4));
7368 if (SWIG_arg_fail(5)) SWIG_fail;
7369 }
d55e5bfc
RD
7370 }
7371 if (obj5) {
7372 {
7373 arg6 = wxString_in_helper(obj5);
7374 if (arg6 == NULL) SWIG_fail;
b411df4a 7375 temp6 = true;
d55e5bfc
RD
7376 }
7377 }
7378 {
0439c23b 7379 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7380 PyThreadState* __tstate = wxPyBeginAllowThreads();
7381 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7382
7383 wxPyEndAllowThreads(__tstate);
110da5b0 7384 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7385 }
7386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7387 {
7388 if (temp6)
7389 delete arg6;
7390 }
7391 return resultobj;
7392 fail:
7393 {
7394 if (temp6)
7395 delete arg6;
7396 }
7397 return NULL;
7398}
7399
7400
c370783e 7401static PyObject *_wrap_new_PreSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7402 PyObject *resultobj;
7403 wxSplitterWindow *result;
7404 char *kwnames[] = {
7405 NULL
7406 };
7407
7408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
7409 {
0439c23b 7410 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7411 PyThreadState* __tstate = wxPyBeginAllowThreads();
7412 result = (wxSplitterWindow *)new wxSplitterWindow();
7413
7414 wxPyEndAllowThreads(__tstate);
110da5b0 7415 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7416 }
7417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterWindow, 1);
7418 return resultobj;
7419 fail:
7420 return NULL;
7421}
7422
7423
c370783e 7424static PyObject *_wrap_SplitterWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7425 PyObject *resultobj;
7426 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7427 wxWindow *arg2 = (wxWindow *) 0 ;
7428 int arg3 = (int) -1 ;
7429 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7430 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7431 wxSize const &arg5_defvalue = wxDefaultSize ;
7432 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7433 long arg6 = (long) wxSP_3D ;
7434 wxString const &arg7_defvalue = wxPySplitterNameStr ;
7435 wxString *arg7 = (wxString *) &arg7_defvalue ;
7436 bool result;
7437 wxPoint temp4 ;
7438 wxSize temp5 ;
b411df4a 7439 bool temp7 = false ;
d55e5bfc
RD
7440 PyObject * obj0 = 0 ;
7441 PyObject * obj1 = 0 ;
7442 PyObject * obj2 = 0 ;
7443 PyObject * obj3 = 0 ;
7444 PyObject * obj4 = 0 ;
7445 PyObject * obj5 = 0 ;
7446 PyObject * obj6 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
7452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7453 if (SWIG_arg_fail(1)) SWIG_fail;
7454 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7455 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 7456 if (obj2) {
36ed4f51
RD
7457 {
7458 arg3 = (int)(SWIG_As_int(obj2));
7459 if (SWIG_arg_fail(3)) SWIG_fail;
7460 }
d55e5bfc
RD
7461 }
7462 if (obj3) {
7463 {
7464 arg4 = &temp4;
7465 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7466 }
7467 }
7468 if (obj4) {
7469 {
7470 arg5 = &temp5;
7471 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7472 }
7473 }
7474 if (obj5) {
36ed4f51
RD
7475 {
7476 arg6 = (long)(SWIG_As_long(obj5));
7477 if (SWIG_arg_fail(6)) SWIG_fail;
7478 }
d55e5bfc
RD
7479 }
7480 if (obj6) {
7481 {
7482 arg7 = wxString_in_helper(obj6);
7483 if (arg7 == NULL) SWIG_fail;
b411df4a 7484 temp7 = true;
d55e5bfc
RD
7485 }
7486 }
7487 {
7488 PyThreadState* __tstate = wxPyBeginAllowThreads();
7489 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7490
7491 wxPyEndAllowThreads(__tstate);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 {
7495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7496 }
7497 {
7498 if (temp7)
7499 delete arg7;
7500 }
7501 return resultobj;
7502 fail:
7503 {
7504 if (temp7)
7505 delete arg7;
7506 }
7507 return NULL;
7508}
7509
7510
c370783e 7511static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7512 PyObject *resultobj;
7513 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7514 wxWindow *result;
7515 PyObject * obj0 = 0 ;
7516 char *kwnames[] = {
7517 (char *) "self", NULL
7518 };
7519
7520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
36ed4f51
RD
7521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7522 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7523 {
7524 PyThreadState* __tstate = wxPyBeginAllowThreads();
7525 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
7526
7527 wxPyEndAllowThreads(__tstate);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 }
7530 {
412d302d 7531 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7532 }
7533 return resultobj;
7534 fail:
7535 return NULL;
7536}
7537
7538
c370783e 7539static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7540 PyObject *resultobj;
7541 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7542 wxWindow *result;
7543 PyObject * obj0 = 0 ;
7544 char *kwnames[] = {
7545 (char *) "self", NULL
7546 };
7547
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
36ed4f51
RD
7549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7551 {
7552 PyThreadState* __tstate = wxPyBeginAllowThreads();
7553 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
7554
7555 wxPyEndAllowThreads(__tstate);
7556 if (PyErr_Occurred()) SWIG_fail;
7557 }
7558 {
412d302d 7559 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7560 }
7561 return resultobj;
7562 fail:
7563 return NULL;
7564}
7565
7566
c370783e 7567static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7568 PyObject *resultobj;
7569 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7570 int arg2 ;
7571 PyObject * obj0 = 0 ;
7572 PyObject * obj1 = 0 ;
7573 char *kwnames[] = {
7574 (char *) "self",(char *) "mode", NULL
7575 };
7576
7577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7578 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7579 if (SWIG_arg_fail(1)) SWIG_fail;
7580 {
7581 arg2 = (int)(SWIG_As_int(obj1));
7582 if (SWIG_arg_fail(2)) SWIG_fail;
7583 }
d55e5bfc
RD
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 (arg1)->SetSplitMode(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
c370783e 7598static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7599 PyObject *resultobj;
7600 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
36ed4f51 7601 wxSplitMode result;
d55e5bfc
RD
7602 PyObject * obj0 = 0 ;
7603 char *kwnames[] = {
7604 (char *) "self", NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
7608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7609 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 7612 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
d55e5bfc
RD
7613
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
36ed4f51 7617 resultobj = SWIG_From_int((result));
d55e5bfc
RD
7618 return resultobj;
7619 fail:
7620 return NULL;
7621}
7622
7623
c370783e 7624static PyObject *_wrap_SplitterWindow_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7625 PyObject *resultobj;
7626 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7627 wxWindow *arg2 = (wxWindow *) 0 ;
7628 PyObject * obj0 = 0 ;
7629 PyObject * obj1 = 0 ;
7630 char *kwnames[] = {
7631 (char *) "self",(char *) "window", NULL
7632 };
7633
7634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7636 if (SWIG_arg_fail(1)) SWIG_fail;
7637 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7638 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7639 {
7640 PyThreadState* __tstate = wxPyBeginAllowThreads();
7641 (arg1)->Initialize(arg2);
7642
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 Py_INCREF(Py_None); resultobj = Py_None;
7647 return resultobj;
7648 fail:
7649 return NULL;
7650}
7651
7652
c370783e 7653static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7654 PyObject *resultobj;
7655 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7656 wxWindow *arg2 = (wxWindow *) 0 ;
7657 wxWindow *arg3 = (wxWindow *) 0 ;
7658 int arg4 = (int) 0 ;
7659 bool result;
7660 PyObject * obj0 = 0 ;
7661 PyObject * obj1 = 0 ;
7662 PyObject * obj2 = 0 ;
7663 PyObject * obj3 = 0 ;
7664 char *kwnames[] = {
7665 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7666 };
7667
7668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7670 if (SWIG_arg_fail(1)) SWIG_fail;
7671 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7672 if (SWIG_arg_fail(2)) SWIG_fail;
7673 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7674 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 7675 if (obj3) {
36ed4f51
RD
7676 {
7677 arg4 = (int)(SWIG_As_int(obj3));
7678 if (SWIG_arg_fail(4)) SWIG_fail;
7679 }
d55e5bfc
RD
7680 }
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 {
7689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7690 }
7691 return resultobj;
7692 fail:
7693 return NULL;
7694}
7695
7696
c370783e 7697static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7698 PyObject *resultobj;
7699 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7700 wxWindow *arg2 = (wxWindow *) 0 ;
7701 wxWindow *arg3 = (wxWindow *) 0 ;
7702 int arg4 = (int) 0 ;
7703 bool result;
7704 PyObject * obj0 = 0 ;
7705 PyObject * obj1 = 0 ;
7706 PyObject * obj2 = 0 ;
7707 PyObject * obj3 = 0 ;
7708 char *kwnames[] = {
7709 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7710 };
7711
7712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7713 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7714 if (SWIG_arg_fail(1)) SWIG_fail;
7715 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7716 if (SWIG_arg_fail(2)) SWIG_fail;
7717 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7718 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 7719 if (obj3) {
36ed4f51
RD
7720 {
7721 arg4 = (int)(SWIG_As_int(obj3));
7722 if (SWIG_arg_fail(4)) SWIG_fail;
7723 }
d55e5bfc
RD
7724 }
7725 {
7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
7727 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
7728
7729 wxPyEndAllowThreads(__tstate);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 {
7733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7734 }
7735 return resultobj;
7736 fail:
7737 return NULL;
7738}
7739
7740
c370783e 7741static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7742 PyObject *resultobj;
7743 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7744 wxWindow *arg2 = (wxWindow *) NULL ;
7745 bool result;
7746 PyObject * obj0 = 0 ;
7747 PyObject * obj1 = 0 ;
7748 char *kwnames[] = {
7749 (char *) "self",(char *) "toRemove", NULL
7750 };
7751
7752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7754 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7755 if (obj1) {
36ed4f51
RD
7756 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7757 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7758 }
7759 {
7760 PyThreadState* __tstate = wxPyBeginAllowThreads();
7761 result = (bool)(arg1)->Unsplit(arg2);
7762
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 {
7767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7768 }
7769 return resultobj;
7770 fail:
7771 return NULL;
7772}
7773
7774
c370783e 7775static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7776 PyObject *resultobj;
7777 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7778 wxWindow *arg2 = (wxWindow *) 0 ;
7779 wxWindow *arg3 = (wxWindow *) 0 ;
7780 bool result;
7781 PyObject * obj0 = 0 ;
7782 PyObject * obj1 = 0 ;
7783 PyObject * obj2 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail;
7791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7792 if (SWIG_arg_fail(2)) SWIG_fail;
7793 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7794 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
7797 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
7798
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 {
7803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7804 }
7805 return resultobj;
7806 fail:
7807 return NULL;
7808}
7809
7810
c370783e 7811static PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7812 PyObject *resultobj;
7813 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7814 PyObject * obj0 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "self", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_UpdateSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
7820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7822 {
7823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7824 (arg1)->UpdateSize();
7825
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 Py_INCREF(Py_None); resultobj = Py_None;
7830 return resultobj;
7831 fail:
7832 return NULL;
7833}
7834
7835
c370783e 7836static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7837 PyObject *resultobj;
7838 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7839 bool result;
7840 PyObject * obj0 = 0 ;
7841 char *kwnames[] = {
7842 (char *) "self", NULL
7843 };
7844
7845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
36ed4f51
RD
7846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7847 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 {
7856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7857 }
7858 return resultobj;
7859 fail:
7860 return NULL;
7861}
7862
7863
c370783e 7864static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7865 PyObject *resultobj;
7866 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7867 int arg2 ;
7868 PyObject * obj0 = 0 ;
7869 PyObject * obj1 = 0 ;
7870 char *kwnames[] = {
7871 (char *) "self",(char *) "width", NULL
7872 };
7873
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7876 if (SWIG_arg_fail(1)) SWIG_fail;
7877 {
7878 arg2 = (int)(SWIG_As_int(obj1));
7879 if (SWIG_arg_fail(2)) SWIG_fail;
7880 }
d55e5bfc
RD
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 (arg1)->SetSashSize(arg2);
7884
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 Py_INCREF(Py_None); resultobj = Py_None;
7889 return resultobj;
7890 fail:
7891 return NULL;
7892}
7893
7894
c370783e 7895static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7896 PyObject *resultobj;
7897 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7898 int arg2 ;
7899 PyObject * obj0 = 0 ;
7900 PyObject * obj1 = 0 ;
7901 char *kwnames[] = {
7902 (char *) "self",(char *) "width", NULL
7903 };
7904
7905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7907 if (SWIG_arg_fail(1)) SWIG_fail;
7908 {
7909 arg2 = (int)(SWIG_As_int(obj1));
7910 if (SWIG_arg_fail(2)) SWIG_fail;
7911 }
d55e5bfc
RD
7912 {
7913 PyThreadState* __tstate = wxPyBeginAllowThreads();
7914 (arg1)->SetBorderSize(arg2);
7915
7916 wxPyEndAllowThreads(__tstate);
7917 if (PyErr_Occurred()) SWIG_fail;
7918 }
7919 Py_INCREF(Py_None); resultobj = Py_None;
7920 return resultobj;
7921 fail:
7922 return NULL;
7923}
7924
7925
c370783e 7926static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7927 PyObject *resultobj;
7928 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7929 int result;
7930 PyObject * obj0 = 0 ;
7931 char *kwnames[] = {
7932 (char *) "self", NULL
7933 };
7934
7935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
7936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7937 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7938 {
7939 PyThreadState* __tstate = wxPyBeginAllowThreads();
7940 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
7941
7942 wxPyEndAllowThreads(__tstate);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 }
36ed4f51
RD
7945 {
7946 resultobj = SWIG_From_int((int)(result));
7947 }
d55e5bfc
RD
7948 return resultobj;
7949 fail:
7950 return NULL;
7951}
7952
7953
c370783e 7954static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7955 PyObject *resultobj;
7956 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7957 int result;
7958 PyObject * obj0 = 0 ;
7959 char *kwnames[] = {
7960 (char *) "self", NULL
7961 };
7962
7963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
7964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7965 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7966 {
7967 PyThreadState* __tstate = wxPyBeginAllowThreads();
7968 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
7969
7970 wxPyEndAllowThreads(__tstate);
7971 if (PyErr_Occurred()) SWIG_fail;
7972 }
36ed4f51
RD
7973 {
7974 resultobj = SWIG_From_int((int)(result));
7975 }
d55e5bfc
RD
7976 return resultobj;
7977 fail:
7978 return NULL;
7979}
7980
7981
c370783e 7982static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7983 PyObject *resultobj;
7984 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
7985 int arg2 ;
b411df4a 7986 bool arg3 = (bool) true ;
d55e5bfc
RD
7987 PyObject * obj0 = 0 ;
7988 PyObject * obj1 = 0 ;
7989 PyObject * obj2 = 0 ;
7990 char *kwnames[] = {
7991 (char *) "self",(char *) "position",(char *) "redraw", NULL
7992 };
7993
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
7996 if (SWIG_arg_fail(1)) SWIG_fail;
7997 {
7998 arg2 = (int)(SWIG_As_int(obj1));
7999 if (SWIG_arg_fail(2)) SWIG_fail;
8000 }
d55e5bfc 8001 if (obj2) {
36ed4f51
RD
8002 {
8003 arg3 = (bool)(SWIG_As_bool(obj2));
8004 if (SWIG_arg_fail(3)) SWIG_fail;
8005 }
d55e5bfc
RD
8006 }
8007 {
8008 PyThreadState* __tstate = wxPyBeginAllowThreads();
8009 (arg1)->SetSashPosition(arg2,arg3);
8010
8011 wxPyEndAllowThreads(__tstate);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 }
8014 Py_INCREF(Py_None); resultobj = Py_None;
8015 return resultobj;
8016 fail:
8017 return NULL;
8018}
8019
8020
c370783e 8021static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8022 PyObject *resultobj;
8023 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8024 int result;
8025 PyObject * obj0 = 0 ;
8026 char *kwnames[] = {
8027 (char *) "self", NULL
8028 };
8029
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
8031 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8032 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
36ed4f51
RD
8040 {
8041 resultobj = SWIG_From_int((int)(result));
8042 }
d55e5bfc
RD
8043 return resultobj;
8044 fail:
8045 return NULL;
8046}
8047
8048
5cbf236d
RD
8049static PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8050 PyObject *resultobj;
8051 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8052 double arg2 ;
8053 PyObject * obj0 = 0 ;
8054 PyObject * obj1 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self",(char *) "gravity", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail;
8062 {
8063 arg2 = (double)(SWIG_As_double(obj1));
8064 if (SWIG_arg_fail(2)) SWIG_fail;
8065 }
5cbf236d
RD
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 (arg1)->SetSashGravity(arg2);
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 Py_INCREF(Py_None); resultobj = Py_None;
8074 return resultobj;
8075 fail:
8076 return NULL;
8077}
8078
8079
8080static PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj;
8082 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8083 double result;
8084 PyObject * obj0 = 0 ;
8085 char *kwnames[] = {
8086 (char *) "self", NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashGravity",kwnames,&obj0)) goto fail;
36ed4f51
RD
8090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8091 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
8095
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
36ed4f51
RD
8099 {
8100 resultobj = SWIG_From_double((double)(result));
8101 }
5cbf236d
RD
8102 return resultobj;
8103 fail:
8104 return NULL;
8105}
8106
8107
c370783e 8108static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8109 PyObject *resultobj;
8110 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8111 int arg2 ;
8112 PyObject * obj0 = 0 ;
8113 PyObject * obj1 = 0 ;
8114 char *kwnames[] = {
8115 (char *) "self",(char *) "min", NULL
8116 };
8117
8118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8120 if (SWIG_arg_fail(1)) SWIG_fail;
8121 {
8122 arg2 = (int)(SWIG_As_int(obj1));
8123 if (SWIG_arg_fail(2)) SWIG_fail;
8124 }
d55e5bfc
RD
8125 {
8126 PyThreadState* __tstate = wxPyBeginAllowThreads();
8127 (arg1)->SetMinimumPaneSize(arg2);
8128
8129 wxPyEndAllowThreads(__tstate);
8130 if (PyErr_Occurred()) SWIG_fail;
8131 }
8132 Py_INCREF(Py_None); resultobj = Py_None;
8133 return resultobj;
8134 fail:
8135 return NULL;
8136}
8137
8138
c370783e 8139static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8140 PyObject *resultobj;
8141 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8142 int result;
8143 PyObject * obj0 = 0 ;
8144 char *kwnames[] = {
8145 (char *) "self", NULL
8146 };
8147
8148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
8154
8155 wxPyEndAllowThreads(__tstate);
8156 if (PyErr_Occurred()) SWIG_fail;
8157 }
36ed4f51
RD
8158 {
8159 resultobj = SWIG_From_int((int)(result));
8160 }
d55e5bfc
RD
8161 return resultobj;
8162 fail:
8163 return NULL;
8164}
8165
8166
c370783e 8167static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8168 PyObject *resultobj;
8169 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8170 int arg2 ;
8171 int arg3 ;
8172 int arg4 = (int) 5 ;
8173 bool result;
8174 PyObject * obj0 = 0 ;
8175 PyObject * obj1 = 0 ;
8176 PyObject * obj2 = 0 ;
8177 PyObject * obj3 = 0 ;
8178 char *kwnames[] = {
8179 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8180 };
8181
8182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8184 if (SWIG_arg_fail(1)) SWIG_fail;
8185 {
8186 arg2 = (int)(SWIG_As_int(obj1));
8187 if (SWIG_arg_fail(2)) SWIG_fail;
8188 }
8189 {
8190 arg3 = (int)(SWIG_As_int(obj2));
8191 if (SWIG_arg_fail(3)) SWIG_fail;
8192 }
d55e5bfc 8193 if (obj3) {
36ed4f51
RD
8194 {
8195 arg4 = (int)(SWIG_As_int(obj3));
8196 if (SWIG_arg_fail(4)) SWIG_fail;
8197 }
d55e5bfc
RD
8198 }
8199 {
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
8202
8203 wxPyEndAllowThreads(__tstate);
8204 if (PyErr_Occurred()) SWIG_fail;
8205 }
8206 {
8207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8208 }
8209 return resultobj;
8210 fail:
8211 return NULL;
8212}
8213
8214
c370783e 8215static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8216 PyObject *resultobj;
8217 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8218 PyObject * obj0 = 0 ;
8219 char *kwnames[] = {
8220 (char *) "self", NULL
8221 };
8222
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
36ed4f51
RD
8224 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8225 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 (arg1)->SizeWindows();
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 Py_INCREF(Py_None); resultobj = Py_None;
8234 return resultobj;
8235 fail:
8236 return NULL;
8237}
8238
8239
c370783e 8240static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8241 PyObject *resultobj;
8242 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8243 bool arg2 ;
8244 PyObject * obj0 = 0 ;
8245 PyObject * obj1 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "self",(char *) "needUpdating", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8252 if (SWIG_arg_fail(1)) SWIG_fail;
8253 {
8254 arg2 = (bool)(SWIG_As_bool(obj1));
8255 if (SWIG_arg_fail(2)) SWIG_fail;
8256 }
d55e5bfc
RD
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
8259 (arg1)->SetNeedUpdating(arg2);
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
8264 Py_INCREF(Py_None); resultobj = Py_None;
8265 return resultobj;
8266 fail:
8267 return NULL;
8268}
8269
8270
c370783e 8271static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8272 PyObject *resultobj;
8273 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
8274 bool result;
8275 PyObject * obj0 = 0 ;
8276 char *kwnames[] = {
8277 (char *) "self", NULL
8278 };
8279
8280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
36ed4f51
RD
8281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8282 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8283 {
8284 PyThreadState* __tstate = wxPyBeginAllowThreads();
8285 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
8286
8287 wxPyEndAllowThreads(__tstate);
8288 if (PyErr_Occurred()) SWIG_fail;
8289 }
8290 {
8291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8292 }
8293 return resultobj;
8294 fail:
8295 return NULL;
8296}
8297
8298
c370783e 8299static PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 8300 PyObject *resultobj;
36ed4f51 8301 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
8302 wxVisualAttributes result;
8303 PyObject * obj0 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "variant", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8309 if (obj0) {
36ed4f51
RD
8310 {
8311 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8312 if (SWIG_arg_fail(1)) SWIG_fail;
8313 }
f20a2e1f
RD
8314 }
8315 {
0439c23b 8316 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
8317 PyThreadState* __tstate = wxPyBeginAllowThreads();
8318 result = wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
8319
8320 wxPyEndAllowThreads(__tstate);
110da5b0 8321 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
8322 }
8323 {
8324 wxVisualAttributes * resultptr;
36ed4f51 8325 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
8326 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8327 }
8328 return resultobj;
8329 fail:
8330 return NULL;
8331}
8332
8333
c370783e 8334static PyObject * SplitterWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8335 PyObject *obj;
8336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8337 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
8338 Py_INCREF(obj);
8339 return Py_BuildValue((char *)"");
8340}
c370783e 8341static PyObject *_wrap_new_SplitterEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8342 PyObject *resultobj;
8343 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
8344 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
8345 wxSplitterEvent *result;
8346 PyObject * obj0 = 0 ;
8347 PyObject * obj1 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "type",(char *) "splitter", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
8353 if (obj0) {
36ed4f51
RD
8354 {
8355 arg1 = (wxEventType)(SWIG_As_int(obj0));
8356 if (SWIG_arg_fail(1)) SWIG_fail;
8357 }
d55e5bfc
RD
8358 }
8359 if (obj1) {
36ed4f51
RD
8360 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_EXCEPTION | 0);
8361 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8362 }
8363 {
8364 PyThreadState* __tstate = wxPyBeginAllowThreads();
8365 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
8366
8367 wxPyEndAllowThreads(__tstate);
8368 if (PyErr_Occurred()) SWIG_fail;
8369 }
8370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterEvent, 1);
8371 return resultobj;
8372 fail:
8373 return NULL;
8374}
8375
8376
c370783e 8377static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8378 PyObject *resultobj;
8379 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8380 int arg2 ;
8381 PyObject * obj0 = 0 ;
8382 PyObject * obj1 = 0 ;
8383 char *kwnames[] = {
8384 (char *) "self",(char *) "pos", NULL
8385 };
8386
8387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8388 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8389 if (SWIG_arg_fail(1)) SWIG_fail;
8390 {
8391 arg2 = (int)(SWIG_As_int(obj1));
8392 if (SWIG_arg_fail(2)) SWIG_fail;
8393 }
d55e5bfc
RD
8394 {
8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
8396 (arg1)->SetSashPosition(arg2);
8397
8398 wxPyEndAllowThreads(__tstate);
8399 if (PyErr_Occurred()) SWIG_fail;
8400 }
8401 Py_INCREF(Py_None); resultobj = Py_None;
8402 return resultobj;
8403 fail:
8404 return NULL;
8405}
8406
8407
c370783e 8408static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8409 PyObject *resultobj;
8410 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8411 int result;
8412 PyObject * obj0 = 0 ;
8413 char *kwnames[] = {
8414 (char *) "self", NULL
8415 };
8416
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
8418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
8423
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
36ed4f51
RD
8427 {
8428 resultobj = SWIG_From_int((int)(result));
8429 }
d55e5bfc
RD
8430 return resultobj;
8431 fail:
8432 return NULL;
8433}
8434
8435
c370783e 8436static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8437 PyObject *resultobj;
8438 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8439 wxWindow *result;
8440 PyObject * obj0 = 0 ;
8441 char *kwnames[] = {
8442 (char *) "self", NULL
8443 };
8444
8445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
36ed4f51
RD
8446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8447 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8448 {
8449 PyThreadState* __tstate = wxPyBeginAllowThreads();
8450 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
8451
8452 wxPyEndAllowThreads(__tstate);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 }
8455 {
412d302d 8456 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
8457 }
8458 return resultobj;
8459 fail:
8460 return NULL;
8461}
8462
8463
c370783e 8464static PyObject *_wrap_SplitterEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8465 PyObject *resultobj;
8466 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8467 int result;
8468 PyObject * obj0 = 0 ;
8469 char *kwnames[] = {
8470 (char *) "self", NULL
8471 };
8472
8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
36ed4f51
RD
8474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8475 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 result = (int)((wxSplitterEvent const *)arg1)->GetX();
8479
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
36ed4f51
RD
8483 {
8484 resultobj = SWIG_From_int((int)(result));
8485 }
d55e5bfc
RD
8486 return resultobj;
8487 fail:
8488 return NULL;
8489}
8490
8491
c370783e 8492static PyObject *_wrap_SplitterEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8493 PyObject *resultobj;
8494 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
8495 int result;
8496 PyObject * obj0 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "self", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
36ed4f51
RD
8502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_EXCEPTION | 0);
8503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 result = (int)((wxSplitterEvent const *)arg1)->GetY();
8507
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
36ed4f51
RD
8511 {
8512 resultobj = SWIG_From_int((int)(result));
8513 }
d55e5bfc
RD
8514 return resultobj;
8515 fail:
8516 return NULL;
8517}
8518
8519
c370783e 8520static PyObject * SplitterEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8521 PyObject *obj;
8522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8523 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
8524 Py_INCREF(obj);
8525 return Py_BuildValue((char *)"");
8526}
c370783e 8527static int _wrap_SashNameStr_set(PyObject *) {
d55e5bfc
RD
8528 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
8529 return 1;
8530}
8531
8532
36ed4f51 8533static PyObject *_wrap_SashNameStr_get(void) {
d55e5bfc
RD
8534 PyObject *pyobj;
8535
8536 {
8537#if wxUSE_UNICODE
8538 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8539#else
8540 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
8541#endif
8542 }
8543 return pyobj;
8544}
8545
8546
c370783e 8547static int _wrap_SashLayoutNameStr_set(PyObject *) {
d55e5bfc
RD
8548 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
8549 return 1;
8550}
8551
8552
36ed4f51 8553static PyObject *_wrap_SashLayoutNameStr_get(void) {
d55e5bfc
RD
8554 PyObject *pyobj;
8555
8556 {
8557#if wxUSE_UNICODE
8558 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8559#else
8560 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
8561#endif
8562 }
8563 return pyobj;
8564}
8565
8566
c370783e 8567static PyObject *_wrap_new_SashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8568 PyObject *resultobj;
8569 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 8570 int arg2 = (int) -1 ;
d55e5bfc
RD
8571 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8572 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8573 wxSize const &arg4_defvalue = wxDefaultSize ;
8574 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8575 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8576 wxString const &arg6_defvalue = wxPySashNameStr ;
8577 wxString *arg6 = (wxString *) &arg6_defvalue ;
8578 wxSashWindow *result;
8579 wxPoint temp3 ;
8580 wxSize temp4 ;
b411df4a 8581 bool temp6 = false ;
d55e5bfc
RD
8582 PyObject * obj0 = 0 ;
8583 PyObject * obj1 = 0 ;
8584 PyObject * obj2 = 0 ;
8585 PyObject * obj3 = 0 ;
8586 PyObject * obj4 = 0 ;
8587 PyObject * obj5 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8590 };
8591
bfddbb17 8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
8593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8594 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 8595 if (obj1) {
36ed4f51
RD
8596 {
8597 arg2 = (int)(SWIG_As_int(obj1));
8598 if (SWIG_arg_fail(2)) SWIG_fail;
8599 }
bfddbb17 8600 }
d55e5bfc
RD
8601 if (obj2) {
8602 {
8603 arg3 = &temp3;
8604 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8605 }
8606 }
8607 if (obj3) {
8608 {
8609 arg4 = &temp4;
8610 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8611 }
8612 }
8613 if (obj4) {
36ed4f51
RD
8614 {
8615 arg5 = (long)(SWIG_As_long(obj4));
8616 if (SWIG_arg_fail(5)) SWIG_fail;
8617 }
d55e5bfc
RD
8618 }
8619 if (obj5) {
8620 {
8621 arg6 = wxString_in_helper(obj5);
8622 if (arg6 == NULL) SWIG_fail;
b411df4a 8623 temp6 = true;
d55e5bfc
RD
8624 }
8625 }
8626 {
0439c23b 8627 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8628 PyThreadState* __tstate = wxPyBeginAllowThreads();
8629 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8630
8631 wxPyEndAllowThreads(__tstate);
110da5b0 8632 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8633 }
8634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8635 {
8636 if (temp6)
8637 delete arg6;
8638 }
8639 return resultobj;
8640 fail:
8641 {
8642 if (temp6)
8643 delete arg6;
8644 }
8645 return NULL;
8646}
8647
8648
c370783e 8649static PyObject *_wrap_new_PreSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8650 PyObject *resultobj;
8651 wxSashWindow *result;
8652 char *kwnames[] = {
8653 NULL
8654 };
8655
8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
8657 {
0439c23b 8658 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
8660 result = (wxSashWindow *)new wxSashWindow();
8661
8662 wxPyEndAllowThreads(__tstate);
110da5b0 8663 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8664 }
8665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashWindow, 1);
8666 return resultobj;
8667 fail:
8668 return NULL;
8669}
8670
8671
c370783e 8672static PyObject *_wrap_SashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8673 PyObject *resultobj;
8674 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8675 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 8676 int arg3 = (int) -1 ;
d55e5bfc
RD
8677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8679 wxSize const &arg5_defvalue = wxDefaultSize ;
8680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8681 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
8682 wxString const &arg7_defvalue = wxPySashNameStr ;
8683 wxString *arg7 = (wxString *) &arg7_defvalue ;
8684 bool result;
8685 wxPoint temp4 ;
8686 wxSize temp5 ;
b411df4a 8687 bool temp7 = false ;
d55e5bfc
RD
8688 PyObject * obj0 = 0 ;
8689 PyObject * obj1 = 0 ;
8690 PyObject * obj2 = 0 ;
8691 PyObject * obj3 = 0 ;
8692 PyObject * obj4 = 0 ;
8693 PyObject * obj5 = 0 ;
8694 PyObject * obj6 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8697 };
8698
bfddbb17 8699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
8700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8701 if (SWIG_arg_fail(1)) SWIG_fail;
8702 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8703 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 8704 if (obj2) {
36ed4f51
RD
8705 {
8706 arg3 = (int)(SWIG_As_int(obj2));
8707 if (SWIG_arg_fail(3)) SWIG_fail;
8708 }
bfddbb17 8709 }
d55e5bfc
RD
8710 if (obj3) {
8711 {
8712 arg4 = &temp4;
8713 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8714 }
8715 }
8716 if (obj4) {
8717 {
8718 arg5 = &temp5;
8719 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8720 }
8721 }
8722 if (obj5) {
36ed4f51
RD
8723 {
8724 arg6 = (long)(SWIG_As_long(obj5));
8725 if (SWIG_arg_fail(6)) SWIG_fail;
8726 }
d55e5bfc
RD
8727 }
8728 if (obj6) {
8729 {
8730 arg7 = wxString_in_helper(obj6);
8731 if (arg7 == NULL) SWIG_fail;
b411df4a 8732 temp7 = true;
d55e5bfc
RD
8733 }
8734 }
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8738
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 {
8743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8744 }
8745 {
8746 if (temp7)
8747 delete arg7;
8748 }
8749 return resultobj;
8750 fail:
8751 {
8752 if (temp7)
8753 delete arg7;
8754 }
8755 return NULL;
8756}
8757
8758
c370783e 8759static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8760 PyObject *resultobj;
8761 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 8762 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8763 bool arg3 ;
8764 PyObject * obj0 = 0 ;
8765 PyObject * obj1 = 0 ;
8766 PyObject * obj2 = 0 ;
8767 char *kwnames[] = {
8768 (char *) "self",(char *) "edge",(char *) "sash", NULL
8769 };
8770
8771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8773 if (SWIG_arg_fail(1)) SWIG_fail;
8774 {
8775 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8776 if (SWIG_arg_fail(2)) SWIG_fail;
8777 }
8778 {
8779 arg3 = (bool)(SWIG_As_bool(obj2));
8780 if (SWIG_arg_fail(3)) SWIG_fail;
8781 }
d55e5bfc
RD
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 Py_INCREF(Py_None); resultobj = Py_None;
8790 return resultobj;
8791 fail:
8792 return NULL;
8793}
8794
8795
c370783e 8796static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8797 PyObject *resultobj;
8798 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 8799 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8800 bool result;
8801 PyObject * obj0 = 0 ;
8802 PyObject * obj1 = 0 ;
8803 char *kwnames[] = {
8804 (char *) "self",(char *) "edge", NULL
8805 };
8806
8807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8809 if (SWIG_arg_fail(1)) SWIG_fail;
8810 {
8811 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8812 if (SWIG_arg_fail(2)) SWIG_fail;
8813 }
d55e5bfc
RD
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 {
8822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8823 }
8824 return resultobj;
8825 fail:
8826 return NULL;
8827}
8828
8829
c370783e 8830static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8831 PyObject *resultobj;
8832 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 8833 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8834 bool arg3 ;
8835 PyObject * obj0 = 0 ;
8836 PyObject * obj1 = 0 ;
8837 PyObject * obj2 = 0 ;
8838 char *kwnames[] = {
8839 (char *) "self",(char *) "edge",(char *) "border", NULL
8840 };
8841
8842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8844 if (SWIG_arg_fail(1)) SWIG_fail;
8845 {
8846 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8847 if (SWIG_arg_fail(2)) SWIG_fail;
8848 }
8849 {
8850 arg3 = (bool)(SWIG_As_bool(obj2));
8851 if (SWIG_arg_fail(3)) SWIG_fail;
8852 }
d55e5bfc
RD
8853 {
8854 PyThreadState* __tstate = wxPyBeginAllowThreads();
8855 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
8856
8857 wxPyEndAllowThreads(__tstate);
8858 if (PyErr_Occurred()) SWIG_fail;
8859 }
8860 Py_INCREF(Py_None); resultobj = Py_None;
8861 return resultobj;
8862 fail:
8863 return NULL;
8864}
8865
8866
c370783e 8867static PyObject *_wrap_SashWindow_HasBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8868 PyObject *resultobj;
8869 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 8870 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8871 bool result;
8872 PyObject * obj0 = 0 ;
8873 PyObject * obj1 = 0 ;
8874 char *kwnames[] = {
8875 (char *) "self",(char *) "edge", NULL
8876 };
8877
8878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8880 if (SWIG_arg_fail(1)) SWIG_fail;
8881 {
8882 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8883 if (SWIG_arg_fail(2)) SWIG_fail;
8884 }
d55e5bfc
RD
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
8888
8889 wxPyEndAllowThreads(__tstate);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 {
8893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8894 }
8895 return resultobj;
8896 fail:
8897 return NULL;
8898}
8899
8900
c370783e 8901static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8902 PyObject *resultobj;
8903 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
36ed4f51 8904 wxSashEdgePosition arg2 ;
d55e5bfc
RD
8905 int result;
8906 PyObject * obj0 = 0 ;
8907 PyObject * obj1 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "self",(char *) "edge", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8914 if (SWIG_arg_fail(1)) SWIG_fail;
8915 {
8916 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
8917 if (SWIG_arg_fail(2)) SWIG_fail;
8918 }
d55e5bfc
RD
8919 {
8920 PyThreadState* __tstate = wxPyBeginAllowThreads();
8921 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
8922
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
36ed4f51
RD
8926 {
8927 resultobj = SWIG_From_int((int)(result));
8928 }
d55e5bfc
RD
8929 return resultobj;
8930 fail:
8931 return NULL;
8932}
8933
8934
c370783e 8935static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8936 PyObject *resultobj;
8937 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8938 int arg2 ;
8939 PyObject * obj0 = 0 ;
8940 PyObject * obj1 = 0 ;
8941 char *kwnames[] = {
8942 (char *) "self",(char *) "width", NULL
8943 };
8944
8945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8947 if (SWIG_arg_fail(1)) SWIG_fail;
8948 {
8949 arg2 = (int)(SWIG_As_int(obj1));
8950 if (SWIG_arg_fail(2)) SWIG_fail;
8951 }
d55e5bfc
RD
8952 {
8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
8954 (arg1)->SetDefaultBorderSize(arg2);
8955
8956 wxPyEndAllowThreads(__tstate);
8957 if (PyErr_Occurred()) SWIG_fail;
8958 }
8959 Py_INCREF(Py_None); resultobj = Py_None;
8960 return resultobj;
8961 fail:
8962 return NULL;
8963}
8964
8965
c370783e 8966static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8967 PyObject *resultobj;
8968 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8969 int result;
8970 PyObject * obj0 = 0 ;
8971 char *kwnames[] = {
8972 (char *) "self", NULL
8973 };
8974
8975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
8976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
8977 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8978 {
8979 PyThreadState* __tstate = wxPyBeginAllowThreads();
8980 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
8981
8982 wxPyEndAllowThreads(__tstate);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 }
36ed4f51
RD
8985 {
8986 resultobj = SWIG_From_int((int)(result));
8987 }
d55e5bfc
RD
8988 return resultobj;
8989 fail:
8990 return NULL;
8991}
8992
8993
c370783e 8994static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8995 PyObject *resultobj;
8996 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
8997 int arg2 ;
8998 PyObject * obj0 = 0 ;
8999 PyObject * obj1 = 0 ;
9000 char *kwnames[] = {
9001 (char *) "self",(char *) "width", NULL
9002 };
9003
9004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9006 if (SWIG_arg_fail(1)) SWIG_fail;
9007 {
9008 arg2 = (int)(SWIG_As_int(obj1));
9009 if (SWIG_arg_fail(2)) SWIG_fail;
9010 }
d55e5bfc
RD
9011 {
9012 PyThreadState* __tstate = wxPyBeginAllowThreads();
9013 (arg1)->SetExtraBorderSize(arg2);
9014
9015 wxPyEndAllowThreads(__tstate);
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 Py_INCREF(Py_None); resultobj = Py_None;
9019 return resultobj;
9020 fail:
9021 return NULL;
9022}
9023
9024
c370783e 9025static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9026 PyObject *resultobj;
9027 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9028 int result;
9029 PyObject * obj0 = 0 ;
9030 char *kwnames[] = {
9031 (char *) "self", NULL
9032 };
9033
9034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
9035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9036 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
9040
9041 wxPyEndAllowThreads(__tstate);
9042 if (PyErr_Occurred()) SWIG_fail;
9043 }
36ed4f51
RD
9044 {
9045 resultobj = SWIG_From_int((int)(result));
9046 }
d55e5bfc
RD
9047 return resultobj;
9048 fail:
9049 return NULL;
9050}
9051
9052
c370783e 9053static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9054 PyObject *resultobj;
9055 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9056 int arg2 ;
9057 PyObject * obj0 = 0 ;
9058 PyObject * obj1 = 0 ;
9059 char *kwnames[] = {
9060 (char *) "self",(char *) "min", NULL
9061 };
9062
9063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9065 if (SWIG_arg_fail(1)) SWIG_fail;
9066 {
9067 arg2 = (int)(SWIG_As_int(obj1));
9068 if (SWIG_arg_fail(2)) SWIG_fail;
9069 }
d55e5bfc
RD
9070 {
9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
9072 (arg1)->SetMinimumSizeX(arg2);
9073
9074 wxPyEndAllowThreads(__tstate);
9075 if (PyErr_Occurred()) SWIG_fail;
9076 }
9077 Py_INCREF(Py_None); resultobj = Py_None;
9078 return resultobj;
9079 fail:
9080 return NULL;
9081}
9082
9083
c370783e 9084static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9085 PyObject *resultobj;
9086 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9087 int arg2 ;
9088 PyObject * obj0 = 0 ;
9089 PyObject * obj1 = 0 ;
9090 char *kwnames[] = {
9091 (char *) "self",(char *) "min", NULL
9092 };
9093
9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9096 if (SWIG_arg_fail(1)) SWIG_fail;
9097 {
9098 arg2 = (int)(SWIG_As_int(obj1));
9099 if (SWIG_arg_fail(2)) SWIG_fail;
9100 }
d55e5bfc
RD
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 (arg1)->SetMinimumSizeY(arg2);
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 Py_INCREF(Py_None); resultobj = Py_None;
9109 return resultobj;
9110 fail:
9111 return NULL;
9112}
9113
9114
c370783e 9115static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9116 PyObject *resultobj;
9117 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9118 int result;
9119 PyObject * obj0 = 0 ;
9120 char *kwnames[] = {
9121 (char *) "self", NULL
9122 };
9123
9124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
36ed4f51
RD
9125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9126 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
36ed4f51
RD
9134 {
9135 resultobj = SWIG_From_int((int)(result));
9136 }
d55e5bfc
RD
9137 return resultobj;
9138 fail:
9139 return NULL;
9140}
9141
9142
c370783e 9143static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9144 PyObject *resultobj;
9145 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9146 int result;
9147 PyObject * obj0 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "self", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
36ed4f51
RD
9153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9155 {
9156 PyThreadState* __tstate = wxPyBeginAllowThreads();
9157 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
9158
9159 wxPyEndAllowThreads(__tstate);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
36ed4f51
RD
9162 {
9163 resultobj = SWIG_From_int((int)(result));
9164 }
d55e5bfc
RD
9165 return resultobj;
9166 fail:
9167 return NULL;
9168}
9169
9170
c370783e 9171static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9172 PyObject *resultobj;
9173 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9174 int arg2 ;
9175 PyObject * obj0 = 0 ;
9176 PyObject * obj1 = 0 ;
9177 char *kwnames[] = {
9178 (char *) "self",(char *) "max", NULL
9179 };
9180
9181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9183 if (SWIG_arg_fail(1)) SWIG_fail;
9184 {
9185 arg2 = (int)(SWIG_As_int(obj1));
9186 if (SWIG_arg_fail(2)) SWIG_fail;
9187 }
d55e5bfc
RD
9188 {
9189 PyThreadState* __tstate = wxPyBeginAllowThreads();
9190 (arg1)->SetMaximumSizeX(arg2);
9191
9192 wxPyEndAllowThreads(__tstate);
9193 if (PyErr_Occurred()) SWIG_fail;
9194 }
9195 Py_INCREF(Py_None); resultobj = Py_None;
9196 return resultobj;
9197 fail:
9198 return NULL;
9199}
9200
9201
c370783e 9202static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9203 PyObject *resultobj;
9204 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9205 int arg2 ;
9206 PyObject * obj0 = 0 ;
9207 PyObject * obj1 = 0 ;
9208 char *kwnames[] = {
9209 (char *) "self",(char *) "max", NULL
9210 };
9211
9212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9214 if (SWIG_arg_fail(1)) SWIG_fail;
9215 {
9216 arg2 = (int)(SWIG_As_int(obj1));
9217 if (SWIG_arg_fail(2)) SWIG_fail;
9218 }
d55e5bfc
RD
9219 {
9220 PyThreadState* __tstate = wxPyBeginAllowThreads();
9221 (arg1)->SetMaximumSizeY(arg2);
9222
9223 wxPyEndAllowThreads(__tstate);
9224 if (PyErr_Occurred()) SWIG_fail;
9225 }
9226 Py_INCREF(Py_None); resultobj = Py_None;
9227 return resultobj;
9228 fail:
9229 return NULL;
9230}
9231
9232
c370783e 9233static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9234 PyObject *resultobj;
9235 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9236 int result;
9237 PyObject * obj0 = 0 ;
9238 char *kwnames[] = {
9239 (char *) "self", NULL
9240 };
9241
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
36ed4f51
RD
9243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
36ed4f51
RD
9252 {
9253 resultobj = SWIG_From_int((int)(result));
9254 }
d55e5bfc
RD
9255 return resultobj;
9256 fail:
9257 return NULL;
9258}
9259
9260
c370783e 9261static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9262 PyObject *resultobj;
9263 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9264 int result;
9265 PyObject * obj0 = 0 ;
9266 char *kwnames[] = {
9267 (char *) "self", NULL
9268 };
9269
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
36ed4f51
RD
9271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9273 {
9274 PyThreadState* __tstate = wxPyBeginAllowThreads();
9275 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
9276
9277 wxPyEndAllowThreads(__tstate);
9278 if (PyErr_Occurred()) SWIG_fail;
9279 }
36ed4f51
RD
9280 {
9281 resultobj = SWIG_From_int((int)(result));
9282 }
d55e5bfc
RD
9283 return resultobj;
9284 fail:
9285 return NULL;
9286}
9287
9288
c370783e 9289static PyObject *_wrap_SashWindow_SashHitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9290 PyObject *resultobj;
9291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9292 int arg2 ;
9293 int arg3 ;
9294 int arg4 = (int) 2 ;
36ed4f51 9295 wxSashEdgePosition result;
d55e5bfc
RD
9296 PyObject * obj0 = 0 ;
9297 PyObject * obj1 = 0 ;
9298 PyObject * obj2 = 0 ;
9299 PyObject * obj3 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail;
9307 {
9308 arg2 = (int)(SWIG_As_int(obj1));
9309 if (SWIG_arg_fail(2)) SWIG_fail;
9310 }
9311 {
9312 arg3 = (int)(SWIG_As_int(obj2));
9313 if (SWIG_arg_fail(3)) SWIG_fail;
9314 }
d55e5bfc 9315 if (obj3) {
36ed4f51
RD
9316 {
9317 arg4 = (int)(SWIG_As_int(obj3));
9318 if (SWIG_arg_fail(4)) SWIG_fail;
9319 }
d55e5bfc
RD
9320 }
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9323 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
d55e5bfc
RD
9324
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
36ed4f51 9328 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9329 return resultobj;
9330 fail:
9331 return NULL;
9332}
9333
9334
c370783e 9335static PyObject *_wrap_SashWindow_SizeWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9336 PyObject *resultobj;
9337 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
9338 PyObject * obj0 = 0 ;
9339 char *kwnames[] = {
9340 (char *) "self", NULL
9341 };
9342
9343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
36ed4f51
RD
9344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashWindow, SWIG_POINTER_EXCEPTION | 0);
9345 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 (arg1)->SizeWindows();
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
9353 Py_INCREF(Py_None); resultobj = Py_None;
9354 return resultobj;
9355 fail:
9356 return NULL;
9357}
9358
9359
c370783e 9360static PyObject * SashWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9361 PyObject *obj;
9362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9363 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
9364 Py_INCREF(obj);
9365 return Py_BuildValue((char *)"");
9366}
c370783e 9367static PyObject *_wrap_new_SashEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9368 PyObject *resultobj;
9369 int arg1 = (int) 0 ;
36ed4f51 9370 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
d55e5bfc
RD
9371 wxSashEvent *result;
9372 PyObject * obj0 = 0 ;
9373 PyObject * obj1 = 0 ;
9374 char *kwnames[] = {
9375 (char *) "id",(char *) "edge", NULL
9376 };
9377
9378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
9379 if (obj0) {
36ed4f51
RD
9380 {
9381 arg1 = (int)(SWIG_As_int(obj0));
9382 if (SWIG_arg_fail(1)) SWIG_fail;
9383 }
d55e5bfc
RD
9384 }
9385 if (obj1) {
36ed4f51
RD
9386 {
9387 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9388 if (SWIG_arg_fail(2)) SWIG_fail;
9389 }
d55e5bfc
RD
9390 }
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashEvent, 1);
9399 return resultobj;
9400 fail:
9401 return NULL;
9402}
9403
9404
c370783e 9405static PyObject *_wrap_SashEvent_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9406 PyObject *resultobj;
9407 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9408 wxSashEdgePosition arg2 ;
d55e5bfc
RD
9409 PyObject * obj0 = 0 ;
9410 PyObject * obj1 = 0 ;
9411 char *kwnames[] = {
9412 (char *) "self",(char *) "edge", NULL
9413 };
9414
9415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9417 if (SWIG_arg_fail(1)) SWIG_fail;
9418 {
9419 arg2 = (wxSashEdgePosition)(SWIG_As_int(obj1));
9420 if (SWIG_arg_fail(2)) SWIG_fail;
9421 }
d55e5bfc
RD
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 (arg1)->SetEdge((wxSashEdgePosition )arg2);
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 Py_INCREF(Py_None); resultobj = Py_None;
9430 return resultobj;
9431 fail:
9432 return NULL;
9433}
9434
9435
c370783e 9436static PyObject *_wrap_SashEvent_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9437 PyObject *resultobj;
9438 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9439 wxSashEdgePosition result;
d55e5bfc
RD
9440 PyObject * obj0 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self", NULL
9443 };
9444
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
36ed4f51
RD
9446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9447 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9448 {
9449 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9450 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
d55e5bfc
RD
9451
9452 wxPyEndAllowThreads(__tstate);
9453 if (PyErr_Occurred()) SWIG_fail;
9454 }
36ed4f51 9455 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9456 return resultobj;
9457 fail:
9458 return NULL;
9459}
9460
9461
c370783e 9462static PyObject *_wrap_SashEvent_SetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9463 PyObject *resultobj;
9464 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9465 wxRect *arg2 = 0 ;
9466 wxRect temp2 ;
9467 PyObject * obj0 = 0 ;
9468 PyObject * obj1 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self",(char *) "rect", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9474 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9475 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9476 {
9477 arg2 = &temp2;
9478 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9479 }
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 (arg1)->SetDragRect((wxRect const &)*arg2);
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 Py_INCREF(Py_None); resultobj = Py_None;
9488 return resultobj;
9489 fail:
9490 return NULL;
9491}
9492
9493
c370783e 9494static PyObject *_wrap_SashEvent_GetDragRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9495 PyObject *resultobj;
9496 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
9497 wxRect result;
9498 PyObject * obj0 = 0 ;
9499 char *kwnames[] = {
9500 (char *) "self", NULL
9501 };
9502
9503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
9504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9505 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 result = ((wxSashEvent const *)arg1)->GetDragRect();
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 {
9514 wxRect * resultptr;
36ed4f51 9515 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
9516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
9517 }
9518 return resultobj;
9519 fail:
9520 return NULL;
9521}
9522
9523
c370783e 9524static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9525 PyObject *resultobj;
9526 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9527 wxSashDragStatus arg2 ;
d55e5bfc
RD
9528 PyObject * obj0 = 0 ;
9529 PyObject * obj1 = 0 ;
9530 char *kwnames[] = {
9531 (char *) "self",(char *) "status", NULL
9532 };
9533
9534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9536 if (SWIG_arg_fail(1)) SWIG_fail;
9537 {
9538 arg2 = (wxSashDragStatus)(SWIG_As_int(obj1));
9539 if (SWIG_arg_fail(2)) SWIG_fail;
9540 }
d55e5bfc
RD
9541 {
9542 PyThreadState* __tstate = wxPyBeginAllowThreads();
9543 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
9544
9545 wxPyEndAllowThreads(__tstate);
9546 if (PyErr_Occurred()) SWIG_fail;
9547 }
9548 Py_INCREF(Py_None); resultobj = Py_None;
9549 return resultobj;
9550 fail:
9551 return NULL;
9552}
9553
9554
c370783e 9555static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9556 PyObject *resultobj;
9557 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
36ed4f51 9558 wxSashDragStatus result;
d55e5bfc
RD
9559 PyObject * obj0 = 0 ;
9560 char *kwnames[] = {
9561 (char *) "self", NULL
9562 };
9563
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
36ed4f51
RD
9565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashEvent, SWIG_POINTER_EXCEPTION | 0);
9566 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9567 {
9568 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9569 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
d55e5bfc
RD
9570
9571 wxPyEndAllowThreads(__tstate);
9572 if (PyErr_Occurred()) SWIG_fail;
9573 }
36ed4f51 9574 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9575 return resultobj;
9576 fail:
9577 return NULL;
9578}
9579
9580
c370783e 9581static PyObject * SashEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9582 PyObject *obj;
9583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9584 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
9585 Py_INCREF(obj);
9586 return Py_BuildValue((char *)"");
9587}
c370783e 9588static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9589 PyObject *resultobj;
9590 int arg1 = (int) 0 ;
9591 wxQueryLayoutInfoEvent *result;
9592 PyObject * obj0 = 0 ;
9593 char *kwnames[] = {
9594 (char *) "id", NULL
9595 };
9596
9597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
9598 if (obj0) {
36ed4f51
RD
9599 {
9600 arg1 = (int)(SWIG_As_int(obj0));
9601 if (SWIG_arg_fail(1)) SWIG_fail;
9602 }
d55e5bfc
RD
9603 }
9604 {
9605 PyThreadState* __tstate = wxPyBeginAllowThreads();
9606 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
9607
9608 wxPyEndAllowThreads(__tstate);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
9611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
9612 return resultobj;
9613 fail:
9614 return NULL;
9615}
9616
9617
c370783e 9618static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9619 PyObject *resultobj;
9620 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9621 int arg2 ;
9622 PyObject * obj0 = 0 ;
9623 PyObject * obj1 = 0 ;
9624 char *kwnames[] = {
9625 (char *) "self",(char *) "length", NULL
9626 };
9627
9628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9630 if (SWIG_arg_fail(1)) SWIG_fail;
9631 {
9632 arg2 = (int)(SWIG_As_int(obj1));
9633 if (SWIG_arg_fail(2)) SWIG_fail;
9634 }
d55e5bfc
RD
9635 {
9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
9637 (arg1)->SetRequestedLength(arg2);
9638
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 Py_INCREF(Py_None); resultobj = Py_None;
9643 return resultobj;
9644 fail:
9645 return NULL;
9646}
9647
9648
c370783e 9649static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9650 PyObject *resultobj;
9651 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9652 int result;
9653 PyObject * obj0 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "self", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
36ed4f51
RD
9659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9660 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
36ed4f51
RD
9668 {
9669 resultobj = SWIG_From_int((int)(result));
9670 }
d55e5bfc
RD
9671 return resultobj;
9672 fail:
9673 return NULL;
9674}
9675
9676
c370783e 9677static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9678 PyObject *resultobj;
9679 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9680 int arg2 ;
9681 PyObject * obj0 = 0 ;
9682 PyObject * obj1 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "self",(char *) "flags", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9689 if (SWIG_arg_fail(1)) SWIG_fail;
9690 {
9691 arg2 = (int)(SWIG_As_int(obj1));
9692 if (SWIG_arg_fail(2)) SWIG_fail;
9693 }
d55e5bfc
RD
9694 {
9695 PyThreadState* __tstate = wxPyBeginAllowThreads();
9696 (arg1)->SetFlags(arg2);
9697
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 Py_INCREF(Py_None); resultobj = Py_None;
9702 return resultobj;
9703 fail:
9704 return NULL;
9705}
9706
9707
c370783e 9708static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9709 PyObject *resultobj;
9710 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9711 int result;
9712 PyObject * obj0 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "self", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
9718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9719 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
36ed4f51
RD
9727 {
9728 resultobj = SWIG_From_int((int)(result));
9729 }
d55e5bfc
RD
9730 return resultobj;
9731 fail:
9732 return NULL;
9733}
9734
9735
c370783e 9736static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9737 PyObject *resultobj;
9738 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9739 wxSize *arg2 = 0 ;
9740 wxSize temp2 ;
9741 PyObject * obj0 = 0 ;
9742 PyObject * obj1 = 0 ;
9743 char *kwnames[] = {
9744 (char *) "self",(char *) "size", NULL
9745 };
9746
9747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9749 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9750 {
9751 arg2 = &temp2;
9752 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
9753 }
9754 {
9755 PyThreadState* __tstate = wxPyBeginAllowThreads();
9756 (arg1)->SetSize((wxSize const &)*arg2);
9757
9758 wxPyEndAllowThreads(__tstate);
9759 if (PyErr_Occurred()) SWIG_fail;
9760 }
9761 Py_INCREF(Py_None); resultobj = Py_None;
9762 return resultobj;
9763 fail:
9764 return NULL;
9765}
9766
9767
c370783e 9768static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9769 PyObject *resultobj;
9770 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
9771 wxSize result;
9772 PyObject * obj0 = 0 ;
9773 char *kwnames[] = {
9774 (char *) "self", NULL
9775 };
9776
9777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
9778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9779 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9780 {
9781 PyThreadState* __tstate = wxPyBeginAllowThreads();
9782 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
9783
9784 wxPyEndAllowThreads(__tstate);
9785 if (PyErr_Occurred()) SWIG_fail;
9786 }
9787 {
9788 wxSize * resultptr;
36ed4f51 9789 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
9790 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
9791 }
9792 return resultobj;
9793 fail:
9794 return NULL;
9795}
9796
9797
c370783e 9798static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9799 PyObject *resultobj;
9800 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 9801 wxLayoutOrientation arg2 ;
d55e5bfc
RD
9802 PyObject * obj0 = 0 ;
9803 PyObject * obj1 = 0 ;
9804 char *kwnames[] = {
9805 (char *) "self",(char *) "orient", NULL
9806 };
9807
9808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9809 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9810 if (SWIG_arg_fail(1)) SWIG_fail;
9811 {
9812 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
9813 if (SWIG_arg_fail(2)) SWIG_fail;
9814 }
d55e5bfc
RD
9815 {
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
9818
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 }
9822 Py_INCREF(Py_None); resultobj = Py_None;
9823 return resultobj;
9824 fail:
9825 return NULL;
9826}
9827
9828
c370783e 9829static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9830 PyObject *resultobj;
9831 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 9832 wxLayoutOrientation result;
d55e5bfc
RD
9833 PyObject * obj0 = 0 ;
9834 char *kwnames[] = {
9835 (char *) "self", NULL
9836 };
9837
9838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
9839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9840 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9841 {
9842 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9843 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
d55e5bfc
RD
9844
9845 wxPyEndAllowThreads(__tstate);
9846 if (PyErr_Occurred()) SWIG_fail;
9847 }
36ed4f51 9848 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9849 return resultobj;
9850 fail:
9851 return NULL;
9852}
9853
9854
c370783e 9855static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9856 PyObject *resultobj;
9857 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 9858 wxLayoutAlignment arg2 ;
d55e5bfc
RD
9859 PyObject * obj0 = 0 ;
9860 PyObject * obj1 = 0 ;
9861 char *kwnames[] = {
9862 (char *) "self",(char *) "align", NULL
9863 };
9864
9865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9867 if (SWIG_arg_fail(1)) SWIG_fail;
9868 {
9869 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
9870 if (SWIG_arg_fail(2)) SWIG_fail;
9871 }
d55e5bfc
RD
9872 {
9873 PyThreadState* __tstate = wxPyBeginAllowThreads();
9874 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
9875
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 Py_INCREF(Py_None); resultobj = Py_None;
9880 return resultobj;
9881 fail:
9882 return NULL;
9883}
9884
9885
c370783e 9886static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9887 PyObject *resultobj;
9888 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
36ed4f51 9889 wxLayoutAlignment result;
d55e5bfc
RD
9890 PyObject * obj0 = 0 ;
9891 char *kwnames[] = {
9892 (char *) "self", NULL
9893 };
9894
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
9896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_EXCEPTION | 0);
9897 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9898 {
9899 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9900 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
d55e5bfc
RD
9901
9902 wxPyEndAllowThreads(__tstate);
9903 if (PyErr_Occurred()) SWIG_fail;
9904 }
36ed4f51 9905 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9906 return resultobj;
9907 fail:
9908 return NULL;
9909}
9910
9911
c370783e 9912static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9913 PyObject *obj;
9914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9915 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
9916 Py_INCREF(obj);
9917 return Py_BuildValue((char *)"");
9918}
c370783e 9919static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9920 PyObject *resultobj;
9921 int arg1 = (int) 0 ;
9922 wxCalculateLayoutEvent *result;
9923 PyObject * obj0 = 0 ;
9924 char *kwnames[] = {
9925 (char *) "id", NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
9929 if (obj0) {
36ed4f51
RD
9930 {
9931 arg1 = (int)(SWIG_As_int(obj0));
9932 if (SWIG_arg_fail(1)) SWIG_fail;
9933 }
d55e5bfc
RD
9934 }
9935 {
9936 PyThreadState* __tstate = wxPyBeginAllowThreads();
9937 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
9938
9939 wxPyEndAllowThreads(__tstate);
9940 if (PyErr_Occurred()) SWIG_fail;
9941 }
9942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCalculateLayoutEvent, 1);
9943 return resultobj;
9944 fail:
9945 return NULL;
9946}
9947
9948
c370783e 9949static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9950 PyObject *resultobj;
9951 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9952 int arg2 ;
9953 PyObject * obj0 = 0 ;
9954 PyObject * obj1 = 0 ;
9955 char *kwnames[] = {
9956 (char *) "self",(char *) "flags", NULL
9957 };
9958
9959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9961 if (SWIG_arg_fail(1)) SWIG_fail;
9962 {
9963 arg2 = (int)(SWIG_As_int(obj1));
9964 if (SWIG_arg_fail(2)) SWIG_fail;
9965 }
d55e5bfc
RD
9966 {
9967 PyThreadState* __tstate = wxPyBeginAllowThreads();
9968 (arg1)->SetFlags(arg2);
9969
9970 wxPyEndAllowThreads(__tstate);
9971 if (PyErr_Occurred()) SWIG_fail;
9972 }
9973 Py_INCREF(Py_None); resultobj = Py_None;
9974 return resultobj;
9975 fail:
9976 return NULL;
9977}
9978
9979
c370783e 9980static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9981 PyObject *resultobj;
9982 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
9983 int result;
9984 PyObject * obj0 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
9990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
9991 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9992 {
9993 PyThreadState* __tstate = wxPyBeginAllowThreads();
9994 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
9995
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
36ed4f51
RD
9999 {
10000 resultobj = SWIG_From_int((int)(result));
10001 }
d55e5bfc
RD
10002 return resultobj;
10003 fail:
10004 return NULL;
10005}
10006
10007
c370783e 10008static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10009 PyObject *resultobj;
10010 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10011 wxRect *arg2 = 0 ;
10012 wxRect temp2 ;
10013 PyObject * obj0 = 0 ;
10014 PyObject * obj1 = 0 ;
10015 char *kwnames[] = {
10016 (char *) "self",(char *) "rect", NULL
10017 };
10018
10019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10021 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10022 {
10023 arg2 = &temp2;
10024 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10025 }
10026 {
10027 PyThreadState* __tstate = wxPyBeginAllowThreads();
10028 (arg1)->SetRect((wxRect const &)*arg2);
10029
10030 wxPyEndAllowThreads(__tstate);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 }
10033 Py_INCREF(Py_None); resultobj = Py_None;
10034 return resultobj;
10035 fail:
10036 return NULL;
10037}
10038
10039
c370783e 10040static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10041 PyObject *resultobj;
10042 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
10043 wxRect result;
10044 PyObject * obj0 = 0 ;
10045 char *kwnames[] = {
10046 (char *) "self", NULL
10047 };
10048
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
10050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_EXCEPTION | 0);
10051 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10052 {
10053 PyThreadState* __tstate = wxPyBeginAllowThreads();
10054 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
10055
10056 wxPyEndAllowThreads(__tstate);
10057 if (PyErr_Occurred()) SWIG_fail;
10058 }
10059 {
10060 wxRect * resultptr;
36ed4f51 10061 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
10062 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
10063 }
10064 return resultobj;
10065 fail:
10066 return NULL;
10067}
10068
10069
c370783e 10070static PyObject * CalculateLayoutEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10071 PyObject *obj;
10072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10073 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
10074 Py_INCREF(obj);
10075 return Py_BuildValue((char *)"");
10076}
c370783e 10077static PyObject *_wrap_new_SashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10078 PyObject *resultobj;
10079 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 10080 int arg2 = (int) -1 ;
d55e5bfc
RD
10081 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10082 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10083 wxSize const &arg4_defvalue = wxDefaultSize ;
10084 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10085 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10086 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
10087 wxString *arg6 = (wxString *) &arg6_defvalue ;
10088 wxSashLayoutWindow *result;
10089 wxPoint temp3 ;
10090 wxSize temp4 ;
b411df4a 10091 bool temp6 = false ;
d55e5bfc
RD
10092 PyObject * obj0 = 0 ;
10093 PyObject * obj1 = 0 ;
10094 PyObject * obj2 = 0 ;
10095 PyObject * obj3 = 0 ;
10096 PyObject * obj4 = 0 ;
10097 PyObject * obj5 = 0 ;
10098 char *kwnames[] = {
10099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10100 };
10101
bfddbb17 10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
10103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10104 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 10105 if (obj1) {
36ed4f51
RD
10106 {
10107 arg2 = (int)(SWIG_As_int(obj1));
10108 if (SWIG_arg_fail(2)) SWIG_fail;
10109 }
bfddbb17 10110 }
d55e5bfc
RD
10111 if (obj2) {
10112 {
10113 arg3 = &temp3;
10114 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10115 }
10116 }
10117 if (obj3) {
10118 {
10119 arg4 = &temp4;
10120 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10121 }
10122 }
10123 if (obj4) {
36ed4f51
RD
10124 {
10125 arg5 = (long)(SWIG_As_long(obj4));
10126 if (SWIG_arg_fail(5)) SWIG_fail;
10127 }
d55e5bfc
RD
10128 }
10129 if (obj5) {
10130 {
10131 arg6 = wxString_in_helper(obj5);
10132 if (arg6 == NULL) SWIG_fail;
b411df4a 10133 temp6 = true;
d55e5bfc
RD
10134 }
10135 }
10136 {
0439c23b 10137 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10140
10141 wxPyEndAllowThreads(__tstate);
110da5b0 10142 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10143 }
10144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10145 {
10146 if (temp6)
10147 delete arg6;
10148 }
10149 return resultobj;
10150 fail:
10151 {
10152 if (temp6)
10153 delete arg6;
10154 }
10155 return NULL;
10156}
10157
10158
c370783e 10159static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10160 PyObject *resultobj;
10161 wxSashLayoutWindow *result;
10162 char *kwnames[] = {
10163 NULL
10164 };
10165
10166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
10167 {
0439c23b 10168 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10169 PyThreadState* __tstate = wxPyBeginAllowThreads();
10170 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
10171
10172 wxPyEndAllowThreads(__tstate);
110da5b0 10173 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10174 }
10175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSashLayoutWindow, 1);
10176 return resultobj;
10177 fail:
10178 return NULL;
10179}
10180
10181
c370783e 10182static PyObject *_wrap_SashLayoutWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10183 PyObject *resultobj;
10184 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10185 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 10186 int arg3 = (int) -1 ;
d55e5bfc
RD
10187 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10188 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10189 wxSize const &arg5_defvalue = wxDefaultSize ;
10190 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10191 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10192 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
10193 wxString *arg7 = (wxString *) &arg7_defvalue ;
10194 bool result;
10195 wxPoint temp4 ;
10196 wxSize temp5 ;
b411df4a 10197 bool temp7 = false ;
d55e5bfc
RD
10198 PyObject * obj0 = 0 ;
10199 PyObject * obj1 = 0 ;
10200 PyObject * obj2 = 0 ;
10201 PyObject * obj3 = 0 ;
10202 PyObject * obj4 = 0 ;
10203 PyObject * obj5 = 0 ;
10204 PyObject * obj6 = 0 ;
10205 char *kwnames[] = {
10206 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10207 };
10208
bfddbb17 10209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
10210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10211 if (SWIG_arg_fail(1)) SWIG_fail;
10212 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10213 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 10214 if (obj2) {
36ed4f51
RD
10215 {
10216 arg3 = (int)(SWIG_As_int(obj2));
10217 if (SWIG_arg_fail(3)) SWIG_fail;
10218 }
bfddbb17 10219 }
d55e5bfc
RD
10220 if (obj3) {
10221 {
10222 arg4 = &temp4;
10223 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10224 }
10225 }
10226 if (obj4) {
10227 {
10228 arg5 = &temp5;
10229 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10230 }
10231 }
10232 if (obj5) {
36ed4f51
RD
10233 {
10234 arg6 = (long)(SWIG_As_long(obj5));
10235 if (SWIG_arg_fail(6)) SWIG_fail;
10236 }
d55e5bfc
RD
10237 }
10238 if (obj6) {
10239 {
10240 arg7 = wxString_in_helper(obj6);
10241 if (arg7 == NULL) SWIG_fail;
b411df4a 10242 temp7 = true;
d55e5bfc
RD
10243 }
10244 }
10245 {
10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
10247 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10248
10249 wxPyEndAllowThreads(__tstate);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 }
10252 {
10253 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10254 }
10255 {
10256 if (temp7)
10257 delete arg7;
10258 }
10259 return resultobj;
10260 fail:
10261 {
10262 if (temp7)
10263 delete arg7;
10264 }
10265 return NULL;
10266}
10267
10268
c370783e 10269static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10270 PyObject *resultobj;
10271 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10272 wxLayoutAlignment result;
d55e5bfc
RD
10273 PyObject * obj0 = 0 ;
10274 char *kwnames[] = {
10275 (char *) "self", NULL
10276 };
10277
10278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
10279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10280 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10281 {
10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10283 result = (wxLayoutAlignment)(arg1)->GetAlignment();
d55e5bfc
RD
10284
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
36ed4f51 10288 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10289 return resultobj;
10290 fail:
10291 return NULL;
10292}
10293
10294
c370783e 10295static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10296 PyObject *resultobj;
10297 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10298 wxLayoutOrientation result;
d55e5bfc
RD
10299 PyObject * obj0 = 0 ;
10300 char *kwnames[] = {
10301 (char *) "self", NULL
10302 };
10303
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
10305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10306 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10309 result = (wxLayoutOrientation)(arg1)->GetOrientation();
d55e5bfc
RD
10310
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
36ed4f51 10314 resultobj = SWIG_From_int((result));
d55e5bfc
RD
10315 return resultobj;
10316 fail:
10317 return NULL;
10318}
10319
10320
c370783e 10321static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10322 PyObject *resultobj;
10323 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10324 wxLayoutAlignment arg2 ;
d55e5bfc
RD
10325 PyObject * obj0 = 0 ;
10326 PyObject * obj1 = 0 ;
10327 char *kwnames[] = {
10328 (char *) "self",(char *) "alignment", NULL
10329 };
10330
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10333 if (SWIG_arg_fail(1)) SWIG_fail;
10334 {
10335 arg2 = (wxLayoutAlignment)(SWIG_As_int(obj1));
10336 if (SWIG_arg_fail(2)) SWIG_fail;
10337 }
d55e5bfc
RD
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 Py_INCREF(Py_None); resultobj = Py_None;
10346 return resultobj;
10347 fail:
10348 return NULL;
10349}
10350
10351
c370783e 10352static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10353 PyObject *resultobj;
10354 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
10355 wxSize *arg2 = 0 ;
10356 wxSize temp2 ;
10357 PyObject * obj0 = 0 ;
10358 PyObject * obj1 = 0 ;
10359 char *kwnames[] = {
10360 (char *) "self",(char *) "size", NULL
10361 };
10362
10363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10365 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10366 {
10367 arg2 = &temp2;
10368 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
10369 }
10370 {
10371 PyThreadState* __tstate = wxPyBeginAllowThreads();
10372 (arg1)->SetDefaultSize((wxSize const &)*arg2);
10373
10374 wxPyEndAllowThreads(__tstate);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
10377 Py_INCREF(Py_None); resultobj = Py_None;
10378 return resultobj;
10379 fail:
10380 return NULL;
10381}
10382
10383
c370783e 10384static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10385 PyObject *resultobj;
10386 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
36ed4f51 10387 wxLayoutOrientation arg2 ;
d55e5bfc
RD
10388 PyObject * obj0 = 0 ;
10389 PyObject * obj1 = 0 ;
10390 char *kwnames[] = {
10391 (char *) "self",(char *) "orientation", NULL
10392 };
10393
10394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_EXCEPTION | 0);
10396 if (SWIG_arg_fail(1)) SWIG_fail;
10397 {
10398 arg2 = (wxLayoutOrientation)(SWIG_As_int(obj1));
10399 if (SWIG_arg_fail(2)) SWIG_fail;
10400 }
d55e5bfc
RD
10401 {
10402 PyThreadState* __tstate = wxPyBeginAllowThreads();
10403 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
10404
10405 wxPyEndAllowThreads(__tstate);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 }
10408 Py_INCREF(Py_None); resultobj = Py_None;
10409 return resultobj;
10410 fail:
10411 return NULL;
10412}
10413
10414
c370783e 10415static PyObject * SashLayoutWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10416 PyObject *obj;
10417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10418 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
10419 Py_INCREF(obj);
10420 return Py_BuildValue((char *)"");
10421}
c370783e 10422static PyObject *_wrap_new_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10423 PyObject *resultobj;
10424 wxLayoutAlgorithm *result;
10425 char *kwnames[] = {
10426 NULL
10427 };
10428
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
10430 {
10431 PyThreadState* __tstate = wxPyBeginAllowThreads();
10432 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
10433
10434 wxPyEndAllowThreads(__tstate);
10435 if (PyErr_Occurred()) SWIG_fail;
10436 }
10437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutAlgorithm, 1);
10438 return resultobj;
10439 fail:
10440 return NULL;
10441}
10442
10443
c370783e 10444static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10445 PyObject *resultobj;
10446 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10447 PyObject * obj0 = 0 ;
10448 char *kwnames[] = {
10449 (char *) "self", NULL
10450 };
10451
10452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
36ed4f51
RD
10453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10454 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10455 {
10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
10457 delete arg1;
10458
10459 wxPyEndAllowThreads(__tstate);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 Py_INCREF(Py_None); resultobj = Py_None;
10463 return resultobj;
10464 fail:
10465 return NULL;
10466}
10467
10468
c370783e 10469static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10470 PyObject *resultobj;
10471 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10472 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
10473 wxRect *arg3 = (wxRect *) NULL ;
10474 bool result;
10475 PyObject * obj0 = 0 ;
10476 PyObject * obj1 = 0 ;
10477 PyObject * obj2 = 0 ;
10478 char *kwnames[] = {
10479 (char *) "self",(char *) "frame",(char *) "rect", NULL
10480 };
10481
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10484 if (SWIG_arg_fail(1)) SWIG_fail;
10485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
10486 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10487 if (obj2) {
36ed4f51
RD
10488 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10489 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10490 }
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 {
10499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10500 }
10501 return resultobj;
10502 fail:
10503 return NULL;
10504}
10505
10506
c370783e 10507static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10508 PyObject *resultobj;
10509 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10510 wxFrame *arg2 = (wxFrame *) 0 ;
10511 wxWindow *arg3 = (wxWindow *) NULL ;
10512 bool result;
10513 PyObject * obj0 = 0 ;
10514 PyObject * obj1 = 0 ;
10515 PyObject * obj2 = 0 ;
10516 char *kwnames[] = {
10517 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10518 };
10519
10520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10522 if (SWIG_arg_fail(1)) SWIG_fail;
10523 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10524 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10525 if (obj2) {
36ed4f51
RD
10526 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10527 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10528 }
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
10532
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
10536 {
10537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10538 }
10539 return resultobj;
10540 fail:
10541 return NULL;
10542}
10543
10544
c370783e 10545static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10546 PyObject *resultobj;
10547 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
10548 wxWindow *arg2 = (wxWindow *) 0 ;
10549 wxWindow *arg3 = (wxWindow *) NULL ;
10550 bool result;
10551 PyObject * obj0 = 0 ;
10552 PyObject * obj1 = 0 ;
10553 PyObject * obj2 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_EXCEPTION | 0);
10560 if (SWIG_arg_fail(1)) SWIG_fail;
10561 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10562 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 10563 if (obj2) {
36ed4f51
RD
10564 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10565 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10566 }
10567 {
10568 PyThreadState* __tstate = wxPyBeginAllowThreads();
10569 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
10570
10571 wxPyEndAllowThreads(__tstate);
10572 if (PyErr_Occurred()) SWIG_fail;
10573 }
10574 {
10575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10576 }
10577 return resultobj;
10578 fail:
10579 return NULL;
10580}
10581
10582
c370783e 10583static PyObject * LayoutAlgorithm_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10584 PyObject *obj;
10585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10586 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
10587 Py_INCREF(obj);
10588 return Py_BuildValue((char *)"");
10589}
c370783e 10590static PyObject *_wrap_new_PopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10591 PyObject *resultobj;
10592 wxWindow *arg1 = (wxWindow *) 0 ;
10593 int arg2 = (int) wxBORDER_NONE ;
10594 wxPopupWindow *result;
10595 PyObject * obj0 = 0 ;
10596 PyObject * obj1 = 0 ;
10597 char *kwnames[] = {
10598 (char *) "parent",(char *) "flags", NULL
10599 };
10600
10601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10603 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10604 if (obj1) {
36ed4f51
RD
10605 {
10606 arg2 = (int)(SWIG_As_int(obj1));
10607 if (SWIG_arg_fail(2)) SWIG_fail;
10608 }
d55e5bfc
RD
10609 }
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10618 return resultobj;
10619 fail:
10620 return NULL;
10621}
10622
10623
c370783e 10624static PyObject *_wrap_new_PrePopupWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10625 PyObject *resultobj;
10626 wxPopupWindow *result;
10627 char *kwnames[] = {
10628 NULL
10629 };
10630
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 result = (wxPopupWindow *)new wxPopupWindow();
10635
10636 wxPyEndAllowThreads(__tstate);
10637 if (PyErr_Occurred()) SWIG_fail;
10638 }
10639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPopupWindow, 1);
10640 return resultobj;
10641 fail:
10642 return NULL;
10643}
10644
10645
c370783e 10646static PyObject * PopupWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10647 PyObject *obj;
10648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10649 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
10650 Py_INCREF(obj);
10651 return Py_BuildValue((char *)"");
10652}
c370783e 10653static PyObject *_wrap_new_PopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10654 PyObject *resultobj;
10655 wxWindow *arg1 = (wxWindow *) 0 ;
10656 int arg2 = (int) wxBORDER_NONE ;
10657 wxPyPopupTransientWindow *result;
10658 PyObject * obj0 = 0 ;
10659 PyObject * obj1 = 0 ;
10660 char *kwnames[] = {
10661 (char *) "parent",(char *) "style", NULL
10662 };
10663
10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10666 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10667 if (obj1) {
36ed4f51
RD
10668 {
10669 arg2 = (int)(SWIG_As_int(obj1));
10670 if (SWIG_arg_fail(2)) SWIG_fail;
10671 }
d55e5bfc
RD
10672 }
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10681 return resultobj;
10682 fail:
10683 return NULL;
10684}
10685
10686
c370783e 10687static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10688 PyObject *resultobj;
10689 wxPyPopupTransientWindow *result;
10690 char *kwnames[] = {
10691 NULL
10692 };
10693
10694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPopupTransientWindow, 1);
10703 return resultobj;
10704 fail:
10705 return NULL;
10706}
10707
10708
c370783e 10709static PyObject * PopupTransientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10710 PyObject *obj;
10711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10712 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
10713 Py_INCREF(obj);
10714 return Py_BuildValue((char *)"");
10715}
c370783e 10716static PyObject *_wrap_new_TipWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10717 PyObject *resultobj;
10718 wxWindow *arg1 = (wxWindow *) 0 ;
10719 wxString *arg2 = 0 ;
10720 int arg3 = (int) 100 ;
10721 wxRect *arg4 = (wxRect *) NULL ;
10722 wxTipWindow *result;
b411df4a 10723 bool temp2 = false ;
d55e5bfc
RD
10724 PyObject * obj0 = 0 ;
10725 PyObject * obj1 = 0 ;
10726 PyObject * obj2 = 0 ;
10727 PyObject * obj3 = 0 ;
10728 char *kwnames[] = {
10729 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10730 };
10731
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10734 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10735 {
10736 arg2 = wxString_in_helper(obj1);
10737 if (arg2 == NULL) SWIG_fail;
b411df4a 10738 temp2 = true;
d55e5bfc
RD
10739 }
10740 if (obj2) {
36ed4f51
RD
10741 {
10742 arg3 = (int)(SWIG_As_int(obj2));
10743 if (SWIG_arg_fail(3)) SWIG_fail;
10744 }
d55e5bfc
RD
10745 }
10746 if (obj3) {
36ed4f51
RD
10747 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
10748 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10749 }
10750 {
0439c23b 10751 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10754
10755 wxPyEndAllowThreads(__tstate);
110da5b0 10756 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10757 }
10758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipWindow, 1);
10759 {
10760 if (temp2)
10761 delete arg2;
10762 }
10763 return resultobj;
10764 fail:
10765 {
10766 if (temp2)
10767 delete arg2;
10768 }
10769 return NULL;
10770}
10771
10772
c370783e 10773static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10774 PyObject *resultobj;
10775 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10776 wxRect *arg2 = 0 ;
10777 wxRect temp2 ;
10778 PyObject * obj0 = 0 ;
10779 PyObject * obj1 = 0 ;
10780 char *kwnames[] = {
10781 (char *) "self",(char *) "rectBound", NULL
10782 };
10783
10784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10786 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10787 {
10788 arg2 = &temp2;
10789 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10790 }
10791 {
10792 PyThreadState* __tstate = wxPyBeginAllowThreads();
10793 (arg1)->SetBoundingRect((wxRect const &)*arg2);
10794
10795 wxPyEndAllowThreads(__tstate);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
10798 Py_INCREF(Py_None); resultobj = Py_None;
10799 return resultobj;
10800 fail:
10801 return NULL;
10802}
10803
10804
c370783e 10805static PyObject *_wrap_TipWindow_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10806 PyObject *resultobj;
10807 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
10808 PyObject * obj0 = 0 ;
10809 char *kwnames[] = {
10810 (char *) "self", NULL
10811 };
10812
10813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
36ed4f51
RD
10814 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipWindow, SWIG_POINTER_EXCEPTION | 0);
10815 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10816 {
10817 PyThreadState* __tstate = wxPyBeginAllowThreads();
10818 (arg1)->Close();
10819
10820 wxPyEndAllowThreads(__tstate);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 }
10823 Py_INCREF(Py_None); resultobj = Py_None;
10824 return resultobj;
10825 fail:
10826 return NULL;
10827}
10828
10829
c370783e 10830static PyObject * TipWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10831 PyObject *obj;
10832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10833 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
10834 Py_INCREF(obj);
10835 return Py_BuildValue((char *)"");
10836}
c370783e 10837static PyObject *_wrap_new_VScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10838 PyObject *resultobj;
10839 wxWindow *arg1 = (wxWindow *) 0 ;
10840 int arg2 = (int) wxID_ANY ;
10841 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10842 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10843 wxSize const &arg4_defvalue = wxDefaultSize ;
10844 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10845 long arg5 = (long) 0 ;
10846 wxString const &arg6_defvalue = wxPyPanelNameStr ;
10847 wxString *arg6 = (wxString *) &arg6_defvalue ;
10848 wxPyVScrolledWindow *result;
10849 wxPoint temp3 ;
10850 wxSize temp4 ;
b411df4a 10851 bool temp6 = false ;
d55e5bfc
RD
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 PyObject * obj2 = 0 ;
10855 PyObject * obj3 = 0 ;
10856 PyObject * obj4 = 0 ;
10857 PyObject * obj5 = 0 ;
10858 char *kwnames[] = {
10859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10860 };
10861
10862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
10863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
10864 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10865 if (obj1) {
36ed4f51
RD
10866 {
10867 arg2 = (int)(SWIG_As_int(obj1));
10868 if (SWIG_arg_fail(2)) SWIG_fail;
10869 }
d55e5bfc
RD
10870 }
10871 if (obj2) {
10872 {
10873 arg3 = &temp3;
10874 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10875 }
10876 }
10877 if (obj3) {
10878 {
10879 arg4 = &temp4;
10880 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10881 }
10882 }
10883 if (obj4) {
36ed4f51
RD
10884 {
10885 arg5 = (long)(SWIG_As_long(obj4));
10886 if (SWIG_arg_fail(5)) SWIG_fail;
10887 }
d55e5bfc
RD
10888 }
10889 if (obj5) {
10890 {
10891 arg6 = wxString_in_helper(obj5);
10892 if (arg6 == NULL) SWIG_fail;
b411df4a 10893 temp6 = true;
d55e5bfc
RD
10894 }
10895 }
10896 {
0439c23b 10897 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10898 PyThreadState* __tstate = wxPyBeginAllowThreads();
10899 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10900
10901 wxPyEndAllowThreads(__tstate);
110da5b0 10902 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10903 }
10904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
10905 {
10906 if (temp6)
10907 delete arg6;
10908 }
10909 return resultobj;
10910 fail:
10911 {
10912 if (temp6)
10913 delete arg6;
10914 }
10915 return NULL;
10916}
10917
10918
c370783e 10919static PyObject *_wrap_new_PreVScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10920 PyObject *resultobj;
10921 wxPyVScrolledWindow *result;
10922 char *kwnames[] = {
10923 NULL
10924 };
10925
10926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
10927 {
0439c23b 10928 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
10931
10932 wxPyEndAllowThreads(__tstate);
110da5b0 10933 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10934 }
10935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVScrolledWindow, 1);
10936 return resultobj;
10937 fail:
10938 return NULL;
10939}
10940
10941
c370783e 10942static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10943 PyObject *resultobj;
10944 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
10945 PyObject *arg2 = (PyObject *) 0 ;
10946 PyObject *arg3 = (PyObject *) 0 ;
10947 PyObject * obj0 = 0 ;
10948 PyObject * obj1 = 0 ;
10949 PyObject * obj2 = 0 ;
10950 char *kwnames[] = {
10951 (char *) "self",(char *) "self",(char *) "_class", NULL
10952 };
10953
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
10956 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10957 arg2 = obj1;
10958 arg3 = obj2;
10959 {
10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
10961 (arg1)->_setCallbackInfo(arg2,arg3);
10962
10963 wxPyEndAllowThreads(__tstate);
10964 if (PyErr_Occurred()) SWIG_fail;
10965 }
10966 Py_INCREF(Py_None); resultobj = Py_None;
10967 return resultobj;
10968 fail:
10969 return NULL;
10970}
10971
10972
c370783e 10973static PyObject *_wrap_VScrolledWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10974 PyObject *resultobj;
10975 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
10976 wxWindow *arg2 = (wxWindow *) 0 ;
10977 int arg3 = (int) wxID_ANY ;
10978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10980 wxSize const &arg5_defvalue = wxDefaultSize ;
10981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10982 long arg6 = (long) 0 ;
10983 wxString const &arg7_defvalue = wxPyPanelNameStr ;
10984 wxString *arg7 = (wxString *) &arg7_defvalue ;
10985 bool result;
10986 wxPoint temp4 ;
10987 wxSize temp5 ;
b411df4a 10988 bool temp7 = false ;
d55e5bfc
RD
10989 PyObject * obj0 = 0 ;
10990 PyObject * obj1 = 0 ;
10991 PyObject * obj2 = 0 ;
10992 PyObject * obj3 = 0 ;
10993 PyObject * obj4 = 0 ;
10994 PyObject * obj5 = 0 ;
10995 PyObject * obj6 = 0 ;
10996 char *kwnames[] = {
10997 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10998 };
10999
11000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
11001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11002 if (SWIG_arg_fail(1)) SWIG_fail;
11003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11004 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11005 if (obj2) {
36ed4f51
RD
11006 {
11007 arg3 = (int)(SWIG_As_int(obj2));
11008 if (SWIG_arg_fail(3)) SWIG_fail;
11009 }
d55e5bfc
RD
11010 }
11011 if (obj3) {
11012 {
11013 arg4 = &temp4;
11014 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11015 }
11016 }
11017 if (obj4) {
11018 {
11019 arg5 = &temp5;
11020 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11021 }
11022 }
11023 if (obj5) {
36ed4f51
RD
11024 {
11025 arg6 = (long)(SWIG_As_long(obj5));
11026 if (SWIG_arg_fail(6)) SWIG_fail;
11027 }
d55e5bfc
RD
11028 }
11029 if (obj6) {
11030 {
11031 arg7 = wxString_in_helper(obj6);
11032 if (arg7 == NULL) SWIG_fail;
b411df4a 11033 temp7 = true;
d55e5bfc
RD
11034 }
11035 }
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 {
11044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11045 }
11046 {
11047 if (temp7)
11048 delete arg7;
11049 }
11050 return resultobj;
11051 fail:
11052 {
11053 if (temp7)
11054 delete arg7;
11055 }
11056 return NULL;
11057}
11058
11059
c370783e 11060static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11061 PyObject *resultobj;
11062 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11063 size_t arg2 ;
11064 PyObject * obj0 = 0 ;
11065 PyObject * obj1 = 0 ;
11066 char *kwnames[] = {
11067 (char *) "self",(char *) "count", NULL
11068 };
11069
11070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11072 if (SWIG_arg_fail(1)) SWIG_fail;
11073 {
11074 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11075 if (SWIG_arg_fail(2)) SWIG_fail;
11076 }
d55e5bfc
RD
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 (arg1)->SetLineCount(arg2);
11080
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 Py_INCREF(Py_None); resultobj = Py_None;
11085 return resultobj;
11086 fail:
11087 return NULL;
11088}
11089
11090
c370783e 11091static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11092 PyObject *resultobj;
11093 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11094 size_t arg2 ;
11095 bool result;
11096 PyObject * obj0 = 0 ;
11097 PyObject * obj1 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "self",(char *) "line", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail;
11105 {
11106 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11107 if (SWIG_arg_fail(2)) SWIG_fail;
11108 }
d55e5bfc
RD
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 result = (bool)(arg1)->ScrollToLine(arg2);
11112
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 {
11117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11118 }
11119 return resultobj;
11120 fail:
11121 return NULL;
11122}
11123
11124
c370783e 11125static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11126 PyObject *resultobj;
11127 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11128 int arg2 ;
11129 bool result;
11130 PyObject * obj0 = 0 ;
11131 PyObject * obj1 = 0 ;
11132 char *kwnames[] = {
11133 (char *) "self",(char *) "lines", NULL
11134 };
11135
11136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11138 if (SWIG_arg_fail(1)) SWIG_fail;
11139 {
11140 arg2 = (int)(SWIG_As_int(obj1));
11141 if (SWIG_arg_fail(2)) SWIG_fail;
11142 }
d55e5bfc
RD
11143 {
11144 PyThreadState* __tstate = wxPyBeginAllowThreads();
11145 result = (bool)(arg1)->ScrollLines(arg2);
11146
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 {
11151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11152 }
11153 return resultobj;
11154 fail:
11155 return NULL;
11156}
11157
11158
c370783e 11159static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11160 PyObject *resultobj;
11161 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11162 int arg2 ;
11163 bool result;
11164 PyObject * obj0 = 0 ;
11165 PyObject * obj1 = 0 ;
11166 char *kwnames[] = {
11167 (char *) "self",(char *) "pages", NULL
11168 };
11169
11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11172 if (SWIG_arg_fail(1)) SWIG_fail;
11173 {
11174 arg2 = (int)(SWIG_As_int(obj1));
11175 if (SWIG_arg_fail(2)) SWIG_fail;
11176 }
d55e5bfc
RD
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 result = (bool)(arg1)->ScrollPages(arg2);
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 {
11185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11186 }
11187 return resultobj;
11188 fail:
11189 return NULL;
11190}
11191
11192
c370783e 11193static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11194 PyObject *resultobj;
11195 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11196 size_t arg2 ;
11197 PyObject * obj0 = 0 ;
11198 PyObject * obj1 = 0 ;
11199 char *kwnames[] = {
11200 (char *) "self",(char *) "line", NULL
11201 };
11202
11203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11204 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11205 if (SWIG_arg_fail(1)) SWIG_fail;
11206 {
11207 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11208 if (SWIG_arg_fail(2)) SWIG_fail;
11209 }
d55e5bfc
RD
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 (arg1)->RefreshLine(arg2);
11213
11214 wxPyEndAllowThreads(__tstate);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 }
11217 Py_INCREF(Py_None); resultobj = Py_None;
11218 return resultobj;
11219 fail:
11220 return NULL;
11221}
11222
11223
c370783e 11224static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11225 PyObject *resultobj;
11226 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11227 size_t arg2 ;
11228 size_t arg3 ;
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 PyObject * obj2 = 0 ;
11232 char *kwnames[] = {
11233 (char *) "self",(char *) "from",(char *) "to", NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11238 if (SWIG_arg_fail(1)) SWIG_fail;
11239 {
11240 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11241 if (SWIG_arg_fail(2)) SWIG_fail;
11242 }
11243 {
11244 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
11245 if (SWIG_arg_fail(3)) SWIG_fail;
11246 }
d55e5bfc
RD
11247 {
11248 PyThreadState* __tstate = wxPyBeginAllowThreads();
11249 (arg1)->RefreshLines(arg2,arg3);
11250
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 Py_INCREF(Py_None); resultobj = Py_None;
11255 return resultobj;
11256 fail:
11257 return NULL;
11258}
11259
11260
c370783e 11261static PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11262 PyObject *resultobj;
11263 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11264 int arg2 ;
11265 int arg3 ;
11266 int result;
11267 PyObject * obj0 = 0 ;
11268 PyObject * obj1 = 0 ;
11269 PyObject * obj2 = 0 ;
11270 char *kwnames[] = {
11271 (char *) "self",(char *) "x",(char *) "y", NULL
11272 };
11273
03ee685a 11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11276 if (SWIG_arg_fail(1)) SWIG_fail;
11277 {
11278 arg2 = (int)(SWIG_As_int(obj1));
11279 if (SWIG_arg_fail(2)) SWIG_fail;
11280 }
11281 {
11282 arg3 = (int)(SWIG_As_int(obj2));
11283 if (SWIG_arg_fail(3)) SWIG_fail;
11284 }
d55e5bfc
RD
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
36ed4f51
RD
11292 {
11293 resultobj = SWIG_From_int((int)(result));
11294 }
d55e5bfc
RD
11295 return resultobj;
11296 fail:
11297 return NULL;
11298}
11299
11300
c370783e 11301static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11302 PyObject *resultobj;
11303 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11304 wxPoint *arg2 = 0 ;
11305 int result;
11306 wxPoint temp2 ;
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
11309 char *kwnames[] = {
11310 (char *) "self",(char *) "pt", NULL
11311 };
11312
11313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11315 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11316 {
11317 arg2 = &temp2;
11318 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11319 }
11320 {
11321 PyThreadState* __tstate = wxPyBeginAllowThreads();
11322 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
11323
11324 wxPyEndAllowThreads(__tstate);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 }
36ed4f51
RD
11327 {
11328 resultobj = SWIG_From_int((int)(result));
11329 }
d55e5bfc
RD
11330 return resultobj;
11331 fail:
11332 return NULL;
11333}
11334
11335
c370783e 11336static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11337 PyObject *resultobj;
11338 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11339 PyObject * obj0 = 0 ;
11340 char *kwnames[] = {
11341 (char *) "self", NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
11345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11346 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11347 {
11348 PyThreadState* __tstate = wxPyBeginAllowThreads();
11349 (arg1)->RefreshAll();
11350
11351 wxPyEndAllowThreads(__tstate);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 }
11354 Py_INCREF(Py_None); resultobj = Py_None;
11355 return resultobj;
11356 fail:
11357 return NULL;
11358}
11359
11360
c370783e 11361static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11362 PyObject *resultobj;
11363 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11364 size_t result;
11365 PyObject * obj0 = 0 ;
11366 char *kwnames[] = {
11367 (char *) "self", NULL
11368 };
11369
11370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
11371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11372 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11373 {
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
11376
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
36ed4f51
RD
11380 {
11381 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11382 }
d55e5bfc
RD
11383 return resultobj;
11384 fail:
11385 return NULL;
11386}
11387
11388
c370783e 11389static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11390 PyObject *resultobj;
11391 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11392 size_t result;
11393 PyObject * obj0 = 0 ;
11394 char *kwnames[] = {
11395 (char *) "self", NULL
11396 };
11397
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
36ed4f51
RD
11399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11400 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11401 {
11402 PyThreadState* __tstate = wxPyBeginAllowThreads();
11403 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
11404
11405 wxPyEndAllowThreads(__tstate);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 }
36ed4f51
RD
11408 {
11409 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11410 }
d55e5bfc
RD
11411 return resultobj;
11412 fail:
11413 return NULL;
11414}
11415
11416
c370783e 11417static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11418 PyObject *resultobj;
11419 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11420 size_t result;
11421 PyObject * obj0 = 0 ;
11422 char *kwnames[] = {
11423 (char *) "self", NULL
11424 };
11425
11426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
36ed4f51
RD
11427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
36ed4f51
RD
11436 {
11437 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11438 }
d55e5bfc
RD
11439 return resultobj;
11440 fail:
11441 return NULL;
11442}
11443
11444
c370783e 11445static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11446 PyObject *resultobj;
11447 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
11448 size_t arg2 ;
11449 bool result;
11450 PyObject * obj0 = 0 ;
11451 PyObject * obj1 = 0 ;
11452 char *kwnames[] = {
11453 (char *) "self",(char *) "line", NULL
11454 };
11455
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
11458 if (SWIG_arg_fail(1)) SWIG_fail;
11459 {
11460 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11461 if (SWIG_arg_fail(2)) SWIG_fail;
11462 }
d55e5bfc
RD
11463 {
11464 PyThreadState* __tstate = wxPyBeginAllowThreads();
11465 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
11466
11467 wxPyEndAllowThreads(__tstate);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 }
11470 {
11471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11472 }
11473 return resultobj;
11474 fail:
11475 return NULL;
11476}
11477
11478
c370783e 11479static PyObject * VScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11480 PyObject *obj;
11481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11482 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
11483 Py_INCREF(obj);
11484 return Py_BuildValue((char *)"");
11485}
c370783e 11486static int _wrap_VListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
11487 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
11488 return 1;
11489}
11490
11491
36ed4f51 11492static PyObject *_wrap_VListBoxNameStr_get(void) {
d55e5bfc
RD
11493 PyObject *pyobj;
11494
11495 {
11496#if wxUSE_UNICODE
11497 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11498#else
11499 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
11500#endif
11501 }
11502 return pyobj;
11503}
11504
11505
c370783e 11506static PyObject *_wrap_new_VListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11507 PyObject *resultobj;
11508 wxWindow *arg1 = (wxWindow *) 0 ;
11509 int arg2 = (int) wxID_ANY ;
11510 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11511 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11512 wxSize const &arg4_defvalue = wxDefaultSize ;
11513 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11514 long arg5 = (long) 0 ;
11515 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
11516 wxString *arg6 = (wxString *) &arg6_defvalue ;
11517 wxPyVListBox *result;
11518 wxPoint temp3 ;
11519 wxSize temp4 ;
b411df4a 11520 bool temp6 = false ;
d55e5bfc
RD
11521 PyObject * obj0 = 0 ;
11522 PyObject * obj1 = 0 ;
11523 PyObject * obj2 = 0 ;
11524 PyObject * obj3 = 0 ;
11525 PyObject * obj4 = 0 ;
11526 PyObject * obj5 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
11532 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11533 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11534 if (obj1) {
36ed4f51
RD
11535 {
11536 arg2 = (int)(SWIG_As_int(obj1));
11537 if (SWIG_arg_fail(2)) SWIG_fail;
11538 }
d55e5bfc
RD
11539 }
11540 if (obj2) {
11541 {
11542 arg3 = &temp3;
11543 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11544 }
11545 }
11546 if (obj3) {
11547 {
11548 arg4 = &temp4;
11549 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11550 }
11551 }
11552 if (obj4) {
36ed4f51
RD
11553 {
11554 arg5 = (long)(SWIG_As_long(obj4));
11555 if (SWIG_arg_fail(5)) SWIG_fail;
11556 }
d55e5bfc
RD
11557 }
11558 if (obj5) {
11559 {
11560 arg6 = wxString_in_helper(obj5);
11561 if (arg6 == NULL) SWIG_fail;
b411df4a 11562 temp6 = true;
d55e5bfc
RD
11563 }
11564 }
11565 {
0439c23b 11566 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11567 PyThreadState* __tstate = wxPyBeginAllowThreads();
11568 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11569
11570 wxPyEndAllowThreads(__tstate);
110da5b0 11571 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11572 }
11573 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11574 {
11575 if (temp6)
11576 delete arg6;
11577 }
11578 return resultobj;
11579 fail:
11580 {
11581 if (temp6)
11582 delete arg6;
11583 }
11584 return NULL;
11585}
11586
11587
c370783e 11588static PyObject *_wrap_new_PreVListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11589 PyObject *resultobj;
11590 wxPyVListBox *result;
11591 char *kwnames[] = {
11592 NULL
11593 };
11594
11595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
11596 {
0439c23b 11597 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11598 PyThreadState* __tstate = wxPyBeginAllowThreads();
11599 result = (wxPyVListBox *)new wxPyVListBox();
11600
11601 wxPyEndAllowThreads(__tstate);
110da5b0 11602 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11603 }
11604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyVListBox, 1);
11605 return resultobj;
11606 fail:
11607 return NULL;
11608}
11609
11610
c370783e 11611static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11612 PyObject *resultobj;
11613 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11614 PyObject *arg2 = (PyObject *) 0 ;
11615 PyObject *arg3 = (PyObject *) 0 ;
11616 PyObject * obj0 = 0 ;
11617 PyObject * obj1 = 0 ;
11618 PyObject * obj2 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "self",(char *) "self",(char *) "_class", NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11626 arg2 = obj1;
11627 arg3 = obj2;
11628 {
11629 PyThreadState* __tstate = wxPyBeginAllowThreads();
11630 (arg1)->_setCallbackInfo(arg2,arg3);
11631
11632 wxPyEndAllowThreads(__tstate);
11633 if (PyErr_Occurred()) SWIG_fail;
11634 }
11635 Py_INCREF(Py_None); resultobj = Py_None;
11636 return resultobj;
11637 fail:
11638 return NULL;
11639}
11640
11641
c370783e 11642static PyObject *_wrap_VListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11643 PyObject *resultobj;
11644 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11645 wxWindow *arg2 = (wxWindow *) 0 ;
11646 int arg3 = (int) wxID_ANY ;
11647 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11648 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11649 wxSize const &arg5_defvalue = wxDefaultSize ;
11650 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11651 long arg6 = (long) 0 ;
11652 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
11653 wxString *arg7 = (wxString *) &arg7_defvalue ;
11654 bool result;
11655 wxPoint temp4 ;
11656 wxSize temp5 ;
b411df4a 11657 bool temp7 = false ;
d55e5bfc
RD
11658 PyObject * obj0 = 0 ;
11659 PyObject * obj1 = 0 ;
11660 PyObject * obj2 = 0 ;
11661 PyObject * obj3 = 0 ;
11662 PyObject * obj4 = 0 ;
11663 PyObject * obj5 = 0 ;
11664 PyObject * obj6 = 0 ;
11665 char *kwnames[] = {
11666 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11667 };
11668
11669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
11670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11671 if (SWIG_arg_fail(1)) SWIG_fail;
11672 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11673 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11674 if (obj2) {
36ed4f51
RD
11675 {
11676 arg3 = (int)(SWIG_As_int(obj2));
11677 if (SWIG_arg_fail(3)) SWIG_fail;
11678 }
d55e5bfc
RD
11679 }
11680 if (obj3) {
11681 {
11682 arg4 = &temp4;
11683 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11684 }
11685 }
11686 if (obj4) {
11687 {
11688 arg5 = &temp5;
11689 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11690 }
11691 }
11692 if (obj5) {
36ed4f51
RD
11693 {
11694 arg6 = (long)(SWIG_As_long(obj5));
11695 if (SWIG_arg_fail(6)) SWIG_fail;
11696 }
d55e5bfc
RD
11697 }
11698 if (obj6) {
11699 {
11700 arg7 = wxString_in_helper(obj6);
11701 if (arg7 == NULL) SWIG_fail;
b411df4a 11702 temp7 = true;
d55e5bfc
RD
11703 }
11704 }
11705 {
11706 PyThreadState* __tstate = wxPyBeginAllowThreads();
11707 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11708
11709 wxPyEndAllowThreads(__tstate);
11710 if (PyErr_Occurred()) SWIG_fail;
11711 }
11712 {
11713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11714 }
11715 {
11716 if (temp7)
11717 delete arg7;
11718 }
11719 return resultobj;
11720 fail:
11721 {
11722 if (temp7)
11723 delete arg7;
11724 }
11725 return NULL;
11726}
11727
11728
c370783e 11729static PyObject *_wrap_VListBox_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11730 PyObject *resultobj;
11731 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11732 size_t result;
11733 PyObject * obj0 = 0 ;
11734 char *kwnames[] = {
11735 (char *) "self", NULL
11736 };
11737
11738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
11739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11740 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11741 {
11742 PyThreadState* __tstate = wxPyBeginAllowThreads();
11743 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
11744
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
36ed4f51
RD
11748 {
11749 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11750 }
d55e5bfc
RD
11751 return resultobj;
11752 fail:
11753 return NULL;
11754}
11755
11756
c370783e 11757static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11758 PyObject *resultobj;
11759 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11760 bool result;
11761 PyObject * obj0 = 0 ;
11762 char *kwnames[] = {
11763 (char *) "self", NULL
11764 };
11765
11766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
11767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11768 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 {
11777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11778 }
11779 return resultobj;
11780 fail:
11781 return NULL;
11782}
11783
11784
c370783e 11785static PyObject *_wrap_VListBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11786 PyObject *resultobj;
11787 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11788 int result;
11789 PyObject * obj0 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "self", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
11795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11796 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11797 {
11798 PyThreadState* __tstate = wxPyBeginAllowThreads();
11799 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
11800
11801 wxPyEndAllowThreads(__tstate);
11802 if (PyErr_Occurred()) SWIG_fail;
11803 }
36ed4f51
RD
11804 {
11805 resultobj = SWIG_From_int((int)(result));
11806 }
d55e5bfc
RD
11807 return resultobj;
11808 fail:
11809 return NULL;
11810}
11811
11812
c370783e 11813static PyObject *_wrap_VListBox_IsCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11814 PyObject *resultobj;
11815 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11816 size_t arg2 ;
11817 bool result;
11818 PyObject * obj0 = 0 ;
11819 PyObject * obj1 = 0 ;
11820 char *kwnames[] = {
11821 (char *) "self",(char *) "item", NULL
11822 };
11823
11824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11826 if (SWIG_arg_fail(1)) SWIG_fail;
11827 {
11828 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11829 if (SWIG_arg_fail(2)) SWIG_fail;
11830 }
d55e5bfc
RD
11831 {
11832 PyThreadState* __tstate = wxPyBeginAllowThreads();
11833 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
11834
11835 wxPyEndAllowThreads(__tstate);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
11838 {
11839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11840 }
11841 return resultobj;
11842 fail:
11843 return NULL;
11844}
11845
11846
c370783e 11847static PyObject *_wrap_VListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11848 PyObject *resultobj;
11849 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11850 size_t arg2 ;
11851 bool result;
11852 PyObject * obj0 = 0 ;
11853 PyObject * obj1 = 0 ;
11854 char *kwnames[] = {
11855 (char *) "self",(char *) "item", NULL
11856 };
11857
11858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11860 if (SWIG_arg_fail(1)) SWIG_fail;
11861 {
11862 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
11863 if (SWIG_arg_fail(2)) SWIG_fail;
11864 }
d55e5bfc
RD
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 {
11873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11874 }
11875 return resultobj;
11876 fail:
11877 return NULL;
11878}
11879
11880
c370783e 11881static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11882 PyObject *resultobj;
11883 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11884 size_t result;
11885 PyObject * obj0 = 0 ;
11886 char *kwnames[] = {
11887 (char *) "self", NULL
11888 };
11889
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
11891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11892 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
36ed4f51
RD
11900 {
11901 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
11902 }
d55e5bfc
RD
11903 return resultobj;
11904 fail:
11905 return NULL;
11906}
11907
11908
c370783e 11909static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11910 PyObject *resultobj;
11911 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b 11912 PyObject *result;
d55e5bfc 11913 PyObject * obj0 = 0 ;
d55e5bfc 11914 char *kwnames[] = {
09c21d3b 11915 (char *) "self", NULL
d55e5bfc
RD
11916 };
11917
09c21d3b 11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetFirstSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
11919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11920 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11921 {
11922 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 11923 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
d55e5bfc
RD
11924
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
09c21d3b 11928 resultobj = result;
d55e5bfc
RD
11929 return resultobj;
11930 fail:
11931 return NULL;
11932}
11933
11934
c370783e 11935static PyObject *_wrap_VListBox_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11936 PyObject *resultobj;
11937 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
09c21d3b
RD
11938 unsigned long arg2 ;
11939 PyObject *result;
d55e5bfc
RD
11940 PyObject * obj0 = 0 ;
11941 PyObject * obj1 = 0 ;
11942 char *kwnames[] = {
11943 (char *) "self",(char *) "cookie", NULL
11944 };
11945
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11948 if (SWIG_arg_fail(1)) SWIG_fail;
11949 {
11950 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
11951 if (SWIG_arg_fail(2)) SWIG_fail;
11952 }
d55e5bfc
RD
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
09c21d3b 11955 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
d55e5bfc
RD
11956
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
09c21d3b 11960 resultobj = result;
d55e5bfc
RD
11961 return resultobj;
11962 fail:
11963 return NULL;
11964}
11965
11966
c370783e 11967static PyObject *_wrap_VListBox_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11968 PyObject *resultobj;
11969 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
11970 wxPoint result;
11971 PyObject * obj0 = 0 ;
11972 char *kwnames[] = {
11973 (char *) "self", NULL
11974 };
11975
11976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
11977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
11978 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11979 {
11980 PyThreadState* __tstate = wxPyBeginAllowThreads();
11981 result = ((wxPyVListBox const *)arg1)->GetMargins();
11982
11983 wxPyEndAllowThreads(__tstate);
11984 if (PyErr_Occurred()) SWIG_fail;
11985 }
11986 {
11987 wxPoint * resultptr;
36ed4f51 11988 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
11989 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11990 }
11991 return resultobj;
11992 fail:
11993 return NULL;
11994}
11995
11996
c370783e 11997static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11998 PyObject *resultobj;
11999 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12000 wxColour *result;
12001 PyObject * obj0 = 0 ;
12002 char *kwnames[] = {
12003 (char *) "self", NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
36ed4f51
RD
12007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12008 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 {
12012 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
12013 result = (wxColour *) &_result_ref;
12014 }
12015
12016 wxPyEndAllowThreads(__tstate);
12017 if (PyErr_Occurred()) SWIG_fail;
12018 }
12019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
12020 return resultobj;
12021 fail:
12022 return NULL;
12023}
12024
12025
c370783e 12026static PyObject *_wrap_VListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12027 PyObject *resultobj;
12028 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12029 size_t arg2 ;
12030 PyObject * obj0 = 0 ;
12031 PyObject * obj1 = 0 ;
12032 char *kwnames[] = {
12033 (char *) "self",(char *) "count", NULL
12034 };
12035
12036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12038 if (SWIG_arg_fail(1)) SWIG_fail;
12039 {
12040 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12041 if (SWIG_arg_fail(2)) SWIG_fail;
12042 }
d55e5bfc
RD
12043 {
12044 PyThreadState* __tstate = wxPyBeginAllowThreads();
12045 (arg1)->SetItemCount(arg2);
12046
12047 wxPyEndAllowThreads(__tstate);
12048 if (PyErr_Occurred()) SWIG_fail;
12049 }
12050 Py_INCREF(Py_None); resultobj = Py_None;
12051 return resultobj;
12052 fail:
12053 return NULL;
12054}
12055
12056
c370783e 12057static PyObject *_wrap_VListBox_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12058 PyObject *resultobj;
12059 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12060 PyObject * obj0 = 0 ;
12061 char *kwnames[] = {
12062 (char *) "self", NULL
12063 };
12064
12065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
12066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12067 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12068 {
12069 PyThreadState* __tstate = wxPyBeginAllowThreads();
12070 (arg1)->Clear();
12071
12072 wxPyEndAllowThreads(__tstate);
12073 if (PyErr_Occurred()) SWIG_fail;
12074 }
12075 Py_INCREF(Py_None); resultobj = Py_None;
12076 return resultobj;
12077 fail:
12078 return NULL;
12079}
12080
12081
c370783e 12082static PyObject *_wrap_VListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12083 PyObject *resultobj;
12084 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12085 int arg2 ;
12086 PyObject * obj0 = 0 ;
12087 PyObject * obj1 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "self",(char *) "selection", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12094 if (SWIG_arg_fail(1)) SWIG_fail;
12095 {
12096 arg2 = (int)(SWIG_As_int(obj1));
12097 if (SWIG_arg_fail(2)) SWIG_fail;
12098 }
d55e5bfc
RD
12099 {
12100 PyThreadState* __tstate = wxPyBeginAllowThreads();
12101 (arg1)->SetSelection(arg2);
12102
12103 wxPyEndAllowThreads(__tstate);
12104 if (PyErr_Occurred()) SWIG_fail;
12105 }
12106 Py_INCREF(Py_None); resultobj = Py_None;
12107 return resultobj;
12108 fail:
12109 return NULL;
12110}
12111
12112
c370783e 12113static PyObject *_wrap_VListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12114 PyObject *resultobj;
12115 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12116 size_t arg2 ;
b411df4a 12117 bool arg3 = (bool) true ;
d55e5bfc
RD
12118 bool result;
12119 PyObject * obj0 = 0 ;
12120 PyObject * obj1 = 0 ;
12121 PyObject * obj2 = 0 ;
12122 char *kwnames[] = {
12123 (char *) "self",(char *) "item",(char *) "select", NULL
12124 };
12125
12126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12128 if (SWIG_arg_fail(1)) SWIG_fail;
12129 {
12130 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12131 if (SWIG_arg_fail(2)) SWIG_fail;
12132 }
d55e5bfc 12133 if (obj2) {
36ed4f51
RD
12134 {
12135 arg3 = (bool)(SWIG_As_bool(obj2));
12136 if (SWIG_arg_fail(3)) SWIG_fail;
12137 }
d55e5bfc
RD
12138 }
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 result = (bool)(arg1)->Select(arg2,arg3);
12142
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 {
12147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12148 }
12149 return resultobj;
12150 fail:
12151 return NULL;
12152}
12153
12154
c370783e 12155static PyObject *_wrap_VListBox_SelectRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12156 PyObject *resultobj;
12157 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12158 size_t arg2 ;
12159 size_t arg3 ;
12160 bool result;
12161 PyObject * obj0 = 0 ;
12162 PyObject * obj1 = 0 ;
12163 PyObject * obj2 = 0 ;
12164 char *kwnames[] = {
12165 (char *) "self",(char *) "from",(char *) "to", NULL
12166 };
12167
12168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12170 if (SWIG_arg_fail(1)) SWIG_fail;
12171 {
12172 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12173 if (SWIG_arg_fail(2)) SWIG_fail;
12174 }
12175 {
12176 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
12177 if (SWIG_arg_fail(3)) SWIG_fail;
12178 }
d55e5bfc
RD
12179 {
12180 PyThreadState* __tstate = wxPyBeginAllowThreads();
12181 result = (bool)(arg1)->SelectRange(arg2,arg3);
12182
12183 wxPyEndAllowThreads(__tstate);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 }
12186 {
12187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12188 }
12189 return resultobj;
12190 fail:
12191 return NULL;
12192}
12193
12194
c370783e 12195static PyObject *_wrap_VListBox_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12196 PyObject *resultobj;
12197 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12198 size_t arg2 ;
12199 PyObject * obj0 = 0 ;
12200 PyObject * obj1 = 0 ;
12201 char *kwnames[] = {
12202 (char *) "self",(char *) "item", NULL
12203 };
12204
12205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12207 if (SWIG_arg_fail(1)) SWIG_fail;
12208 {
12209 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12210 if (SWIG_arg_fail(2)) SWIG_fail;
12211 }
d55e5bfc
RD
12212 {
12213 PyThreadState* __tstate = wxPyBeginAllowThreads();
12214 (arg1)->Toggle(arg2);
12215
12216 wxPyEndAllowThreads(__tstate);
12217 if (PyErr_Occurred()) SWIG_fail;
12218 }
12219 Py_INCREF(Py_None); resultobj = Py_None;
12220 return resultobj;
12221 fail:
12222 return NULL;
12223}
12224
12225
c370783e 12226static PyObject *_wrap_VListBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12227 PyObject *resultobj;
12228 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12229 bool result;
12230 PyObject * obj0 = 0 ;
12231 char *kwnames[] = {
12232 (char *) "self", NULL
12233 };
12234
12235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
12236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12237 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12238 {
12239 PyThreadState* __tstate = wxPyBeginAllowThreads();
12240 result = (bool)(arg1)->SelectAll();
12241
12242 wxPyEndAllowThreads(__tstate);
12243 if (PyErr_Occurred()) SWIG_fail;
12244 }
12245 {
12246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12247 }
12248 return resultobj;
12249 fail:
12250 return NULL;
12251}
12252
12253
c370783e 12254static PyObject *_wrap_VListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12255 PyObject *resultobj;
12256 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12257 bool result;
12258 PyObject * obj0 = 0 ;
12259 char *kwnames[] = {
12260 (char *) "self", NULL
12261 };
12262
12263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
12264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12265 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12266 {
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 result = (bool)(arg1)->DeselectAll();
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 {
12274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12275 }
12276 return resultobj;
12277 fail:
12278 return NULL;
12279}
12280
12281
c370783e 12282static PyObject *_wrap_VListBox_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12283 PyObject *resultobj;
12284 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12285 wxPoint *arg2 = 0 ;
12286 wxPoint temp2 ;
12287 PyObject * obj0 = 0 ;
12288 PyObject * obj1 = 0 ;
12289 char *kwnames[] = {
12290 (char *) "self",(char *) "pt", NULL
12291 };
12292
12293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12295 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12296 {
12297 arg2 = &temp2;
12298 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12299 }
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 (arg1)->SetMargins((wxPoint const &)*arg2);
12303
12304 wxPyEndAllowThreads(__tstate);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 }
12307 Py_INCREF(Py_None); resultobj = Py_None;
12308 return resultobj;
12309 fail:
12310 return NULL;
12311}
12312
12313
c370783e 12314static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12315 PyObject *resultobj;
12316 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12317 int arg2 ;
12318 int arg3 ;
12319 PyObject * obj0 = 0 ;
12320 PyObject * obj1 = 0 ;
12321 PyObject * obj2 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self",(char *) "x",(char *) "y", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail;
12329 {
12330 arg2 = (int)(SWIG_As_int(obj1));
12331 if (SWIG_arg_fail(2)) SWIG_fail;
12332 }
12333 {
12334 arg3 = (int)(SWIG_As_int(obj2));
12335 if (SWIG_arg_fail(3)) SWIG_fail;
12336 }
d55e5bfc
RD
12337 {
12338 PyThreadState* __tstate = wxPyBeginAllowThreads();
12339 (arg1)->SetMargins(arg2,arg3);
12340
12341 wxPyEndAllowThreads(__tstate);
12342 if (PyErr_Occurred()) SWIG_fail;
12343 }
12344 Py_INCREF(Py_None); resultobj = Py_None;
12345 return resultobj;
12346 fail:
12347 return NULL;
12348}
12349
12350
c370783e 12351static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12352 PyObject *resultobj;
12353 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
12354 wxColour *arg2 = 0 ;
12355 wxColour temp2 ;
12356 PyObject * obj0 = 0 ;
12357 PyObject * obj1 = 0 ;
12358 char *kwnames[] = {
12359 (char *) "self",(char *) "col", NULL
12360 };
12361
12362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_EXCEPTION | 0);
12364 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12365 {
12366 arg2 = &temp2;
12367 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12368 }
12369 {
12370 PyThreadState* __tstate = wxPyBeginAllowThreads();
12371 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
12372
12373 wxPyEndAllowThreads(__tstate);
12374 if (PyErr_Occurred()) SWIG_fail;
12375 }
12376 Py_INCREF(Py_None); resultobj = Py_None;
12377 return resultobj;
12378 fail:
12379 return NULL;
12380}
12381
12382
c370783e 12383static PyObject * VListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12384 PyObject *obj;
12385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12386 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
12387 Py_INCREF(obj);
12388 return Py_BuildValue((char *)"");
12389}
c370783e 12390static PyObject *_wrap_new_HtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12391 PyObject *resultobj;
12392 wxWindow *arg1 = (wxWindow *) 0 ;
12393 int arg2 = (int) wxID_ANY ;
12394 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12395 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12396 wxSize const &arg4_defvalue = wxDefaultSize ;
12397 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12398 long arg5 = (long) 0 ;
12399 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
12400 wxString *arg6 = (wxString *) &arg6_defvalue ;
12401 wxPyHtmlListBox *result;
12402 wxPoint temp3 ;
12403 wxSize temp4 ;
b411df4a 12404 bool temp6 = false ;
d55e5bfc
RD
12405 PyObject * obj0 = 0 ;
12406 PyObject * obj1 = 0 ;
12407 PyObject * obj2 = 0 ;
12408 PyObject * obj3 = 0 ;
12409 PyObject * obj4 = 0 ;
12410 PyObject * obj5 = 0 ;
12411 char *kwnames[] = {
12412 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12413 };
12414
12415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12417 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12418 if (obj1) {
36ed4f51
RD
12419 {
12420 arg2 = (int)(SWIG_As_int(obj1));
12421 if (SWIG_arg_fail(2)) SWIG_fail;
12422 }
d55e5bfc
RD
12423 }
12424 if (obj2) {
12425 {
12426 arg3 = &temp3;
12427 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12428 }
12429 }
12430 if (obj3) {
12431 {
12432 arg4 = &temp4;
12433 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12434 }
12435 }
12436 if (obj4) {
36ed4f51
RD
12437 {
12438 arg5 = (long)(SWIG_As_long(obj4));
12439 if (SWIG_arg_fail(5)) SWIG_fail;
12440 }
d55e5bfc
RD
12441 }
12442 if (obj5) {
12443 {
12444 arg6 = wxString_in_helper(obj5);
12445 if (arg6 == NULL) SWIG_fail;
b411df4a 12446 temp6 = true;
d55e5bfc
RD
12447 }
12448 }
12449 {
0439c23b 12450 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12453
12454 wxPyEndAllowThreads(__tstate);
110da5b0 12455 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12456 }
12457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12458 {
12459 if (temp6)
12460 delete arg6;
12461 }
12462 return resultobj;
12463 fail:
12464 {
12465 if (temp6)
12466 delete arg6;
12467 }
12468 return NULL;
12469}
12470
12471
c370783e 12472static PyObject *_wrap_new_PreHtmlListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12473 PyObject *resultobj;
12474 wxPyHtmlListBox *result;
12475 char *kwnames[] = {
12476 NULL
12477 };
12478
12479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
12480 {
0439c23b 12481 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12482 PyThreadState* __tstate = wxPyBeginAllowThreads();
12483 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
12484
12485 wxPyEndAllowThreads(__tstate);
110da5b0 12486 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12487 }
12488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyHtmlListBox, 1);
12489 return resultobj;
12490 fail:
12491 return NULL;
12492}
12493
12494
c370783e 12495static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12496 PyObject *resultobj;
12497 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12498 PyObject *arg2 = (PyObject *) 0 ;
12499 PyObject *arg3 = (PyObject *) 0 ;
12500 PyObject * obj0 = 0 ;
12501 PyObject * obj1 = 0 ;
12502 PyObject * obj2 = 0 ;
12503 char *kwnames[] = {
12504 (char *) "self",(char *) "self",(char *) "_class", NULL
12505 };
12506
12507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12509 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12510 arg2 = obj1;
12511 arg3 = obj2;
12512 {
12513 PyThreadState* __tstate = wxPyBeginAllowThreads();
12514 (arg1)->_setCallbackInfo(arg2,arg3);
12515
12516 wxPyEndAllowThreads(__tstate);
12517 if (PyErr_Occurred()) SWIG_fail;
12518 }
12519 Py_INCREF(Py_None); resultobj = Py_None;
12520 return resultobj;
12521 fail:
12522 return NULL;
12523}
12524
12525
c370783e 12526static PyObject *_wrap_HtmlListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12527 PyObject *resultobj;
12528 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12529 wxWindow *arg2 = (wxWindow *) 0 ;
12530 int arg3 = (int) wxID_ANY ;
12531 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12532 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12533 wxSize const &arg5_defvalue = wxDefaultSize ;
12534 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12535 long arg6 = (long) 0 ;
12536 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
12537 wxString *arg7 = (wxString *) &arg7_defvalue ;
12538 bool result;
12539 wxPoint temp4 ;
12540 wxSize temp5 ;
b411df4a 12541 bool temp7 = false ;
d55e5bfc
RD
12542 PyObject * obj0 = 0 ;
12543 PyObject * obj1 = 0 ;
12544 PyObject * obj2 = 0 ;
12545 PyObject * obj3 = 0 ;
12546 PyObject * obj4 = 0 ;
12547 PyObject * obj5 = 0 ;
12548 PyObject * obj6 = 0 ;
12549 char *kwnames[] = {
12550 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12551 };
12552
12553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
12554 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12555 if (SWIG_arg_fail(1)) SWIG_fail;
12556 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12557 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12558 if (obj2) {
36ed4f51
RD
12559 {
12560 arg3 = (int)(SWIG_As_int(obj2));
12561 if (SWIG_arg_fail(3)) SWIG_fail;
12562 }
d55e5bfc
RD
12563 }
12564 if (obj3) {
12565 {
12566 arg4 = &temp4;
12567 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12568 }
12569 }
12570 if (obj4) {
12571 {
12572 arg5 = &temp5;
12573 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12574 }
12575 }
12576 if (obj5) {
36ed4f51
RD
12577 {
12578 arg6 = (long)(SWIG_As_long(obj5));
12579 if (SWIG_arg_fail(6)) SWIG_fail;
12580 }
d55e5bfc
RD
12581 }
12582 if (obj6) {
12583 {
12584 arg7 = wxString_in_helper(obj6);
12585 if (arg7 == NULL) SWIG_fail;
b411df4a 12586 temp7 = true;
d55e5bfc
RD
12587 }
12588 }
12589 {
12590 PyThreadState* __tstate = wxPyBeginAllowThreads();
12591 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12592
12593 wxPyEndAllowThreads(__tstate);
12594 if (PyErr_Occurred()) SWIG_fail;
12595 }
12596 {
12597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12598 }
12599 {
12600 if (temp7)
12601 delete arg7;
12602 }
12603 return resultobj;
12604 fail:
12605 {
12606 if (temp7)
12607 delete arg7;
12608 }
12609 return NULL;
12610}
12611
12612
c370783e 12613static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12614 PyObject *resultobj;
12615 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12616 PyObject * obj0 = 0 ;
12617 char *kwnames[] = {
12618 (char *) "self", NULL
12619 };
12620
12621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
12622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12623 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 (arg1)->RefreshAll();
12627
12628 wxPyEndAllowThreads(__tstate);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
12631 Py_INCREF(Py_None); resultobj = Py_None;
12632 return resultobj;
12633 fail:
12634 return NULL;
12635}
12636
12637
c370783e 12638static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12639 PyObject *resultobj;
12640 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12641 size_t arg2 ;
12642 PyObject * obj0 = 0 ;
12643 PyObject * obj1 = 0 ;
12644 char *kwnames[] = {
12645 (char *) "self",(char *) "count", NULL
12646 };
12647
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12650 if (SWIG_arg_fail(1)) SWIG_fail;
12651 {
12652 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
12653 if (SWIG_arg_fail(2)) SWIG_fail;
12654 }
d55e5bfc
RD
12655 {
12656 PyThreadState* __tstate = wxPyBeginAllowThreads();
12657 (arg1)->SetItemCount(arg2);
12658
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 Py_INCREF(Py_None); resultobj = Py_None;
12663 return resultobj;
12664 fail:
12665 return NULL;
12666}
12667
12668
c370783e 12669static PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
d6c14a4c
RD
12670 PyObject *resultobj;
12671 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
12672 wxFileSystem *result;
12673 PyObject * obj0 = 0 ;
12674 char *kwnames[] = {
12675 (char *) "self", NULL
12676 };
12677
12678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_GetFileSystem",kwnames,&obj0)) goto fail;
36ed4f51
RD
12679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_EXCEPTION | 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail;
d6c14a4c
RD
12681 {
12682 PyThreadState* __tstate = wxPyBeginAllowThreads();
12683 {
12684 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
12685 result = (wxFileSystem *) &_result_ref;
12686 }
12687
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
12691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileSystem, 0);
12692 return resultobj;
12693 fail:
12694 return NULL;
12695}
12696
12697
c370783e 12698static PyObject * HtmlListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12699 PyObject *obj;
12700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12701 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
12702 Py_INCREF(obj);
12703 return Py_BuildValue((char *)"");
12704}
c370783e 12705static PyObject *_wrap_new_TaskBarIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12706 PyObject *resultobj;
5e483524 12707 wxPyTaskBarIcon *result;
d55e5bfc
RD
12708 char *kwnames[] = {
12709 NULL
12710 };
12711
12712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
12713 {
0439c23b 12714 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12716 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
d55e5bfc
RD
12717
12718 wxPyEndAllowThreads(__tstate);
110da5b0 12719 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 12720 }
5e483524 12721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTaskBarIcon, 1);
d55e5bfc
RD
12722 return resultobj;
12723 fail:
12724 return NULL;
12725}
12726
12727
5e483524 12728static PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12729 PyObject *resultobj;
5e483524
RD
12730 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
12731 PyObject *arg2 = (PyObject *) 0 ;
12732 PyObject *arg3 = (PyObject *) 0 ;
12733 int arg4 ;
d55e5bfc 12734 PyObject * obj0 = 0 ;
5e483524
RD
12735 PyObject * obj1 = 0 ;
12736 PyObject * obj2 = 0 ;
12737 PyObject * obj3 = 0 ;
d55e5bfc 12738 char *kwnames[] = {
5e483524 12739 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
d55e5bfc
RD
12740 };
12741
5e483524 12742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
12743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12744 if (SWIG_arg_fail(1)) SWIG_fail;
5e483524
RD
12745 arg2 = obj1;
12746 arg3 = obj2;
36ed4f51
RD
12747 {
12748 arg4 = (int)(SWIG_As_int(obj3));
12749 if (SWIG_arg_fail(4)) SWIG_fail;
12750 }
d55e5bfc
RD
12751 {
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12753 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
d55e5bfc
RD
12754
12755 wxPyEndAllowThreads(__tstate);
12756 if (PyErr_Occurred()) SWIG_fail;
12757 }
12758 Py_INCREF(Py_None); resultobj = Py_None;
12759 return resultobj;
12760 fail:
12761 return NULL;
12762}
12763
12764
c370783e 12765static PyObject *_wrap_TaskBarIcon_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12766 PyObject *resultobj;
5e483524 12767 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
d55e5bfc
RD
12768 PyObject * obj0 = 0 ;
12769 char *kwnames[] = {
12770 (char *) "self", NULL
12771 };
12772
12773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
12774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12775 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12778 wxPyTaskBarIcon_Destroy(arg1);
d55e5bfc
RD
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 Py_INCREF(Py_None); resultobj = Py_None;
12784 return resultobj;
12785 fail:
12786 return NULL;
12787}
12788
12789
b411df4a
RD
12790static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
12791 PyObject *resultobj;
5e483524 12792 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
12793 bool result;
12794 PyObject * obj0 = 0 ;
12795 char *kwnames[] = {
12796 (char *) "self", NULL
12797 };
12798
12799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
12800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12801 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
12802 {
12803 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12804 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
b411df4a
RD
12805
12806 wxPyEndAllowThreads(__tstate);
12807 if (PyErr_Occurred()) SWIG_fail;
12808 }
12809 {
12810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12811 }
12812 return resultobj;
12813 fail:
12814 return NULL;
12815}
12816
12817
12818static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *, PyObject *args, PyObject *kwargs) {
12819 PyObject *resultobj;
5e483524 12820 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
12821 bool result;
12822 PyObject * obj0 = 0 ;
12823 char *kwnames[] = {
12824 (char *) "self", NULL
12825 };
12826
12827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
36ed4f51
RD
12828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12829 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
12830 {
12831 PyThreadState* __tstate = wxPyBeginAllowThreads();
5e483524 12832 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
b411df4a
RD
12833
12834 wxPyEndAllowThreads(__tstate);
12835 if (PyErr_Occurred()) SWIG_fail;
12836 }
12837 {
12838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12839 }
12840 return resultobj;
12841 fail:
12842 return NULL;
12843}
12844
12845
12846static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12847 PyObject *resultobj;
5e483524 12848 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
12849 wxIcon *arg2 = 0 ;
12850 wxString const &arg3_defvalue = wxPyEmptyString ;
12851 wxString *arg3 = (wxString *) &arg3_defvalue ;
12852 bool result;
12853 bool temp3 = false ;
12854 PyObject * obj0 = 0 ;
12855 PyObject * obj1 = 0 ;
12856 PyObject * obj2 = 0 ;
12857 char *kwnames[] = {
12858 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12859 };
12860
12861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12863 if (SWIG_arg_fail(1)) SWIG_fail;
12864 {
12865 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
12866 if (SWIG_arg_fail(2)) SWIG_fail;
12867 if (arg2 == NULL) {
12868 SWIG_null_ref("wxIcon");
12869 }
12870 if (SWIG_arg_fail(2)) SWIG_fail;
b411df4a
RD
12871 }
12872 if (obj2) {
12873 {
12874 arg3 = wxString_in_helper(obj2);
12875 if (arg3 == NULL) SWIG_fail;
12876 temp3 = true;
12877 }
12878 }
12879 {
12880 PyThreadState* __tstate = wxPyBeginAllowThreads();
12881 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
12882
12883 wxPyEndAllowThreads(__tstate);
12884 if (PyErr_Occurred()) SWIG_fail;
12885 }
12886 {
12887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12888 }
12889 {
12890 if (temp3)
12891 delete arg3;
12892 }
12893 return resultobj;
12894 fail:
12895 {
12896 if (temp3)
12897 delete arg3;
12898 }
12899 return NULL;
12900}
12901
12902
12903static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *, PyObject *args, PyObject *kwargs) {
12904 PyObject *resultobj;
5e483524 12905 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
12906 bool result;
12907 PyObject * obj0 = 0 ;
12908 char *kwnames[] = {
12909 (char *) "self", NULL
12910 };
12911
12912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
36ed4f51
RD
12913 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12914 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
12915 {
12916 PyThreadState* __tstate = wxPyBeginAllowThreads();
12917 result = (bool)(arg1)->RemoveIcon();
12918
12919 wxPyEndAllowThreads(__tstate);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 {
12923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12924 }
12925 return resultobj;
12926 fail:
12927 return NULL;
12928}
12929
12930
12931static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
12932 PyObject *resultobj;
5e483524 12933 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
b411df4a
RD
12934 wxMenu *arg2 = (wxMenu *) 0 ;
12935 bool result;
12936 PyObject * obj0 = 0 ;
12937 PyObject * obj1 = 0 ;
12938 char *kwnames[] = {
12939 (char *) "self",(char *) "menu", NULL
12940 };
12941
12942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12944 if (SWIG_arg_fail(1)) SWIG_fail;
12945 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
12946 if (SWIG_arg_fail(2)) SWIG_fail;
b411df4a
RD
12947 {
12948 PyThreadState* __tstate = wxPyBeginAllowThreads();
12949 result = (bool)(arg1)->PopupMenu(arg2);
12950
12951 wxPyEndAllowThreads(__tstate);
12952 if (PyErr_Occurred()) SWIG_fail;
12953 }
12954 {
12955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12956 }
12957 return resultobj;
12958 fail:
12959 return NULL;
12960}
12961
12962
c370783e 12963static PyObject * TaskBarIcon_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12964 PyObject *obj;
12965 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5e483524 12966 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon, obj);
d55e5bfc
RD
12967 Py_INCREF(obj);
12968 return Py_BuildValue((char *)"");
12969}
c370783e 12970static PyObject *_wrap_new_TaskBarIconEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12971 PyObject *resultobj;
12972 wxEventType arg1 ;
12973 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
12974 wxTaskBarIconEvent *result;
12975 PyObject * obj0 = 0 ;
12976 PyObject * obj1 = 0 ;
12977 char *kwnames[] = {
12978 (char *) "evtType",(char *) "tbIcon", NULL
12979 };
12980
12981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12982 {
12983 arg1 = (wxEventType)(SWIG_As_int(obj0));
12984 if (SWIG_arg_fail(1)) SWIG_fail;
12985 }
12986 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTaskBarIcon, SWIG_POINTER_EXCEPTION | 0);
12987 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
12988 {
12989 PyThreadState* __tstate = wxPyBeginAllowThreads();
12990 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
12991
12992 wxPyEndAllowThreads(__tstate);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 }
12995 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTaskBarIconEvent, 1);
12996 return resultobj;
12997 fail:
12998 return NULL;
12999}
13000
13001
c370783e 13002static PyObject * TaskBarIconEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13003 PyObject *obj;
13004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13005 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
13006 Py_INCREF(obj);
13007 return Py_BuildValue((char *)"");
13008}
c370783e 13009static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13010 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
13011 return 1;
13012}
13013
13014
36ed4f51 13015static PyObject *_wrap_FileSelectorPromptStr_get(void) {
d55e5bfc
RD
13016 PyObject *pyobj;
13017
13018 {
13019#if wxUSE_UNICODE
13020 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13021#else
13022 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
13023#endif
13024 }
13025 return pyobj;
13026}
13027
13028
c370783e 13029static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d55e5bfc
RD
13030 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
13031 return 1;
13032}
13033
13034
36ed4f51 13035static PyObject *_wrap_DirSelectorPromptStr_get(void) {
d55e5bfc
RD
13036 PyObject *pyobj;
13037
13038 {
13039#if wxUSE_UNICODE
13040 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13041#else
13042 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
13043#endif
13044 }
13045 return pyobj;
13046}
13047
13048
c370783e 13049static int _wrap_DirDialogNameStr_set(PyObject *) {
d55e5bfc
RD
13050 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
13051 return 1;
13052}
13053
13054
36ed4f51 13055static PyObject *_wrap_DirDialogNameStr_get(void) {
d55e5bfc
RD
13056 PyObject *pyobj;
13057
13058 {
13059#if wxUSE_UNICODE
13060 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13061#else
13062 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
13063#endif
13064 }
13065 return pyobj;
13066}
13067
13068
c370783e 13069static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d55e5bfc
RD
13070 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
13071 return 1;
13072}
13073
13074
36ed4f51 13075static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
d55e5bfc
RD
13076 PyObject *pyobj;
13077
13078 {
13079#if wxUSE_UNICODE
13080 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13081#else
13082 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
13083#endif
13084 }
13085 return pyobj;
13086}
13087
13088
c370783e 13089static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
d55e5bfc
RD
13090 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
13091 return 1;
13092}
13093
13094
36ed4f51 13095static PyObject *_wrap_GetTextFromUserPromptStr_get(void) {
d55e5bfc
RD
13096 PyObject *pyobj;
13097
13098 {
13099#if wxUSE_UNICODE
13100 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13101#else
13102 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
13103#endif
13104 }
13105 return pyobj;
13106}
13107
13108
c370783e 13109static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
d55e5bfc
RD
13110 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
13111 return 1;
13112}
13113
13114
36ed4f51 13115static PyObject *_wrap_MessageBoxCaptionStr_get(void) {
d55e5bfc
RD
13116 PyObject *pyobj;
13117
13118 {
13119#if wxUSE_UNICODE
13120 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13121#else
13122 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
13123#endif
13124 }
13125 return pyobj;
13126}
13127
13128
c370783e 13129static PyObject *_wrap_new_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13130 PyObject *resultobj;
13131 wxColourData *result;
13132 char *kwnames[] = {
13133 NULL
13134 };
13135
13136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 result = (wxColourData *)new wxColourData();
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
13144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 1);
13145 return resultobj;
13146 fail:
13147 return NULL;
13148}
13149
13150
c370783e 13151static PyObject *_wrap_delete_ColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13152 PyObject *resultobj;
13153 wxColourData *arg1 = (wxColourData *) 0 ;
13154 PyObject * obj0 = 0 ;
13155 char *kwnames[] = {
13156 (char *) "self", NULL
13157 };
13158
13159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
36ed4f51
RD
13160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 delete arg1;
13165
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 Py_INCREF(Py_None); resultobj = Py_None;
13170 return resultobj;
13171 fail:
13172 return NULL;
13173}
13174
13175
c370783e 13176static PyObject *_wrap_ColourData_GetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13177 PyObject *resultobj;
13178 wxColourData *arg1 = (wxColourData *) 0 ;
13179 bool result;
13180 PyObject * obj0 = 0 ;
13181 char *kwnames[] = {
13182 (char *) "self", NULL
13183 };
13184
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
36ed4f51
RD
13186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13188 {
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 result = (bool)(arg1)->GetChooseFull();
13191
13192 wxPyEndAllowThreads(__tstate);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 }
13195 {
13196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13197 }
13198 return resultobj;
13199 fail:
13200 return NULL;
13201}
13202
13203
c370783e 13204static PyObject *_wrap_ColourData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13205 PyObject *resultobj;
13206 wxColourData *arg1 = (wxColourData *) 0 ;
13207 wxColour result;
13208 PyObject * obj0 = 0 ;
13209 char *kwnames[] = {
13210 (char *) "self", NULL
13211 };
13212
13213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
13214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13215 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 result = (arg1)->GetColour();
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 {
13224 wxColour * resultptr;
36ed4f51 13225 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
13226 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13227 }
13228 return resultobj;
13229 fail:
13230 return NULL;
13231}
13232
13233
c370783e 13234static PyObject *_wrap_ColourData_GetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13235 PyObject *resultobj;
13236 wxColourData *arg1 = (wxColourData *) 0 ;
13237 int arg2 ;
13238 wxColour result;
13239 PyObject * obj0 = 0 ;
13240 PyObject * obj1 = 0 ;
13241 char *kwnames[] = {
13242 (char *) "self",(char *) "i", NULL
13243 };
13244
13245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13247 if (SWIG_arg_fail(1)) SWIG_fail;
13248 {
13249 arg2 = (int)(SWIG_As_int(obj1));
13250 if (SWIG_arg_fail(2)) SWIG_fail;
13251 }
d55e5bfc
RD
13252 {
13253 PyThreadState* __tstate = wxPyBeginAllowThreads();
13254 result = (arg1)->GetCustomColour(arg2);
13255
13256 wxPyEndAllowThreads(__tstate);
13257 if (PyErr_Occurred()) SWIG_fail;
13258 }
13259 {
13260 wxColour * resultptr;
36ed4f51 13261 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
13262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
13263 }
13264 return resultobj;
13265 fail:
13266 return NULL;
13267}
13268
13269
c370783e 13270static PyObject *_wrap_ColourData_SetChooseFull(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13271 PyObject *resultobj;
13272 wxColourData *arg1 = (wxColourData *) 0 ;
13273 int arg2 ;
13274 PyObject * obj0 = 0 ;
13275 PyObject * obj1 = 0 ;
13276 char *kwnames[] = {
13277 (char *) "self",(char *) "flag", NULL
13278 };
13279
13280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13282 if (SWIG_arg_fail(1)) SWIG_fail;
13283 {
13284 arg2 = (int)(SWIG_As_int(obj1));
13285 if (SWIG_arg_fail(2)) SWIG_fail;
13286 }
d55e5bfc
RD
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
13289 (arg1)->SetChooseFull(arg2);
13290
13291 wxPyEndAllowThreads(__tstate);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
13294 Py_INCREF(Py_None); resultobj = Py_None;
13295 return resultobj;
13296 fail:
13297 return NULL;
13298}
13299
13300
c370783e 13301static PyObject *_wrap_ColourData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13302 PyObject *resultobj;
13303 wxColourData *arg1 = (wxColourData *) 0 ;
13304 wxColour *arg2 = 0 ;
13305 wxColour temp2 ;
13306 PyObject * obj0 = 0 ;
13307 PyObject * obj1 = 0 ;
13308 char *kwnames[] = {
13309 (char *) "self",(char *) "colour", NULL
13310 };
13311
13312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13314 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13315 {
13316 arg2 = &temp2;
13317 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
13318 }
13319 {
13320 PyThreadState* __tstate = wxPyBeginAllowThreads();
13321 (arg1)->SetColour((wxColour const &)*arg2);
13322
13323 wxPyEndAllowThreads(__tstate);
13324 if (PyErr_Occurred()) SWIG_fail;
13325 }
13326 Py_INCREF(Py_None); resultobj = Py_None;
13327 return resultobj;
13328 fail:
13329 return NULL;
13330}
13331
13332
c370783e 13333static PyObject *_wrap_ColourData_SetCustomColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13334 PyObject *resultobj;
13335 wxColourData *arg1 = (wxColourData *) 0 ;
13336 int arg2 ;
13337 wxColour *arg3 = 0 ;
13338 wxColour temp3 ;
13339 PyObject * obj0 = 0 ;
13340 PyObject * obj1 = 0 ;
13341 PyObject * obj2 = 0 ;
13342 char *kwnames[] = {
13343 (char *) "self",(char *) "i",(char *) "colour", NULL
13344 };
13345
13346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13348 if (SWIG_arg_fail(1)) SWIG_fail;
13349 {
13350 arg2 = (int)(SWIG_As_int(obj1));
13351 if (SWIG_arg_fail(2)) SWIG_fail;
13352 }
d55e5bfc
RD
13353 {
13354 arg3 = &temp3;
13355 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13356 }
13357 {
13358 PyThreadState* __tstate = wxPyBeginAllowThreads();
13359 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
13360
13361 wxPyEndAllowThreads(__tstate);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 Py_INCREF(Py_None); resultobj = Py_None;
13365 return resultobj;
13366 fail:
13367 return NULL;
13368}
13369
13370
c370783e 13371static PyObject * ColourData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13372 PyObject *obj;
13373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13374 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
13375 Py_INCREF(obj);
13376 return Py_BuildValue((char *)"");
13377}
c370783e 13378static PyObject *_wrap_new_ColourDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13379 PyObject *resultobj;
13380 wxWindow *arg1 = (wxWindow *) 0 ;
13381 wxColourData *arg2 = (wxColourData *) NULL ;
13382 wxColourDialog *result;
13383 PyObject * obj0 = 0 ;
13384 PyObject * obj1 = 0 ;
13385 char *kwnames[] = {
13386 (char *) "parent",(char *) "data", NULL
13387 };
13388
13389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 13392 if (obj1) {
36ed4f51
RD
13393 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxColourData, SWIG_POINTER_EXCEPTION | 0);
13394 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
13395 }
13396 {
0439c23b 13397 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13398 PyThreadState* __tstate = wxPyBeginAllowThreads();
13399 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
13400
13401 wxPyEndAllowThreads(__tstate);
110da5b0 13402 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13403 }
13404 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourDialog, 1);
13405 return resultobj;
13406 fail:
13407 return NULL;
13408}
13409
13410
c370783e 13411static PyObject *_wrap_ColourDialog_GetColourData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13412 PyObject *resultobj;
13413 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
13414 wxColourData *result;
13415 PyObject * obj0 = 0 ;
13416 char *kwnames[] = {
13417 (char *) "self", NULL
13418 };
13419
13420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
36ed4f51
RD
13421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxColourDialog, SWIG_POINTER_EXCEPTION | 0);
13422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13423 {
13424 PyThreadState* __tstate = wxPyBeginAllowThreads();
13425 {
13426 wxColourData &_result_ref = (arg1)->GetColourData();
13427 result = (wxColourData *) &_result_ref;
13428 }
13429
13430 wxPyEndAllowThreads(__tstate);
13431 if (PyErr_Occurred()) SWIG_fail;
13432 }
13433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColourData, 0);
13434 return resultobj;
13435 fail:
13436 return NULL;
13437}
13438
13439
c370783e 13440static PyObject * ColourDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13441 PyObject *obj;
13442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13443 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
13444 Py_INCREF(obj);
13445 return Py_BuildValue((char *)"");
13446}
c370783e 13447static PyObject *_wrap_new_DirDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13448 PyObject *resultobj;
13449 wxWindow *arg1 = (wxWindow *) 0 ;
13450 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
13451 wxString *arg2 = (wxString *) &arg2_defvalue ;
13452 wxString const &arg3_defvalue = wxPyEmptyString ;
13453 wxString *arg3 = (wxString *) &arg3_defvalue ;
13454 long arg4 = (long) 0 ;
13455 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13456 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13457 wxSize const &arg6_defvalue = wxDefaultSize ;
13458 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13459 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
13460 wxString *arg7 = (wxString *) &arg7_defvalue ;
13461 wxDirDialog *result;
b411df4a
RD
13462 bool temp2 = false ;
13463 bool temp3 = false ;
d55e5bfc
RD
13464 wxPoint temp5 ;
13465 wxSize temp6 ;
b411df4a 13466 bool temp7 = false ;
d55e5bfc
RD
13467 PyObject * obj0 = 0 ;
13468 PyObject * obj1 = 0 ;
13469 PyObject * obj2 = 0 ;
13470 PyObject * obj3 = 0 ;
13471 PyObject * obj4 = 0 ;
13472 PyObject * obj5 = 0 ;
13473 PyObject * obj6 = 0 ;
13474 char *kwnames[] = {
13475 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13476 };
13477
13478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
13479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13480 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13481 if (obj1) {
13482 {
13483 arg2 = wxString_in_helper(obj1);
13484 if (arg2 == NULL) SWIG_fail;
b411df4a 13485 temp2 = true;
d55e5bfc
RD
13486 }
13487 }
13488 if (obj2) {
13489 {
13490 arg3 = wxString_in_helper(obj2);
13491 if (arg3 == NULL) SWIG_fail;
b411df4a 13492 temp3 = true;
d55e5bfc
RD
13493 }
13494 }
13495 if (obj3) {
36ed4f51
RD
13496 {
13497 arg4 = (long)(SWIG_As_long(obj3));
13498 if (SWIG_arg_fail(4)) SWIG_fail;
13499 }
d55e5bfc
RD
13500 }
13501 if (obj4) {
13502 {
13503 arg5 = &temp5;
13504 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13505 }
13506 }
13507 if (obj5) {
13508 {
13509 arg6 = &temp6;
13510 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13511 }
13512 }
13513 if (obj6) {
13514 {
13515 arg7 = wxString_in_helper(obj6);
13516 if (arg7 == NULL) SWIG_fail;
b411df4a 13517 temp7 = true;
d55e5bfc
RD
13518 }
13519 }
13520 {
0439c23b 13521 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
13524
13525 wxPyEndAllowThreads(__tstate);
110da5b0 13526 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13527 }
13528 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirDialog, 1);
13529 {
13530 if (temp2)
13531 delete arg2;
13532 }
13533 {
13534 if (temp3)
13535 delete arg3;
13536 }
13537 {
13538 if (temp7)
13539 delete arg7;
13540 }
13541 return resultobj;
13542 fail:
13543 {
13544 if (temp2)
13545 delete arg2;
13546 }
13547 {
13548 if (temp3)
13549 delete arg3;
13550 }
13551 {
13552 if (temp7)
13553 delete arg7;
13554 }
13555 return NULL;
13556}
13557
13558
c370783e 13559static PyObject *_wrap_DirDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13560 PyObject *resultobj;
13561 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13562 wxString result;
13563 PyObject * obj0 = 0 ;
13564 char *kwnames[] = {
13565 (char *) "self", NULL
13566 };
13567
13568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
13569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13570 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13571 {
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 result = (arg1)->GetPath();
13574
13575 wxPyEndAllowThreads(__tstate);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 {
13579#if wxUSE_UNICODE
13580 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13581#else
13582 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13583#endif
13584 }
13585 return resultobj;
13586 fail:
13587 return NULL;
13588}
13589
13590
c370783e 13591static PyObject *_wrap_DirDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13592 PyObject *resultobj;
13593 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13594 wxString result;
13595 PyObject * obj0 = 0 ;
13596 char *kwnames[] = {
13597 (char *) "self", NULL
13598 };
13599
13600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
36ed4f51
RD
13601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13602 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13603 {
13604 PyThreadState* __tstate = wxPyBeginAllowThreads();
13605 result = (arg1)->GetMessage();
13606
13607 wxPyEndAllowThreads(__tstate);
13608 if (PyErr_Occurred()) SWIG_fail;
13609 }
13610 {
13611#if wxUSE_UNICODE
13612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13613#else
13614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13615#endif
13616 }
13617 return resultobj;
13618 fail:
13619 return NULL;
13620}
13621
13622
c370783e 13623static PyObject *_wrap_DirDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13624 PyObject *resultobj;
13625 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13626 long result;
13627 PyObject * obj0 = 0 ;
13628 char *kwnames[] = {
13629 (char *) "self", NULL
13630 };
13631
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
13633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13634 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13635 {
13636 PyThreadState* __tstate = wxPyBeginAllowThreads();
13637 result = (long)(arg1)->GetStyle();
13638
13639 wxPyEndAllowThreads(__tstate);
13640 if (PyErr_Occurred()) SWIG_fail;
13641 }
36ed4f51
RD
13642 {
13643 resultobj = SWIG_From_long((long)(result));
13644 }
d55e5bfc
RD
13645 return resultobj;
13646 fail:
13647 return NULL;
13648}
13649
13650
c370783e 13651static PyObject *_wrap_DirDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13652 PyObject *resultobj;
13653 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13654 wxString *arg2 = 0 ;
b411df4a 13655 bool temp2 = false ;
d55e5bfc
RD
13656 PyObject * obj0 = 0 ;
13657 PyObject * obj1 = 0 ;
13658 char *kwnames[] = {
13659 (char *) "self",(char *) "message", NULL
13660 };
13661
13662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13664 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13665 {
13666 arg2 = wxString_in_helper(obj1);
13667 if (arg2 == NULL) SWIG_fail;
b411df4a 13668 temp2 = true;
d55e5bfc
RD
13669 }
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 (arg1)->SetMessage((wxString const &)*arg2);
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
13677 Py_INCREF(Py_None); resultobj = Py_None;
13678 {
13679 if (temp2)
13680 delete arg2;
13681 }
13682 return resultobj;
13683 fail:
13684 {
13685 if (temp2)
13686 delete arg2;
13687 }
13688 return NULL;
13689}
13690
13691
c370783e 13692static PyObject *_wrap_DirDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13693 PyObject *resultobj;
13694 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
13695 wxString *arg2 = 0 ;
b411df4a 13696 bool temp2 = false ;
d55e5bfc
RD
13697 PyObject * obj0 = 0 ;
13698 PyObject * obj1 = 0 ;
13699 char *kwnames[] = {
13700 (char *) "self",(char *) "path", NULL
13701 };
13702
13703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirDialog, SWIG_POINTER_EXCEPTION | 0);
13705 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13706 {
13707 arg2 = wxString_in_helper(obj1);
13708 if (arg2 == NULL) SWIG_fail;
b411df4a 13709 temp2 = true;
d55e5bfc
RD
13710 }
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 (arg1)->SetPath((wxString const &)*arg2);
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 Py_INCREF(Py_None); resultobj = Py_None;
13719 {
13720 if (temp2)
13721 delete arg2;
13722 }
13723 return resultobj;
13724 fail:
13725 {
13726 if (temp2)
13727 delete arg2;
13728 }
13729 return NULL;
13730}
13731
13732
c370783e 13733static PyObject * DirDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13734 PyObject *obj;
13735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13736 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
13737 Py_INCREF(obj);
13738 return Py_BuildValue((char *)"");
13739}
c370783e 13740static PyObject *_wrap_new_FileDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13741 PyObject *resultobj;
13742 wxWindow *arg1 = (wxWindow *) 0 ;
13743 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
13744 wxString *arg2 = (wxString *) &arg2_defvalue ;
13745 wxString const &arg3_defvalue = wxPyEmptyString ;
13746 wxString *arg3 = (wxString *) &arg3_defvalue ;
13747 wxString const &arg4_defvalue = wxPyEmptyString ;
13748 wxString *arg4 = (wxString *) &arg4_defvalue ;
13749 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
13750 wxString *arg5 = (wxString *) &arg5_defvalue ;
13751 long arg6 = (long) 0 ;
13752 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13753 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13754 wxFileDialog *result;
b411df4a
RD
13755 bool temp2 = false ;
13756 bool temp3 = false ;
13757 bool temp4 = false ;
13758 bool temp5 = false ;
d55e5bfc
RD
13759 wxPoint temp7 ;
13760 PyObject * obj0 = 0 ;
13761 PyObject * obj1 = 0 ;
13762 PyObject * obj2 = 0 ;
13763 PyObject * obj3 = 0 ;
13764 PyObject * obj4 = 0 ;
13765 PyObject * obj5 = 0 ;
13766 PyObject * obj6 = 0 ;
13767 char *kwnames[] = {
13768 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13769 };
13770
13771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
13772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13773 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13774 if (obj1) {
13775 {
13776 arg2 = wxString_in_helper(obj1);
13777 if (arg2 == NULL) SWIG_fail;
b411df4a 13778 temp2 = true;
d55e5bfc
RD
13779 }
13780 }
13781 if (obj2) {
13782 {
13783 arg3 = wxString_in_helper(obj2);
13784 if (arg3 == NULL) SWIG_fail;
b411df4a 13785 temp3 = true;
d55e5bfc
RD
13786 }
13787 }
13788 if (obj3) {
13789 {
13790 arg4 = wxString_in_helper(obj3);
13791 if (arg4 == NULL) SWIG_fail;
b411df4a 13792 temp4 = true;
d55e5bfc
RD
13793 }
13794 }
13795 if (obj4) {
13796 {
13797 arg5 = wxString_in_helper(obj4);
13798 if (arg5 == NULL) SWIG_fail;
b411df4a 13799 temp5 = true;
d55e5bfc
RD
13800 }
13801 }
13802 if (obj5) {
36ed4f51
RD
13803 {
13804 arg6 = (long)(SWIG_As_long(obj5));
13805 if (SWIG_arg_fail(6)) SWIG_fail;
13806 }
d55e5bfc
RD
13807 }
13808 if (obj6) {
13809 {
13810 arg7 = &temp7;
13811 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13812 }
13813 }
13814 {
0439c23b 13815 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13816 PyThreadState* __tstate = wxPyBeginAllowThreads();
13817 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
13818
13819 wxPyEndAllowThreads(__tstate);
110da5b0 13820 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13821 }
13822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDialog, 1);
13823 {
13824 if (temp2)
13825 delete arg2;
13826 }
13827 {
13828 if (temp3)
13829 delete arg3;
13830 }
13831 {
13832 if (temp4)
13833 delete arg4;
13834 }
13835 {
13836 if (temp5)
13837 delete arg5;
13838 }
13839 return resultobj;
13840 fail:
13841 {
13842 if (temp2)
13843 delete arg2;
13844 }
13845 {
13846 if (temp3)
13847 delete arg3;
13848 }
13849 {
13850 if (temp4)
13851 delete arg4;
13852 }
13853 {
13854 if (temp5)
13855 delete arg5;
13856 }
13857 return NULL;
13858}
13859
13860
c370783e 13861static PyObject *_wrap_FileDialog_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13862 PyObject *resultobj;
13863 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13864 wxString *arg2 = 0 ;
b411df4a 13865 bool temp2 = false ;
d55e5bfc
RD
13866 PyObject * obj0 = 0 ;
13867 PyObject * obj1 = 0 ;
13868 char *kwnames[] = {
13869 (char *) "self",(char *) "message", NULL
13870 };
13871
13872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13874 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13875 {
13876 arg2 = wxString_in_helper(obj1);
13877 if (arg2 == NULL) SWIG_fail;
b411df4a 13878 temp2 = true;
d55e5bfc
RD
13879 }
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 (arg1)->SetMessage((wxString const &)*arg2);
13883
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
13887 Py_INCREF(Py_None); resultobj = Py_None;
13888 {
13889 if (temp2)
13890 delete arg2;
13891 }
13892 return resultobj;
13893 fail:
13894 {
13895 if (temp2)
13896 delete arg2;
13897 }
13898 return NULL;
13899}
13900
13901
c370783e 13902static PyObject *_wrap_FileDialog_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13903 PyObject *resultobj;
13904 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13905 wxString *arg2 = 0 ;
b411df4a 13906 bool temp2 = false ;
d55e5bfc
RD
13907 PyObject * obj0 = 0 ;
13908 PyObject * obj1 = 0 ;
13909 char *kwnames[] = {
13910 (char *) "self",(char *) "path", NULL
13911 };
13912
13913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13915 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13916 {
13917 arg2 = wxString_in_helper(obj1);
13918 if (arg2 == NULL) SWIG_fail;
b411df4a 13919 temp2 = true;
d55e5bfc
RD
13920 }
13921 {
13922 PyThreadState* __tstate = wxPyBeginAllowThreads();
13923 (arg1)->SetPath((wxString const &)*arg2);
13924
13925 wxPyEndAllowThreads(__tstate);
13926 if (PyErr_Occurred()) SWIG_fail;
13927 }
13928 Py_INCREF(Py_None); resultobj = Py_None;
13929 {
13930 if (temp2)
13931 delete arg2;
13932 }
13933 return resultobj;
13934 fail:
13935 {
13936 if (temp2)
13937 delete arg2;
13938 }
13939 return NULL;
13940}
13941
13942
c370783e 13943static PyObject *_wrap_FileDialog_SetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13944 PyObject *resultobj;
13945 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13946 wxString *arg2 = 0 ;
b411df4a 13947 bool temp2 = false ;
d55e5bfc
RD
13948 PyObject * obj0 = 0 ;
13949 PyObject * obj1 = 0 ;
13950 char *kwnames[] = {
13951 (char *) "self",(char *) "dir", NULL
13952 };
13953
13954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13956 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13957 {
13958 arg2 = wxString_in_helper(obj1);
13959 if (arg2 == NULL) SWIG_fail;
b411df4a 13960 temp2 = true;
d55e5bfc
RD
13961 }
13962 {
13963 PyThreadState* __tstate = wxPyBeginAllowThreads();
13964 (arg1)->SetDirectory((wxString const &)*arg2);
13965
13966 wxPyEndAllowThreads(__tstate);
13967 if (PyErr_Occurred()) SWIG_fail;
13968 }
13969 Py_INCREF(Py_None); resultobj = Py_None;
13970 {
13971 if (temp2)
13972 delete arg2;
13973 }
13974 return resultobj;
13975 fail:
13976 {
13977 if (temp2)
13978 delete arg2;
13979 }
13980 return NULL;
13981}
13982
13983
c370783e 13984static PyObject *_wrap_FileDialog_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13985 PyObject *resultobj;
13986 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
13987 wxString *arg2 = 0 ;
b411df4a 13988 bool temp2 = false ;
d55e5bfc
RD
13989 PyObject * obj0 = 0 ;
13990 PyObject * obj1 = 0 ;
13991 char *kwnames[] = {
13992 (char *) "self",(char *) "name", NULL
13993 };
13994
13995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
13997 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13998 {
13999 arg2 = wxString_in_helper(obj1);
14000 if (arg2 == NULL) SWIG_fail;
b411df4a 14001 temp2 = true;
d55e5bfc
RD
14002 }
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 (arg1)->SetFilename((wxString const &)*arg2);
14006
14007 wxPyEndAllowThreads(__tstate);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 Py_INCREF(Py_None); resultobj = Py_None;
14011 {
14012 if (temp2)
14013 delete arg2;
14014 }
14015 return resultobj;
14016 fail:
14017 {
14018 if (temp2)
14019 delete arg2;
14020 }
14021 return NULL;
14022}
14023
14024
c370783e 14025static PyObject *_wrap_FileDialog_SetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14026 PyObject *resultobj;
14027 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14028 wxString *arg2 = 0 ;
b411df4a 14029 bool temp2 = false ;
d55e5bfc
RD
14030 PyObject * obj0 = 0 ;
14031 PyObject * obj1 = 0 ;
14032 char *kwnames[] = {
14033 (char *) "self",(char *) "wildCard", NULL
14034 };
14035
14036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14038 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14039 {
14040 arg2 = wxString_in_helper(obj1);
14041 if (arg2 == NULL) SWIG_fail;
b411df4a 14042 temp2 = true;
d55e5bfc
RD
14043 }
14044 {
14045 PyThreadState* __tstate = wxPyBeginAllowThreads();
14046 (arg1)->SetWildcard((wxString const &)*arg2);
14047
14048 wxPyEndAllowThreads(__tstate);
14049 if (PyErr_Occurred()) SWIG_fail;
14050 }
14051 Py_INCREF(Py_None); resultobj = Py_None;
14052 {
14053 if (temp2)
14054 delete arg2;
14055 }
14056 return resultobj;
14057 fail:
14058 {
14059 if (temp2)
14060 delete arg2;
14061 }
14062 return NULL;
14063}
14064
14065
c370783e 14066static PyObject *_wrap_FileDialog_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14067 PyObject *resultobj;
14068 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14069 long arg2 ;
14070 PyObject * obj0 = 0 ;
14071 PyObject * obj1 = 0 ;
14072 char *kwnames[] = {
14073 (char *) "self",(char *) "style", NULL
14074 };
14075
14076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14078 if (SWIG_arg_fail(1)) SWIG_fail;
14079 {
14080 arg2 = (long)(SWIG_As_long(obj1));
14081 if (SWIG_arg_fail(2)) SWIG_fail;
14082 }
d55e5bfc
RD
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 (arg1)->SetStyle(arg2);
14086
14087 wxPyEndAllowThreads(__tstate);
14088 if (PyErr_Occurred()) SWIG_fail;
14089 }
14090 Py_INCREF(Py_None); resultobj = Py_None;
14091 return resultobj;
14092 fail:
14093 return NULL;
14094}
14095
14096
c370783e 14097static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14098 PyObject *resultobj;
14099 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14100 int arg2 ;
14101 PyObject * obj0 = 0 ;
14102 PyObject * obj1 = 0 ;
14103 char *kwnames[] = {
14104 (char *) "self",(char *) "filterIndex", NULL
14105 };
14106
14107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14109 if (SWIG_arg_fail(1)) SWIG_fail;
14110 {
14111 arg2 = (int)(SWIG_As_int(obj1));
14112 if (SWIG_arg_fail(2)) SWIG_fail;
14113 }
d55e5bfc
RD
14114 {
14115 PyThreadState* __tstate = wxPyBeginAllowThreads();
14116 (arg1)->SetFilterIndex(arg2);
14117
14118 wxPyEndAllowThreads(__tstate);
14119 if (PyErr_Occurred()) SWIG_fail;
14120 }
14121 Py_INCREF(Py_None); resultobj = Py_None;
14122 return resultobj;
14123 fail:
14124 return NULL;
14125}
14126
14127
c370783e 14128static PyObject *_wrap_FileDialog_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14129 PyObject *resultobj;
14130 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14131 wxString result;
14132 PyObject * obj0 = 0 ;
14133 char *kwnames[] = {
14134 (char *) "self", NULL
14135 };
14136
14137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
36ed4f51
RD
14138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14139 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14140 {
14141 PyThreadState* __tstate = wxPyBeginAllowThreads();
14142 result = ((wxFileDialog const *)arg1)->GetMessage();
14143
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 {
14148#if wxUSE_UNICODE
14149 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14150#else
14151 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14152#endif
14153 }
14154 return resultobj;
14155 fail:
14156 return NULL;
14157}
14158
14159
c370783e 14160static PyObject *_wrap_FileDialog_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14161 PyObject *resultobj;
14162 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14163 wxString result;
14164 PyObject * obj0 = 0 ;
14165 char *kwnames[] = {
14166 (char *) "self", NULL
14167 };
14168
14169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
14170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14171 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14172 {
14173 PyThreadState* __tstate = wxPyBeginAllowThreads();
14174 result = ((wxFileDialog const *)arg1)->GetPath();
14175
14176 wxPyEndAllowThreads(__tstate);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 }
14179 {
14180#if wxUSE_UNICODE
14181 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14182#else
14183 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14184#endif
14185 }
14186 return resultobj;
14187 fail:
14188 return NULL;
14189}
14190
14191
c370783e 14192static PyObject *_wrap_FileDialog_GetDirectory(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14193 PyObject *resultobj;
14194 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14195 wxString result;
14196 PyObject * obj0 = 0 ;
14197 char *kwnames[] = {
14198 (char *) "self", NULL
14199 };
14200
14201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
36ed4f51
RD
14202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14203 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 result = ((wxFileDialog const *)arg1)->GetDirectory();
14207
14208 wxPyEndAllowThreads(__tstate);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 {
14212#if wxUSE_UNICODE
14213 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14214#else
14215 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14216#endif
14217 }
14218 return resultobj;
14219 fail:
14220 return NULL;
14221}
14222
14223
c370783e 14224static PyObject *_wrap_FileDialog_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14225 PyObject *resultobj;
14226 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14227 wxString result;
14228 PyObject * obj0 = 0 ;
14229 char *kwnames[] = {
14230 (char *) "self", NULL
14231 };
14232
14233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
36ed4f51
RD
14234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14235 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 result = ((wxFileDialog const *)arg1)->GetFilename();
14239
14240 wxPyEndAllowThreads(__tstate);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 {
14244#if wxUSE_UNICODE
14245 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14246#else
14247 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14248#endif
14249 }
14250 return resultobj;
14251 fail:
14252 return NULL;
14253}
14254
14255
c370783e 14256static PyObject *_wrap_FileDialog_GetWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14257 PyObject *resultobj;
14258 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14259 wxString result;
14260 PyObject * obj0 = 0 ;
14261 char *kwnames[] = {
14262 (char *) "self", NULL
14263 };
14264
14265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
36ed4f51
RD
14266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14267 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14268 {
14269 PyThreadState* __tstate = wxPyBeginAllowThreads();
14270 result = ((wxFileDialog const *)arg1)->GetWildcard();
14271
14272 wxPyEndAllowThreads(__tstate);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 {
14276#if wxUSE_UNICODE
14277 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14278#else
14279 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14280#endif
14281 }
14282 return resultobj;
14283 fail:
14284 return NULL;
14285}
14286
14287
c370783e 14288static PyObject *_wrap_FileDialog_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14289 PyObject *resultobj;
14290 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14291 long result;
14292 PyObject * obj0 = 0 ;
14293 char *kwnames[] = {
14294 (char *) "self", NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
14298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14299 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 result = (long)((wxFileDialog const *)arg1)->GetStyle();
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
36ed4f51
RD
14307 {
14308 resultobj = SWIG_From_long((long)(result));
14309 }
d55e5bfc
RD
14310 return resultobj;
14311 fail:
14312 return NULL;
14313}
14314
14315
c370783e 14316static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14317 PyObject *resultobj;
14318 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14319 int result;
14320 PyObject * obj0 = 0 ;
14321 char *kwnames[] = {
14322 (char *) "self", NULL
14323 };
14324
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
14326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14327 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
36ed4f51
RD
14335 {
14336 resultobj = SWIG_From_int((int)(result));
14337 }
d55e5bfc
RD
14338 return resultobj;
14339 fail:
14340 return NULL;
14341}
14342
14343
c370783e 14344static PyObject *_wrap_FileDialog_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14345 PyObject *resultobj;
14346 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14347 PyObject *result;
14348 PyObject * obj0 = 0 ;
14349 char *kwnames[] = {
14350 (char *) "self", NULL
14351 };
14352
14353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
36ed4f51
RD
14354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14355 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14356 {
14357 PyThreadState* __tstate = wxPyBeginAllowThreads();
14358 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
14359
14360 wxPyEndAllowThreads(__tstate);
14361 if (PyErr_Occurred()) SWIG_fail;
14362 }
14363 resultobj = result;
14364 return resultobj;
14365 fail:
14366 return NULL;
14367}
14368
14369
c370783e 14370static PyObject *_wrap_FileDialog_GetPaths(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14371 PyObject *resultobj;
14372 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
14373 PyObject *result;
14374 PyObject * obj0 = 0 ;
14375 char *kwnames[] = {
14376 (char *) "self", NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
36ed4f51
RD
14380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDialog, SWIG_POINTER_EXCEPTION | 0);
14381 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14382 {
14383 PyThreadState* __tstate = wxPyBeginAllowThreads();
14384 result = (PyObject *)wxFileDialog_GetPaths(arg1);
14385
14386 wxPyEndAllowThreads(__tstate);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 resultobj = result;
14390 return resultobj;
14391 fail:
14392 return NULL;
14393}
14394
14395
c370783e 14396static PyObject * FileDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14397 PyObject *obj;
14398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14399 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
14400 Py_INCREF(obj);
14401 return Py_BuildValue((char *)"");
14402}
c370783e 14403static PyObject *_wrap_new_MultiChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14404 PyObject *resultobj;
14405 wxWindow *arg1 = (wxWindow *) 0 ;
14406 wxString *arg2 = 0 ;
14407 wxString *arg3 = 0 ;
14408 int arg4 = (int) 0 ;
bfddbb17 14409 wxString *arg5 = (wxString *) NULL ;
d55e5bfc
RD
14410 long arg6 = (long) wxCHOICEDLG_STYLE ;
14411 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14412 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14413 wxMultiChoiceDialog *result;
b411df4a
RD
14414 bool temp2 = false ;
14415 bool temp3 = false ;
36ed4f51 14416 wxPoint temp7 ;
d55e5bfc
RD
14417 PyObject * obj0 = 0 ;
14418 PyObject * obj1 = 0 ;
14419 PyObject * obj2 = 0 ;
14420 PyObject * obj3 = 0 ;
14421 PyObject * obj4 = 0 ;
14422 PyObject * obj5 = 0 ;
14423 char *kwnames[] = {
14424 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14425 };
14426
14427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
14428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14429 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14430 {
14431 arg2 = wxString_in_helper(obj1);
14432 if (arg2 == NULL) SWIG_fail;
b411df4a 14433 temp2 = true;
d55e5bfc
RD
14434 }
14435 {
14436 arg3 = wxString_in_helper(obj2);
14437 if (arg3 == NULL) SWIG_fail;
b411df4a 14438 temp3 = true;
d55e5bfc
RD
14439 }
14440 if (obj3) {
14441 {
14442 arg4 = PyList_Size(obj3);
14443 arg5 = wxString_LIST_helper(obj3);
14444 if (arg5 == NULL) SWIG_fail;
14445 }
14446 }
14447 if (obj4) {
36ed4f51
RD
14448 {
14449 arg6 = (long)(SWIG_As_long(obj4));
14450 if (SWIG_arg_fail(6)) SWIG_fail;
14451 }
d55e5bfc
RD
14452 }
14453 if (obj5) {
14454 {
36ed4f51 14455 arg7 = &temp7;
d55e5bfc
RD
14456 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14457 }
14458 }
14459 {
0439c23b 14460 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14463
14464 wxPyEndAllowThreads(__tstate);
110da5b0 14465 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14466 }
14467 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMultiChoiceDialog, 1);
14468 {
14469 if (temp2)
14470 delete arg2;
14471 }
14472 {
14473 if (temp3)
14474 delete arg3;
14475 }
14476 {
14477 if (arg5) delete [] arg5;
14478 }
14479 return resultobj;
14480 fail:
14481 {
14482 if (temp2)
14483 delete arg2;
14484 }
14485 {
14486 if (temp3)
14487 delete arg3;
14488 }
14489 {
14490 if (arg5) delete [] arg5;
14491 }
14492 return NULL;
14493}
14494
14495
c370783e 14496static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14497 PyObject *resultobj;
14498 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14499 wxArrayInt *arg2 = 0 ;
b411df4a 14500 bool temp2 = false ;
d55e5bfc
RD
14501 PyObject * obj0 = 0 ;
14502 PyObject * obj1 = 0 ;
14503 char *kwnames[] = {
14504 (char *) "self",(char *) "selections", NULL
14505 };
14506
14507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14509 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14510 {
14511 if (! PySequence_Check(obj1)) {
14512 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
14513 SWIG_fail;
14514 }
14515 arg2 = new wxArrayInt;
b411df4a 14516 temp2 = true;
d55e5bfc
RD
14517 int i, len=PySequence_Length(obj1);
14518 for (i=0; i<len; i++) {
14519 PyObject* item = PySequence_GetItem(obj1, i);
14520 PyObject* number = PyNumber_Int(item);
14521 arg2->Add(PyInt_AS_LONG(number));
14522 Py_DECREF(item);
14523 Py_DECREF(number);
14524 }
14525 }
14526 {
14527 PyThreadState* __tstate = wxPyBeginAllowThreads();
14528 (arg1)->SetSelections((wxArrayInt const &)*arg2);
14529
14530 wxPyEndAllowThreads(__tstate);
14531 if (PyErr_Occurred()) SWIG_fail;
14532 }
14533 Py_INCREF(Py_None); resultobj = Py_None;
14534 {
14535 if (temp2) delete arg2;
14536 }
14537 return resultobj;
14538 fail:
14539 {
14540 if (temp2) delete arg2;
14541 }
14542 return NULL;
14543}
14544
14545
c370783e 14546static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14547 PyObject *resultobj;
14548 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
14549 PyObject *result;
14550 PyObject * obj0 = 0 ;
14551 char *kwnames[] = {
14552 (char *) "self", NULL
14553 };
14554
14555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
14556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14558 {
14559 PyThreadState* __tstate = wxPyBeginAllowThreads();
14560 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
14561
14562 wxPyEndAllowThreads(__tstate);
14563 if (PyErr_Occurred()) SWIG_fail;
14564 }
14565 resultobj = result;
14566 return resultobj;
14567 fail:
14568 return NULL;
14569}
14570
14571
c370783e 14572static PyObject * MultiChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14573 PyObject *obj;
14574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14575 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
14576 Py_INCREF(obj);
14577 return Py_BuildValue((char *)"");
14578}
c370783e 14579static PyObject *_wrap_new_SingleChoiceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14580 PyObject *resultobj;
14581 wxWindow *arg1 = (wxWindow *) 0 ;
14582 wxString *arg2 = 0 ;
14583 wxString *arg3 = 0 ;
14584 int arg4 ;
14585 wxString *arg5 = (wxString *) 0 ;
14586 long arg6 = (long) wxCHOICEDLG_STYLE ;
14587 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14588 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14589 wxSingleChoiceDialog *result;
b411df4a
RD
14590 bool temp2 = false ;
14591 bool temp3 = false ;
36ed4f51 14592 wxPoint temp7 ;
d55e5bfc
RD
14593 PyObject * obj0 = 0 ;
14594 PyObject * obj1 = 0 ;
14595 PyObject * obj2 = 0 ;
14596 PyObject * obj3 = 0 ;
14597 PyObject * obj4 = 0 ;
14598 PyObject * obj5 = 0 ;
14599 char *kwnames[] = {
14600 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14601 };
14602
14603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
14604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14605 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14606 {
14607 arg2 = wxString_in_helper(obj1);
14608 if (arg2 == NULL) SWIG_fail;
b411df4a 14609 temp2 = true;
d55e5bfc
RD
14610 }
14611 {
14612 arg3 = wxString_in_helper(obj2);
14613 if (arg3 == NULL) SWIG_fail;
b411df4a 14614 temp3 = true;
d55e5bfc
RD
14615 }
14616 {
14617 arg4 = PyList_Size(obj3);
14618 arg5 = wxString_LIST_helper(obj3);
14619 if (arg5 == NULL) SWIG_fail;
14620 }
14621 if (obj4) {
36ed4f51
RD
14622 {
14623 arg6 = (long)(SWIG_As_long(obj4));
14624 if (SWIG_arg_fail(6)) SWIG_fail;
14625 }
d55e5bfc
RD
14626 }
14627 if (obj5) {
14628 {
36ed4f51 14629 arg7 = &temp7;
d55e5bfc
RD
14630 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
14631 }
14632 }
14633 {
0439c23b 14634 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14635 PyThreadState* __tstate = wxPyBeginAllowThreads();
14636 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
14637
14638 wxPyEndAllowThreads(__tstate);
110da5b0 14639 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14640 }
14641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleChoiceDialog, 1);
14642 {
14643 if (temp2)
14644 delete arg2;
14645 }
14646 {
14647 if (temp3)
14648 delete arg3;
14649 }
14650 {
14651 if (arg5) delete [] arg5;
14652 }
14653 return resultobj;
14654 fail:
14655 {
14656 if (temp2)
14657 delete arg2;
14658 }
14659 {
14660 if (temp3)
14661 delete arg3;
14662 }
14663 {
14664 if (arg5) delete [] arg5;
14665 }
14666 return NULL;
14667}
14668
14669
c370783e 14670static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14671 PyObject *resultobj;
14672 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14673 int result;
14674 PyObject * obj0 = 0 ;
14675 char *kwnames[] = {
14676 (char *) "self", NULL
14677 };
14678
14679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
14680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14681 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = (int)(arg1)->GetSelection();
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
36ed4f51
RD
14689 {
14690 resultobj = SWIG_From_int((int)(result));
14691 }
d55e5bfc
RD
14692 return resultobj;
14693 fail:
14694 return NULL;
14695}
14696
14697
c370783e 14698static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14699 PyObject *resultobj;
14700 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14701 wxString result;
14702 PyObject * obj0 = 0 ;
14703 char *kwnames[] = {
14704 (char *) "self", NULL
14705 };
14706
14707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
14708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14709 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14710 {
14711 PyThreadState* __tstate = wxPyBeginAllowThreads();
14712 result = (arg1)->GetStringSelection();
14713
14714 wxPyEndAllowThreads(__tstate);
14715 if (PyErr_Occurred()) SWIG_fail;
14716 }
14717 {
14718#if wxUSE_UNICODE
14719 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14720#else
14721 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14722#endif
14723 }
14724 return resultobj;
14725 fail:
14726 return NULL;
14727}
14728
14729
c370783e 14730static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14731 PyObject *resultobj;
14732 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
14733 int arg2 ;
14734 PyObject * obj0 = 0 ;
14735 PyObject * obj1 = 0 ;
14736 char *kwnames[] = {
14737 (char *) "self",(char *) "sel", NULL
14738 };
14739
14740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_EXCEPTION | 0);
14742 if (SWIG_arg_fail(1)) SWIG_fail;
14743 {
14744 arg2 = (int)(SWIG_As_int(obj1));
14745 if (SWIG_arg_fail(2)) SWIG_fail;
14746 }
d55e5bfc
RD
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 (arg1)->SetSelection(arg2);
14750
14751 wxPyEndAllowThreads(__tstate);
14752 if (PyErr_Occurred()) SWIG_fail;
14753 }
14754 Py_INCREF(Py_None); resultobj = Py_None;
14755 return resultobj;
14756 fail:
14757 return NULL;
14758}
14759
14760
c370783e 14761static PyObject * SingleChoiceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14762 PyObject *obj;
14763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14764 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
14765 Py_INCREF(obj);
14766 return Py_BuildValue((char *)"");
14767}
c370783e 14768static PyObject *_wrap_new_TextEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14769 PyObject *resultobj;
14770 wxWindow *arg1 = (wxWindow *) 0 ;
14771 wxString *arg2 = 0 ;
14772 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
14773 wxString *arg3 = (wxString *) &arg3_defvalue ;
14774 wxString const &arg4_defvalue = wxPyEmptyString ;
14775 wxString *arg4 = (wxString *) &arg4_defvalue ;
070c48b4 14776 long arg5 = (long) wxTextEntryDialogStyle ;
d55e5bfc
RD
14777 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14778 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14779 wxTextEntryDialog *result;
b411df4a
RD
14780 bool temp2 = false ;
14781 bool temp3 = false ;
14782 bool temp4 = false ;
d55e5bfc
RD
14783 wxPoint temp6 ;
14784 PyObject * obj0 = 0 ;
14785 PyObject * obj1 = 0 ;
14786 PyObject * obj2 = 0 ;
14787 PyObject * obj3 = 0 ;
14788 PyObject * obj4 = 0 ;
14789 PyObject * obj5 = 0 ;
14790 char *kwnames[] = {
14791 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14792 };
14793
14794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
14795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14796 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14797 {
14798 arg2 = wxString_in_helper(obj1);
14799 if (arg2 == NULL) SWIG_fail;
b411df4a 14800 temp2 = true;
d55e5bfc
RD
14801 }
14802 if (obj2) {
14803 {
14804 arg3 = wxString_in_helper(obj2);
14805 if (arg3 == NULL) SWIG_fail;
b411df4a 14806 temp3 = true;
d55e5bfc
RD
14807 }
14808 }
14809 if (obj3) {
14810 {
14811 arg4 = wxString_in_helper(obj3);
14812 if (arg4 == NULL) SWIG_fail;
b411df4a 14813 temp4 = true;
d55e5bfc
RD
14814 }
14815 }
14816 if (obj4) {
36ed4f51
RD
14817 {
14818 arg5 = (long)(SWIG_As_long(obj4));
14819 if (SWIG_arg_fail(5)) SWIG_fail;
14820 }
d55e5bfc
RD
14821 }
14822 if (obj5) {
14823 {
14824 arg6 = &temp6;
14825 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14826 }
14827 }
14828 {
0439c23b 14829 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
14832
14833 wxPyEndAllowThreads(__tstate);
110da5b0 14834 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14835 }
14836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextEntryDialog, 1);
14837 {
14838 if (temp2)
14839 delete arg2;
14840 }
14841 {
14842 if (temp3)
14843 delete arg3;
14844 }
14845 {
14846 if (temp4)
14847 delete arg4;
14848 }
14849 return resultobj;
14850 fail:
14851 {
14852 if (temp2)
14853 delete arg2;
14854 }
14855 {
14856 if (temp3)
14857 delete arg3;
14858 }
14859 {
14860 if (temp4)
14861 delete arg4;
14862 }
14863 return NULL;
14864}
14865
14866
c370783e 14867static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14868 PyObject *resultobj;
14869 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
14870 wxString result;
14871 PyObject * obj0 = 0 ;
14872 char *kwnames[] = {
14873 (char *) "self", NULL
14874 };
14875
14876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
14877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
14878 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14879 {
14880 PyThreadState* __tstate = wxPyBeginAllowThreads();
14881 result = (arg1)->GetValue();
14882
14883 wxPyEndAllowThreads(__tstate);
14884 if (PyErr_Occurred()) SWIG_fail;
14885 }
14886 {
14887#if wxUSE_UNICODE
14888 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14889#else
14890 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14891#endif
14892 }
14893 return resultobj;
14894 fail:
14895 return NULL;
14896}
14897
14898
c370783e 14899static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14900 PyObject *resultobj;
14901 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
14902 wxString *arg2 = 0 ;
b411df4a 14903 bool temp2 = false ;
d55e5bfc
RD
14904 PyObject * obj0 = 0 ;
14905 PyObject * obj1 = 0 ;
14906 char *kwnames[] = {
14907 (char *) "self",(char *) "value", NULL
14908 };
14909
14910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_EXCEPTION | 0);
14912 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14913 {
14914 arg2 = wxString_in_helper(obj1);
14915 if (arg2 == NULL) SWIG_fail;
b411df4a 14916 temp2 = true;
d55e5bfc
RD
14917 }
14918 {
14919 PyThreadState* __tstate = wxPyBeginAllowThreads();
14920 (arg1)->SetValue((wxString const &)*arg2);
14921
14922 wxPyEndAllowThreads(__tstate);
14923 if (PyErr_Occurred()) SWIG_fail;
14924 }
14925 Py_INCREF(Py_None); resultobj = Py_None;
14926 {
14927 if (temp2)
14928 delete arg2;
14929 }
14930 return resultobj;
14931 fail:
14932 {
14933 if (temp2)
14934 delete arg2;
14935 }
14936 return NULL;
14937}
14938
14939
c370783e 14940static PyObject * TextEntryDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14941 PyObject *obj;
14942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14943 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
14944 Py_INCREF(obj);
14945 return Py_BuildValue((char *)"");
14946}
070c48b4
RD
14947static int _wrap_GetPasswordFromUserPromptStr_set(PyObject *) {
14948 PyErr_SetString(PyExc_TypeError,"Variable GetPasswordFromUserPromptStr is read-only.");
14949 return 1;
14950}
14951
14952
36ed4f51 14953static PyObject *_wrap_GetPasswordFromUserPromptStr_get(void) {
070c48b4
RD
14954 PyObject *pyobj;
14955
14956 {
14957#if wxUSE_UNICODE
14958 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
14959#else
14960 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
14961#endif
14962 }
14963 return pyobj;
14964}
14965
14966
14967static PyObject *_wrap_new_PasswordEntryDialog(PyObject *, PyObject *args, PyObject *kwargs) {
14968 PyObject *resultobj;
14969 wxWindow *arg1 = (wxWindow *) 0 ;
14970 wxString *arg2 = 0 ;
14971 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
14972 wxString *arg3 = (wxString *) &arg3_defvalue ;
14973 wxString const &arg4_defvalue = wxPyEmptyString ;
14974 wxString *arg4 = (wxString *) &arg4_defvalue ;
14975 long arg5 = (long) wxTextEntryDialogStyle ;
14976 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14977 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14978 wxPasswordEntryDialog *result;
14979 bool temp2 = false ;
14980 bool temp3 = false ;
14981 bool temp4 = false ;
14982 wxPoint temp6 ;
14983 PyObject * obj0 = 0 ;
14984 PyObject * obj1 = 0 ;
14985 PyObject * obj2 = 0 ;
14986 PyObject * obj3 = 0 ;
14987 PyObject * obj4 = 0 ;
14988 PyObject * obj5 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
14994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14995 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
14996 {
14997 arg2 = wxString_in_helper(obj1);
14998 if (arg2 == NULL) SWIG_fail;
14999 temp2 = true;
15000 }
15001 if (obj2) {
15002 {
15003 arg3 = wxString_in_helper(obj2);
15004 if (arg3 == NULL) SWIG_fail;
15005 temp3 = true;
15006 }
15007 }
15008 if (obj3) {
15009 {
15010 arg4 = wxString_in_helper(obj3);
15011 if (arg4 == NULL) SWIG_fail;
15012 temp4 = true;
15013 }
15014 }
15015 if (obj4) {
36ed4f51
RD
15016 {
15017 arg5 = (long)(SWIG_As_long(obj4));
15018 if (SWIG_arg_fail(5)) SWIG_fail;
15019 }
070c48b4
RD
15020 }
15021 if (obj5) {
15022 {
15023 arg6 = &temp6;
15024 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
15025 }
15026 }
15027 {
15028 PyThreadState* __tstate = wxPyBeginAllowThreads();
15029 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
15030
15031 wxPyEndAllowThreads(__tstate);
15032 if (PyErr_Occurred()) SWIG_fail;
15033 }
15034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPasswordEntryDialog, 1);
15035 {
15036 if (temp2)
15037 delete arg2;
15038 }
15039 {
15040 if (temp3)
15041 delete arg3;
15042 }
15043 {
15044 if (temp4)
15045 delete arg4;
15046 }
15047 return resultobj;
15048 fail:
15049 {
15050 if (temp2)
15051 delete arg2;
15052 }
15053 {
15054 if (temp3)
15055 delete arg3;
15056 }
15057 {
15058 if (temp4)
15059 delete arg4;
15060 }
15061 return NULL;
15062}
15063
15064
15065static PyObject * PasswordEntryDialog_swigregister(PyObject *, PyObject *args) {
15066 PyObject *obj;
15067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15068 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog, obj);
15069 Py_INCREF(obj);
15070 return Py_BuildValue((char *)"");
15071}
c370783e 15072static PyObject *_wrap_new_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15073 PyObject *resultobj;
15074 wxFontData *result;
15075 char *kwnames[] = {
15076 NULL
15077 };
15078
15079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
15080 {
15081 PyThreadState* __tstate = wxPyBeginAllowThreads();
15082 result = (wxFontData *)new wxFontData();
15083
15084 wxPyEndAllowThreads(__tstate);
15085 if (PyErr_Occurred()) SWIG_fail;
15086 }
15087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 1);
15088 return resultobj;
15089 fail:
15090 return NULL;
15091}
15092
15093
c370783e 15094static PyObject *_wrap_delete_FontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15095 PyObject *resultobj;
15096 wxFontData *arg1 = (wxFontData *) 0 ;
15097 PyObject * obj0 = 0 ;
15098 char *kwnames[] = {
15099 (char *) "self", NULL
15100 };
15101
15102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
36ed4f51
RD
15103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15104 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15105 {
15106 PyThreadState* __tstate = wxPyBeginAllowThreads();
15107 delete arg1;
15108
15109 wxPyEndAllowThreads(__tstate);
15110 if (PyErr_Occurred()) SWIG_fail;
15111 }
15112 Py_INCREF(Py_None); resultobj = Py_None;
15113 return resultobj;
15114 fail:
15115 return NULL;
15116}
15117
15118
c370783e 15119static PyObject *_wrap_FontData_EnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15120 PyObject *resultobj;
15121 wxFontData *arg1 = (wxFontData *) 0 ;
15122 bool arg2 ;
15123 PyObject * obj0 = 0 ;
15124 PyObject * obj1 = 0 ;
15125 char *kwnames[] = {
15126 (char *) "self",(char *) "enable", NULL
15127 };
15128
15129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15131 if (SWIG_arg_fail(1)) SWIG_fail;
15132 {
15133 arg2 = (bool)(SWIG_As_bool(obj1));
15134 if (SWIG_arg_fail(2)) SWIG_fail;
15135 }
d55e5bfc
RD
15136 {
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 (arg1)->EnableEffects(arg2);
15139
15140 wxPyEndAllowThreads(__tstate);
15141 if (PyErr_Occurred()) SWIG_fail;
15142 }
15143 Py_INCREF(Py_None); resultobj = Py_None;
15144 return resultobj;
15145 fail:
15146 return NULL;
15147}
15148
15149
c370783e 15150static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15151 PyObject *resultobj;
15152 wxFontData *arg1 = (wxFontData *) 0 ;
15153 bool result;
15154 PyObject * obj0 = 0 ;
15155 char *kwnames[] = {
15156 (char *) "self", NULL
15157 };
15158
15159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
36ed4f51
RD
15160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15162 {
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 result = (bool)(arg1)->GetAllowSymbols();
15165
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 {
15170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15171 }
15172 return resultobj;
15173 fail:
15174 return NULL;
15175}
15176
15177
c370783e 15178static PyObject *_wrap_FontData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15179 PyObject *resultobj;
15180 wxFontData *arg1 = (wxFontData *) 0 ;
15181 wxColour result;
15182 PyObject * obj0 = 0 ;
15183 char *kwnames[] = {
15184 (char *) "self", NULL
15185 };
15186
15187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
15188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15189 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
15192 result = (arg1)->GetColour();
15193
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
15197 {
15198 wxColour * resultptr;
36ed4f51 15199 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
15200 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
15201 }
15202 return resultobj;
15203 fail:
15204 return NULL;
15205}
15206
15207
c370783e 15208static PyObject *_wrap_FontData_GetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15209 PyObject *resultobj;
15210 wxFontData *arg1 = (wxFontData *) 0 ;
15211 wxFont result;
15212 PyObject * obj0 = 0 ;
15213 char *kwnames[] = {
15214 (char *) "self", NULL
15215 };
15216
15217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
15218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15219 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15220 {
15221 PyThreadState* __tstate = wxPyBeginAllowThreads();
15222 result = (arg1)->GetChosenFont();
15223
15224 wxPyEndAllowThreads(__tstate);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 {
15228 wxFont * resultptr;
36ed4f51 15229 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
15230 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15231 }
15232 return resultobj;
15233 fail:
15234 return NULL;
15235}
15236
15237
c370783e 15238static PyObject *_wrap_FontData_GetEnableEffects(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15239 PyObject *resultobj;
15240 wxFontData *arg1 = (wxFontData *) 0 ;
15241 bool result;
15242 PyObject * obj0 = 0 ;
15243 char *kwnames[] = {
15244 (char *) "self", NULL
15245 };
15246
15247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
36ed4f51
RD
15248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15249 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15250 {
15251 PyThreadState* __tstate = wxPyBeginAllowThreads();
15252 result = (bool)(arg1)->GetEnableEffects();
15253
15254 wxPyEndAllowThreads(__tstate);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 }
15257 {
15258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15259 }
15260 return resultobj;
15261 fail:
15262 return NULL;
15263}
15264
15265
c370783e 15266static PyObject *_wrap_FontData_GetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15267 PyObject *resultobj;
15268 wxFontData *arg1 = (wxFontData *) 0 ;
15269 wxFont result;
15270 PyObject * obj0 = 0 ;
15271 char *kwnames[] = {
15272 (char *) "self", NULL
15273 };
15274
15275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
15276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15277 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15278 {
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 result = (arg1)->GetInitialFont();
15281
15282 wxPyEndAllowThreads(__tstate);
15283 if (PyErr_Occurred()) SWIG_fail;
15284 }
15285 {
15286 wxFont * resultptr;
36ed4f51 15287 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
15288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
15289 }
15290 return resultobj;
15291 fail:
15292 return NULL;
15293}
15294
15295
c370783e 15296static PyObject *_wrap_FontData_GetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15297 PyObject *resultobj;
15298 wxFontData *arg1 = (wxFontData *) 0 ;
15299 bool result;
15300 PyObject * obj0 = 0 ;
15301 char *kwnames[] = {
15302 (char *) "self", NULL
15303 };
15304
15305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
15306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15307 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15308 {
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
15310 result = (bool)(arg1)->GetShowHelp();
15311
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15315 {
15316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15317 }
15318 return resultobj;
15319 fail:
15320 return NULL;
15321}
15322
15323
c370783e 15324static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15325 PyObject *resultobj;
15326 wxFontData *arg1 = (wxFontData *) 0 ;
15327 bool arg2 ;
15328 PyObject * obj0 = 0 ;
15329 PyObject * obj1 = 0 ;
15330 char *kwnames[] = {
15331 (char *) "self",(char *) "allowSymbols", NULL
15332 };
15333
15334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15336 if (SWIG_arg_fail(1)) SWIG_fail;
15337 {
15338 arg2 = (bool)(SWIG_As_bool(obj1));
15339 if (SWIG_arg_fail(2)) SWIG_fail;
15340 }
d55e5bfc
RD
15341 {
15342 PyThreadState* __tstate = wxPyBeginAllowThreads();
15343 (arg1)->SetAllowSymbols(arg2);
15344
15345 wxPyEndAllowThreads(__tstate);
15346 if (PyErr_Occurred()) SWIG_fail;
15347 }
15348 Py_INCREF(Py_None); resultobj = Py_None;
15349 return resultobj;
15350 fail:
15351 return NULL;
15352}
15353
15354
c370783e 15355static PyObject *_wrap_FontData_SetChosenFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15356 PyObject *resultobj;
15357 wxFontData *arg1 = (wxFontData *) 0 ;
15358 wxFont *arg2 = 0 ;
15359 PyObject * obj0 = 0 ;
15360 PyObject * obj1 = 0 ;
15361 char *kwnames[] = {
15362 (char *) "self",(char *) "font", NULL
15363 };
15364
15365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15367 if (SWIG_arg_fail(1)) SWIG_fail;
15368 {
15369 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15370 if (SWIG_arg_fail(2)) SWIG_fail;
15371 if (arg2 == NULL) {
15372 SWIG_null_ref("wxFont");
15373 }
15374 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15375 }
15376 {
15377 PyThreadState* __tstate = wxPyBeginAllowThreads();
15378 (arg1)->SetChosenFont((wxFont const &)*arg2);
15379
15380 wxPyEndAllowThreads(__tstate);
15381 if (PyErr_Occurred()) SWIG_fail;
15382 }
15383 Py_INCREF(Py_None); resultobj = Py_None;
15384 return resultobj;
15385 fail:
15386 return NULL;
15387}
15388
15389
c370783e 15390static PyObject *_wrap_FontData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15391 PyObject *resultobj;
15392 wxFontData *arg1 = (wxFontData *) 0 ;
15393 wxColour *arg2 = 0 ;
15394 wxColour temp2 ;
15395 PyObject * obj0 = 0 ;
15396 PyObject * obj1 = 0 ;
15397 char *kwnames[] = {
15398 (char *) "self",(char *) "colour", NULL
15399 };
15400
15401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15403 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15404 {
15405 arg2 = &temp2;
15406 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15407 }
15408 {
15409 PyThreadState* __tstate = wxPyBeginAllowThreads();
15410 (arg1)->SetColour((wxColour const &)*arg2);
15411
15412 wxPyEndAllowThreads(__tstate);
15413 if (PyErr_Occurred()) SWIG_fail;
15414 }
15415 Py_INCREF(Py_None); resultobj = Py_None;
15416 return resultobj;
15417 fail:
15418 return NULL;
15419}
15420
15421
c370783e 15422static PyObject *_wrap_FontData_SetInitialFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15423 PyObject *resultobj;
15424 wxFontData *arg1 = (wxFontData *) 0 ;
15425 wxFont *arg2 = 0 ;
15426 PyObject * obj0 = 0 ;
15427 PyObject * obj1 = 0 ;
15428 char *kwnames[] = {
15429 (char *) "self",(char *) "font", NULL
15430 };
15431
15432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15434 if (SWIG_arg_fail(1)) SWIG_fail;
15435 {
15436 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
15437 if (SWIG_arg_fail(2)) SWIG_fail;
15438 if (arg2 == NULL) {
15439 SWIG_null_ref("wxFont");
15440 }
15441 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15442 }
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 (arg1)->SetInitialFont((wxFont const &)*arg2);
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 Py_INCREF(Py_None); resultobj = Py_None;
15451 return resultobj;
15452 fail:
15453 return NULL;
15454}
15455
15456
c370783e 15457static PyObject *_wrap_FontData_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15458 PyObject *resultobj;
15459 wxFontData *arg1 = (wxFontData *) 0 ;
15460 int arg2 ;
15461 int arg3 ;
15462 PyObject * obj0 = 0 ;
15463 PyObject * obj1 = 0 ;
15464 PyObject * obj2 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "self",(char *) "min",(char *) "max", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15471 if (SWIG_arg_fail(1)) SWIG_fail;
15472 {
15473 arg2 = (int)(SWIG_As_int(obj1));
15474 if (SWIG_arg_fail(2)) SWIG_fail;
15475 }
15476 {
15477 arg3 = (int)(SWIG_As_int(obj2));
15478 if (SWIG_arg_fail(3)) SWIG_fail;
15479 }
d55e5bfc
RD
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 (arg1)->SetRange(arg2,arg3);
15483
15484 wxPyEndAllowThreads(__tstate);
15485 if (PyErr_Occurred()) SWIG_fail;
15486 }
15487 Py_INCREF(Py_None); resultobj = Py_None;
15488 return resultobj;
15489 fail:
15490 return NULL;
15491}
15492
15493
c370783e 15494static PyObject *_wrap_FontData_SetShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15495 PyObject *resultobj;
15496 wxFontData *arg1 = (wxFontData *) 0 ;
15497 bool arg2 ;
15498 PyObject * obj0 = 0 ;
15499 PyObject * obj1 = 0 ;
15500 char *kwnames[] = {
15501 (char *) "self",(char *) "showHelp", NULL
15502 };
15503
15504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15506 if (SWIG_arg_fail(1)) SWIG_fail;
15507 {
15508 arg2 = (bool)(SWIG_As_bool(obj1));
15509 if (SWIG_arg_fail(2)) SWIG_fail;
15510 }
d55e5bfc
RD
15511 {
15512 PyThreadState* __tstate = wxPyBeginAllowThreads();
15513 (arg1)->SetShowHelp(arg2);
15514
15515 wxPyEndAllowThreads(__tstate);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
15518 Py_INCREF(Py_None); resultobj = Py_None;
15519 return resultobj;
15520 fail:
15521 return NULL;
15522}
15523
15524
c370783e 15525static PyObject * FontData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15526 PyObject *obj;
15527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15528 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
15529 Py_INCREF(obj);
15530 return Py_BuildValue((char *)"");
15531}
c370783e 15532static PyObject *_wrap_new_FontDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15533 PyObject *resultobj;
15534 wxWindow *arg1 = (wxWindow *) 0 ;
15535 wxFontData *arg2 = 0 ;
15536 wxFontDialog *result;
15537 PyObject * obj0 = 0 ;
15538 PyObject * obj1 = 0 ;
15539 char *kwnames[] = {
15540 (char *) "parent",(char *) "data", NULL
15541 };
15542
15543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15545 if (SWIG_arg_fail(1)) SWIG_fail;
15546 {
15547 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFontData, SWIG_POINTER_EXCEPTION | 0);
15548 if (SWIG_arg_fail(2)) SWIG_fail;
15549 if (arg2 == NULL) {
15550 SWIG_null_ref("wxFontData");
15551 }
15552 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
15553 }
15554 {
0439c23b 15555 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
15558
15559 wxPyEndAllowThreads(__tstate);
110da5b0 15560 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15561 }
15562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontDialog, 1);
15563 return resultobj;
15564 fail:
15565 return NULL;
15566}
15567
15568
c370783e 15569static PyObject *_wrap_FontDialog_GetFontData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15570 PyObject *resultobj;
15571 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
15572 wxFontData *result;
15573 PyObject * obj0 = 0 ;
15574 char *kwnames[] = {
15575 (char *) "self", NULL
15576 };
15577
15578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
36ed4f51
RD
15579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFontDialog, SWIG_POINTER_EXCEPTION | 0);
15580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15581 {
15582 PyThreadState* __tstate = wxPyBeginAllowThreads();
15583 {
15584 wxFontData &_result_ref = (arg1)->GetFontData();
15585 result = (wxFontData *) &_result_ref;
15586 }
15587
15588 wxPyEndAllowThreads(__tstate);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 }
15591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFontData, 0);
15592 return resultobj;
15593 fail:
15594 return NULL;
15595}
15596
15597
c370783e 15598static PyObject * FontDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15599 PyObject *obj;
15600 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15601 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
15602 Py_INCREF(obj);
15603 return Py_BuildValue((char *)"");
15604}
c370783e 15605static PyObject *_wrap_new_MessageDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15606 PyObject *resultobj;
15607 wxWindow *arg1 = (wxWindow *) 0 ;
15608 wxString *arg2 = 0 ;
15609 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
15610 wxString *arg3 = (wxString *) &arg3_defvalue ;
15611 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
15612 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15613 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15614 wxMessageDialog *result;
b411df4a
RD
15615 bool temp2 = false ;
15616 bool temp3 = false ;
d55e5bfc
RD
15617 wxPoint temp5 ;
15618 PyObject * obj0 = 0 ;
15619 PyObject * obj1 = 0 ;
15620 PyObject * obj2 = 0 ;
15621 PyObject * obj3 = 0 ;
15622 PyObject * obj4 = 0 ;
15623 char *kwnames[] = {
15624 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15625 };
15626
15627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
15628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15629 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15630 {
15631 arg2 = wxString_in_helper(obj1);
15632 if (arg2 == NULL) SWIG_fail;
b411df4a 15633 temp2 = true;
d55e5bfc
RD
15634 }
15635 if (obj2) {
15636 {
15637 arg3 = wxString_in_helper(obj2);
15638 if (arg3 == NULL) SWIG_fail;
b411df4a 15639 temp3 = true;
d55e5bfc
RD
15640 }
15641 }
15642 if (obj3) {
36ed4f51
RD
15643 {
15644 arg4 = (long)(SWIG_As_long(obj3));
15645 if (SWIG_arg_fail(4)) SWIG_fail;
15646 }
d55e5bfc
RD
15647 }
15648 if (obj4) {
15649 {
15650 arg5 = &temp5;
15651 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15652 }
15653 }
15654 {
0439c23b 15655 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
15658
15659 wxPyEndAllowThreads(__tstate);
110da5b0 15660 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15661 }
15662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMessageDialog, 1);
15663 {
15664 if (temp2)
15665 delete arg2;
15666 }
15667 {
15668 if (temp3)
15669 delete arg3;
15670 }
15671 return resultobj;
15672 fail:
15673 {
15674 if (temp2)
15675 delete arg2;
15676 }
15677 {
15678 if (temp3)
15679 delete arg3;
15680 }
15681 return NULL;
15682}
15683
15684
c370783e 15685static PyObject * MessageDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15686 PyObject *obj;
15687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15688 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
15689 Py_INCREF(obj);
15690 return Py_BuildValue((char *)"");
15691}
c370783e 15692static PyObject *_wrap_new_ProgressDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15693 PyObject *resultobj;
15694 wxString *arg1 = 0 ;
15695 wxString *arg2 = 0 ;
15696 int arg3 = (int) 100 ;
15697 wxWindow *arg4 = (wxWindow *) NULL ;
15698 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
15699 wxProgressDialog *result;
b411df4a
RD
15700 bool temp1 = false ;
15701 bool temp2 = false ;
d55e5bfc
RD
15702 PyObject * obj0 = 0 ;
15703 PyObject * obj1 = 0 ;
15704 PyObject * obj2 = 0 ;
15705 PyObject * obj3 = 0 ;
15706 PyObject * obj4 = 0 ;
15707 char *kwnames[] = {
15708 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15709 };
15710
15711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15712 {
15713 arg1 = wxString_in_helper(obj0);
15714 if (arg1 == NULL) SWIG_fail;
b411df4a 15715 temp1 = true;
d55e5bfc
RD
15716 }
15717 {
15718 arg2 = wxString_in_helper(obj1);
15719 if (arg2 == NULL) SWIG_fail;
b411df4a 15720 temp2 = true;
d55e5bfc
RD
15721 }
15722 if (obj2) {
36ed4f51
RD
15723 {
15724 arg3 = (int)(SWIG_As_int(obj2));
15725 if (SWIG_arg_fail(3)) SWIG_fail;
15726 }
d55e5bfc
RD
15727 }
15728 if (obj3) {
36ed4f51
RD
15729 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15730 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
15731 }
15732 if (obj4) {
36ed4f51
RD
15733 {
15734 arg5 = (int)(SWIG_As_int(obj4));
15735 if (SWIG_arg_fail(5)) SWIG_fail;
15736 }
d55e5bfc
RD
15737 }
15738 {
0439c23b 15739 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
15742
15743 wxPyEndAllowThreads(__tstate);
110da5b0 15744 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15745 }
15746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProgressDialog, 1);
15747 {
15748 if (temp1)
15749 delete arg1;
15750 }
15751 {
15752 if (temp2)
15753 delete arg2;
15754 }
15755 return resultobj;
15756 fail:
15757 {
15758 if (temp1)
15759 delete arg1;
15760 }
15761 {
15762 if (temp2)
15763 delete arg2;
15764 }
15765 return NULL;
15766}
15767
15768
c370783e 15769static PyObject *_wrap_ProgressDialog_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15770 PyObject *resultobj;
15771 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15772 int arg2 ;
15773 wxString const &arg3_defvalue = wxPyEmptyString ;
15774 wxString *arg3 = (wxString *) &arg3_defvalue ;
15775 bool result;
b411df4a 15776 bool temp3 = false ;
d55e5bfc
RD
15777 PyObject * obj0 = 0 ;
15778 PyObject * obj1 = 0 ;
15779 PyObject * obj2 = 0 ;
15780 char *kwnames[] = {
15781 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15782 };
15783
15784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15786 if (SWIG_arg_fail(1)) SWIG_fail;
15787 {
15788 arg2 = (int)(SWIG_As_int(obj1));
15789 if (SWIG_arg_fail(2)) SWIG_fail;
15790 }
d55e5bfc
RD
15791 if (obj2) {
15792 {
15793 arg3 = wxString_in_helper(obj2);
15794 if (arg3 == NULL) SWIG_fail;
b411df4a 15795 temp3 = true;
d55e5bfc
RD
15796 }
15797 }
15798 {
15799 PyThreadState* __tstate = wxPyBeginAllowThreads();
15800 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
15801
15802 wxPyEndAllowThreads(__tstate);
15803 if (PyErr_Occurred()) SWIG_fail;
15804 }
15805 {
15806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15807 }
15808 {
15809 if (temp3)
15810 delete arg3;
15811 }
15812 return resultobj;
15813 fail:
15814 {
15815 if (temp3)
15816 delete arg3;
15817 }
15818 return NULL;
15819}
15820
15821
c370783e 15822static PyObject *_wrap_ProgressDialog_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15823 PyObject *resultobj;
15824 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
15825 PyObject * obj0 = 0 ;
15826 char *kwnames[] = {
15827 (char *) "self", NULL
15828 };
15829
15830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
36ed4f51
RD
15831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_EXCEPTION | 0);
15832 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15833 {
15834 PyThreadState* __tstate = wxPyBeginAllowThreads();
15835 (arg1)->Resume();
15836
15837 wxPyEndAllowThreads(__tstate);
15838 if (PyErr_Occurred()) SWIG_fail;
15839 }
15840 Py_INCREF(Py_None); resultobj = Py_None;
15841 return resultobj;
15842 fail:
15843 return NULL;
15844}
15845
15846
c370783e 15847static PyObject * ProgressDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15848 PyObject *obj;
15849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15850 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
15851 Py_INCREF(obj);
15852 return Py_BuildValue((char *)"");
15853}
c370783e 15854static PyObject *_wrap_new_FindDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15855 PyObject *resultobj;
15856 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15857 int arg2 = (int) 0 ;
15858 wxFindDialogEvent *result;
15859 PyObject * obj0 = 0 ;
15860 PyObject * obj1 = 0 ;
15861 char *kwnames[] = {
15862 (char *) "commandType",(char *) "id", NULL
15863 };
15864
15865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
15866 if (obj0) {
36ed4f51
RD
15867 {
15868 arg1 = (wxEventType)(SWIG_As_int(obj0));
15869 if (SWIG_arg_fail(1)) SWIG_fail;
15870 }
d55e5bfc
RD
15871 }
15872 if (obj1) {
36ed4f51
RD
15873 {
15874 arg2 = (int)(SWIG_As_int(obj1));
15875 if (SWIG_arg_fail(2)) SWIG_fail;
15876 }
d55e5bfc
RD
15877 }
15878 {
15879 PyThreadState* __tstate = wxPyBeginAllowThreads();
15880 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
15881
15882 wxPyEndAllowThreads(__tstate);
15883 if (PyErr_Occurred()) SWIG_fail;
15884 }
15885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindDialogEvent, 1);
15886 return resultobj;
15887 fail:
15888 return NULL;
15889}
15890
15891
c370783e 15892static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15893 PyObject *resultobj;
15894 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
15895 int result;
15896 PyObject * obj0 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
15902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
15903 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15904 {
15905 PyThreadState* __tstate = wxPyBeginAllowThreads();
15906 result = (int)(arg1)->GetFlags();
15907
15908 wxPyEndAllowThreads(__tstate);
15909 if (PyErr_Occurred()) SWIG_fail;
15910 }
36ed4f51
RD
15911 {
15912 resultobj = SWIG_From_int((int)(result));
15913 }
d55e5bfc
RD
15914 return resultobj;
15915 fail:
15916 return NULL;
15917}
15918
15919
c370783e 15920static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15921 PyObject *resultobj;
15922 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
15923 wxString *result;
15924 PyObject * obj0 = 0 ;
15925 char *kwnames[] = {
15926 (char *) "self", NULL
15927 };
15928
15929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
36ed4f51
RD
15930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
15931 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15932 {
15933 PyThreadState* __tstate = wxPyBeginAllowThreads();
15934 {
15935 wxString const &_result_ref = (arg1)->GetFindString();
15936 result = (wxString *) &_result_ref;
15937 }
15938
15939 wxPyEndAllowThreads(__tstate);
15940 if (PyErr_Occurred()) SWIG_fail;
15941 }
15942 {
15943#if wxUSE_UNICODE
15944 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15945#else
15946 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15947#endif
15948 }
15949 return resultobj;
15950 fail:
15951 return NULL;
15952}
15953
15954
c370783e 15955static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15956 PyObject *resultobj;
15957 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
15958 wxString *result;
15959 PyObject * obj0 = 0 ;
15960 char *kwnames[] = {
15961 (char *) "self", NULL
15962 };
15963
15964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
36ed4f51
RD
15965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
15966 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 {
15970 wxString const &_result_ref = (arg1)->GetReplaceString();
15971 result = (wxString *) &_result_ref;
15972 }
15973
15974 wxPyEndAllowThreads(__tstate);
15975 if (PyErr_Occurred()) SWIG_fail;
15976 }
15977 {
15978#if wxUSE_UNICODE
15979 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15980#else
15981 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15982#endif
15983 }
15984 return resultobj;
15985 fail:
15986 return NULL;
15987}
15988
15989
c370783e 15990static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15991 PyObject *resultobj;
15992 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
15993 wxFindReplaceDialog *result;
15994 PyObject * obj0 = 0 ;
15995 char *kwnames[] = {
15996 (char *) "self", NULL
15997 };
15998
15999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
16000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16001 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16002 {
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
16005
16006 wxPyEndAllowThreads(__tstate);
16007 if (PyErr_Occurred()) SWIG_fail;
16008 }
16009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 0);
16010 return resultobj;
16011 fail:
16012 return NULL;
16013}
16014
16015
c370783e 16016static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16017 PyObject *resultobj;
16018 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16019 int arg2 ;
16020 PyObject * obj0 = 0 ;
16021 PyObject * obj1 = 0 ;
16022 char *kwnames[] = {
16023 (char *) "self",(char *) "flags", NULL
16024 };
16025
16026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16028 if (SWIG_arg_fail(1)) SWIG_fail;
16029 {
16030 arg2 = (int)(SWIG_As_int(obj1));
16031 if (SWIG_arg_fail(2)) SWIG_fail;
16032 }
d55e5bfc
RD
16033 {
16034 PyThreadState* __tstate = wxPyBeginAllowThreads();
16035 (arg1)->SetFlags(arg2);
16036
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 Py_INCREF(Py_None); resultobj = Py_None;
16041 return resultobj;
16042 fail:
16043 return NULL;
16044}
16045
16046
c370783e 16047static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16048 PyObject *resultobj;
16049 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16050 wxString *arg2 = 0 ;
b411df4a 16051 bool temp2 = false ;
d55e5bfc
RD
16052 PyObject * obj0 = 0 ;
16053 PyObject * obj1 = 0 ;
16054 char *kwnames[] = {
16055 (char *) "self",(char *) "str", NULL
16056 };
16057
16058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16060 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16061 {
16062 arg2 = wxString_in_helper(obj1);
16063 if (arg2 == NULL) SWIG_fail;
b411df4a 16064 temp2 = true;
d55e5bfc
RD
16065 }
16066 {
16067 PyThreadState* __tstate = wxPyBeginAllowThreads();
16068 (arg1)->SetFindString((wxString const &)*arg2);
16069
16070 wxPyEndAllowThreads(__tstate);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 }
16073 Py_INCREF(Py_None); resultobj = Py_None;
16074 {
16075 if (temp2)
16076 delete arg2;
16077 }
16078 return resultobj;
16079 fail:
16080 {
16081 if (temp2)
16082 delete arg2;
16083 }
16084 return NULL;
16085}
16086
16087
c370783e 16088static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16089 PyObject *resultobj;
16090 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
16091 wxString *arg2 = 0 ;
b411df4a 16092 bool temp2 = false ;
d55e5bfc
RD
16093 PyObject * obj0 = 0 ;
16094 PyObject * obj1 = 0 ;
16095 char *kwnames[] = {
16096 (char *) "self",(char *) "str", NULL
16097 };
16098
16099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_EXCEPTION | 0);
16101 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16102 {
16103 arg2 = wxString_in_helper(obj1);
16104 if (arg2 == NULL) SWIG_fail;
b411df4a 16105 temp2 = true;
d55e5bfc
RD
16106 }
16107 {
16108 PyThreadState* __tstate = wxPyBeginAllowThreads();
16109 (arg1)->SetReplaceString((wxString const &)*arg2);
16110
16111 wxPyEndAllowThreads(__tstate);
16112 if (PyErr_Occurred()) SWIG_fail;
16113 }
16114 Py_INCREF(Py_None); resultobj = Py_None;
16115 {
16116 if (temp2)
16117 delete arg2;
16118 }
16119 return resultobj;
16120 fail:
16121 {
16122 if (temp2)
16123 delete arg2;
16124 }
16125 return NULL;
16126}
16127
16128
c370783e 16129static PyObject * FindDialogEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16130 PyObject *obj;
16131 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16132 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
16133 Py_INCREF(obj);
16134 return Py_BuildValue((char *)"");
16135}
c370783e 16136static PyObject *_wrap_new_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16137 PyObject *resultobj;
16138 int arg1 = (int) 0 ;
16139 wxFindReplaceData *result;
16140 PyObject * obj0 = 0 ;
16141 char *kwnames[] = {
16142 (char *) "flags", NULL
16143 };
16144
16145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
16146 if (obj0) {
36ed4f51
RD
16147 {
16148 arg1 = (int)(SWIG_As_int(obj0));
16149 if (SWIG_arg_fail(1)) SWIG_fail;
16150 }
d55e5bfc
RD
16151 }
16152 {
16153 PyThreadState* __tstate = wxPyBeginAllowThreads();
16154 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
16155
16156 wxPyEndAllowThreads(__tstate);
16157 if (PyErr_Occurred()) SWIG_fail;
16158 }
16159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 1);
16160 return resultobj;
16161 fail:
16162 return NULL;
16163}
16164
16165
c370783e 16166static PyObject *_wrap_delete_FindReplaceData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16167 PyObject *resultobj;
16168 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16169 PyObject * obj0 = 0 ;
16170 char *kwnames[] = {
16171 (char *) "self", NULL
16172 };
16173
16174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
36ed4f51
RD
16175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16177 {
16178 PyThreadState* __tstate = wxPyBeginAllowThreads();
16179 delete arg1;
16180
16181 wxPyEndAllowThreads(__tstate);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 }
16184 Py_INCREF(Py_None); resultobj = Py_None;
16185 return resultobj;
16186 fail:
16187 return NULL;
16188}
16189
16190
c370783e 16191static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16192 PyObject *resultobj;
16193 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16194 wxString *result;
16195 PyObject * obj0 = 0 ;
16196 char *kwnames[] = {
16197 (char *) "self", NULL
16198 };
16199
16200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16202 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16203 {
16204 PyThreadState* __tstate = wxPyBeginAllowThreads();
16205 {
16206 wxString const &_result_ref = (arg1)->GetFindString();
16207 result = (wxString *) &_result_ref;
16208 }
16209
16210 wxPyEndAllowThreads(__tstate);
16211 if (PyErr_Occurred()) SWIG_fail;
16212 }
16213 {
16214#if wxUSE_UNICODE
16215 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16216#else
16217 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16218#endif
16219 }
16220 return resultobj;
16221 fail:
16222 return NULL;
16223}
16224
16225
c370783e 16226static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16227 PyObject *resultobj;
16228 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16229 wxString *result;
16230 PyObject * obj0 = 0 ;
16231 char *kwnames[] = {
16232 (char *) "self", NULL
16233 };
16234
16235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
36ed4f51
RD
16236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16237 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16238 {
16239 PyThreadState* __tstate = wxPyBeginAllowThreads();
16240 {
16241 wxString const &_result_ref = (arg1)->GetReplaceString();
16242 result = (wxString *) &_result_ref;
16243 }
16244
16245 wxPyEndAllowThreads(__tstate);
16246 if (PyErr_Occurred()) SWIG_fail;
16247 }
16248 {
16249#if wxUSE_UNICODE
16250 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16251#else
16252 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16253#endif
16254 }
16255 return resultobj;
16256 fail:
16257 return NULL;
16258}
16259
16260
c370783e 16261static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16262 PyObject *resultobj;
16263 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16264 int result;
16265 PyObject * obj0 = 0 ;
16266 char *kwnames[] = {
16267 (char *) "self", NULL
16268 };
16269
16270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
16271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16273 {
16274 PyThreadState* __tstate = wxPyBeginAllowThreads();
16275 result = (int)(arg1)->GetFlags();
16276
16277 wxPyEndAllowThreads(__tstate);
16278 if (PyErr_Occurred()) SWIG_fail;
16279 }
36ed4f51
RD
16280 {
16281 resultobj = SWIG_From_int((int)(result));
16282 }
d55e5bfc
RD
16283 return resultobj;
16284 fail:
16285 return NULL;
16286}
16287
16288
c370783e 16289static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16290 PyObject *resultobj;
16291 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16292 int arg2 ;
16293 PyObject * obj0 = 0 ;
16294 PyObject * obj1 = 0 ;
16295 char *kwnames[] = {
16296 (char *) "self",(char *) "flags", NULL
16297 };
16298
16299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16301 if (SWIG_arg_fail(1)) SWIG_fail;
16302 {
16303 arg2 = (int)(SWIG_As_int(obj1));
16304 if (SWIG_arg_fail(2)) SWIG_fail;
16305 }
d55e5bfc
RD
16306 {
16307 PyThreadState* __tstate = wxPyBeginAllowThreads();
16308 (arg1)->SetFlags(arg2);
16309
16310 wxPyEndAllowThreads(__tstate);
16311 if (PyErr_Occurred()) SWIG_fail;
16312 }
16313 Py_INCREF(Py_None); resultobj = Py_None;
16314 return resultobj;
16315 fail:
16316 return NULL;
16317}
16318
16319
c370783e 16320static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16321 PyObject *resultobj;
16322 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16323 wxString *arg2 = 0 ;
b411df4a 16324 bool temp2 = false ;
d55e5bfc
RD
16325 PyObject * obj0 = 0 ;
16326 PyObject * obj1 = 0 ;
16327 char *kwnames[] = {
16328 (char *) "self",(char *) "str", NULL
16329 };
16330
16331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16333 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16334 {
16335 arg2 = wxString_in_helper(obj1);
16336 if (arg2 == NULL) SWIG_fail;
b411df4a 16337 temp2 = true;
d55e5bfc
RD
16338 }
16339 {
16340 PyThreadState* __tstate = wxPyBeginAllowThreads();
16341 (arg1)->SetFindString((wxString const &)*arg2);
16342
16343 wxPyEndAllowThreads(__tstate);
16344 if (PyErr_Occurred()) SWIG_fail;
16345 }
16346 Py_INCREF(Py_None); resultobj = Py_None;
16347 {
16348 if (temp2)
16349 delete arg2;
16350 }
16351 return resultobj;
16352 fail:
16353 {
16354 if (temp2)
16355 delete arg2;
16356 }
16357 return NULL;
16358}
16359
16360
c370783e 16361static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16362 PyObject *resultobj;
16363 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
16364 wxString *arg2 = 0 ;
b411df4a 16365 bool temp2 = false ;
d55e5bfc
RD
16366 PyObject * obj0 = 0 ;
16367 PyObject * obj1 = 0 ;
16368 char *kwnames[] = {
16369 (char *) "self",(char *) "str", NULL
16370 };
16371
16372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16374 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16375 {
16376 arg2 = wxString_in_helper(obj1);
16377 if (arg2 == NULL) SWIG_fail;
b411df4a 16378 temp2 = true;
d55e5bfc
RD
16379 }
16380 {
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 (arg1)->SetReplaceString((wxString const &)*arg2);
16383
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 Py_INCREF(Py_None); resultobj = Py_None;
16388 {
16389 if (temp2)
16390 delete arg2;
16391 }
16392 return resultobj;
16393 fail:
16394 {
16395 if (temp2)
16396 delete arg2;
16397 }
16398 return NULL;
16399}
16400
16401
c370783e 16402static PyObject * FindReplaceData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16403 PyObject *obj;
16404 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16405 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
16406 Py_INCREF(obj);
16407 return Py_BuildValue((char *)"");
16408}
c370783e 16409static PyObject *_wrap_new_FindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16410 PyObject *resultobj;
16411 wxWindow *arg1 = (wxWindow *) 0 ;
16412 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16413 wxString *arg3 = 0 ;
16414 int arg4 = (int) 0 ;
16415 wxFindReplaceDialog *result;
b411df4a 16416 bool temp3 = false ;
d55e5bfc
RD
16417 PyObject * obj0 = 0 ;
16418 PyObject * obj1 = 0 ;
16419 PyObject * obj2 = 0 ;
16420 PyObject * obj3 = 0 ;
16421 char *kwnames[] = {
16422 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16423 };
16424
16425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
16426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16427 if (SWIG_arg_fail(1)) SWIG_fail;
16428 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16429 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16430 {
16431 arg3 = wxString_in_helper(obj2);
16432 if (arg3 == NULL) SWIG_fail;
b411df4a 16433 temp3 = true;
d55e5bfc
RD
16434 }
16435 if (obj3) {
36ed4f51
RD
16436 {
16437 arg4 = (int)(SWIG_As_int(obj3));
16438 if (SWIG_arg_fail(4)) SWIG_fail;
16439 }
d55e5bfc
RD
16440 }
16441 {
0439c23b 16442 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16443 PyThreadState* __tstate = wxPyBeginAllowThreads();
16444 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
16445
16446 wxPyEndAllowThreads(__tstate);
110da5b0 16447 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16448 }
16449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16450 {
16451 if (temp3)
16452 delete arg3;
16453 }
16454 return resultobj;
16455 fail:
16456 {
16457 if (temp3)
16458 delete arg3;
16459 }
16460 return NULL;
16461}
16462
16463
c370783e 16464static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16465 PyObject *resultobj;
16466 wxFindReplaceDialog *result;
16467 char *kwnames[] = {
16468 NULL
16469 };
16470
16471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
16472 {
0439c23b 16473 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16474 PyThreadState* __tstate = wxPyBeginAllowThreads();
16475 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
16476
16477 wxPyEndAllowThreads(__tstate);
110da5b0 16478 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16479 }
16480 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceDialog, 1);
16481 return resultobj;
16482 fail:
16483 return NULL;
16484}
16485
16486
c370783e 16487static PyObject *_wrap_FindReplaceDialog_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16488 PyObject *resultobj;
16489 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16490 wxWindow *arg2 = (wxWindow *) 0 ;
16491 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
16492 wxString *arg4 = 0 ;
16493 int arg5 = (int) 0 ;
16494 bool result;
b411df4a 16495 bool temp4 = false ;
d55e5bfc
RD
16496 PyObject * obj0 = 0 ;
16497 PyObject * obj1 = 0 ;
16498 PyObject * obj2 = 0 ;
16499 PyObject * obj3 = 0 ;
16500 PyObject * obj4 = 0 ;
16501 char *kwnames[] = {
16502 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16503 };
16504
16505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16507 if (SWIG_arg_fail(1)) SWIG_fail;
16508 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16509 if (SWIG_arg_fail(2)) SWIG_fail;
16510 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16511 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
16512 {
16513 arg4 = wxString_in_helper(obj3);
16514 if (arg4 == NULL) SWIG_fail;
b411df4a 16515 temp4 = true;
d55e5bfc
RD
16516 }
16517 if (obj4) {
36ed4f51
RD
16518 {
16519 arg5 = (int)(SWIG_As_int(obj4));
16520 if (SWIG_arg_fail(5)) SWIG_fail;
16521 }
d55e5bfc
RD
16522 }
16523 {
16524 PyThreadState* __tstate = wxPyBeginAllowThreads();
16525 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
16526
16527 wxPyEndAllowThreads(__tstate);
16528 if (PyErr_Occurred()) SWIG_fail;
16529 }
16530 {
16531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16532 }
16533 {
16534 if (temp4)
16535 delete arg4;
16536 }
16537 return resultobj;
16538 fail:
16539 {
16540 if (temp4)
16541 delete arg4;
16542 }
16543 return NULL;
16544}
16545
16546
c370783e 16547static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16548 PyObject *resultobj;
16549 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16550 wxFindReplaceData *result;
16551 PyObject * obj0 = 0 ;
16552 char *kwnames[] = {
16553 (char *) "self", NULL
16554 };
16555
16556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
16557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16558 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16559 {
16560 PyThreadState* __tstate = wxPyBeginAllowThreads();
16561 result = (wxFindReplaceData *)(arg1)->GetData();
16562
16563 wxPyEndAllowThreads(__tstate);
16564 if (PyErr_Occurred()) SWIG_fail;
16565 }
16566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFindReplaceData, 0);
16567 return resultobj;
16568 fail:
16569 return NULL;
16570}
16571
16572
c370783e 16573static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16574 PyObject *resultobj;
16575 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
16576 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
16577 PyObject * obj0 = 0 ;
16578 PyObject * obj1 = 0 ;
16579 char *kwnames[] = {
16580 (char *) "self",(char *) "data", NULL
16581 };
16582
16583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_EXCEPTION | 0);
16585 if (SWIG_arg_fail(1)) SWIG_fail;
16586 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_EXCEPTION | 0);
16587 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16588 {
16589 PyThreadState* __tstate = wxPyBeginAllowThreads();
16590 (arg1)->SetData(arg2);
16591
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
16595 Py_INCREF(Py_None); resultobj = Py_None;
16596 return resultobj;
16597 fail:
16598 return NULL;
16599}
16600
16601
c370783e 16602static PyObject * FindReplaceDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16603 PyObject *obj;
16604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16605 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
16606 Py_INCREF(obj);
16607 return Py_BuildValue((char *)"");
16608}
c370783e 16609static PyObject *_wrap_new_MDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16610 PyObject *resultobj;
16611 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
16612 int arg2 = (int) (int)-1 ;
16613 wxString const &arg3_defvalue = wxPyEmptyString ;
16614 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
16615 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16616 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16617 wxSize const &arg5_defvalue = wxDefaultSize ;
16618 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16619 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16620 wxString const &arg7_defvalue = wxPyFrameNameStr ;
16621 wxString *arg7 = (wxString *) &arg7_defvalue ;
16622 wxMDIParentFrame *result;
b411df4a 16623 bool temp3 = false ;
d55e5bfc
RD
16624 wxPoint temp4 ;
16625 wxSize temp5 ;
b411df4a 16626 bool temp7 = false ;
d55e5bfc
RD
16627 PyObject * obj0 = 0 ;
16628 PyObject * obj1 = 0 ;
16629 PyObject * obj2 = 0 ;
16630 PyObject * obj3 = 0 ;
16631 PyObject * obj4 = 0 ;
16632 PyObject * obj5 = 0 ;
16633 PyObject * obj6 = 0 ;
16634 char *kwnames[] = {
16635 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16636 };
16637
bfddbb17 16638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
16639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16640 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 16641 if (obj1) {
36ed4f51
RD
16642 {
16643 arg2 = (int const)(SWIG_As_int(obj1));
16644 if (SWIG_arg_fail(2)) SWIG_fail;
16645 }
bfddbb17
RD
16646 }
16647 if (obj2) {
16648 {
16649 arg3 = wxString_in_helper(obj2);
16650 if (arg3 == NULL) SWIG_fail;
b411df4a 16651 temp3 = true;
bfddbb17 16652 }
d55e5bfc
RD
16653 }
16654 if (obj3) {
16655 {
16656 arg4 = &temp4;
16657 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16658 }
16659 }
16660 if (obj4) {
16661 {
16662 arg5 = &temp5;
16663 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16664 }
16665 }
16666 if (obj5) {
36ed4f51
RD
16667 {
16668 arg6 = (long)(SWIG_As_long(obj5));
16669 if (SWIG_arg_fail(6)) SWIG_fail;
16670 }
d55e5bfc
RD
16671 }
16672 if (obj6) {
16673 {
16674 arg7 = wxString_in_helper(obj6);
16675 if (arg7 == NULL) SWIG_fail;
b411df4a 16676 temp7 = true;
d55e5bfc
RD
16677 }
16678 }
16679 {
0439c23b 16680 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16681 PyThreadState* __tstate = wxPyBeginAllowThreads();
16682 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16683
16684 wxPyEndAllowThreads(__tstate);
110da5b0 16685 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16686 }
16687 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16688 {
16689 if (temp3)
16690 delete arg3;
16691 }
16692 {
16693 if (temp7)
16694 delete arg7;
16695 }
16696 return resultobj;
16697 fail:
16698 {
16699 if (temp3)
16700 delete arg3;
16701 }
16702 {
16703 if (temp7)
16704 delete arg7;
16705 }
16706 return NULL;
16707}
16708
16709
c370783e 16710static PyObject *_wrap_new_PreMDIParentFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16711 PyObject *resultobj;
16712 wxMDIParentFrame *result;
16713 char *kwnames[] = {
16714 NULL
16715 };
16716
16717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
16718 {
0439c23b 16719 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
16720 PyThreadState* __tstate = wxPyBeginAllowThreads();
16721 result = (wxMDIParentFrame *)new wxMDIParentFrame();
16722
16723 wxPyEndAllowThreads(__tstate);
110da5b0 16724 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
16725 }
16726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIParentFrame, 1);
16727 return resultobj;
16728 fail:
16729 return NULL;
16730}
16731
16732
c370783e 16733static PyObject *_wrap_MDIParentFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16734 PyObject *resultobj;
16735 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16736 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
16737 int arg3 = (int) (int)-1 ;
16738 wxString const &arg4_defvalue = wxPyEmptyString ;
16739 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
16740 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16741 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16742 wxSize const &arg6_defvalue = wxDefaultSize ;
16743 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16744 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
16745 wxString const &arg8_defvalue = wxPyFrameNameStr ;
16746 wxString *arg8 = (wxString *) &arg8_defvalue ;
16747 bool result;
b411df4a 16748 bool temp4 = false ;
d55e5bfc
RD
16749 wxPoint temp5 ;
16750 wxSize temp6 ;
b411df4a 16751 bool temp8 = false ;
d55e5bfc
RD
16752 PyObject * obj0 = 0 ;
16753 PyObject * obj1 = 0 ;
16754 PyObject * obj2 = 0 ;
16755 PyObject * obj3 = 0 ;
16756 PyObject * obj4 = 0 ;
16757 PyObject * obj5 = 0 ;
16758 PyObject * obj6 = 0 ;
16759 PyObject * obj7 = 0 ;
16760 char *kwnames[] = {
16761 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16762 };
16763
bfddbb17 16764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
16765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16766 if (SWIG_arg_fail(1)) SWIG_fail;
16767 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16768 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 16769 if (obj2) {
36ed4f51
RD
16770 {
16771 arg3 = (int const)(SWIG_As_int(obj2));
16772 if (SWIG_arg_fail(3)) SWIG_fail;
16773 }
bfddbb17
RD
16774 }
16775 if (obj3) {
16776 {
16777 arg4 = wxString_in_helper(obj3);
16778 if (arg4 == NULL) SWIG_fail;
b411df4a 16779 temp4 = true;
bfddbb17 16780 }
d55e5bfc
RD
16781 }
16782 if (obj4) {
16783 {
16784 arg5 = &temp5;
16785 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16786 }
16787 }
16788 if (obj5) {
16789 {
16790 arg6 = &temp6;
16791 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16792 }
16793 }
16794 if (obj6) {
36ed4f51
RD
16795 {
16796 arg7 = (long)(SWIG_As_long(obj6));
16797 if (SWIG_arg_fail(7)) SWIG_fail;
16798 }
d55e5bfc
RD
16799 }
16800 if (obj7) {
16801 {
16802 arg8 = wxString_in_helper(obj7);
16803 if (arg8 == NULL) SWIG_fail;
b411df4a 16804 temp8 = true;
d55e5bfc
RD
16805 }
16806 }
16807 {
16808 PyThreadState* __tstate = wxPyBeginAllowThreads();
16809 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
16810
16811 wxPyEndAllowThreads(__tstate);
16812 if (PyErr_Occurred()) SWIG_fail;
16813 }
16814 {
16815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16816 }
16817 {
16818 if (temp4)
16819 delete arg4;
16820 }
16821 {
16822 if (temp8)
16823 delete arg8;
16824 }
16825 return resultobj;
16826 fail:
16827 {
16828 if (temp4)
16829 delete arg4;
16830 }
16831 {
16832 if (temp8)
16833 delete arg8;
16834 }
16835 return NULL;
16836}
16837
16838
c370783e 16839static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16840 PyObject *resultobj;
16841 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16842 PyObject * obj0 = 0 ;
16843 char *kwnames[] = {
16844 (char *) "self", NULL
16845 };
16846
16847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
36ed4f51
RD
16848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16849 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16850 {
16851 PyThreadState* __tstate = wxPyBeginAllowThreads();
16852 (arg1)->ActivateNext();
16853
16854 wxPyEndAllowThreads(__tstate);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 }
16857 Py_INCREF(Py_None); resultobj = Py_None;
16858 return resultobj;
16859 fail:
16860 return NULL;
16861}
16862
16863
c370783e 16864static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16865 PyObject *resultobj;
16866 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16867 PyObject * obj0 = 0 ;
16868 char *kwnames[] = {
16869 (char *) "self", NULL
16870 };
16871
16872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
36ed4f51
RD
16873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16874 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16875 {
16876 PyThreadState* __tstate = wxPyBeginAllowThreads();
16877 (arg1)->ActivatePrevious();
16878
16879 wxPyEndAllowThreads(__tstate);
16880 if (PyErr_Occurred()) SWIG_fail;
16881 }
16882 Py_INCREF(Py_None); resultobj = Py_None;
16883 return resultobj;
16884 fail:
16885 return NULL;
16886}
16887
16888
c370783e 16889static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16890 PyObject *resultobj;
16891 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16892 PyObject * obj0 = 0 ;
16893 char *kwnames[] = {
16894 (char *) "self", NULL
16895 };
16896
16897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
36ed4f51
RD
16898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16899 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16900 {
16901 PyThreadState* __tstate = wxPyBeginAllowThreads();
16902 (arg1)->ArrangeIcons();
16903
16904 wxPyEndAllowThreads(__tstate);
16905 if (PyErr_Occurred()) SWIG_fail;
16906 }
16907 Py_INCREF(Py_None); resultobj = Py_None;
16908 return resultobj;
16909 fail:
16910 return NULL;
16911}
16912
16913
c370783e 16914static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16915 PyObject *resultobj;
16916 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16917 PyObject * obj0 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
36ed4f51
RD
16923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16924 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
16927 (arg1)->Cascade();
16928
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 Py_INCREF(Py_None); resultobj = Py_None;
16933 return resultobj;
16934 fail:
16935 return NULL;
16936}
16937
16938
c370783e 16939static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16940 PyObject *resultobj;
16941 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16942 wxMDIChildFrame *result;
16943 PyObject * obj0 = 0 ;
16944 char *kwnames[] = {
16945 (char *) "self", NULL
16946 };
16947
16948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
36ed4f51
RD
16949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16950 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16951 {
16952 PyThreadState* __tstate = wxPyBeginAllowThreads();
16953 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
16954
16955 wxPyEndAllowThreads(__tstate);
16956 if (PyErr_Occurred()) SWIG_fail;
16957 }
16958 {
412d302d 16959 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16960 }
16961 return resultobj;
16962 fail:
16963 return NULL;
16964}
16965
16966
c370783e 16967static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16968 PyObject *resultobj;
16969 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16970 wxMDIClientWindow *result;
16971 PyObject * obj0 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "self", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
16977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
16978 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16979 {
16980 PyThreadState* __tstate = wxPyBeginAllowThreads();
16981 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
16982
16983 wxPyEndAllowThreads(__tstate);
16984 if (PyErr_Occurred()) SWIG_fail;
16985 }
16986 {
412d302d 16987 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16988 }
16989 return resultobj;
16990 fail:
16991 return NULL;
16992}
16993
16994
c370783e 16995static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16996 PyObject *resultobj;
16997 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
16998 wxWindow *result;
16999 PyObject * obj0 = 0 ;
17000 char *kwnames[] = {
17001 (char *) "self", NULL
17002 };
17003
17004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
17005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17007 {
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 result = (wxWindow *)(arg1)->GetToolBar();
17010
17011 wxPyEndAllowThreads(__tstate);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 }
17014 {
412d302d 17015 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
17016 }
17017 return resultobj;
17018 fail:
17019 return NULL;
17020}
17021
17022
c370783e 17023static PyObject *_wrap_MDIParentFrame_Tile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17024 PyObject *resultobj;
17025 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17026 PyObject * obj0 = 0 ;
17027 char *kwnames[] = {
17028 (char *) "self", NULL
17029 };
17030
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
36ed4f51
RD
17032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17033 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17034 {
17035 PyThreadState* __tstate = wxPyBeginAllowThreads();
17036 (arg1)->Tile();
17037
17038 wxPyEndAllowThreads(__tstate);
17039 if (PyErr_Occurred()) SWIG_fail;
17040 }
17041 Py_INCREF(Py_None); resultobj = Py_None;
17042 return resultobj;
17043 fail:
17044 return NULL;
17045}
17046
17047
c370783e 17048static PyObject * MDIParentFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17049 PyObject *obj;
17050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17051 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
17052 Py_INCREF(obj);
17053 return Py_BuildValue((char *)"");
17054}
c370783e 17055static PyObject *_wrap_new_MDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17056 PyObject *resultobj;
17057 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
bfddbb17
RD
17058 int arg2 = (int) (int)-1 ;
17059 wxString const &arg3_defvalue = wxPyEmptyString ;
17060 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
17061 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17062 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17063 wxSize const &arg5_defvalue = wxDefaultSize ;
17064 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17065 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
17066 wxString const &arg7_defvalue = wxPyFrameNameStr ;
17067 wxString *arg7 = (wxString *) &arg7_defvalue ;
17068 wxMDIChildFrame *result;
b411df4a 17069 bool temp3 = false ;
d55e5bfc
RD
17070 wxPoint temp4 ;
17071 wxSize temp5 ;
b411df4a 17072 bool temp7 = false ;
d55e5bfc
RD
17073 PyObject * obj0 = 0 ;
17074 PyObject * obj1 = 0 ;
17075 PyObject * obj2 = 0 ;
17076 PyObject * obj3 = 0 ;
17077 PyObject * obj4 = 0 ;
17078 PyObject * obj5 = 0 ;
17079 PyObject * obj6 = 0 ;
17080 char *kwnames[] = {
17081 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17082 };
17083
bfddbb17 17084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17086 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 17087 if (obj1) {
36ed4f51
RD
17088 {
17089 arg2 = (int const)(SWIG_As_int(obj1));
17090 if (SWIG_arg_fail(2)) SWIG_fail;
17091 }
bfddbb17
RD
17092 }
17093 if (obj2) {
17094 {
17095 arg3 = wxString_in_helper(obj2);
17096 if (arg3 == NULL) SWIG_fail;
b411df4a 17097 temp3 = true;
bfddbb17 17098 }
d55e5bfc
RD
17099 }
17100 if (obj3) {
17101 {
17102 arg4 = &temp4;
17103 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17104 }
17105 }
17106 if (obj4) {
17107 {
17108 arg5 = &temp5;
17109 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17110 }
17111 }
17112 if (obj5) {
36ed4f51
RD
17113 {
17114 arg6 = (long)(SWIG_As_long(obj5));
17115 if (SWIG_arg_fail(6)) SWIG_fail;
17116 }
d55e5bfc
RD
17117 }
17118 if (obj6) {
17119 {
17120 arg7 = wxString_in_helper(obj6);
17121 if (arg7 == NULL) SWIG_fail;
b411df4a 17122 temp7 = true;
d55e5bfc
RD
17123 }
17124 }
17125 {
0439c23b 17126 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17127 PyThreadState* __tstate = wxPyBeginAllowThreads();
17128 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17129
17130 wxPyEndAllowThreads(__tstate);
110da5b0 17131 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17132 }
b0f7404b 17133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17134 {
17135 if (temp3)
17136 delete arg3;
17137 }
17138 {
17139 if (temp7)
17140 delete arg7;
17141 }
17142 return resultobj;
17143 fail:
17144 {
17145 if (temp3)
17146 delete arg3;
17147 }
17148 {
17149 if (temp7)
17150 delete arg7;
17151 }
17152 return NULL;
17153}
17154
17155
c370783e 17156static PyObject *_wrap_new_PreMDIChildFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17157 PyObject *resultobj;
17158 wxMDIChildFrame *result;
17159 char *kwnames[] = {
17160 NULL
17161 };
17162
17163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
17164 {
0439c23b 17165 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 result = (wxMDIChildFrame *)new wxMDIChildFrame();
17168
17169 wxPyEndAllowThreads(__tstate);
110da5b0 17170 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17171 }
b0f7404b 17172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIChildFrame, 1);
d55e5bfc
RD
17173 return resultobj;
17174 fail:
17175 return NULL;
17176}
17177
17178
c370783e 17179static PyObject *_wrap_MDIChildFrame_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17180 PyObject *resultobj;
17181 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17182 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
bfddbb17
RD
17183 int arg3 = (int) (int)-1 ;
17184 wxString const &arg4_defvalue = wxPyEmptyString ;
17185 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
17186 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17187 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17188 wxSize const &arg6_defvalue = wxDefaultSize ;
17189 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17190 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
17191 wxString const &arg8_defvalue = wxPyFrameNameStr ;
17192 wxString *arg8 = (wxString *) &arg8_defvalue ;
17193 bool result;
b411df4a 17194 bool temp4 = false ;
d55e5bfc
RD
17195 wxPoint temp5 ;
17196 wxSize temp6 ;
b411df4a 17197 bool temp8 = false ;
d55e5bfc
RD
17198 PyObject * obj0 = 0 ;
17199 PyObject * obj1 = 0 ;
17200 PyObject * obj2 = 0 ;
17201 PyObject * obj3 = 0 ;
17202 PyObject * obj4 = 0 ;
17203 PyObject * obj5 = 0 ;
17204 PyObject * obj6 = 0 ;
17205 PyObject * obj7 = 0 ;
17206 char *kwnames[] = {
17207 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17208 };
17209
bfddbb17 17210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
17211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17212 if (SWIG_arg_fail(1)) SWIG_fail;
17213 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17214 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17215 if (obj2) {
36ed4f51
RD
17216 {
17217 arg3 = (int const)(SWIG_As_int(obj2));
17218 if (SWIG_arg_fail(3)) SWIG_fail;
17219 }
bfddbb17
RD
17220 }
17221 if (obj3) {
17222 {
17223 arg4 = wxString_in_helper(obj3);
17224 if (arg4 == NULL) SWIG_fail;
b411df4a 17225 temp4 = true;
bfddbb17 17226 }
d55e5bfc
RD
17227 }
17228 if (obj4) {
17229 {
17230 arg5 = &temp5;
17231 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17232 }
17233 }
17234 if (obj5) {
17235 {
17236 arg6 = &temp6;
17237 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17238 }
17239 }
17240 if (obj6) {
36ed4f51
RD
17241 {
17242 arg7 = (long)(SWIG_As_long(obj6));
17243 if (SWIG_arg_fail(7)) SWIG_fail;
17244 }
d55e5bfc
RD
17245 }
17246 if (obj7) {
17247 {
17248 arg8 = wxString_in_helper(obj7);
17249 if (arg8 == NULL) SWIG_fail;
b411df4a 17250 temp8 = true;
d55e5bfc
RD
17251 }
17252 }
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 {
17261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17262 }
17263 {
17264 if (temp4)
17265 delete arg4;
17266 }
17267 {
17268 if (temp8)
17269 delete arg8;
17270 }
17271 return resultobj;
17272 fail:
17273 {
17274 if (temp4)
17275 delete arg4;
17276 }
17277 {
17278 if (temp8)
17279 delete arg8;
17280 }
17281 return NULL;
17282}
17283
17284
c370783e 17285static PyObject *_wrap_MDIChildFrame_Activate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17286 PyObject *resultobj;
17287 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17288 PyObject * obj0 = 0 ;
17289 char *kwnames[] = {
17290 (char *) "self", NULL
17291 };
17292
17293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
36ed4f51
RD
17294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17295 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 (arg1)->Activate();
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
17303 Py_INCREF(Py_None); resultobj = Py_None;
17304 return resultobj;
17305 fail:
17306 return NULL;
17307}
17308
17309
c370783e 17310static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17311 PyObject *resultobj;
17312 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
5cbf236d 17313 bool arg2 = (bool) true ;
d55e5bfc
RD
17314 PyObject * obj0 = 0 ;
17315 PyObject * obj1 = 0 ;
17316 char *kwnames[] = {
17317 (char *) "self",(char *) "maximize", NULL
17318 };
17319
5cbf236d 17320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17322 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d 17323 if (obj1) {
36ed4f51
RD
17324 {
17325 arg2 = (bool)(SWIG_As_bool(obj1));
17326 if (SWIG_arg_fail(2)) SWIG_fail;
17327 }
5cbf236d 17328 }
d55e5bfc
RD
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 (arg1)->Maximize(arg2);
17332
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 Py_INCREF(Py_None); resultobj = Py_None;
17337 return resultobj;
17338 fail:
17339 return NULL;
17340}
17341
17342
c370783e 17343static PyObject *_wrap_MDIChildFrame_Restore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17344 PyObject *resultobj;
17345 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
17346 PyObject * obj0 = 0 ;
17347 char *kwnames[] = {
17348 (char *) "self", NULL
17349 };
17350
17351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
36ed4f51
RD
17352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_EXCEPTION | 0);
17353 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17354 {
17355 PyThreadState* __tstate = wxPyBeginAllowThreads();
17356 (arg1)->Restore();
17357
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 Py_INCREF(Py_None); resultobj = Py_None;
17362 return resultobj;
17363 fail:
17364 return NULL;
17365}
17366
17367
c370783e 17368static PyObject * MDIChildFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17369 PyObject *obj;
17370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17371 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
17372 Py_INCREF(obj);
17373 return Py_BuildValue((char *)"");
17374}
c370783e 17375static PyObject *_wrap_new_MDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17376 PyObject *resultobj;
17377 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
17378 long arg2 = (long) 0 ;
17379 wxMDIClientWindow *result;
17380 PyObject * obj0 = 0 ;
17381 PyObject * obj1 = 0 ;
17382 char *kwnames[] = {
17383 (char *) "parent",(char *) "style", NULL
17384 };
17385
17386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17388 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17389 if (obj1) {
36ed4f51
RD
17390 {
17391 arg2 = (long)(SWIG_As_long(obj1));
17392 if (SWIG_arg_fail(2)) SWIG_fail;
17393 }
d55e5bfc
RD
17394 }
17395 {
0439c23b 17396 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17397 PyThreadState* __tstate = wxPyBeginAllowThreads();
17398 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
17399
17400 wxPyEndAllowThreads(__tstate);
110da5b0 17401 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17402 }
b0f7404b 17403 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
17404 return resultobj;
17405 fail:
17406 return NULL;
17407}
17408
17409
c370783e 17410static PyObject *_wrap_new_PreMDIClientWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17411 PyObject *resultobj;
17412 wxMDIClientWindow *result;
17413 char *kwnames[] = {
17414 NULL
17415 };
17416
17417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
17418 {
0439c23b 17419 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17420 PyThreadState* __tstate = wxPyBeginAllowThreads();
17421 result = (wxMDIClientWindow *)new wxMDIClientWindow();
17422
17423 wxPyEndAllowThreads(__tstate);
110da5b0 17424 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17425 }
b0f7404b 17426 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMDIClientWindow, 1);
d55e5bfc
RD
17427 return resultobj;
17428 fail:
17429 return NULL;
17430}
17431
17432
c370783e 17433static PyObject *_wrap_MDIClientWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17434 PyObject *resultobj;
17435 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
17436 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
17437 long arg3 = (long) 0 ;
17438 bool result;
17439 PyObject * obj0 = 0 ;
17440 PyObject * obj1 = 0 ;
17441 PyObject * obj2 = 0 ;
17442 char *kwnames[] = {
17443 (char *) "self",(char *) "parent",(char *) "style", NULL
17444 };
17445
17446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_EXCEPTION | 0);
17448 if (SWIG_arg_fail(1)) SWIG_fail;
17449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_EXCEPTION | 0);
17450 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 17451 if (obj2) {
36ed4f51
RD
17452 {
17453 arg3 = (long)(SWIG_As_long(obj2));
17454 if (SWIG_arg_fail(3)) SWIG_fail;
17455 }
d55e5bfc
RD
17456 }
17457 {
17458 PyThreadState* __tstate = wxPyBeginAllowThreads();
17459 result = (bool)(arg1)->Create(arg2,arg3);
17460
17461 wxPyEndAllowThreads(__tstate);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 }
17464 {
17465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17466 }
17467 return resultobj;
17468 fail:
17469 return NULL;
17470}
17471
17472
c370783e 17473static PyObject * MDIClientWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17474 PyObject *obj;
17475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17476 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
17477 Py_INCREF(obj);
17478 return Py_BuildValue((char *)"");
17479}
c370783e 17480static PyObject *_wrap_new_PyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17481 PyObject *resultobj;
17482 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 17483 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
17484 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17485 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17486 wxSize const &arg4_defvalue = wxDefaultSize ;
17487 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17488 long arg5 = (long) 0 ;
17489 wxString const &arg6_defvalue = wxPyPanelNameStr ;
17490 wxString *arg6 = (wxString *) &arg6_defvalue ;
17491 wxPyWindow *result;
17492 wxPoint temp3 ;
17493 wxSize temp4 ;
b411df4a 17494 bool temp6 = false ;
d55e5bfc
RD
17495 PyObject * obj0 = 0 ;
17496 PyObject * obj1 = 0 ;
17497 PyObject * obj2 = 0 ;
17498 PyObject * obj3 = 0 ;
17499 PyObject * obj4 = 0 ;
17500 PyObject * obj5 = 0 ;
17501 char *kwnames[] = {
17502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17503 };
17504
bfddbb17 17505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17507 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 17508 if (obj1) {
36ed4f51
RD
17509 {
17510 arg2 = (int const)(SWIG_As_int(obj1));
17511 if (SWIG_arg_fail(2)) SWIG_fail;
17512 }
bfddbb17 17513 }
d55e5bfc
RD
17514 if (obj2) {
17515 {
17516 arg3 = &temp3;
17517 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17518 }
17519 }
17520 if (obj3) {
17521 {
17522 arg4 = &temp4;
17523 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17524 }
17525 }
17526 if (obj4) {
36ed4f51
RD
17527 {
17528 arg5 = (long)(SWIG_As_long(obj4));
17529 if (SWIG_arg_fail(5)) SWIG_fail;
17530 }
d55e5bfc
RD
17531 }
17532 if (obj5) {
17533 {
17534 arg6 = wxString_in_helper(obj5);
17535 if (arg6 == NULL) SWIG_fail;
b411df4a 17536 temp6 = true;
d55e5bfc
RD
17537 }
17538 }
17539 {
0439c23b 17540 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17541 PyThreadState* __tstate = wxPyBeginAllowThreads();
17542 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17543
17544 wxPyEndAllowThreads(__tstate);
110da5b0 17545 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17546 }
17547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17548 {
17549 if (temp6)
17550 delete arg6;
17551 }
17552 return resultobj;
17553 fail:
17554 {
17555 if (temp6)
17556 delete arg6;
17557 }
17558 return NULL;
17559}
17560
17561
c370783e 17562static PyObject *_wrap_new_PrePyWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17563 PyObject *resultobj;
17564 wxPyWindow *result;
17565 char *kwnames[] = {
17566 NULL
17567 };
17568
17569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyWindow",kwnames)) goto fail;
17570 {
0439c23b 17571 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17572 PyThreadState* __tstate = wxPyBeginAllowThreads();
17573 result = (wxPyWindow *)new wxPyWindow();
17574
17575 wxPyEndAllowThreads(__tstate);
110da5b0 17576 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17577 }
17578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyWindow, 1);
17579 return resultobj;
17580 fail:
17581 return NULL;
17582}
17583
17584
c370783e 17585static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17586 PyObject *resultobj;
17587 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17588 PyObject *arg2 = (PyObject *) 0 ;
17589 PyObject *arg3 = (PyObject *) 0 ;
17590 PyObject * obj0 = 0 ;
17591 PyObject * obj1 = 0 ;
17592 PyObject * obj2 = 0 ;
17593 char *kwnames[] = {
17594 (char *) "self",(char *) "self",(char *) "_class", NULL
17595 };
17596
17597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17598 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17599 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17600 arg2 = obj1;
17601 arg3 = obj2;
17602 {
17603 PyThreadState* __tstate = wxPyBeginAllowThreads();
17604 (arg1)->_setCallbackInfo(arg2,arg3);
17605
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 Py_INCREF(Py_None); resultobj = Py_None;
17610 return resultobj;
17611 fail:
17612 return NULL;
17613}
17614
17615
c370783e 17616static PyObject *_wrap_PyWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
17617 PyObject *resultobj;
17618 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17619 wxSize *arg2 = 0 ;
17620 wxSize temp2 ;
17621 PyObject * obj0 = 0 ;
17622 PyObject * obj1 = 0 ;
17623 char *kwnames[] = {
17624 (char *) "self",(char *) "size", NULL
17625 };
17626
17627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17628 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17629 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
17630 {
17631 arg2 = &temp2;
17632 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17633 }
17634 {
17635 PyThreadState* __tstate = wxPyBeginAllowThreads();
17636 (arg1)->SetBestSize((wxSize const &)*arg2);
17637
17638 wxPyEndAllowThreads(__tstate);
17639 if (PyErr_Occurred()) SWIG_fail;
17640 }
17641 Py_INCREF(Py_None); resultobj = Py_None;
17642 return resultobj;
17643 fail:
17644 return NULL;
17645}
17646
17647
c370783e 17648static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17649 PyObject *resultobj;
17650 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17651 int arg2 ;
17652 int arg3 ;
17653 int arg4 ;
17654 int arg5 ;
17655 PyObject * obj0 = 0 ;
17656 PyObject * obj1 = 0 ;
17657 PyObject * obj2 = 0 ;
17658 PyObject * obj3 = 0 ;
17659 PyObject * obj4 = 0 ;
17660 char *kwnames[] = {
17661 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17662 };
17663
17664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
17665 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17666 if (SWIG_arg_fail(1)) SWIG_fail;
17667 {
17668 arg2 = (int)(SWIG_As_int(obj1));
17669 if (SWIG_arg_fail(2)) SWIG_fail;
17670 }
17671 {
17672 arg3 = (int)(SWIG_As_int(obj2));
17673 if (SWIG_arg_fail(3)) SWIG_fail;
17674 }
17675 {
17676 arg4 = (int)(SWIG_As_int(obj3));
17677 if (SWIG_arg_fail(4)) SWIG_fail;
17678 }
17679 {
17680 arg5 = (int)(SWIG_As_int(obj4));
17681 if (SWIG_arg_fail(5)) SWIG_fail;
17682 }
d55e5bfc
RD
17683 {
17684 PyThreadState* __tstate = wxPyBeginAllowThreads();
17685 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
17686
17687 wxPyEndAllowThreads(__tstate);
17688 if (PyErr_Occurred()) SWIG_fail;
17689 }
17690 Py_INCREF(Py_None); resultobj = Py_None;
17691 return resultobj;
17692 fail:
17693 return NULL;
17694}
17695
17696
c370783e 17697static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17698 PyObject *resultobj;
17699 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17700 int arg2 ;
17701 int arg3 ;
17702 int arg4 ;
17703 int arg5 ;
17704 int arg6 = (int) wxSIZE_AUTO ;
17705 PyObject * obj0 = 0 ;
17706 PyObject * obj1 = 0 ;
17707 PyObject * obj2 = 0 ;
17708 PyObject * obj3 = 0 ;
17709 PyObject * obj4 = 0 ;
17710 PyObject * obj5 = 0 ;
17711 char *kwnames[] = {
17712 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17713 };
17714
17715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17717 if (SWIG_arg_fail(1)) SWIG_fail;
17718 {
17719 arg2 = (int)(SWIG_As_int(obj1));
17720 if (SWIG_arg_fail(2)) SWIG_fail;
17721 }
17722 {
17723 arg3 = (int)(SWIG_As_int(obj2));
17724 if (SWIG_arg_fail(3)) SWIG_fail;
17725 }
17726 {
17727 arg4 = (int)(SWIG_As_int(obj3));
17728 if (SWIG_arg_fail(4)) SWIG_fail;
17729 }
17730 {
17731 arg5 = (int)(SWIG_As_int(obj4));
17732 if (SWIG_arg_fail(5)) SWIG_fail;
17733 }
d55e5bfc 17734 if (obj5) {
36ed4f51
RD
17735 {
17736 arg6 = (int)(SWIG_As_int(obj5));
17737 if (SWIG_arg_fail(6)) SWIG_fail;
17738 }
d55e5bfc
RD
17739 }
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
17743
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 Py_INCREF(Py_None); resultobj = Py_None;
17748 return resultobj;
17749 fail:
17750 return NULL;
17751}
17752
17753
c370783e 17754static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17755 PyObject *resultobj;
17756 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17757 int arg2 ;
17758 int arg3 ;
17759 PyObject * obj0 = 0 ;
17760 PyObject * obj1 = 0 ;
17761 PyObject * obj2 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "self",(char *) "width",(char *) "height", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17768 if (SWIG_arg_fail(1)) SWIG_fail;
17769 {
17770 arg2 = (int)(SWIG_As_int(obj1));
17771 if (SWIG_arg_fail(2)) SWIG_fail;
17772 }
17773 {
17774 arg3 = (int)(SWIG_As_int(obj2));
17775 if (SWIG_arg_fail(3)) SWIG_fail;
17776 }
d55e5bfc
RD
17777 {
17778 PyThreadState* __tstate = wxPyBeginAllowThreads();
17779 (arg1)->base_DoSetClientSize(arg2,arg3);
17780
17781 wxPyEndAllowThreads(__tstate);
17782 if (PyErr_Occurred()) SWIG_fail;
17783 }
17784 Py_INCREF(Py_None); resultobj = Py_None;
17785 return resultobj;
17786 fail:
17787 return NULL;
17788}
17789
17790
c370783e 17791static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17792 PyObject *resultobj;
17793 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17794 int arg2 ;
17795 int arg3 ;
17796 PyObject * obj0 = 0 ;
17797 PyObject * obj1 = 0 ;
17798 PyObject * obj2 = 0 ;
17799 char *kwnames[] = {
17800 (char *) "self",(char *) "x",(char *) "y", NULL
17801 };
17802
17803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17805 if (SWIG_arg_fail(1)) SWIG_fail;
17806 {
17807 arg2 = (int)(SWIG_As_int(obj1));
17808 if (SWIG_arg_fail(2)) SWIG_fail;
17809 }
17810 {
17811 arg3 = (int)(SWIG_As_int(obj2));
17812 if (SWIG_arg_fail(3)) SWIG_fail;
17813 }
d55e5bfc
RD
17814 {
17815 PyThreadState* __tstate = wxPyBeginAllowThreads();
17816 (arg1)->base_DoSetVirtualSize(arg2,arg3);
17817
17818 wxPyEndAllowThreads(__tstate);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 }
17821 Py_INCREF(Py_None); resultobj = Py_None;
17822 return resultobj;
17823 fail:
17824 return NULL;
17825}
17826
17827
c370783e 17828static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17829 PyObject *resultobj;
17830 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17831 int *arg2 = (int *) 0 ;
17832 int *arg3 = (int *) 0 ;
17833 int temp2 ;
c370783e 17834 int res2 = 0 ;
d55e5bfc 17835 int temp3 ;
c370783e 17836 int res3 = 0 ;
d55e5bfc
RD
17837 PyObject * obj0 = 0 ;
17838 char *kwnames[] = {
17839 (char *) "self", NULL
17840 };
17841
c370783e
RD
17842 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17843 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
17845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17846 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17847 {
17848 PyThreadState* __tstate = wxPyBeginAllowThreads();
17849 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
17850
17851 wxPyEndAllowThreads(__tstate);
17852 if (PyErr_Occurred()) SWIG_fail;
17853 }
17854 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
17855 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17856 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17857 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17858 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17859 return resultobj;
17860 fail:
17861 return NULL;
17862}
17863
17864
c370783e 17865static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17866 PyObject *resultobj;
17867 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17868 int *arg2 = (int *) 0 ;
17869 int *arg3 = (int *) 0 ;
17870 int temp2 ;
c370783e 17871 int res2 = 0 ;
d55e5bfc 17872 int temp3 ;
c370783e 17873 int res3 = 0 ;
d55e5bfc
RD
17874 PyObject * obj0 = 0 ;
17875 char *kwnames[] = {
17876 (char *) "self", NULL
17877 };
17878
c370783e
RD
17879 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17880 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
17882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17883 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
17892 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17893 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17894 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17895 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17896 return resultobj;
17897 fail:
17898 return NULL;
17899}
17900
17901
c370783e 17902static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17903 PyObject *resultobj;
17904 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17905 int *arg2 = (int *) 0 ;
17906 int *arg3 = (int *) 0 ;
17907 int temp2 ;
c370783e 17908 int res2 = 0 ;
d55e5bfc 17909 int temp3 ;
c370783e 17910 int res3 = 0 ;
d55e5bfc
RD
17911 PyObject * obj0 = 0 ;
17912 char *kwnames[] = {
17913 (char *) "self", NULL
17914 };
17915
c370783e
RD
17916 arg2 = &temp2; res2 = SWIG_NEWOBJ;
17917 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
17919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17920 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
17929 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
17930 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
17931 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17932 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
17933 return resultobj;
17934 fail:
17935 return NULL;
17936}
17937
17938
c370783e 17939static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17940 PyObject *resultobj;
17941 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17942 wxSize result;
17943 PyObject * obj0 = 0 ;
17944 char *kwnames[] = {
17945 (char *) "self", NULL
17946 };
17947
17948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
17949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17950 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17951 {
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 {
17959 wxSize * resultptr;
36ed4f51 17960 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
17961 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17962 }
17963 return resultobj;
17964 fail:
17965 return NULL;
17966}
17967
17968
c370783e 17969static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17970 PyObject *resultobj;
17971 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
17972 wxSize result;
17973 PyObject * obj0 = 0 ;
17974 char *kwnames[] = {
17975 (char *) "self", NULL
17976 };
17977
17978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
17979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
17980 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 {
17989 wxSize * resultptr;
36ed4f51 17990 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
17991 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17992 }
17993 return resultobj;
17994 fail:
17995 return NULL;
17996}
17997
17998
c370783e 17999static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18000 PyObject *resultobj;
18001 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18002 PyObject * obj0 = 0 ;
18003 char *kwnames[] = {
18004 (char *) "self", NULL
18005 };
18006
18007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
18008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18009 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 (arg1)->base_InitDialog();
18013
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 Py_INCREF(Py_None); resultobj = Py_None;
18018 return resultobj;
18019 fail:
18020 return NULL;
18021}
18022
18023
c370783e 18024static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18025 PyObject *resultobj;
18026 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18027 bool result;
18028 PyObject * obj0 = 0 ;
18029 char *kwnames[] = {
18030 (char *) "self", NULL
18031 };
18032
18033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
18034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18035 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18036 {
18037 PyThreadState* __tstate = wxPyBeginAllowThreads();
18038 result = (bool)(arg1)->base_TransferDataToWindow();
18039
18040 wxPyEndAllowThreads(__tstate);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 {
18044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18045 }
18046 return resultobj;
18047 fail:
18048 return NULL;
18049}
18050
18051
c370783e 18052static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18053 PyObject *resultobj;
18054 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18055 bool result;
18056 PyObject * obj0 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "self", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
18062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18063 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18064 {
18065 PyThreadState* __tstate = wxPyBeginAllowThreads();
18066 result = (bool)(arg1)->base_TransferDataFromWindow();
18067
18068 wxPyEndAllowThreads(__tstate);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 {
18072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18073 }
18074 return resultobj;
18075 fail:
18076 return NULL;
18077}
18078
18079
c370783e 18080static PyObject *_wrap_PyWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18081 PyObject *resultobj;
18082 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18083 bool result;
18084 PyObject * obj0 = 0 ;
18085 char *kwnames[] = {
18086 (char *) "self", NULL
18087 };
18088
18089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
18090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18091 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18092 {
18093 PyThreadState* __tstate = wxPyBeginAllowThreads();
18094 result = (bool)(arg1)->base_Validate();
18095
18096 wxPyEndAllowThreads(__tstate);
18097 if (PyErr_Occurred()) SWIG_fail;
18098 }
18099 {
18100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18101 }
18102 return resultobj;
18103 fail:
18104 return NULL;
18105}
18106
18107
c370783e 18108static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18109 PyObject *resultobj;
18110 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18111 bool result;
18112 PyObject * obj0 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "self", NULL
18115 };
18116
18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
18118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18119 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18120 {
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
18123
18124 wxPyEndAllowThreads(__tstate);
18125 if (PyErr_Occurred()) SWIG_fail;
18126 }
18127 {
18128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18129 }
18130 return resultobj;
18131 fail:
18132 return NULL;
18133}
18134
18135
c370783e 18136static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18137 PyObject *resultobj;
18138 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18139 bool result;
18140 PyObject * obj0 = 0 ;
18141 char *kwnames[] = {
18142 (char *) "self", NULL
18143 };
18144
18145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
18146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18147 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18148 {
18149 PyThreadState* __tstate = wxPyBeginAllowThreads();
18150 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
18151
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 {
18156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18157 }
18158 return resultobj;
18159 fail:
18160 return NULL;
18161}
18162
18163
c370783e 18164static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18165 PyObject *resultobj;
18166 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18167 wxSize result;
18168 PyObject * obj0 = 0 ;
18169 char *kwnames[] = {
18170 (char *) "self", NULL
18171 };
18172
18173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18175 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18176 {
18177 PyThreadState* __tstate = wxPyBeginAllowThreads();
18178 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
18179
18180 wxPyEndAllowThreads(__tstate);
18181 if (PyErr_Occurred()) SWIG_fail;
18182 }
18183 {
18184 wxSize * resultptr;
36ed4f51 18185 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18187 }
18188 return resultobj;
18189 fail:
18190 return NULL;
18191}
18192
18193
c370783e 18194static PyObject *_wrap_PyWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18195 PyObject *resultobj;
18196 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18197 wxWindow *arg2 = (wxWindow *) 0 ;
18198 PyObject * obj0 = 0 ;
18199 PyObject * obj1 = 0 ;
18200 char *kwnames[] = {
18201 (char *) "self",(char *) "child", NULL
18202 };
18203
18204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18206 if (SWIG_arg_fail(1)) SWIG_fail;
18207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18208 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18209 {
18210 PyThreadState* __tstate = wxPyBeginAllowThreads();
18211 (arg1)->base_AddChild(arg2);
18212
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 Py_INCREF(Py_None); resultobj = Py_None;
18217 return resultobj;
18218 fail:
18219 return NULL;
18220}
18221
18222
c370783e 18223static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18224 PyObject *resultobj;
18225 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18226 wxWindow *arg2 = (wxWindow *) 0 ;
18227 PyObject * obj0 = 0 ;
18228 PyObject * obj1 = 0 ;
18229 char *kwnames[] = {
18230 (char *) "self",(char *) "child", NULL
18231 };
18232
18233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18235 if (SWIG_arg_fail(1)) SWIG_fail;
18236 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18237 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
18238 {
18239 PyThreadState* __tstate = wxPyBeginAllowThreads();
18240 (arg1)->base_RemoveChild(arg2);
18241
18242 wxPyEndAllowThreads(__tstate);
18243 if (PyErr_Occurred()) SWIG_fail;
18244 }
18245 Py_INCREF(Py_None); resultobj = Py_None;
18246 return resultobj;
18247 fail:
18248 return NULL;
18249}
18250
18251
c370783e 18252static PyObject *_wrap_PyWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18253 PyObject *resultobj;
18254 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18255 bool result;
18256 PyObject * obj0 = 0 ;
18257 char *kwnames[] = {
18258 (char *) "self", NULL
18259 };
18260
18261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
18262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18264 {
18265 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 18266 result = (bool)((wxPyWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
18267
18268 wxPyEndAllowThreads(__tstate);
18269 if (PyErr_Occurred()) SWIG_fail;
18270 }
18271 {
18272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18273 }
18274 return resultobj;
18275 fail:
18276 return NULL;
18277}
18278
18279
c370783e 18280static PyObject *_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18281 PyObject *resultobj;
18282 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18283 wxColour *arg2 = 0 ;
18284 wxColour temp2 ;
18285 PyObject * obj0 = 0 ;
18286 PyObject * obj1 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "self",(char *) "c", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18294 {
18295 arg2 = &temp2;
18296 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18297 }
18298 {
18299 PyThreadState* __tstate = wxPyBeginAllowThreads();
18300 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
18301
18302 wxPyEndAllowThreads(__tstate);
18303 if (PyErr_Occurred()) SWIG_fail;
18304 }
18305 Py_INCREF(Py_None); resultobj = Py_None;
18306 return resultobj;
18307 fail:
18308 return NULL;
18309}
18310
18311
c370783e 18312static PyObject *_wrap_PyWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
18313 PyObject *resultobj;
18314 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
18315 wxVisualAttributes result;
18316 PyObject * obj0 = 0 ;
18317 char *kwnames[] = {
18318 (char *) "self", NULL
18319 };
18320
18321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
18322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyWindow, SWIG_POINTER_EXCEPTION | 0);
18323 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
18324 {
18325 PyThreadState* __tstate = wxPyBeginAllowThreads();
18326 result = (arg1)->base_GetDefaultAttributes();
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 {
18332 wxVisualAttributes * resultptr;
36ed4f51 18333 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
a5ee0656
RD
18334 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18335 }
18336 return resultobj;
18337 fail:
18338 return NULL;
18339}
18340
18341
c370783e 18342static PyObject * PyWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18343 PyObject *obj;
18344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18345 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
18346 Py_INCREF(obj);
18347 return Py_BuildValue((char *)"");
18348}
c370783e 18349static PyObject *_wrap_new_PyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18350 PyObject *resultobj;
18351 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 18352 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
18353 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18354 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18355 wxSize const &arg4_defvalue = wxDefaultSize ;
18356 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18357 long arg5 = (long) 0 ;
18358 wxString const &arg6_defvalue = wxPyPanelNameStr ;
18359 wxString *arg6 = (wxString *) &arg6_defvalue ;
18360 wxPyPanel *result;
18361 wxPoint temp3 ;
18362 wxSize temp4 ;
b411df4a 18363 bool temp6 = false ;
d55e5bfc
RD
18364 PyObject * obj0 = 0 ;
18365 PyObject * obj1 = 0 ;
18366 PyObject * obj2 = 0 ;
18367 PyObject * obj3 = 0 ;
18368 PyObject * obj4 = 0 ;
18369 PyObject * obj5 = 0 ;
18370 char *kwnames[] = {
18371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18372 };
18373
bfddbb17 18374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
18375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
18376 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 18377 if (obj1) {
36ed4f51
RD
18378 {
18379 arg2 = (int const)(SWIG_As_int(obj1));
18380 if (SWIG_arg_fail(2)) SWIG_fail;
18381 }
bfddbb17 18382 }
d55e5bfc
RD
18383 if (obj2) {
18384 {
18385 arg3 = &temp3;
18386 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18387 }
18388 }
18389 if (obj3) {
18390 {
18391 arg4 = &temp4;
18392 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18393 }
18394 }
18395 if (obj4) {
36ed4f51
RD
18396 {
18397 arg5 = (long)(SWIG_As_long(obj4));
18398 if (SWIG_arg_fail(5)) SWIG_fail;
18399 }
d55e5bfc
RD
18400 }
18401 if (obj5) {
18402 {
18403 arg6 = wxString_in_helper(obj5);
18404 if (arg6 == NULL) SWIG_fail;
b411df4a 18405 temp6 = true;
d55e5bfc
RD
18406 }
18407 }
18408 {
0439c23b 18409 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18412
18413 wxPyEndAllowThreads(__tstate);
110da5b0 18414 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18415 }
18416 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18417 {
18418 if (temp6)
18419 delete arg6;
18420 }
18421 return resultobj;
18422 fail:
18423 {
18424 if (temp6)
18425 delete arg6;
18426 }
18427 return NULL;
18428}
18429
18430
c370783e 18431static PyObject *_wrap_new_PrePyPanel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18432 PyObject *resultobj;
18433 wxPyPanel *result;
18434 char *kwnames[] = {
18435 NULL
18436 };
18437
18438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyPanel",kwnames)) goto fail;
18439 {
0439c23b 18440 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18441 PyThreadState* __tstate = wxPyBeginAllowThreads();
18442 result = (wxPyPanel *)new wxPyPanel();
18443
18444 wxPyEndAllowThreads(__tstate);
110da5b0 18445 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18446 }
18447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPanel, 1);
18448 return resultobj;
18449 fail:
18450 return NULL;
18451}
18452
18453
c370783e 18454static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18455 PyObject *resultobj;
18456 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18457 PyObject *arg2 = (PyObject *) 0 ;
18458 PyObject *arg3 = (PyObject *) 0 ;
18459 PyObject * obj0 = 0 ;
18460 PyObject * obj1 = 0 ;
18461 PyObject * obj2 = 0 ;
18462 char *kwnames[] = {
18463 (char *) "self",(char *) "self",(char *) "_class", NULL
18464 };
18465
18466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18468 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18469 arg2 = obj1;
18470 arg3 = obj2;
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 (arg1)->_setCallbackInfo(arg2,arg3);
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 Py_INCREF(Py_None); resultobj = Py_None;
18479 return resultobj;
18480 fail:
18481 return NULL;
18482}
18483
18484
c370783e 18485static PyObject *_wrap_PyPanel_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
18486 PyObject *resultobj;
18487 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18488 wxSize *arg2 = 0 ;
18489 wxSize temp2 ;
18490 PyObject * obj0 = 0 ;
18491 PyObject * obj1 = 0 ;
18492 char *kwnames[] = {
18493 (char *) "self",(char *) "size", NULL
18494 };
18495
18496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
18499 {
18500 arg2 = &temp2;
18501 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18502 }
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 (arg1)->SetBestSize((wxSize const &)*arg2);
18506
18507 wxPyEndAllowThreads(__tstate);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 }
18510 Py_INCREF(Py_None); resultobj = Py_None;
18511 return resultobj;
18512 fail:
18513 return NULL;
18514}
18515
18516
c370783e 18517static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18518 PyObject *resultobj;
18519 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18520 int arg2 ;
18521 int arg3 ;
18522 int arg4 ;
18523 int arg5 ;
18524 PyObject * obj0 = 0 ;
18525 PyObject * obj1 = 0 ;
18526 PyObject * obj2 = 0 ;
18527 PyObject * obj3 = 0 ;
18528 PyObject * obj4 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
18534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18535 if (SWIG_arg_fail(1)) SWIG_fail;
18536 {
18537 arg2 = (int)(SWIG_As_int(obj1));
18538 if (SWIG_arg_fail(2)) SWIG_fail;
18539 }
18540 {
18541 arg3 = (int)(SWIG_As_int(obj2));
18542 if (SWIG_arg_fail(3)) SWIG_fail;
18543 }
18544 {
18545 arg4 = (int)(SWIG_As_int(obj3));
18546 if (SWIG_arg_fail(4)) SWIG_fail;
18547 }
18548 {
18549 arg5 = (int)(SWIG_As_int(obj4));
18550 if (SWIG_arg_fail(5)) SWIG_fail;
18551 }
d55e5bfc
RD
18552 {
18553 PyThreadState* __tstate = wxPyBeginAllowThreads();
18554 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
18555
18556 wxPyEndAllowThreads(__tstate);
18557 if (PyErr_Occurred()) SWIG_fail;
18558 }
18559 Py_INCREF(Py_None); resultobj = Py_None;
18560 return resultobj;
18561 fail:
18562 return NULL;
18563}
18564
18565
c370783e 18566static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18567 PyObject *resultobj;
18568 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18569 int arg2 ;
18570 int arg3 ;
18571 int arg4 ;
18572 int arg5 ;
18573 int arg6 = (int) wxSIZE_AUTO ;
18574 PyObject * obj0 = 0 ;
18575 PyObject * obj1 = 0 ;
18576 PyObject * obj2 = 0 ;
18577 PyObject * obj3 = 0 ;
18578 PyObject * obj4 = 0 ;
18579 PyObject * obj5 = 0 ;
18580 char *kwnames[] = {
18581 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18582 };
18583
18584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
18585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18586 if (SWIG_arg_fail(1)) SWIG_fail;
18587 {
18588 arg2 = (int)(SWIG_As_int(obj1));
18589 if (SWIG_arg_fail(2)) SWIG_fail;
18590 }
18591 {
18592 arg3 = (int)(SWIG_As_int(obj2));
18593 if (SWIG_arg_fail(3)) SWIG_fail;
18594 }
18595 {
18596 arg4 = (int)(SWIG_As_int(obj3));
18597 if (SWIG_arg_fail(4)) SWIG_fail;
18598 }
18599 {
18600 arg5 = (int)(SWIG_As_int(obj4));
18601 if (SWIG_arg_fail(5)) SWIG_fail;
18602 }
d55e5bfc 18603 if (obj5) {
36ed4f51
RD
18604 {
18605 arg6 = (int)(SWIG_As_int(obj5));
18606 if (SWIG_arg_fail(6)) SWIG_fail;
18607 }
d55e5bfc
RD
18608 }
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 Py_INCREF(Py_None); resultobj = Py_None;
18617 return resultobj;
18618 fail:
18619 return NULL;
18620}
18621
18622
c370783e 18623static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18624 PyObject *resultobj;
18625 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18626 int arg2 ;
18627 int arg3 ;
18628 PyObject * obj0 = 0 ;
18629 PyObject * obj1 = 0 ;
18630 PyObject * obj2 = 0 ;
18631 char *kwnames[] = {
18632 (char *) "self",(char *) "width",(char *) "height", NULL
18633 };
18634
18635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18637 if (SWIG_arg_fail(1)) SWIG_fail;
18638 {
18639 arg2 = (int)(SWIG_As_int(obj1));
18640 if (SWIG_arg_fail(2)) SWIG_fail;
18641 }
18642 {
18643 arg3 = (int)(SWIG_As_int(obj2));
18644 if (SWIG_arg_fail(3)) SWIG_fail;
18645 }
d55e5bfc
RD
18646 {
18647 PyThreadState* __tstate = wxPyBeginAllowThreads();
18648 (arg1)->base_DoSetClientSize(arg2,arg3);
18649
18650 wxPyEndAllowThreads(__tstate);
18651 if (PyErr_Occurred()) SWIG_fail;
18652 }
18653 Py_INCREF(Py_None); resultobj = Py_None;
18654 return resultobj;
18655 fail:
18656 return NULL;
18657}
18658
18659
c370783e 18660static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18661 PyObject *resultobj;
18662 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18663 int arg2 ;
18664 int arg3 ;
18665 PyObject * obj0 = 0 ;
18666 PyObject * obj1 = 0 ;
18667 PyObject * obj2 = 0 ;
18668 char *kwnames[] = {
18669 (char *) "self",(char *) "x",(char *) "y", NULL
18670 };
18671
18672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18674 if (SWIG_arg_fail(1)) SWIG_fail;
18675 {
18676 arg2 = (int)(SWIG_As_int(obj1));
18677 if (SWIG_arg_fail(2)) SWIG_fail;
18678 }
18679 {
18680 arg3 = (int)(SWIG_As_int(obj2));
18681 if (SWIG_arg_fail(3)) SWIG_fail;
18682 }
d55e5bfc
RD
18683 {
18684 PyThreadState* __tstate = wxPyBeginAllowThreads();
18685 (arg1)->base_DoSetVirtualSize(arg2,arg3);
18686
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 Py_INCREF(Py_None); resultobj = Py_None;
18691 return resultobj;
18692 fail:
18693 return NULL;
18694}
18695
18696
c370783e 18697static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18698 PyObject *resultobj;
18699 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18700 int *arg2 = (int *) 0 ;
18701 int *arg3 = (int *) 0 ;
18702 int temp2 ;
c370783e 18703 int res2 = 0 ;
d55e5bfc 18704 int temp3 ;
c370783e 18705 int res3 = 0 ;
d55e5bfc
RD
18706 PyObject * obj0 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self", NULL
18709 };
18710
c370783e
RD
18711 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18712 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18716 {
18717 PyThreadState* __tstate = wxPyBeginAllowThreads();
18718 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
18719
18720 wxPyEndAllowThreads(__tstate);
18721 if (PyErr_Occurred()) SWIG_fail;
18722 }
18723 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
18724 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18725 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18726 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18727 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18728 return resultobj;
18729 fail:
18730 return NULL;
18731}
18732
18733
c370783e 18734static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18735 PyObject *resultobj;
18736 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18737 int *arg2 = (int *) 0 ;
18738 int *arg3 = (int *) 0 ;
18739 int temp2 ;
c370783e 18740 int res2 = 0 ;
d55e5bfc 18741 int temp3 ;
c370783e 18742 int res3 = 0 ;
d55e5bfc
RD
18743 PyObject * obj0 = 0 ;
18744 char *kwnames[] = {
18745 (char *) "self", NULL
18746 };
18747
c370783e
RD
18748 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18749 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18752 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
18761 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18762 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18763 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18764 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18765 return resultobj;
18766 fail:
18767 return NULL;
18768}
18769
18770
c370783e 18771static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18772 PyObject *resultobj;
18773 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18774 int *arg2 = (int *) 0 ;
18775 int *arg3 = (int *) 0 ;
18776 int temp2 ;
c370783e 18777 int res2 = 0 ;
d55e5bfc 18778 int temp3 ;
c370783e 18779 int res3 = 0 ;
d55e5bfc
RD
18780 PyObject * obj0 = 0 ;
18781 char *kwnames[] = {
18782 (char *) "self", NULL
18783 };
18784
c370783e
RD
18785 arg2 = &temp2; res2 = SWIG_NEWOBJ;
18786 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 18787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
18788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18789 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18790 {
18791 PyThreadState* __tstate = wxPyBeginAllowThreads();
18792 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
18793
18794 wxPyEndAllowThreads(__tstate);
18795 if (PyErr_Occurred()) SWIG_fail;
18796 }
18797 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
18798 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
18799 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
18800 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
18801 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
18802 return resultobj;
18803 fail:
18804 return NULL;
18805}
18806
18807
c370783e 18808static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18809 PyObject *resultobj;
18810 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18811 wxSize result;
18812 PyObject * obj0 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18819 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18820 {
18821 PyThreadState* __tstate = wxPyBeginAllowThreads();
18822 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
18823
18824 wxPyEndAllowThreads(__tstate);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 }
18827 {
18828 wxSize * resultptr;
36ed4f51 18829 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18830 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18831 }
18832 return resultobj;
18833 fail:
18834 return NULL;
18835}
18836
18837
c370783e 18838static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18839 PyObject *resultobj;
18840 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18841 wxSize result;
18842 PyObject * obj0 = 0 ;
18843 char *kwnames[] = {
18844 (char *) "self", NULL
18845 };
18846
18847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
18848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18849 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18850 {
18851 PyThreadState* __tstate = wxPyBeginAllowThreads();
18852 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
18853
18854 wxPyEndAllowThreads(__tstate);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 }
18857 {
18858 wxSize * resultptr;
36ed4f51 18859 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18861 }
18862 return resultobj;
18863 fail:
18864 return NULL;
18865}
18866
18867
c370783e 18868static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18869 PyObject *resultobj;
18870 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18871 PyObject * obj0 = 0 ;
18872 char *kwnames[] = {
18873 (char *) "self", NULL
18874 };
18875
18876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
18877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18878 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 (arg1)->base_InitDialog();
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 Py_INCREF(Py_None); resultobj = Py_None;
18887 return resultobj;
18888 fail:
18889 return NULL;
18890}
18891
18892
c370783e 18893static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18894 PyObject *resultobj;
18895 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18896 bool result;
18897 PyObject * obj0 = 0 ;
18898 char *kwnames[] = {
18899 (char *) "self", NULL
18900 };
18901
18902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
18903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18904 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18905 {
18906 PyThreadState* __tstate = wxPyBeginAllowThreads();
18907 result = (bool)(arg1)->base_TransferDataToWindow();
18908
18909 wxPyEndAllowThreads(__tstate);
18910 if (PyErr_Occurred()) SWIG_fail;
18911 }
18912 {
18913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18914 }
18915 return resultobj;
18916 fail:
18917 return NULL;
18918}
18919
18920
c370783e 18921static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18922 PyObject *resultobj;
18923 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18924 bool result;
18925 PyObject * obj0 = 0 ;
18926 char *kwnames[] = {
18927 (char *) "self", NULL
18928 };
18929
18930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
18931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18932 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18933 {
18934 PyThreadState* __tstate = wxPyBeginAllowThreads();
18935 result = (bool)(arg1)->base_TransferDataFromWindow();
18936
18937 wxPyEndAllowThreads(__tstate);
18938 if (PyErr_Occurred()) SWIG_fail;
18939 }
18940 {
18941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18942 }
18943 return resultobj;
18944 fail:
18945 return NULL;
18946}
18947
18948
c370783e 18949static PyObject *_wrap_PyPanel_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18950 PyObject *resultobj;
18951 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18952 bool result;
18953 PyObject * obj0 = 0 ;
18954 char *kwnames[] = {
18955 (char *) "self", NULL
18956 };
18957
18958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
18959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18960 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18961 {
18962 PyThreadState* __tstate = wxPyBeginAllowThreads();
18963 result = (bool)(arg1)->base_Validate();
18964
18965 wxPyEndAllowThreads(__tstate);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 }
18968 {
18969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18970 }
18971 return resultobj;
18972 fail:
18973 return NULL;
18974}
18975
18976
c370783e 18977static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18978 PyObject *resultobj;
18979 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
18980 bool result;
18981 PyObject * obj0 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
18987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
18991 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 {
18997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18998 }
18999 return resultobj;
19000 fail:
19001 return NULL;
19002}
19003
19004
c370783e 19005static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19006 PyObject *resultobj;
19007 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19008 bool result;
19009 PyObject * obj0 = 0 ;
19010 char *kwnames[] = {
19011 (char *) "self", NULL
19012 };
19013
19014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
19015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19016 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19017 {
19018 PyThreadState* __tstate = wxPyBeginAllowThreads();
19019 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
19020
19021 wxPyEndAllowThreads(__tstate);
19022 if (PyErr_Occurred()) SWIG_fail;
19023 }
19024 {
19025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19026 }
19027 return resultobj;
19028 fail:
19029 return NULL;
19030}
19031
19032
c370783e 19033static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19034 PyObject *resultobj;
19035 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19036 wxSize result;
19037 PyObject * obj0 = 0 ;
19038 char *kwnames[] = {
19039 (char *) "self", NULL
19040 };
19041
19042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19044 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19045 {
19046 PyThreadState* __tstate = wxPyBeginAllowThreads();
19047 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
19048
19049 wxPyEndAllowThreads(__tstate);
19050 if (PyErr_Occurred()) SWIG_fail;
19051 }
19052 {
19053 wxSize * resultptr;
36ed4f51 19054 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19055 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19056 }
19057 return resultobj;
19058 fail:
19059 return NULL;
19060}
19061
19062
c370783e 19063static PyObject *_wrap_PyPanel_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19064 PyObject *resultobj;
19065 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19066 wxWindow *arg2 = (wxWindow *) 0 ;
19067 PyObject * obj0 = 0 ;
19068 PyObject * obj1 = 0 ;
19069 char *kwnames[] = {
19070 (char *) "self",(char *) "child", NULL
19071 };
19072
19073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19075 if (SWIG_arg_fail(1)) SWIG_fail;
19076 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19077 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19078 {
19079 PyThreadState* __tstate = wxPyBeginAllowThreads();
19080 (arg1)->base_AddChild(arg2);
19081
19082 wxPyEndAllowThreads(__tstate);
19083 if (PyErr_Occurred()) SWIG_fail;
19084 }
19085 Py_INCREF(Py_None); resultobj = Py_None;
19086 return resultobj;
19087 fail:
19088 return NULL;
19089}
19090
19091
c370783e 19092static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19093 PyObject *resultobj;
19094 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19095 wxWindow *arg2 = (wxWindow *) 0 ;
19096 PyObject * obj0 = 0 ;
19097 PyObject * obj1 = 0 ;
19098 char *kwnames[] = {
19099 (char *) "self",(char *) "child", NULL
19100 };
19101
19102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19104 if (SWIG_arg_fail(1)) SWIG_fail;
19105 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19106 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19107 {
19108 PyThreadState* __tstate = wxPyBeginAllowThreads();
19109 (arg1)->base_RemoveChild(arg2);
19110
19111 wxPyEndAllowThreads(__tstate);
19112 if (PyErr_Occurred()) SWIG_fail;
19113 }
19114 Py_INCREF(Py_None); resultobj = Py_None;
19115 return resultobj;
19116 fail:
19117 return NULL;
19118}
19119
19120
c370783e 19121static PyObject *_wrap_PyPanel_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19122 PyObject *resultobj;
19123 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19124 bool result;
19125 PyObject * obj0 = 0 ;
19126 char *kwnames[] = {
19127 (char *) "self", NULL
19128 };
19129
19130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
19131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19132 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19133 {
19134 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 19135 result = (bool)((wxPyPanel const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
19136
19137 wxPyEndAllowThreads(__tstate);
19138 if (PyErr_Occurred()) SWIG_fail;
19139 }
19140 {
19141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19142 }
19143 return resultobj;
19144 fail:
19145 return NULL;
19146}
19147
19148
c370783e 19149static PyObject *_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19150 PyObject *resultobj;
19151 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19152 wxColour *arg2 = 0 ;
19153 wxColour temp2 ;
19154 PyObject * obj0 = 0 ;
19155 PyObject * obj1 = 0 ;
19156 char *kwnames[] = {
19157 (char *) "self",(char *) "c", NULL
19158 };
19159
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19163 {
19164 arg2 = &temp2;
19165 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19166 }
19167 {
19168 PyThreadState* __tstate = wxPyBeginAllowThreads();
19169 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
19170
19171 wxPyEndAllowThreads(__tstate);
19172 if (PyErr_Occurred()) SWIG_fail;
19173 }
19174 Py_INCREF(Py_None); resultobj = Py_None;
19175 return resultobj;
19176 fail:
19177 return NULL;
19178}
19179
19180
c370783e 19181static PyObject *_wrap_PyPanel_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
19182 PyObject *resultobj;
19183 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
19184 wxVisualAttributes result;
19185 PyObject * obj0 = 0 ;
19186 char *kwnames[] = {
19187 (char *) "self", NULL
19188 };
19189
19190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
19191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPanel, SWIG_POINTER_EXCEPTION | 0);
19192 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
19193 {
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 result = (arg1)->base_GetDefaultAttributes();
19196
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 {
19201 wxVisualAttributes * resultptr;
36ed4f51 19202 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
a5ee0656
RD
19203 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
19204 }
19205 return resultobj;
19206 fail:
19207 return NULL;
19208}
19209
19210
c370783e 19211static PyObject * PyPanel_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19212 PyObject *obj;
19213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19214 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
19215 Py_INCREF(obj);
19216 return Py_BuildValue((char *)"");
19217}
c370783e 19218static PyObject *_wrap_new_PyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19219 PyObject *resultobj;
19220 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 19221 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
19222 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19223 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19224 wxSize const &arg4_defvalue = wxDefaultSize ;
19225 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19226 long arg5 = (long) 0 ;
19227 wxString const &arg6_defvalue = wxPyPanelNameStr ;
19228 wxString *arg6 = (wxString *) &arg6_defvalue ;
19229 wxPyScrolledWindow *result;
19230 wxPoint temp3 ;
19231 wxSize temp4 ;
b411df4a 19232 bool temp6 = false ;
d55e5bfc
RD
19233 PyObject * obj0 = 0 ;
19234 PyObject * obj1 = 0 ;
19235 PyObject * obj2 = 0 ;
19236 PyObject * obj3 = 0 ;
19237 PyObject * obj4 = 0 ;
19238 PyObject * obj5 = 0 ;
19239 char *kwnames[] = {
19240 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19241 };
19242
bfddbb17 19243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19245 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 19246 if (obj1) {
36ed4f51
RD
19247 {
19248 arg2 = (int const)(SWIG_As_int(obj1));
19249 if (SWIG_arg_fail(2)) SWIG_fail;
19250 }
bfddbb17 19251 }
d55e5bfc
RD
19252 if (obj2) {
19253 {
19254 arg3 = &temp3;
19255 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19256 }
19257 }
19258 if (obj3) {
19259 {
19260 arg4 = &temp4;
19261 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19262 }
19263 }
19264 if (obj4) {
36ed4f51
RD
19265 {
19266 arg5 = (long)(SWIG_As_long(obj4));
19267 if (SWIG_arg_fail(5)) SWIG_fail;
19268 }
d55e5bfc
RD
19269 }
19270 if (obj5) {
19271 {
19272 arg6 = wxString_in_helper(obj5);
19273 if (arg6 == NULL) SWIG_fail;
b411df4a 19274 temp6 = true;
d55e5bfc
RD
19275 }
19276 }
19277 {
0439c23b 19278 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19279 PyThreadState* __tstate = wxPyBeginAllowThreads();
19280 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19281
19282 wxPyEndAllowThreads(__tstate);
110da5b0 19283 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19284 }
19285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19286 {
19287 if (temp6)
19288 delete arg6;
19289 }
19290 return resultobj;
19291 fail:
19292 {
19293 if (temp6)
19294 delete arg6;
19295 }
19296 return NULL;
19297}
19298
19299
c370783e 19300static PyObject *_wrap_new_PrePyScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19301 PyObject *resultobj;
19302 wxPyScrolledWindow *result;
19303 char *kwnames[] = {
19304 NULL
19305 };
19306
19307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyScrolledWindow",kwnames)) goto fail;
19308 {
0439c23b 19309 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
19310 PyThreadState* __tstate = wxPyBeginAllowThreads();
19311 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
19312
19313 wxPyEndAllowThreads(__tstate);
110da5b0 19314 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
19315 }
19316 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyScrolledWindow, 1);
19317 return resultobj;
19318 fail:
19319 return NULL;
19320}
19321
19322
c370783e 19323static PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19324 PyObject *resultobj;
19325 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19326 PyObject *arg2 = (PyObject *) 0 ;
19327 PyObject *arg3 = (PyObject *) 0 ;
19328 PyObject * obj0 = 0 ;
19329 PyObject * obj1 = 0 ;
19330 PyObject * obj2 = 0 ;
19331 char *kwnames[] = {
19332 (char *) "self",(char *) "self",(char *) "_class", NULL
19333 };
19334
19335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19338 arg2 = obj1;
19339 arg3 = obj2;
19340 {
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 (arg1)->_setCallbackInfo(arg2,arg3);
19343
19344 wxPyEndAllowThreads(__tstate);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 }
19347 Py_INCREF(Py_None); resultobj = Py_None;
19348 return resultobj;
19349 fail:
19350 return NULL;
19351}
19352
19353
c370783e 19354static PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
19355 PyObject *resultobj;
19356 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19357 wxSize *arg2 = 0 ;
19358 wxSize temp2 ;
19359 PyObject * obj0 = 0 ;
19360 PyObject * obj1 = 0 ;
19361 char *kwnames[] = {
19362 (char *) "self",(char *) "size", NULL
19363 };
19364
19365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19367 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
19368 {
19369 arg2 = &temp2;
19370 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19371 }
19372 {
19373 PyThreadState* __tstate = wxPyBeginAllowThreads();
19374 (arg1)->SetBestSize((wxSize const &)*arg2);
19375
19376 wxPyEndAllowThreads(__tstate);
19377 if (PyErr_Occurred()) SWIG_fail;
19378 }
19379 Py_INCREF(Py_None); resultobj = Py_None;
19380 return resultobj;
19381 fail:
19382 return NULL;
19383}
19384
19385
c370783e 19386static PyObject *_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19387 PyObject *resultobj;
19388 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19389 int arg2 ;
19390 int arg3 ;
19391 int arg4 ;
19392 int arg5 ;
19393 PyObject * obj0 = 0 ;
19394 PyObject * obj1 = 0 ;
19395 PyObject * obj2 = 0 ;
19396 PyObject * obj3 = 0 ;
19397 PyObject * obj4 = 0 ;
19398 char *kwnames[] = {
19399 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19400 };
19401
19402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
19403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19404 if (SWIG_arg_fail(1)) SWIG_fail;
19405 {
19406 arg2 = (int)(SWIG_As_int(obj1));
19407 if (SWIG_arg_fail(2)) SWIG_fail;
19408 }
19409 {
19410 arg3 = (int)(SWIG_As_int(obj2));
19411 if (SWIG_arg_fail(3)) SWIG_fail;
19412 }
19413 {
19414 arg4 = (int)(SWIG_As_int(obj3));
19415 if (SWIG_arg_fail(4)) SWIG_fail;
19416 }
19417 {
19418 arg5 = (int)(SWIG_As_int(obj4));
19419 if (SWIG_arg_fail(5)) SWIG_fail;
19420 }
d55e5bfc
RD
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 Py_INCREF(Py_None); resultobj = Py_None;
19429 return resultobj;
19430 fail:
19431 return NULL;
19432}
19433
19434
c370783e 19435static PyObject *_wrap_PyScrolledWindow_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19436 PyObject *resultobj;
19437 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19438 int arg2 ;
19439 int arg3 ;
19440 int arg4 ;
19441 int arg5 ;
19442 int arg6 = (int) wxSIZE_AUTO ;
19443 PyObject * obj0 = 0 ;
19444 PyObject * obj1 = 0 ;
19445 PyObject * obj2 = 0 ;
19446 PyObject * obj3 = 0 ;
19447 PyObject * obj4 = 0 ;
19448 PyObject * obj5 = 0 ;
19449 char *kwnames[] = {
19450 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19451 };
19452
19453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
19454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19455 if (SWIG_arg_fail(1)) SWIG_fail;
19456 {
19457 arg2 = (int)(SWIG_As_int(obj1));
19458 if (SWIG_arg_fail(2)) SWIG_fail;
19459 }
19460 {
19461 arg3 = (int)(SWIG_As_int(obj2));
19462 if (SWIG_arg_fail(3)) SWIG_fail;
19463 }
19464 {
19465 arg4 = (int)(SWIG_As_int(obj3));
19466 if (SWIG_arg_fail(4)) SWIG_fail;
19467 }
19468 {
19469 arg5 = (int)(SWIG_As_int(obj4));
19470 if (SWIG_arg_fail(5)) SWIG_fail;
19471 }
d55e5bfc 19472 if (obj5) {
36ed4f51
RD
19473 {
19474 arg6 = (int)(SWIG_As_int(obj5));
19475 if (SWIG_arg_fail(6)) SWIG_fail;
19476 }
d55e5bfc
RD
19477 }
19478 {
19479 PyThreadState* __tstate = wxPyBeginAllowThreads();
19480 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
19481
19482 wxPyEndAllowThreads(__tstate);
19483 if (PyErr_Occurred()) SWIG_fail;
19484 }
19485 Py_INCREF(Py_None); resultobj = Py_None;
19486 return resultobj;
19487 fail:
19488 return NULL;
19489}
19490
19491
c370783e 19492static PyObject *_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19493 PyObject *resultobj;
19494 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19495 int arg2 ;
19496 int arg3 ;
19497 PyObject * obj0 = 0 ;
19498 PyObject * obj1 = 0 ;
19499 PyObject * obj2 = 0 ;
19500 char *kwnames[] = {
19501 (char *) "self",(char *) "width",(char *) "height", NULL
19502 };
19503
19504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19506 if (SWIG_arg_fail(1)) SWIG_fail;
19507 {
19508 arg2 = (int)(SWIG_As_int(obj1));
19509 if (SWIG_arg_fail(2)) SWIG_fail;
19510 }
19511 {
19512 arg3 = (int)(SWIG_As_int(obj2));
19513 if (SWIG_arg_fail(3)) SWIG_fail;
19514 }
d55e5bfc
RD
19515 {
19516 PyThreadState* __tstate = wxPyBeginAllowThreads();
19517 (arg1)->base_DoSetClientSize(arg2,arg3);
19518
19519 wxPyEndAllowThreads(__tstate);
19520 if (PyErr_Occurred()) SWIG_fail;
19521 }
19522 Py_INCREF(Py_None); resultobj = Py_None;
19523 return resultobj;
19524 fail:
19525 return NULL;
19526}
19527
19528
c370783e 19529static PyObject *_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19530 PyObject *resultobj;
19531 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19532 int arg2 ;
19533 int arg3 ;
19534 PyObject * obj0 = 0 ;
19535 PyObject * obj1 = 0 ;
19536 PyObject * obj2 = 0 ;
19537 char *kwnames[] = {
19538 (char *) "self",(char *) "x",(char *) "y", NULL
19539 };
19540
19541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19543 if (SWIG_arg_fail(1)) SWIG_fail;
19544 {
19545 arg2 = (int)(SWIG_As_int(obj1));
19546 if (SWIG_arg_fail(2)) SWIG_fail;
19547 }
19548 {
19549 arg3 = (int)(SWIG_As_int(obj2));
19550 if (SWIG_arg_fail(3)) SWIG_fail;
19551 }
d55e5bfc
RD
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 (arg1)->base_DoSetVirtualSize(arg2,arg3);
19555
19556 wxPyEndAllowThreads(__tstate);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 }
19559 Py_INCREF(Py_None); resultobj = Py_None;
19560 return resultobj;
19561 fail:
19562 return NULL;
19563}
19564
19565
c370783e 19566static PyObject *_wrap_PyScrolledWindow_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19567 PyObject *resultobj;
19568 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19569 int *arg2 = (int *) 0 ;
19570 int *arg3 = (int *) 0 ;
19571 int temp2 ;
c370783e 19572 int res2 = 0 ;
d55e5bfc 19573 int temp3 ;
c370783e 19574 int res3 = 0 ;
d55e5bfc
RD
19575 PyObject * obj0 = 0 ;
19576 char *kwnames[] = {
19577 (char *) "self", NULL
19578 };
19579
c370783e
RD
19580 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19581 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19584 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19585 {
19586 PyThreadState* __tstate = wxPyBeginAllowThreads();
19587 ((wxPyScrolledWindow const *)arg1)->base_DoGetSize(arg2,arg3);
19588
19589 wxPyEndAllowThreads(__tstate);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 }
19592 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
19593 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19594 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19595 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19596 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19597 return resultobj;
19598 fail:
19599 return NULL;
19600}
19601
19602
c370783e 19603static PyObject *_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19604 PyObject *resultobj;
19605 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19606 int *arg2 = (int *) 0 ;
19607 int *arg3 = (int *) 0 ;
19608 int temp2 ;
c370783e 19609 int res2 = 0 ;
d55e5bfc 19610 int temp3 ;
c370783e 19611 int res3 = 0 ;
d55e5bfc
RD
19612 PyObject * obj0 = 0 ;
19613 char *kwnames[] = {
19614 (char *) "self", NULL
19615 };
19616
c370783e
RD
19617 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19618 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19621 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19622 {
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
19624 ((wxPyScrolledWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
19625
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
19630 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19631 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19632 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19633 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19634 return resultobj;
19635 fail:
19636 return NULL;
19637}
19638
19639
c370783e 19640static PyObject *_wrap_PyScrolledWindow_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19641 PyObject *resultobj;
19642 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19643 int *arg2 = (int *) 0 ;
19644 int *arg3 = (int *) 0 ;
19645 int temp2 ;
c370783e 19646 int res2 = 0 ;
d55e5bfc 19647 int temp3 ;
c370783e 19648 int res3 = 0 ;
d55e5bfc
RD
19649 PyObject * obj0 = 0 ;
19650 char *kwnames[] = {
19651 (char *) "self", NULL
19652 };
19653
c370783e
RD
19654 arg2 = &temp2; res2 = SWIG_NEWOBJ;
19655 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 19656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
19657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19658 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19659 {
19660 PyThreadState* __tstate = wxPyBeginAllowThreads();
19661 ((wxPyScrolledWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
19662
19663 wxPyEndAllowThreads(__tstate);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 }
19666 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
19667 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
19668 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
19669 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
19670 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
19671 return resultobj;
19672 fail:
19673 return NULL;
19674}
19675
19676
c370783e 19677static PyObject *_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19678 PyObject *resultobj;
19679 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19680 wxSize result;
19681 PyObject * obj0 = 0 ;
19682 char *kwnames[] = {
19683 (char *) "self", NULL
19684 };
19685
19686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19688 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19689 {
19690 PyThreadState* __tstate = wxPyBeginAllowThreads();
19691 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetVirtualSize();
19692
19693 wxPyEndAllowThreads(__tstate);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
19696 {
19697 wxSize * resultptr;
36ed4f51 19698 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19700 }
19701 return resultobj;
19702 fail:
19703 return NULL;
19704}
19705
19706
c370783e 19707static PyObject *_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19708 PyObject *resultobj;
19709 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19710 wxSize result;
19711 PyObject * obj0 = 0 ;
19712 char *kwnames[] = {
19713 (char *) "self", NULL
19714 };
19715
19716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19718 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19719 {
19720 PyThreadState* __tstate = wxPyBeginAllowThreads();
19721 result = ((wxPyScrolledWindow const *)arg1)->base_DoGetBestSize();
19722
19723 wxPyEndAllowThreads(__tstate);
19724 if (PyErr_Occurred()) SWIG_fail;
19725 }
19726 {
19727 wxSize * resultptr;
36ed4f51 19728 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19730 }
19731 return resultobj;
19732 fail:
19733 return NULL;
19734}
19735
19736
c370783e 19737static PyObject *_wrap_PyScrolledWindow_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19738 PyObject *resultobj;
19739 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19740 PyObject * obj0 = 0 ;
19741 char *kwnames[] = {
19742 (char *) "self", NULL
19743 };
19744
19745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
19746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19747 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19748 {
19749 PyThreadState* __tstate = wxPyBeginAllowThreads();
19750 (arg1)->base_InitDialog();
19751
19752 wxPyEndAllowThreads(__tstate);
19753 if (PyErr_Occurred()) SWIG_fail;
19754 }
19755 Py_INCREF(Py_None); resultobj = Py_None;
19756 return resultobj;
19757 fail:
19758 return NULL;
19759}
19760
19761
c370783e 19762static PyObject *_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19763 PyObject *resultobj;
19764 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19765 bool result;
19766 PyObject * obj0 = 0 ;
19767 char *kwnames[] = {
19768 (char *) "self", NULL
19769 };
19770
19771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
19772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19773 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 result = (bool)(arg1)->base_TransferDataToWindow();
19777
19778 wxPyEndAllowThreads(__tstate);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 }
19781 {
19782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19783 }
19784 return resultobj;
19785 fail:
19786 return NULL;
19787}
19788
19789
c370783e 19790static PyObject *_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19791 PyObject *resultobj;
19792 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19793 bool result;
19794 PyObject * obj0 = 0 ;
19795 char *kwnames[] = {
19796 (char *) "self", NULL
19797 };
19798
19799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
19800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19801 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19802 {
19803 PyThreadState* __tstate = wxPyBeginAllowThreads();
19804 result = (bool)(arg1)->base_TransferDataFromWindow();
19805
19806 wxPyEndAllowThreads(__tstate);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 {
19810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19811 }
19812 return resultobj;
19813 fail:
19814 return NULL;
19815}
19816
19817
c370783e 19818static PyObject *_wrap_PyScrolledWindow_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19819 PyObject *resultobj;
19820 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19821 bool result;
19822 PyObject * obj0 = 0 ;
19823 char *kwnames[] = {
19824 (char *) "self", NULL
19825 };
19826
19827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
19828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19829 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19830 {
19831 PyThreadState* __tstate = wxPyBeginAllowThreads();
19832 result = (bool)(arg1)->base_Validate();
19833
19834 wxPyEndAllowThreads(__tstate);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
19837 {
19838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19839 }
19840 return resultobj;
19841 fail:
19842 return NULL;
19843}
19844
19845
c370783e 19846static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19847 PyObject *resultobj;
19848 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19849 bool result;
19850 PyObject * obj0 = 0 ;
19851 char *kwnames[] = {
19852 (char *) "self", NULL
19853 };
19854
19855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
19856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19857 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19858 {
19859 PyThreadState* __tstate = wxPyBeginAllowThreads();
19860 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocus();
19861
19862 wxPyEndAllowThreads(__tstate);
19863 if (PyErr_Occurred()) SWIG_fail;
19864 }
19865 {
19866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19867 }
19868 return resultobj;
19869 fail:
19870 return NULL;
19871}
19872
19873
c370783e 19874static PyObject *_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19875 PyObject *resultobj;
19876 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19877 bool result;
19878 PyObject * obj0 = 0 ;
19879 char *kwnames[] = {
19880 (char *) "self", NULL
19881 };
19882
19883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
19884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19886 {
19887 PyThreadState* __tstate = wxPyBeginAllowThreads();
19888 result = (bool)((wxPyScrolledWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
19889
19890 wxPyEndAllowThreads(__tstate);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
19893 {
19894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19895 }
19896 return resultobj;
19897 fail:
19898 return NULL;
19899}
19900
19901
c370783e 19902static PyObject *_wrap_PyScrolledWindow_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19903 PyObject *resultobj;
19904 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19905 wxSize result;
19906 PyObject * obj0 = 0 ;
19907 char *kwnames[] = {
19908 (char *) "self", NULL
19909 };
19910
19911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19913 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19914 {
19915 PyThreadState* __tstate = wxPyBeginAllowThreads();
19916 result = ((wxPyScrolledWindow const *)arg1)->base_GetMaxSize();
19917
19918 wxPyEndAllowThreads(__tstate);
19919 if (PyErr_Occurred()) SWIG_fail;
19920 }
19921 {
19922 wxSize * resultptr;
36ed4f51 19923 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
19924 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
19925 }
19926 return resultobj;
19927 fail:
19928 return NULL;
19929}
19930
19931
c370783e 19932static PyObject *_wrap_PyScrolledWindow_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19933 PyObject *resultobj;
19934 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19935 wxWindow *arg2 = (wxWindow *) 0 ;
19936 PyObject * obj0 = 0 ;
19937 PyObject * obj1 = 0 ;
19938 char *kwnames[] = {
19939 (char *) "self",(char *) "child", NULL
19940 };
19941
19942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19944 if (SWIG_arg_fail(1)) SWIG_fail;
19945 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19946 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19947 {
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 (arg1)->base_AddChild(arg2);
19950
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
19954 Py_INCREF(Py_None); resultobj = Py_None;
19955 return resultobj;
19956 fail:
19957 return NULL;
19958}
19959
19960
c370783e 19961static PyObject *_wrap_PyScrolledWindow_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19962 PyObject *resultobj;
19963 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19964 wxWindow *arg2 = (wxWindow *) 0 ;
19965 PyObject * obj0 = 0 ;
19966 PyObject * obj1 = 0 ;
19967 char *kwnames[] = {
19968 (char *) "self",(char *) "child", NULL
19969 };
19970
19971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
19973 if (SWIG_arg_fail(1)) SWIG_fail;
19974 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
19975 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 (arg1)->base_RemoveChild(arg2);
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 Py_INCREF(Py_None); resultobj = Py_None;
19984 return resultobj;
19985 fail:
19986 return NULL;
19987}
19988
19989
c370783e 19990static PyObject *_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19991 PyObject *resultobj;
19992 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
19993 bool result;
19994 PyObject * obj0 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
20000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20001 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20002 {
20003 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 20004 result = (bool)((wxPyScrolledWindow const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
20005
20006 wxPyEndAllowThreads(__tstate);
20007 if (PyErr_Occurred()) SWIG_fail;
20008 }
20009 {
20010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20011 }
20012 return resultobj;
20013 fail:
20014 return NULL;
20015}
20016
20017
c370783e 20018static PyObject *_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20019 PyObject *resultobj;
20020 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20021 wxColour *arg2 = 0 ;
20022 wxColour temp2 ;
20023 PyObject * obj0 = 0 ;
20024 PyObject * obj1 = 0 ;
20025 char *kwnames[] = {
20026 (char *) "self",(char *) "c", NULL
20027 };
20028
20029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20031 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20032 {
20033 arg2 = &temp2;
20034 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20035 }
20036 {
20037 PyThreadState* __tstate = wxPyBeginAllowThreads();
20038 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
20039
20040 wxPyEndAllowThreads(__tstate);
20041 if (PyErr_Occurred()) SWIG_fail;
20042 }
20043 Py_INCREF(Py_None); resultobj = Py_None;
20044 return resultobj;
20045 fail:
20046 return NULL;
20047}
20048
20049
c370783e 20050static PyObject *_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
20051 PyObject *resultobj;
20052 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
20053 wxVisualAttributes result;
20054 PyObject * obj0 = 0 ;
20055 char *kwnames[] = {
20056 (char *) "self", NULL
20057 };
20058
20059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
20060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_EXCEPTION | 0);
20061 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
20062 {
20063 PyThreadState* __tstate = wxPyBeginAllowThreads();
20064 result = (arg1)->base_GetDefaultAttributes();
20065
20066 wxPyEndAllowThreads(__tstate);
20067 if (PyErr_Occurred()) SWIG_fail;
20068 }
20069 {
20070 wxVisualAttributes * resultptr;
36ed4f51 20071 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
a5ee0656
RD
20072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
20073 }
20074 return resultobj;
20075 fail:
20076 return NULL;
20077}
20078
20079
c370783e 20080static PyObject * PyScrolledWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20081 PyObject *obj;
20082 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20083 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow, obj);
20084 Py_INCREF(obj);
20085 return Py_BuildValue((char *)"");
20086}
c370783e 20087static int _wrap_PrintoutTitleStr_set(PyObject *) {
d55e5bfc
RD
20088 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
20089 return 1;
20090}
20091
20092
36ed4f51 20093static PyObject *_wrap_PrintoutTitleStr_get(void) {
d55e5bfc
RD
20094 PyObject *pyobj;
20095
20096 {
20097#if wxUSE_UNICODE
20098 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20099#else
20100 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
20101#endif
20102 }
20103 return pyobj;
20104}
20105
20106
c370783e 20107static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
d55e5bfc
RD
20108 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
20109 return 1;
20110}
20111
20112
36ed4f51 20113static PyObject *_wrap_PreviewCanvasNameStr_get(void) {
d55e5bfc
RD
20114 PyObject *pyobj;
20115
20116 {
20117#if wxUSE_UNICODE
20118 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20119#else
20120 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
20121#endif
20122 }
20123 return pyobj;
20124}
20125
20126
c370783e 20127static PyObject *_wrap_new_PrintData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
20128 PyObject *resultobj;
20129 wxPrintData *result;
d55e5bfc 20130
09c21d3b 20131 if(!PyArg_ParseTuple(args,(char *)":new_PrintData")) goto fail;
d55e5bfc
RD
20132 {
20133 PyThreadState* __tstate = wxPyBeginAllowThreads();
20134 result = (wxPrintData *)new wxPrintData();
20135
20136 wxPyEndAllowThreads(__tstate);
20137 if (PyErr_Occurred()) SWIG_fail;
20138 }
20139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20140 return resultobj;
20141 fail:
20142 return NULL;
20143}
20144
20145
c370783e 20146static PyObject *_wrap_new_PrintData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
20147 PyObject *resultobj;
20148 wxPrintData *arg1 = 0 ;
20149 wxPrintData *result;
20150 PyObject * obj0 = 0 ;
20151
20152 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintData",&obj0)) goto fail;
36ed4f51
RD
20153 {
20154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20155 if (SWIG_arg_fail(1)) SWIG_fail;
20156 if (arg1 == NULL) {
20157 SWIG_null_ref("wxPrintData");
20158 }
20159 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
20160 }
20161 {
20162 PyThreadState* __tstate = wxPyBeginAllowThreads();
20163 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
20164
20165 wxPyEndAllowThreads(__tstate);
20166 if (PyErr_Occurred()) SWIG_fail;
20167 }
20168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 1);
20169 return resultobj;
20170 fail:
20171 return NULL;
20172}
20173
20174
20175static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
20176 int argc;
20177 PyObject *argv[2];
20178 int ii;
20179
20180 argc = PyObject_Length(args);
20181 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
20182 argv[ii] = PyTuple_GetItem(args,ii);
20183 }
20184 if (argc == 0) {
20185 return _wrap_new_PrintData__SWIG_0(self,args);
20186 }
20187 if (argc == 1) {
20188 int _v;
20189 {
36ed4f51 20190 void *ptr = 0;
09c21d3b
RD
20191 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
20192 _v = 0;
20193 PyErr_Clear();
20194 } else {
36ed4f51 20195 _v = (ptr != 0);
09c21d3b
RD
20196 }
20197 }
20198 if (_v) {
20199 return _wrap_new_PrintData__SWIG_1(self,args);
20200 }
20201 }
20202
36ed4f51 20203 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
09c21d3b
RD
20204 return NULL;
20205}
20206
20207
c370783e 20208static PyObject *_wrap_delete_PrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20209 PyObject *resultobj;
20210 wxPrintData *arg1 = (wxPrintData *) 0 ;
20211 PyObject * obj0 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
20217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20219 {
20220 PyThreadState* __tstate = wxPyBeginAllowThreads();
20221 delete arg1;
20222
20223 wxPyEndAllowThreads(__tstate);
20224 if (PyErr_Occurred()) SWIG_fail;
20225 }
20226 Py_INCREF(Py_None); resultobj = Py_None;
20227 return resultobj;
20228 fail:
20229 return NULL;
20230}
20231
20232
c370783e 20233static PyObject *_wrap_PrintData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20234 PyObject *resultobj;
20235 wxPrintData *arg1 = (wxPrintData *) 0 ;
20236 int result;
20237 PyObject * obj0 = 0 ;
20238 char *kwnames[] = {
20239 (char *) "self", NULL
20240 };
20241
20242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
36ed4f51
RD
20243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20245 {
20246 PyThreadState* __tstate = wxPyBeginAllowThreads();
20247 result = (int)(arg1)->GetNoCopies();
20248
20249 wxPyEndAllowThreads(__tstate);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 }
36ed4f51
RD
20252 {
20253 resultobj = SWIG_From_int((int)(result));
20254 }
d55e5bfc
RD
20255 return resultobj;
20256 fail:
20257 return NULL;
20258}
20259
20260
c370783e 20261static PyObject *_wrap_PrintData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20262 PyObject *resultobj;
20263 wxPrintData *arg1 = (wxPrintData *) 0 ;
20264 bool result;
20265 PyObject * obj0 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self", NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
36ed4f51
RD
20271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 result = (bool)(arg1)->GetCollate();
20276
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
20280 {
20281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20282 }
20283 return resultobj;
20284 fail:
20285 return NULL;
20286}
20287
20288
c370783e 20289static PyObject *_wrap_PrintData_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20290 PyObject *resultobj;
20291 wxPrintData *arg1 = (wxPrintData *) 0 ;
20292 int result;
20293 PyObject * obj0 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "self", NULL
20296 };
20297
20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
20299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20301 {
20302 PyThreadState* __tstate = wxPyBeginAllowThreads();
20303 result = (int)(arg1)->GetOrientation();
20304
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
36ed4f51
RD
20308 {
20309 resultobj = SWIG_From_int((int)(result));
20310 }
d55e5bfc
RD
20311 return resultobj;
20312 fail:
20313 return NULL;
20314}
20315
20316
c370783e 20317static PyObject *_wrap_PrintData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20318 PyObject *resultobj;
20319 wxPrintData *arg1 = (wxPrintData *) 0 ;
20320 bool result;
20321 PyObject * obj0 = 0 ;
20322 char *kwnames[] = {
20323 (char *) "self", NULL
20324 };
20325
20326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
20327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20328 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20329 {
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 result = (bool)(arg1)->Ok();
20332
20333 wxPyEndAllowThreads(__tstate);
20334 if (PyErr_Occurred()) SWIG_fail;
20335 }
20336 {
20337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20338 }
20339 return resultobj;
20340 fail:
20341 return NULL;
20342}
20343
20344
c370783e 20345static PyObject *_wrap_PrintData_GetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20346 PyObject *resultobj;
20347 wxPrintData *arg1 = (wxPrintData *) 0 ;
20348 wxString *result;
20349 PyObject * obj0 = 0 ;
20350 char *kwnames[] = {
20351 (char *) "self", NULL
20352 };
20353
20354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
36ed4f51
RD
20355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20356 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20357 {
20358 PyThreadState* __tstate = wxPyBeginAllowThreads();
20359 {
20360 wxString const &_result_ref = (arg1)->GetPrinterName();
20361 result = (wxString *) &_result_ref;
20362 }
20363
20364 wxPyEndAllowThreads(__tstate);
20365 if (PyErr_Occurred()) SWIG_fail;
20366 }
20367 {
20368#if wxUSE_UNICODE
20369 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20370#else
20371 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20372#endif
20373 }
20374 return resultobj;
20375 fail:
20376 return NULL;
20377}
20378
20379
c370783e 20380static PyObject *_wrap_PrintData_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20381 PyObject *resultobj;
20382 wxPrintData *arg1 = (wxPrintData *) 0 ;
20383 bool result;
20384 PyObject * obj0 = 0 ;
20385 char *kwnames[] = {
20386 (char *) "self", NULL
20387 };
20388
20389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
20390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20391 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 result = (bool)(arg1)->GetColour();
20395
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 {
20400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20401 }
20402 return resultobj;
20403 fail:
20404 return NULL;
20405}
20406
20407
c370783e 20408static PyObject *_wrap_PrintData_GetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20409 PyObject *resultobj;
20410 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 20411 wxDuplexMode result;
d55e5bfc
RD
20412 PyObject * obj0 = 0 ;
20413 char *kwnames[] = {
20414 (char *) "self", NULL
20415 };
20416
20417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
36ed4f51
RD
20418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20420 {
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 20422 result = (wxDuplexMode)(arg1)->GetDuplex();
d55e5bfc
RD
20423
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
36ed4f51 20427 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20428 return resultobj;
20429 fail:
20430 return NULL;
20431}
20432
20433
c370783e 20434static PyObject *_wrap_PrintData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20435 PyObject *resultobj;
20436 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 20437 wxPaperSize result;
d55e5bfc
RD
20438 PyObject * obj0 = 0 ;
20439 char *kwnames[] = {
20440 (char *) "self", NULL
20441 };
20442
20443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
36ed4f51
RD
20444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20445 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20446 {
20447 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 20448 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
20449
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
36ed4f51 20453 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20454 return resultobj;
20455 fail:
20456 return NULL;
20457}
20458
20459
c370783e 20460static PyObject *_wrap_PrintData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20461 PyObject *resultobj;
20462 wxPrintData *arg1 = (wxPrintData *) 0 ;
20463 wxSize *result;
20464 PyObject * obj0 = 0 ;
20465 char *kwnames[] = {
20466 (char *) "self", NULL
20467 };
20468
20469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20471 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20472 {
20473 PyThreadState* __tstate = wxPyBeginAllowThreads();
20474 {
20475 wxSize const &_result_ref = (arg1)->GetPaperSize();
20476 result = (wxSize *) &_result_ref;
20477 }
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
20483 return resultobj;
20484 fail:
20485 return NULL;
20486}
20487
20488
c370783e 20489static PyObject *_wrap_PrintData_GetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20490 PyObject *resultobj;
20491 wxPrintData *arg1 = (wxPrintData *) 0 ;
20492 int result;
20493 PyObject * obj0 = 0 ;
20494 char *kwnames[] = {
20495 (char *) "self", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
36ed4f51
RD
20499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20500 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20501 {
20502 PyThreadState* __tstate = wxPyBeginAllowThreads();
20503 result = (int)(arg1)->GetQuality();
20504
20505 wxPyEndAllowThreads(__tstate);
20506 if (PyErr_Occurred()) SWIG_fail;
20507 }
36ed4f51
RD
20508 {
20509 resultobj = SWIG_From_int((int)(result));
20510 }
d55e5bfc
RD
20511 return resultobj;
20512 fail:
20513 return NULL;
20514}
20515
20516
b411df4a
RD
20517static PyObject *_wrap_PrintData_GetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 20520 wxPrintBin result;
b411df4a
RD
20521 PyObject * obj0 = 0 ;
20522 char *kwnames[] = {
20523 (char *) "self", NULL
20524 };
20525
20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetBin",kwnames,&obj0)) goto fail;
36ed4f51
RD
20527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20528 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
20529 {
20530 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 20531 result = (wxPrintBin)(arg1)->GetBin();
b411df4a
RD
20532
20533 wxPyEndAllowThreads(__tstate);
20534 if (PyErr_Occurred()) SWIG_fail;
20535 }
36ed4f51 20536 resultobj = SWIG_From_int((result));
b411df4a
RD
20537 return resultobj;
20538 fail:
20539 return NULL;
20540}
20541
20542
070c48b4
RD
20543static PyObject *_wrap_PrintData_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
20544 PyObject *resultobj;
20545 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 20546 wxPrintMode result;
070c48b4
RD
20547 PyObject * obj0 = 0 ;
20548 char *kwnames[] = {
20549 (char *) "self", NULL
20550 };
20551
20552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
20553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20554 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
20555 {
20556 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 20557 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
070c48b4
RD
20558
20559 wxPyEndAllowThreads(__tstate);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 }
36ed4f51 20562 resultobj = SWIG_From_int((result));
070c48b4
RD
20563 return resultobj;
20564 fail:
20565 return NULL;
20566}
20567
20568
c370783e 20569static PyObject *_wrap_PrintData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20570 PyObject *resultobj;
20571 wxPrintData *arg1 = (wxPrintData *) 0 ;
20572 int arg2 ;
20573 PyObject * obj0 = 0 ;
20574 PyObject * obj1 = 0 ;
20575 char *kwnames[] = {
20576 (char *) "self",(char *) "v", NULL
20577 };
20578
20579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20581 if (SWIG_arg_fail(1)) SWIG_fail;
20582 {
20583 arg2 = (int)(SWIG_As_int(obj1));
20584 if (SWIG_arg_fail(2)) SWIG_fail;
20585 }
d55e5bfc
RD
20586 {
20587 PyThreadState* __tstate = wxPyBeginAllowThreads();
20588 (arg1)->SetNoCopies(arg2);
20589
20590 wxPyEndAllowThreads(__tstate);
20591 if (PyErr_Occurred()) SWIG_fail;
20592 }
20593 Py_INCREF(Py_None); resultobj = Py_None;
20594 return resultobj;
20595 fail:
20596 return NULL;
20597}
20598
20599
c370783e 20600static PyObject *_wrap_PrintData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20601 PyObject *resultobj;
20602 wxPrintData *arg1 = (wxPrintData *) 0 ;
20603 bool arg2 ;
20604 PyObject * obj0 = 0 ;
20605 PyObject * obj1 = 0 ;
20606 char *kwnames[] = {
20607 (char *) "self",(char *) "flag", NULL
20608 };
20609
20610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20612 if (SWIG_arg_fail(1)) SWIG_fail;
20613 {
20614 arg2 = (bool)(SWIG_As_bool(obj1));
20615 if (SWIG_arg_fail(2)) SWIG_fail;
20616 }
d55e5bfc
RD
20617 {
20618 PyThreadState* __tstate = wxPyBeginAllowThreads();
20619 (arg1)->SetCollate(arg2);
20620
20621 wxPyEndAllowThreads(__tstate);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 }
20624 Py_INCREF(Py_None); resultobj = Py_None;
20625 return resultobj;
20626 fail:
20627 return NULL;
20628}
20629
20630
c370783e 20631static PyObject *_wrap_PrintData_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20632 PyObject *resultobj;
20633 wxPrintData *arg1 = (wxPrintData *) 0 ;
20634 int arg2 ;
20635 PyObject * obj0 = 0 ;
20636 PyObject * obj1 = 0 ;
20637 char *kwnames[] = {
20638 (char *) "self",(char *) "orient", NULL
20639 };
20640
20641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20643 if (SWIG_arg_fail(1)) SWIG_fail;
20644 {
20645 arg2 = (int)(SWIG_As_int(obj1));
20646 if (SWIG_arg_fail(2)) SWIG_fail;
20647 }
d55e5bfc
RD
20648 {
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 (arg1)->SetOrientation(arg2);
20651
20652 wxPyEndAllowThreads(__tstate);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 }
20655 Py_INCREF(Py_None); resultobj = Py_None;
20656 return resultobj;
20657 fail:
20658 return NULL;
20659}
20660
20661
c370783e 20662static PyObject *_wrap_PrintData_SetPrinterName(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20663 PyObject *resultobj;
20664 wxPrintData *arg1 = (wxPrintData *) 0 ;
20665 wxString *arg2 = 0 ;
b411df4a 20666 bool temp2 = false ;
d55e5bfc
RD
20667 PyObject * obj0 = 0 ;
20668 PyObject * obj1 = 0 ;
20669 char *kwnames[] = {
20670 (char *) "self",(char *) "name", NULL
20671 };
20672
20673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20675 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20676 {
20677 arg2 = wxString_in_helper(obj1);
20678 if (arg2 == NULL) SWIG_fail;
b411df4a 20679 temp2 = true;
d55e5bfc
RD
20680 }
20681 {
20682 PyThreadState* __tstate = wxPyBeginAllowThreads();
20683 (arg1)->SetPrinterName((wxString const &)*arg2);
20684
20685 wxPyEndAllowThreads(__tstate);
20686 if (PyErr_Occurred()) SWIG_fail;
20687 }
20688 Py_INCREF(Py_None); resultobj = Py_None;
20689 {
20690 if (temp2)
20691 delete arg2;
20692 }
20693 return resultobj;
20694 fail:
20695 {
20696 if (temp2)
20697 delete arg2;
20698 }
20699 return NULL;
20700}
20701
20702
c370783e 20703static PyObject *_wrap_PrintData_SetColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20704 PyObject *resultobj;
20705 wxPrintData *arg1 = (wxPrintData *) 0 ;
20706 bool arg2 ;
20707 PyObject * obj0 = 0 ;
20708 PyObject * obj1 = 0 ;
20709 char *kwnames[] = {
20710 (char *) "self",(char *) "colour", NULL
20711 };
20712
20713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20715 if (SWIG_arg_fail(1)) SWIG_fail;
20716 {
20717 arg2 = (bool)(SWIG_As_bool(obj1));
20718 if (SWIG_arg_fail(2)) SWIG_fail;
20719 }
d55e5bfc
RD
20720 {
20721 PyThreadState* __tstate = wxPyBeginAllowThreads();
20722 (arg1)->SetColour(arg2);
20723
20724 wxPyEndAllowThreads(__tstate);
20725 if (PyErr_Occurred()) SWIG_fail;
20726 }
20727 Py_INCREF(Py_None); resultobj = Py_None;
20728 return resultobj;
20729 fail:
20730 return NULL;
20731}
20732
20733
c370783e 20734static PyObject *_wrap_PrintData_SetDuplex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20735 PyObject *resultobj;
20736 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 20737 wxDuplexMode arg2 ;
d55e5bfc
RD
20738 PyObject * obj0 = 0 ;
20739 PyObject * obj1 = 0 ;
20740 char *kwnames[] = {
20741 (char *) "self",(char *) "duplex", NULL
20742 };
20743
20744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20746 if (SWIG_arg_fail(1)) SWIG_fail;
20747 {
20748 arg2 = (wxDuplexMode)(SWIG_As_int(obj1));
20749 if (SWIG_arg_fail(2)) SWIG_fail;
20750 }
d55e5bfc
RD
20751 {
20752 PyThreadState* __tstate = wxPyBeginAllowThreads();
20753 (arg1)->SetDuplex((wxDuplexMode )arg2);
20754
20755 wxPyEndAllowThreads(__tstate);
20756 if (PyErr_Occurred()) SWIG_fail;
20757 }
20758 Py_INCREF(Py_None); resultobj = Py_None;
20759 return resultobj;
20760 fail:
20761 return NULL;
20762}
20763
20764
c370783e 20765static PyObject *_wrap_PrintData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20766 PyObject *resultobj;
20767 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 20768 wxPaperSize arg2 ;
d55e5bfc
RD
20769 PyObject * obj0 = 0 ;
20770 PyObject * obj1 = 0 ;
20771 char *kwnames[] = {
20772 (char *) "self",(char *) "sizeId", NULL
20773 };
20774
20775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20777 if (SWIG_arg_fail(1)) SWIG_fail;
20778 {
20779 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
20780 if (SWIG_arg_fail(2)) SWIG_fail;
20781 }
d55e5bfc
RD
20782 {
20783 PyThreadState* __tstate = wxPyBeginAllowThreads();
20784 (arg1)->SetPaperId((wxPaperSize )arg2);
20785
20786 wxPyEndAllowThreads(__tstate);
20787 if (PyErr_Occurred()) SWIG_fail;
20788 }
20789 Py_INCREF(Py_None); resultobj = Py_None;
20790 return resultobj;
20791 fail:
20792 return NULL;
20793}
20794
20795
c370783e 20796static PyObject *_wrap_PrintData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20797 PyObject *resultobj;
20798 wxPrintData *arg1 = (wxPrintData *) 0 ;
20799 wxSize *arg2 = 0 ;
20800 wxSize temp2 ;
20801 PyObject * obj0 = 0 ;
20802 PyObject * obj1 = 0 ;
20803 char *kwnames[] = {
20804 (char *) "self",(char *) "sz", NULL
20805 };
20806
20807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20810 {
20811 arg2 = &temp2;
20812 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20813 }
20814 {
20815 PyThreadState* __tstate = wxPyBeginAllowThreads();
20816 (arg1)->SetPaperSize((wxSize const &)*arg2);
20817
20818 wxPyEndAllowThreads(__tstate);
20819 if (PyErr_Occurred()) SWIG_fail;
20820 }
20821 Py_INCREF(Py_None); resultobj = Py_None;
20822 return resultobj;
20823 fail:
20824 return NULL;
20825}
20826
20827
c370783e 20828static PyObject *_wrap_PrintData_SetQuality(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20829 PyObject *resultobj;
20830 wxPrintData *arg1 = (wxPrintData *) 0 ;
20831 int arg2 ;
20832 PyObject * obj0 = 0 ;
20833 PyObject * obj1 = 0 ;
20834 char *kwnames[] = {
20835 (char *) "self",(char *) "quality", NULL
20836 };
20837
20838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20840 if (SWIG_arg_fail(1)) SWIG_fail;
20841 {
20842 arg2 = (int)(SWIG_As_int(obj1));
20843 if (SWIG_arg_fail(2)) SWIG_fail;
20844 }
d55e5bfc
RD
20845 {
20846 PyThreadState* __tstate = wxPyBeginAllowThreads();
20847 (arg1)->SetQuality(arg2);
20848
20849 wxPyEndAllowThreads(__tstate);
20850 if (PyErr_Occurred()) SWIG_fail;
20851 }
20852 Py_INCREF(Py_None); resultobj = Py_None;
20853 return resultobj;
20854 fail:
20855 return NULL;
20856}
20857
20858
b411df4a
RD
20859static PyObject *_wrap_PrintData_SetBin(PyObject *, PyObject *args, PyObject *kwargs) {
20860 PyObject *resultobj;
20861 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 20862 wxPrintBin arg2 ;
b411df4a
RD
20863 PyObject * obj0 = 0 ;
20864 PyObject * obj1 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "self",(char *) "bin", NULL
20867 };
20868
20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20871 if (SWIG_arg_fail(1)) SWIG_fail;
20872 {
20873 arg2 = (wxPrintBin)(SWIG_As_int(obj1));
20874 if (SWIG_arg_fail(2)) SWIG_fail;
20875 }
b411df4a
RD
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 (arg1)->SetBin((wxPrintBin )arg2);
20879
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
20883 Py_INCREF(Py_None); resultobj = Py_None;
20884 return resultobj;
20885 fail:
20886 return NULL;
20887}
20888
20889
070c48b4 20890static PyObject *_wrap_PrintData_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20891 PyObject *resultobj;
20892 wxPrintData *arg1 = (wxPrintData *) 0 ;
36ed4f51 20893 wxPrintMode arg2 ;
070c48b4
RD
20894 PyObject * obj0 = 0 ;
20895 PyObject * obj1 = 0 ;
20896 char *kwnames[] = {
20897 (char *) "self",(char *) "printMode", NULL
20898 };
20899
20900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20902 if (SWIG_arg_fail(1)) SWIG_fail;
20903 {
20904 arg2 = (wxPrintMode)(SWIG_As_int(obj1));
20905 if (SWIG_arg_fail(2)) SWIG_fail;
20906 }
070c48b4
RD
20907 {
20908 PyThreadState* __tstate = wxPyBeginAllowThreads();
20909 (arg1)->SetPrintMode((wxPrintMode )arg2);
20910
20911 wxPyEndAllowThreads(__tstate);
20912 if (PyErr_Occurred()) SWIG_fail;
20913 }
20914 Py_INCREF(Py_None); resultobj = Py_None;
20915 return resultobj;
20916 fail:
20917 return NULL;
20918}
20919
20920
20921static PyObject *_wrap_PrintData_GetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
20922 PyObject *resultobj;
20923 wxPrintData *arg1 = (wxPrintData *) 0 ;
20924 wxString result;
d55e5bfc
RD
20925 PyObject * obj0 = 0 ;
20926 char *kwnames[] = {
20927 (char *) "self", NULL
20928 };
20929
070c48b4 20930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
36ed4f51
RD
20931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20932 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20933 {
20934 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 20935 result = ((wxPrintData const *)arg1)->GetFilename();
d55e5bfc
RD
20936
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 {
20941#if wxUSE_UNICODE
070c48b4 20942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 20943#else
070c48b4 20944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc
RD
20945#endif
20946 }
20947 return resultobj;
20948 fail:
20949 return NULL;
20950}
20951
20952
070c48b4
RD
20953static PyObject *_wrap_PrintData_SetFilename(PyObject *, PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj;
20955 wxPrintData *arg1 = (wxPrintData *) 0 ;
20956 wxString *arg2 = 0 ;
20957 bool temp2 = false ;
20958 PyObject * obj0 = 0 ;
20959 PyObject * obj1 = 0 ;
20960 char *kwnames[] = {
20961 (char *) "self",(char *) "filename", NULL
20962 };
20963
20964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
20966 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
20967 {
20968 arg2 = wxString_in_helper(obj1);
20969 if (arg2 == NULL) SWIG_fail;
20970 temp2 = true;
20971 }
20972 {
20973 PyThreadState* __tstate = wxPyBeginAllowThreads();
20974 (arg1)->SetFilename((wxString const &)*arg2);
20975
20976 wxPyEndAllowThreads(__tstate);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 Py_INCREF(Py_None); resultobj = Py_None;
20980 {
20981 if (temp2)
20982 delete arg2;
20983 }
20984 return resultobj;
20985 fail:
20986 {
20987 if (temp2)
20988 delete arg2;
20989 }
20990 return NULL;
20991}
20992
20993
20994static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20995 PyObject *resultobj;
20996 wxPrintData *arg1 = (wxPrintData *) 0 ;
20997 wxString *result;
20998 PyObject * obj0 = 0 ;
20999 char *kwnames[] = {
21000 (char *) "self", NULL
21001 };
21002
070c48b4 21003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
36ed4f51
RD
21004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21005 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21006 {
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 {
070c48b4 21009 wxString const &_result_ref = (arg1)->GetPrinterCommand();
d55e5bfc
RD
21010 result = (wxString *) &_result_ref;
21011 }
21012
21013 wxPyEndAllowThreads(__tstate);
21014 if (PyErr_Occurred()) SWIG_fail;
21015 }
21016 {
21017#if wxUSE_UNICODE
21018 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21019#else
21020 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21021#endif
21022 }
21023 return resultobj;
21024 fail:
21025 return NULL;
21026}
21027
21028
070c48b4 21029static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21030 PyObject *resultobj;
21031 wxPrintData *arg1 = (wxPrintData *) 0 ;
21032 wxString *result;
21033 PyObject * obj0 = 0 ;
21034 char *kwnames[] = {
21035 (char *) "self", NULL
21036 };
21037
070c48b4 21038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
36ed4f51
RD
21039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21040 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 {
070c48b4 21044 wxString const &_result_ref = (arg1)->GetPrinterOptions();
d55e5bfc
RD
21045 result = (wxString *) &_result_ref;
21046 }
21047
21048 wxPyEndAllowThreads(__tstate);
21049 if (PyErr_Occurred()) SWIG_fail;
21050 }
21051 {
21052#if wxUSE_UNICODE
21053 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21054#else
21055 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21056#endif
21057 }
21058 return resultobj;
21059 fail:
21060 return NULL;
21061}
21062
21063
070c48b4 21064static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21065 PyObject *resultobj;
21066 wxPrintData *arg1 = (wxPrintData *) 0 ;
21067 wxString *result;
21068 PyObject * obj0 = 0 ;
21069 char *kwnames[] = {
21070 (char *) "self", NULL
21071 };
21072
070c48b4 21073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
36ed4f51
RD
21074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21075 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21076 {
21077 PyThreadState* __tstate = wxPyBeginAllowThreads();
21078 {
070c48b4 21079 wxString const &_result_ref = (arg1)->GetPreviewCommand();
d55e5bfc
RD
21080 result = (wxString *) &_result_ref;
21081 }
21082
21083 wxPyEndAllowThreads(__tstate);
21084 if (PyErr_Occurred()) SWIG_fail;
21085 }
21086 {
21087#if wxUSE_UNICODE
21088 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21089#else
21090 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21091#endif
21092 }
21093 return resultobj;
21094 fail:
21095 return NULL;
21096}
21097
21098
c370783e 21099static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21100 PyObject *resultobj;
21101 wxPrintData *arg1 = (wxPrintData *) 0 ;
21102 wxString *result;
21103 PyObject * obj0 = 0 ;
21104 char *kwnames[] = {
21105 (char *) "self", NULL
21106 };
21107
21108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
21109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21110 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21111 {
21112 PyThreadState* __tstate = wxPyBeginAllowThreads();
21113 {
21114 wxString const &_result_ref = (arg1)->GetFontMetricPath();
21115 result = (wxString *) &_result_ref;
21116 }
21117
21118 wxPyEndAllowThreads(__tstate);
21119 if (PyErr_Occurred()) SWIG_fail;
21120 }
21121 {
21122#if wxUSE_UNICODE
21123 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21124#else
21125 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21126#endif
21127 }
21128 return resultobj;
21129 fail:
21130 return NULL;
21131}
21132
21133
c370783e 21134static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21135 PyObject *resultobj;
21136 wxPrintData *arg1 = (wxPrintData *) 0 ;
21137 double result;
21138 PyObject * obj0 = 0 ;
21139 char *kwnames[] = {
21140 (char *) "self", NULL
21141 };
21142
21143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
36ed4f51
RD
21144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21145 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21146 {
21147 PyThreadState* __tstate = wxPyBeginAllowThreads();
21148 result = (double)(arg1)->GetPrinterScaleX();
21149
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
36ed4f51
RD
21153 {
21154 resultobj = SWIG_From_double((double)(result));
21155 }
d55e5bfc
RD
21156 return resultobj;
21157 fail:
21158 return NULL;
21159}
21160
21161
c370783e 21162static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21163 PyObject *resultobj;
21164 wxPrintData *arg1 = (wxPrintData *) 0 ;
21165 double result;
21166 PyObject * obj0 = 0 ;
21167 char *kwnames[] = {
21168 (char *) "self", NULL
21169 };
21170
21171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
36ed4f51
RD
21172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21173 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21174 {
21175 PyThreadState* __tstate = wxPyBeginAllowThreads();
21176 result = (double)(arg1)->GetPrinterScaleY();
21177
21178 wxPyEndAllowThreads(__tstate);
21179 if (PyErr_Occurred()) SWIG_fail;
21180 }
36ed4f51
RD
21181 {
21182 resultobj = SWIG_From_double((double)(result));
21183 }
d55e5bfc
RD
21184 return resultobj;
21185 fail:
21186 return NULL;
21187}
21188
21189
c370783e 21190static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21191 PyObject *resultobj;
21192 wxPrintData *arg1 = (wxPrintData *) 0 ;
21193 long result;
21194 PyObject * obj0 = 0 ;
21195 char *kwnames[] = {
21196 (char *) "self", NULL
21197 };
21198
21199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
36ed4f51
RD
21200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21201 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21202 {
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 result = (long)(arg1)->GetPrinterTranslateX();
21205
21206 wxPyEndAllowThreads(__tstate);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 }
36ed4f51
RD
21209 {
21210 resultobj = SWIG_From_long((long)(result));
21211 }
d55e5bfc
RD
21212 return resultobj;
21213 fail:
21214 return NULL;
21215}
21216
21217
c370783e 21218static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21219 PyObject *resultobj;
21220 wxPrintData *arg1 = (wxPrintData *) 0 ;
21221 long result;
21222 PyObject * obj0 = 0 ;
21223 char *kwnames[] = {
21224 (char *) "self", NULL
21225 };
21226
21227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
36ed4f51
RD
21228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21229 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21230 {
21231 PyThreadState* __tstate = wxPyBeginAllowThreads();
21232 result = (long)(arg1)->GetPrinterTranslateY();
21233
21234 wxPyEndAllowThreads(__tstate);
21235 if (PyErr_Occurred()) SWIG_fail;
21236 }
36ed4f51
RD
21237 {
21238 resultobj = SWIG_From_long((long)(result));
21239 }
d55e5bfc
RD
21240 return resultobj;
21241 fail:
21242 return NULL;
21243}
21244
21245
070c48b4 21246static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21247 PyObject *resultobj;
21248 wxPrintData *arg1 = (wxPrintData *) 0 ;
070c48b4
RD
21249 wxString *arg2 = 0 ;
21250 bool temp2 = false ;
d55e5bfc 21251 PyObject * obj0 = 0 ;
070c48b4 21252 PyObject * obj1 = 0 ;
d55e5bfc 21253 char *kwnames[] = {
070c48b4 21254 (char *) "self",(char *) "command", NULL
d55e5bfc
RD
21255 };
21256
070c48b4 21257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21259 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
21260 {
21261 arg2 = wxString_in_helper(obj1);
21262 if (arg2 == NULL) SWIG_fail;
21263 temp2 = true;
21264 }
d55e5bfc
RD
21265 {
21266 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 21267 (arg1)->SetPrinterCommand((wxString const &)*arg2);
d55e5bfc
RD
21268
21269 wxPyEndAllowThreads(__tstate);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 }
070c48b4
RD
21272 Py_INCREF(Py_None); resultobj = Py_None;
21273 {
21274 if (temp2)
21275 delete arg2;
21276 }
d55e5bfc
RD
21277 return resultobj;
21278 fail:
21279 {
21280 if (temp2)
21281 delete arg2;
21282 }
21283 return NULL;
21284}
21285
21286
c370783e 21287static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21288 PyObject *resultobj;
21289 wxPrintData *arg1 = (wxPrintData *) 0 ;
21290 wxString *arg2 = 0 ;
b411df4a 21291 bool temp2 = false ;
d55e5bfc
RD
21292 PyObject * obj0 = 0 ;
21293 PyObject * obj1 = 0 ;
21294 char *kwnames[] = {
21295 (char *) "self",(char *) "options", NULL
21296 };
21297
21298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21301 {
21302 arg2 = wxString_in_helper(obj1);
21303 if (arg2 == NULL) SWIG_fail;
b411df4a 21304 temp2 = true;
d55e5bfc
RD
21305 }
21306 {
21307 PyThreadState* __tstate = wxPyBeginAllowThreads();
21308 (arg1)->SetPrinterOptions((wxString const &)*arg2);
21309
21310 wxPyEndAllowThreads(__tstate);
21311 if (PyErr_Occurred()) SWIG_fail;
21312 }
21313 Py_INCREF(Py_None); resultobj = Py_None;
21314 {
21315 if (temp2)
21316 delete arg2;
21317 }
21318 return resultobj;
21319 fail:
21320 {
21321 if (temp2)
21322 delete arg2;
21323 }
21324 return NULL;
21325}
21326
21327
c370783e 21328static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21329 PyObject *resultobj;
21330 wxPrintData *arg1 = (wxPrintData *) 0 ;
21331 wxString *arg2 = 0 ;
b411df4a 21332 bool temp2 = false ;
d55e5bfc
RD
21333 PyObject * obj0 = 0 ;
21334 PyObject * obj1 = 0 ;
21335 char *kwnames[] = {
21336 (char *) "self",(char *) "command", NULL
21337 };
21338
21339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21341 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21342 {
21343 arg2 = wxString_in_helper(obj1);
21344 if (arg2 == NULL) SWIG_fail;
b411df4a 21345 temp2 = true;
d55e5bfc
RD
21346 }
21347 {
21348 PyThreadState* __tstate = wxPyBeginAllowThreads();
21349 (arg1)->SetPreviewCommand((wxString const &)*arg2);
21350
21351 wxPyEndAllowThreads(__tstate);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 }
21354 Py_INCREF(Py_None); resultobj = Py_None;
21355 {
21356 if (temp2)
21357 delete arg2;
21358 }
21359 return resultobj;
21360 fail:
21361 {
21362 if (temp2)
21363 delete arg2;
21364 }
21365 return NULL;
21366}
21367
21368
c370783e 21369static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21370 PyObject *resultobj;
21371 wxPrintData *arg1 = (wxPrintData *) 0 ;
21372 wxString *arg2 = 0 ;
b411df4a 21373 bool temp2 = false ;
d55e5bfc
RD
21374 PyObject * obj0 = 0 ;
21375 PyObject * obj1 = 0 ;
21376 char *kwnames[] = {
21377 (char *) "self",(char *) "path", NULL
21378 };
21379
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21382 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21383 {
21384 arg2 = wxString_in_helper(obj1);
21385 if (arg2 == NULL) SWIG_fail;
b411df4a 21386 temp2 = true;
d55e5bfc
RD
21387 }
21388 {
21389 PyThreadState* __tstate = wxPyBeginAllowThreads();
21390 (arg1)->SetFontMetricPath((wxString const &)*arg2);
21391
21392 wxPyEndAllowThreads(__tstate);
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 Py_INCREF(Py_None); resultobj = Py_None;
21396 {
21397 if (temp2)
21398 delete arg2;
21399 }
21400 return resultobj;
21401 fail:
21402 {
21403 if (temp2)
21404 delete arg2;
21405 }
21406 return NULL;
21407}
21408
21409
c370783e 21410static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21411 PyObject *resultobj;
21412 wxPrintData *arg1 = (wxPrintData *) 0 ;
21413 double arg2 ;
21414 PyObject * obj0 = 0 ;
21415 PyObject * obj1 = 0 ;
21416 char *kwnames[] = {
21417 (char *) "self",(char *) "x", NULL
21418 };
21419
21420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21422 if (SWIG_arg_fail(1)) SWIG_fail;
21423 {
21424 arg2 = (double)(SWIG_As_double(obj1));
21425 if (SWIG_arg_fail(2)) SWIG_fail;
21426 }
d55e5bfc
RD
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 (arg1)->SetPrinterScaleX(arg2);
21430
21431 wxPyEndAllowThreads(__tstate);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 }
21434 Py_INCREF(Py_None); resultobj = Py_None;
21435 return resultobj;
21436 fail:
21437 return NULL;
21438}
21439
21440
c370783e 21441static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21442 PyObject *resultobj;
21443 wxPrintData *arg1 = (wxPrintData *) 0 ;
21444 double arg2 ;
21445 PyObject * obj0 = 0 ;
21446 PyObject * obj1 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self",(char *) "y", NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail;
21454 {
21455 arg2 = (double)(SWIG_As_double(obj1));
21456 if (SWIG_arg_fail(2)) SWIG_fail;
21457 }
d55e5bfc
RD
21458 {
21459 PyThreadState* __tstate = wxPyBeginAllowThreads();
21460 (arg1)->SetPrinterScaleY(arg2);
21461
21462 wxPyEndAllowThreads(__tstate);
21463 if (PyErr_Occurred()) SWIG_fail;
21464 }
21465 Py_INCREF(Py_None); resultobj = Py_None;
21466 return resultobj;
21467 fail:
21468 return NULL;
21469}
21470
21471
c370783e 21472static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21473 PyObject *resultobj;
21474 wxPrintData *arg1 = (wxPrintData *) 0 ;
21475 double arg2 ;
21476 double arg3 ;
21477 PyObject * obj0 = 0 ;
21478 PyObject * obj1 = 0 ;
21479 PyObject * obj2 = 0 ;
21480 char *kwnames[] = {
21481 (char *) "self",(char *) "x",(char *) "y", NULL
21482 };
21483
21484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21486 if (SWIG_arg_fail(1)) SWIG_fail;
21487 {
21488 arg2 = (double)(SWIG_As_double(obj1));
21489 if (SWIG_arg_fail(2)) SWIG_fail;
21490 }
21491 {
21492 arg3 = (double)(SWIG_As_double(obj2));
21493 if (SWIG_arg_fail(3)) SWIG_fail;
21494 }
d55e5bfc
RD
21495 {
21496 PyThreadState* __tstate = wxPyBeginAllowThreads();
21497 (arg1)->SetPrinterScaling(arg2,arg3);
21498
21499 wxPyEndAllowThreads(__tstate);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 }
21502 Py_INCREF(Py_None); resultobj = Py_None;
21503 return resultobj;
21504 fail:
21505 return NULL;
21506}
21507
21508
c370783e 21509static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21510 PyObject *resultobj;
21511 wxPrintData *arg1 = (wxPrintData *) 0 ;
21512 long arg2 ;
21513 PyObject * obj0 = 0 ;
21514 PyObject * obj1 = 0 ;
21515 char *kwnames[] = {
21516 (char *) "self",(char *) "x", NULL
21517 };
21518
21519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21521 if (SWIG_arg_fail(1)) SWIG_fail;
21522 {
21523 arg2 = (long)(SWIG_As_long(obj1));
21524 if (SWIG_arg_fail(2)) SWIG_fail;
21525 }
d55e5bfc
RD
21526 {
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
21528 (arg1)->SetPrinterTranslateX(arg2);
21529
21530 wxPyEndAllowThreads(__tstate);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 }
21533 Py_INCREF(Py_None); resultobj = Py_None;
21534 return resultobj;
21535 fail:
21536 return NULL;
21537}
21538
21539
c370783e 21540static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21541 PyObject *resultobj;
21542 wxPrintData *arg1 = (wxPrintData *) 0 ;
21543 long arg2 ;
21544 PyObject * obj0 = 0 ;
21545 PyObject * obj1 = 0 ;
21546 char *kwnames[] = {
21547 (char *) "self",(char *) "y", NULL
21548 };
21549
21550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21552 if (SWIG_arg_fail(1)) SWIG_fail;
21553 {
21554 arg2 = (long)(SWIG_As_long(obj1));
21555 if (SWIG_arg_fail(2)) SWIG_fail;
21556 }
d55e5bfc
RD
21557 {
21558 PyThreadState* __tstate = wxPyBeginAllowThreads();
21559 (arg1)->SetPrinterTranslateY(arg2);
21560
21561 wxPyEndAllowThreads(__tstate);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 }
21564 Py_INCREF(Py_None); resultobj = Py_None;
21565 return resultobj;
21566 fail:
21567 return NULL;
21568}
21569
21570
c370783e 21571static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21572 PyObject *resultobj;
21573 wxPrintData *arg1 = (wxPrintData *) 0 ;
21574 long arg2 ;
21575 long arg3 ;
21576 PyObject * obj0 = 0 ;
21577 PyObject * obj1 = 0 ;
21578 PyObject * obj2 = 0 ;
21579 char *kwnames[] = {
21580 (char *) "self",(char *) "x",(char *) "y", NULL
21581 };
21582
21583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
21585 if (SWIG_arg_fail(1)) SWIG_fail;
21586 {
21587 arg2 = (long)(SWIG_As_long(obj1));
21588 if (SWIG_arg_fail(2)) SWIG_fail;
21589 }
21590 {
21591 arg3 = (long)(SWIG_As_long(obj2));
21592 if (SWIG_arg_fail(3)) SWIG_fail;
21593 }
d55e5bfc
RD
21594 {
21595 PyThreadState* __tstate = wxPyBeginAllowThreads();
21596 (arg1)->SetPrinterTranslation(arg2,arg3);
21597
21598 wxPyEndAllowThreads(__tstate);
21599 if (PyErr_Occurred()) SWIG_fail;
21600 }
21601 Py_INCREF(Py_None); resultobj = Py_None;
21602 return resultobj;
21603 fail:
21604 return NULL;
21605}
21606
21607
c370783e 21608static PyObject * PrintData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21609 PyObject *obj;
21610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21611 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
21612 Py_INCREF(obj);
21613 return Py_BuildValue((char *)"");
21614}
c370783e 21615static PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
21616 PyObject *resultobj;
21617 wxPageSetupDialogData *result;
d55e5bfc 21618
09c21d3b 21619 if(!PyArg_ParseTuple(args,(char *)":new_PageSetupDialogData")) goto fail;
d55e5bfc
RD
21620 {
21621 PyThreadState* __tstate = wxPyBeginAllowThreads();
21622 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
21623
21624 wxPyEndAllowThreads(__tstate);
21625 if (PyErr_Occurred()) SWIG_fail;
21626 }
21627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21628 return resultobj;
21629 fail:
21630 return NULL;
21631}
21632
21633
c370783e 21634static PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *, PyObject *args) {
09c21d3b
RD
21635 PyObject *resultobj;
21636 wxPageSetupDialogData *arg1 = 0 ;
21637 wxPageSetupDialogData *result;
21638 PyObject * obj0 = 0 ;
21639
21640 if(!PyArg_ParseTuple(args,(char *)"O:new_PageSetupDialogData",&obj0)) goto fail;
36ed4f51
RD
21641 {
21642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21643 if (SWIG_arg_fail(1)) SWIG_fail;
21644 if (arg1 == NULL) {
21645 SWIG_null_ref("wxPageSetupDialogData");
21646 }
21647 if (SWIG_arg_fail(1)) SWIG_fail;
09c21d3b
RD
21648 }
21649 {
21650 PyThreadState* __tstate = wxPyBeginAllowThreads();
21651 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
21652
21653 wxPyEndAllowThreads(__tstate);
21654 if (PyErr_Occurred()) SWIG_fail;
21655 }
21656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 1);
21657 return resultobj;
21658 fail:
21659 return NULL;
21660}
21661
21662
21663static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
21664 int argc;
21665 PyObject *argv[2];
21666 int ii;
21667
21668 argc = PyObject_Length(args);
21669 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
21670 argv[ii] = PyTuple_GetItem(args,ii);
21671 }
21672 if (argc == 0) {
21673 return _wrap_new_PageSetupDialogData__SWIG_0(self,args);
21674 }
21675 if (argc == 1) {
21676 int _v;
21677 {
36ed4f51 21678 void *ptr = 0;
09c21d3b
RD
21679 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPageSetupDialogData, 0) == -1) {
21680 _v = 0;
21681 PyErr_Clear();
21682 } else {
36ed4f51 21683 _v = (ptr != 0);
09c21d3b
RD
21684 }
21685 }
21686 if (_v) {
21687 return _wrap_new_PageSetupDialogData__SWIG_1(self,args);
21688 }
21689 }
21690
36ed4f51 21691 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
09c21d3b
RD
21692 return NULL;
21693}
21694
21695
c370783e 21696static PyObject *_wrap_delete_PageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21697 PyObject *resultobj;
21698 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21699 PyObject * obj0 = 0 ;
21700 char *kwnames[] = {
21701 (char *) "self", NULL
21702 };
21703
21704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
21705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21706 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21707 {
21708 PyThreadState* __tstate = wxPyBeginAllowThreads();
21709 delete arg1;
21710
21711 wxPyEndAllowThreads(__tstate);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 Py_INCREF(Py_None); resultobj = Py_None;
21715 return resultobj;
21716 fail:
21717 return NULL;
21718}
21719
21720
c370783e 21721static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21722 PyObject *resultobj;
21723 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21724 bool arg2 ;
21725 PyObject * obj0 = 0 ;
21726 PyObject * obj1 = 0 ;
21727 char *kwnames[] = {
21728 (char *) "self",(char *) "flag", NULL
21729 };
21730
21731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21733 if (SWIG_arg_fail(1)) SWIG_fail;
21734 {
21735 arg2 = (bool)(SWIG_As_bool(obj1));
21736 if (SWIG_arg_fail(2)) SWIG_fail;
21737 }
d55e5bfc
RD
21738 {
21739 PyThreadState* __tstate = wxPyBeginAllowThreads();
21740 (arg1)->EnableHelp(arg2);
21741
21742 wxPyEndAllowThreads(__tstate);
21743 if (PyErr_Occurred()) SWIG_fail;
21744 }
21745 Py_INCREF(Py_None); resultobj = Py_None;
21746 return resultobj;
21747 fail:
21748 return NULL;
21749}
21750
21751
c370783e 21752static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21753 PyObject *resultobj;
21754 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21755 bool arg2 ;
21756 PyObject * obj0 = 0 ;
21757 PyObject * obj1 = 0 ;
21758 char *kwnames[] = {
21759 (char *) "self",(char *) "flag", NULL
21760 };
21761
21762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21764 if (SWIG_arg_fail(1)) SWIG_fail;
21765 {
21766 arg2 = (bool)(SWIG_As_bool(obj1));
21767 if (SWIG_arg_fail(2)) SWIG_fail;
21768 }
d55e5bfc
RD
21769 {
21770 PyThreadState* __tstate = wxPyBeginAllowThreads();
21771 (arg1)->EnableMargins(arg2);
21772
21773 wxPyEndAllowThreads(__tstate);
21774 if (PyErr_Occurred()) SWIG_fail;
21775 }
21776 Py_INCREF(Py_None); resultobj = Py_None;
21777 return resultobj;
21778 fail:
21779 return NULL;
21780}
21781
21782
c370783e 21783static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21784 PyObject *resultobj;
21785 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21786 bool arg2 ;
21787 PyObject * obj0 = 0 ;
21788 PyObject * obj1 = 0 ;
21789 char *kwnames[] = {
21790 (char *) "self",(char *) "flag", NULL
21791 };
21792
21793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21795 if (SWIG_arg_fail(1)) SWIG_fail;
21796 {
21797 arg2 = (bool)(SWIG_As_bool(obj1));
21798 if (SWIG_arg_fail(2)) SWIG_fail;
21799 }
d55e5bfc
RD
21800 {
21801 PyThreadState* __tstate = wxPyBeginAllowThreads();
21802 (arg1)->EnableOrientation(arg2);
21803
21804 wxPyEndAllowThreads(__tstate);
21805 if (PyErr_Occurred()) SWIG_fail;
21806 }
21807 Py_INCREF(Py_None); resultobj = Py_None;
21808 return resultobj;
21809 fail:
21810 return NULL;
21811}
21812
21813
c370783e 21814static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21815 PyObject *resultobj;
21816 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21817 bool arg2 ;
21818 PyObject * obj0 = 0 ;
21819 PyObject * obj1 = 0 ;
21820 char *kwnames[] = {
21821 (char *) "self",(char *) "flag", NULL
21822 };
21823
21824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21826 if (SWIG_arg_fail(1)) SWIG_fail;
21827 {
21828 arg2 = (bool)(SWIG_As_bool(obj1));
21829 if (SWIG_arg_fail(2)) SWIG_fail;
21830 }
d55e5bfc
RD
21831 {
21832 PyThreadState* __tstate = wxPyBeginAllowThreads();
21833 (arg1)->EnablePaper(arg2);
21834
21835 wxPyEndAllowThreads(__tstate);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 }
21838 Py_INCREF(Py_None); resultobj = Py_None;
21839 return resultobj;
21840 fail:
21841 return NULL;
21842}
21843
21844
c370783e 21845static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21846 PyObject *resultobj;
21847 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21848 bool arg2 ;
21849 PyObject * obj0 = 0 ;
21850 PyObject * obj1 = 0 ;
21851 char *kwnames[] = {
21852 (char *) "self",(char *) "flag", NULL
21853 };
21854
21855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21857 if (SWIG_arg_fail(1)) SWIG_fail;
21858 {
21859 arg2 = (bool)(SWIG_As_bool(obj1));
21860 if (SWIG_arg_fail(2)) SWIG_fail;
21861 }
d55e5bfc
RD
21862 {
21863 PyThreadState* __tstate = wxPyBeginAllowThreads();
21864 (arg1)->EnablePrinter(arg2);
21865
21866 wxPyEndAllowThreads(__tstate);
21867 if (PyErr_Occurred()) SWIG_fail;
21868 }
21869 Py_INCREF(Py_None); resultobj = Py_None;
21870 return resultobj;
21871 fail:
21872 return NULL;
21873}
21874
21875
c370783e 21876static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21877 PyObject *resultobj;
21878 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21879 bool result;
21880 PyObject * obj0 = 0 ;
21881 char *kwnames[] = {
21882 (char *) "self", NULL
21883 };
21884
21885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
21886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21887 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21888 {
21889 PyThreadState* __tstate = wxPyBeginAllowThreads();
21890 result = (bool)(arg1)->GetDefaultMinMargins();
21891
21892 wxPyEndAllowThreads(__tstate);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 }
21895 {
21896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21897 }
21898 return resultobj;
21899 fail:
21900 return NULL;
21901}
21902
21903
c370783e 21904static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21905 PyObject *resultobj;
21906 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21907 bool result;
21908 PyObject * obj0 = 0 ;
21909 char *kwnames[] = {
21910 (char *) "self", NULL
21911 };
21912
21913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
21914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21915 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21916 {
21917 PyThreadState* __tstate = wxPyBeginAllowThreads();
21918 result = (bool)(arg1)->GetEnableMargins();
21919
21920 wxPyEndAllowThreads(__tstate);
21921 if (PyErr_Occurred()) SWIG_fail;
21922 }
21923 {
21924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21925 }
21926 return resultobj;
21927 fail:
21928 return NULL;
21929}
21930
21931
c370783e 21932static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21933 PyObject *resultobj;
21934 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21935 bool result;
21936 PyObject * obj0 = 0 ;
21937 char *kwnames[] = {
21938 (char *) "self", NULL
21939 };
21940
21941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
36ed4f51
RD
21942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21943 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21944 {
21945 PyThreadState* __tstate = wxPyBeginAllowThreads();
21946 result = (bool)(arg1)->GetEnableOrientation();
21947
21948 wxPyEndAllowThreads(__tstate);
21949 if (PyErr_Occurred()) SWIG_fail;
21950 }
21951 {
21952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21953 }
21954 return resultobj;
21955 fail:
21956 return NULL;
21957}
21958
21959
c370783e 21960static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21961 PyObject *resultobj;
21962 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21963 bool result;
21964 PyObject * obj0 = 0 ;
21965 char *kwnames[] = {
21966 (char *) "self", NULL
21967 };
21968
21969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
36ed4f51
RD
21970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21971 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 result = (bool)(arg1)->GetEnablePaper();
21975
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 {
21980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21981 }
21982 return resultobj;
21983 fail:
21984 return NULL;
21985}
21986
21987
c370783e 21988static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21989 PyObject *resultobj;
21990 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
21991 bool result;
21992 PyObject * obj0 = 0 ;
21993 char *kwnames[] = {
21994 (char *) "self", NULL
21995 };
21996
21997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
36ed4f51
RD
21998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
21999 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 result = (bool)(arg1)->GetEnablePrinter();
22003
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 {
22008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22009 }
22010 return resultobj;
22011 fail:
22012 return NULL;
22013}
22014
22015
c370783e 22016static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22017 PyObject *resultobj;
22018 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22019 bool result;
22020 PyObject * obj0 = 0 ;
22021 char *kwnames[] = {
22022 (char *) "self", NULL
22023 };
22024
22025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
22026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22027 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22028 {
22029 PyThreadState* __tstate = wxPyBeginAllowThreads();
22030 result = (bool)(arg1)->GetEnableHelp();
22031
22032 wxPyEndAllowThreads(__tstate);
22033 if (PyErr_Occurred()) SWIG_fail;
22034 }
22035 {
22036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22037 }
22038 return resultobj;
22039 fail:
22040 return NULL;
22041}
22042
22043
c370783e 22044static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22045 PyObject *resultobj;
22046 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22047 bool result;
22048 PyObject * obj0 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
36ed4f51
RD
22054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22055 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22056 {
22057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22058 result = (bool)(arg1)->GetDefaultInfo();
22059
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 {
22064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22065 }
22066 return resultobj;
22067 fail:
22068 return NULL;
22069}
22070
22071
c370783e 22072static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22073 PyObject *resultobj;
22074 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22075 wxPoint result;
22076 PyObject * obj0 = 0 ;
22077 char *kwnames[] = {
22078 (char *) "self", NULL
22079 };
22080
22081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
36ed4f51
RD
22082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22083 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22084 {
22085 PyThreadState* __tstate = wxPyBeginAllowThreads();
22086 result = (arg1)->GetMarginTopLeft();
22087
22088 wxPyEndAllowThreads(__tstate);
22089 if (PyErr_Occurred()) SWIG_fail;
22090 }
22091 {
22092 wxPoint * resultptr;
36ed4f51 22093 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22094 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22095 }
22096 return resultobj;
22097 fail:
22098 return NULL;
22099}
22100
22101
c370783e 22102static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22103 PyObject *resultobj;
22104 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22105 wxPoint result;
22106 PyObject * obj0 = 0 ;
22107 char *kwnames[] = {
22108 (char *) "self", NULL
22109 };
22110
22111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
36ed4f51
RD
22112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22113 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22114 {
22115 PyThreadState* __tstate = wxPyBeginAllowThreads();
22116 result = (arg1)->GetMarginBottomRight();
22117
22118 wxPyEndAllowThreads(__tstate);
22119 if (PyErr_Occurred()) SWIG_fail;
22120 }
22121 {
22122 wxPoint * resultptr;
36ed4f51 22123 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22124 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22125 }
22126 return resultobj;
22127 fail:
22128 return NULL;
22129}
22130
22131
c370783e 22132static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22133 PyObject *resultobj;
22134 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22135 wxPoint result;
22136 PyObject * obj0 = 0 ;
22137 char *kwnames[] = {
22138 (char *) "self", NULL
22139 };
22140
22141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
36ed4f51
RD
22142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22143 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22144 {
22145 PyThreadState* __tstate = wxPyBeginAllowThreads();
22146 result = (arg1)->GetMinMarginTopLeft();
22147
22148 wxPyEndAllowThreads(__tstate);
22149 if (PyErr_Occurred()) SWIG_fail;
22150 }
22151 {
22152 wxPoint * resultptr;
36ed4f51 22153 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22154 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22155 }
22156 return resultobj;
22157 fail:
22158 return NULL;
22159}
22160
22161
c370783e 22162static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22163 PyObject *resultobj;
22164 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22165 wxPoint result;
22166 PyObject * obj0 = 0 ;
22167 char *kwnames[] = {
22168 (char *) "self", NULL
22169 };
22170
22171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
36ed4f51
RD
22172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22173 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22174 {
22175 PyThreadState* __tstate = wxPyBeginAllowThreads();
22176 result = (arg1)->GetMinMarginBottomRight();
22177
22178 wxPyEndAllowThreads(__tstate);
22179 if (PyErr_Occurred()) SWIG_fail;
22180 }
22181 {
22182 wxPoint * resultptr;
36ed4f51 22183 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
22184 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22185 }
22186 return resultobj;
22187 fail:
22188 return NULL;
22189}
22190
22191
c370783e 22192static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22193 PyObject *resultobj;
22194 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
36ed4f51 22195 wxPaperSize result;
d55e5bfc
RD
22196 PyObject * obj0 = 0 ;
22197 char *kwnames[] = {
22198 (char *) "self", NULL
22199 };
22200
22201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
36ed4f51
RD
22202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22203 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22204 {
22205 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 22206 result = (wxPaperSize)(arg1)->GetPaperId();
d55e5bfc
RD
22207
22208 wxPyEndAllowThreads(__tstate);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
36ed4f51 22211 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22212 return resultobj;
22213 fail:
22214 return NULL;
22215}
22216
22217
c370783e 22218static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22219 PyObject *resultobj;
22220 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22221 wxSize result;
22222 PyObject * obj0 = 0 ;
22223 char *kwnames[] = {
22224 (char *) "self", NULL
22225 };
22226
22227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
22228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22229 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22230 {
22231 PyThreadState* __tstate = wxPyBeginAllowThreads();
22232 result = (arg1)->GetPaperSize();
22233
22234 wxPyEndAllowThreads(__tstate);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
22237 {
22238 wxSize * resultptr;
36ed4f51 22239 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
22240 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22241 }
22242 return resultobj;
22243 fail:
22244 return NULL;
22245}
22246
22247
c370783e 22248static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22249 PyObject *resultobj;
22250 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22251 wxPrintData *result;
22252 PyObject * obj0 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22259 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 {
22263 wxPrintData &_result_ref = (arg1)->GetPrintData();
22264 result = (wxPrintData *) &_result_ref;
22265 }
22266
22267 wxPyEndAllowThreads(__tstate);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 }
22270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
22271 return resultobj;
22272 fail:
22273 return NULL;
22274}
22275
22276
c370783e 22277static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22278 PyObject *resultobj;
22279 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22280 bool result;
22281 PyObject * obj0 = 0 ;
22282 char *kwnames[] = {
22283 (char *) "self", NULL
22284 };
22285
22286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
22287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22289 {
22290 PyThreadState* __tstate = wxPyBeginAllowThreads();
22291 result = (bool)(arg1)->Ok();
22292
22293 wxPyEndAllowThreads(__tstate);
22294 if (PyErr_Occurred()) SWIG_fail;
22295 }
22296 {
22297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22298 }
22299 return resultobj;
22300 fail:
22301 return NULL;
22302}
22303
22304
c370783e 22305static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22306 PyObject *resultobj;
22307 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22308 bool arg2 ;
22309 PyObject * obj0 = 0 ;
22310 PyObject * obj1 = 0 ;
22311 char *kwnames[] = {
22312 (char *) "self",(char *) "flag", NULL
22313 };
22314
22315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22317 if (SWIG_arg_fail(1)) SWIG_fail;
22318 {
22319 arg2 = (bool)(SWIG_As_bool(obj1));
22320 if (SWIG_arg_fail(2)) SWIG_fail;
22321 }
d55e5bfc
RD
22322 {
22323 PyThreadState* __tstate = wxPyBeginAllowThreads();
22324 (arg1)->SetDefaultInfo(arg2);
22325
22326 wxPyEndAllowThreads(__tstate);
22327 if (PyErr_Occurred()) SWIG_fail;
22328 }
22329 Py_INCREF(Py_None); resultobj = Py_None;
22330 return resultobj;
22331 fail:
22332 return NULL;
22333}
22334
22335
c370783e 22336static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22337 PyObject *resultobj;
22338 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22339 bool arg2 ;
22340 PyObject * obj0 = 0 ;
22341 PyObject * obj1 = 0 ;
22342 char *kwnames[] = {
22343 (char *) "self",(char *) "flag", NULL
22344 };
22345
22346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22348 if (SWIG_arg_fail(1)) SWIG_fail;
22349 {
22350 arg2 = (bool)(SWIG_As_bool(obj1));
22351 if (SWIG_arg_fail(2)) SWIG_fail;
22352 }
d55e5bfc
RD
22353 {
22354 PyThreadState* __tstate = wxPyBeginAllowThreads();
22355 (arg1)->SetDefaultMinMargins(arg2);
22356
22357 wxPyEndAllowThreads(__tstate);
22358 if (PyErr_Occurred()) SWIG_fail;
22359 }
22360 Py_INCREF(Py_None); resultobj = Py_None;
22361 return resultobj;
22362 fail:
22363 return NULL;
22364}
22365
22366
c370783e 22367static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22368 PyObject *resultobj;
22369 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22370 wxPoint *arg2 = 0 ;
22371 wxPoint temp2 ;
22372 PyObject * obj0 = 0 ;
22373 PyObject * obj1 = 0 ;
22374 char *kwnames[] = {
22375 (char *) "self",(char *) "pt", NULL
22376 };
22377
22378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22380 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22381 {
22382 arg2 = &temp2;
22383 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22384 }
22385 {
22386 PyThreadState* __tstate = wxPyBeginAllowThreads();
22387 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
22388
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
22392 Py_INCREF(Py_None); resultobj = Py_None;
22393 return resultobj;
22394 fail:
22395 return NULL;
22396}
22397
22398
c370783e 22399static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22400 PyObject *resultobj;
22401 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22402 wxPoint *arg2 = 0 ;
22403 wxPoint temp2 ;
22404 PyObject * obj0 = 0 ;
22405 PyObject * obj1 = 0 ;
22406 char *kwnames[] = {
22407 (char *) "self",(char *) "pt", NULL
22408 };
22409
22410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22412 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22413 {
22414 arg2 = &temp2;
22415 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22416 }
22417 {
22418 PyThreadState* __tstate = wxPyBeginAllowThreads();
22419 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
22420
22421 wxPyEndAllowThreads(__tstate);
22422 if (PyErr_Occurred()) SWIG_fail;
22423 }
22424 Py_INCREF(Py_None); resultobj = Py_None;
22425 return resultobj;
22426 fail:
22427 return NULL;
22428}
22429
22430
c370783e 22431static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22432 PyObject *resultobj;
22433 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22434 wxPoint *arg2 = 0 ;
22435 wxPoint temp2 ;
22436 PyObject * obj0 = 0 ;
22437 PyObject * obj1 = 0 ;
22438 char *kwnames[] = {
22439 (char *) "self",(char *) "pt", NULL
22440 };
22441
22442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22443 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22444 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22445 {
22446 arg2 = &temp2;
22447 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22448 }
22449 {
22450 PyThreadState* __tstate = wxPyBeginAllowThreads();
22451 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
22452
22453 wxPyEndAllowThreads(__tstate);
22454 if (PyErr_Occurred()) SWIG_fail;
22455 }
22456 Py_INCREF(Py_None); resultobj = Py_None;
22457 return resultobj;
22458 fail:
22459 return NULL;
22460}
22461
22462
c370783e 22463static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22464 PyObject *resultobj;
22465 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22466 wxPoint *arg2 = 0 ;
22467 wxPoint temp2 ;
22468 PyObject * obj0 = 0 ;
22469 PyObject * obj1 = 0 ;
22470 char *kwnames[] = {
22471 (char *) "self",(char *) "pt", NULL
22472 };
22473
22474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22476 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22477 {
22478 arg2 = &temp2;
22479 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22480 }
22481 {
22482 PyThreadState* __tstate = wxPyBeginAllowThreads();
22483 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
22484
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 Py_INCREF(Py_None); resultobj = Py_None;
22489 return resultobj;
22490 fail:
22491 return NULL;
22492}
22493
22494
c370783e 22495static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22496 PyObject *resultobj;
22497 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
36ed4f51 22498 wxPaperSize arg2 ;
d55e5bfc
RD
22499 PyObject * obj0 = 0 ;
22500 PyObject * obj1 = 0 ;
22501 char *kwnames[] = {
22502 (char *) "self",(char *) "id", NULL
22503 };
22504
22505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22507 if (SWIG_arg_fail(1)) SWIG_fail;
22508 {
22509 arg2 = (wxPaperSize)(SWIG_As_int(obj1));
22510 if (SWIG_arg_fail(2)) SWIG_fail;
22511 }
d55e5bfc
RD
22512 {
22513 PyThreadState* __tstate = wxPyBeginAllowThreads();
22514 (arg1)->SetPaperId((wxPaperSize )arg2);
22515
22516 wxPyEndAllowThreads(__tstate);
22517 if (PyErr_Occurred()) SWIG_fail;
22518 }
22519 Py_INCREF(Py_None); resultobj = Py_None;
22520 return resultobj;
22521 fail:
22522 return NULL;
22523}
22524
22525
c370783e 22526static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22527 PyObject *resultobj;
22528 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22529 wxSize *arg2 = 0 ;
22530 wxSize temp2 ;
22531 PyObject * obj0 = 0 ;
22532 PyObject * obj1 = 0 ;
22533 char *kwnames[] = {
22534 (char *) "self",(char *) "size", NULL
22535 };
22536
22537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22539 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22540 {
22541 arg2 = &temp2;
22542 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22543 }
22544 {
22545 PyThreadState* __tstate = wxPyBeginAllowThreads();
22546 (arg1)->SetPaperSize((wxSize const &)*arg2);
22547
22548 wxPyEndAllowThreads(__tstate);
22549 if (PyErr_Occurred()) SWIG_fail;
22550 }
22551 Py_INCREF(Py_None); resultobj = Py_None;
22552 return resultobj;
22553 fail:
22554 return NULL;
22555}
22556
22557
c370783e 22558static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22559 PyObject *resultobj;
22560 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
22561 wxPrintData *arg2 = 0 ;
22562 PyObject * obj0 = 0 ;
22563 PyObject * obj1 = 0 ;
22564 char *kwnames[] = {
22565 (char *) "self",(char *) "printData", NULL
22566 };
22567
22568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22570 if (SWIG_arg_fail(1)) SWIG_fail;
22571 {
22572 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22573 if (SWIG_arg_fail(2)) SWIG_fail;
22574 if (arg2 == NULL) {
22575 SWIG_null_ref("wxPrintData");
22576 }
22577 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22578 }
22579 {
22580 PyThreadState* __tstate = wxPyBeginAllowThreads();
22581 (arg1)->SetPrintData((wxPrintData const &)*arg2);
22582
22583 wxPyEndAllowThreads(__tstate);
22584 if (PyErr_Occurred()) SWIG_fail;
22585 }
22586 Py_INCREF(Py_None); resultobj = Py_None;
22587 return resultobj;
22588 fail:
22589 return NULL;
22590}
22591
22592
c370783e 22593static PyObject * PageSetupDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22594 PyObject *obj;
22595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22596 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
22597 Py_INCREF(obj);
22598 return Py_BuildValue((char *)"");
22599}
c370783e 22600static PyObject *_wrap_new_PageSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22601 PyObject *resultobj;
22602 wxWindow *arg1 = (wxWindow *) 0 ;
22603 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
22604 wxPageSetupDialog *result;
22605 PyObject * obj0 = 0 ;
22606 PyObject * obj1 = 0 ;
22607 char *kwnames[] = {
22608 (char *) "parent",(char *) "data", NULL
22609 };
22610
22611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
22613 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22614 if (obj1) {
36ed4f51
RD
22615 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_EXCEPTION | 0);
22616 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22617 }
22618 {
0439c23b 22619 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
22620 PyThreadState* __tstate = wxPyBeginAllowThreads();
22621 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
22622
22623 wxPyEndAllowThreads(__tstate);
110da5b0 22624 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
22625 }
22626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialog, 1);
22627 return resultobj;
22628 fail:
22629 return NULL;
22630}
22631
22632
c370783e 22633static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22634 PyObject *resultobj;
22635 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22636 wxPageSetupDialogData *result;
22637 PyObject * obj0 = 0 ;
22638 char *kwnames[] = {
22639 (char *) "self", NULL
22640 };
22641
22642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22644 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22645 {
22646 PyThreadState* __tstate = wxPyBeginAllowThreads();
22647 {
22648 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
22649 result = (wxPageSetupDialogData *) &_result_ref;
22650 }
22651
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22656 return resultobj;
22657 fail:
22658 return NULL;
22659}
22660
22661
6e0de3df
RD
22662static PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
22663 PyObject *resultobj;
22664 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22665 wxPageSetupDialogData *result;
22666 PyObject * obj0 = 0 ;
22667 char *kwnames[] = {
22668 (char *) "self", NULL
22669 };
22670
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22673 if (SWIG_arg_fail(1)) SWIG_fail;
6e0de3df
RD
22674 {
22675 PyThreadState* __tstate = wxPyBeginAllowThreads();
22676 {
22677 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
22678 result = (wxPageSetupDialogData *) &_result_ref;
22679 }
22680
22681 wxPyEndAllowThreads(__tstate);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 }
22684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPageSetupDialogData, 0);
22685 return resultobj;
22686 fail:
22687 return NULL;
22688}
22689
22690
c370783e 22691static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22692 PyObject *resultobj;
22693 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
22694 int result;
22695 PyObject * obj0 = 0 ;
22696 char *kwnames[] = {
22697 (char *) "self", NULL
22698 };
22699
22700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
22701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_EXCEPTION | 0);
22702 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22703 {
22704 PyThreadState* __tstate = wxPyBeginAllowThreads();
22705 result = (int)(arg1)->ShowModal();
22706
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
36ed4f51
RD
22710 {
22711 resultobj = SWIG_From_int((int)(result));
22712 }
d55e5bfc
RD
22713 return resultobj;
22714 fail:
22715 return NULL;
22716}
22717
22718
c370783e 22719static PyObject * PageSetupDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22720 PyObject *obj;
22721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22722 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
22723 Py_INCREF(obj);
22724 return Py_BuildValue((char *)"");
22725}
c370783e 22726static PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
22727 PyObject *resultobj;
22728 wxPrintDialogData *result;
22729
22730 if(!PyArg_ParseTuple(args,(char *)":new_PrintDialogData")) goto fail;
22731 {
22732 PyThreadState* __tstate = wxPyBeginAllowThreads();
22733 result = (wxPrintDialogData *)new wxPrintDialogData();
22734
22735 wxPyEndAllowThreads(__tstate);
22736 if (PyErr_Occurred()) SWIG_fail;
22737 }
22738 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22739 return resultobj;
22740 fail:
22741 return NULL;
22742}
22743
22744
c370783e 22745static PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
22746 PyObject *resultobj;
22747 wxPrintData *arg1 = 0 ;
22748 wxPrintDialogData *result;
22749 PyObject * obj0 = 0 ;
22750
22751 if(!PyArg_ParseTuple(args,(char *)"O:new_PrintDialogData",&obj0)) goto fail;
36ed4f51
RD
22752 {
22753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
22754 if (SWIG_arg_fail(1)) SWIG_fail;
22755 if (arg1 == NULL) {
22756 SWIG_null_ref("wxPrintData");
22757 }
22758 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22759 }
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
22763
22764 wxPyEndAllowThreads(__tstate);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 }
22767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 1);
22768 return resultobj;
22769 fail:
22770 return NULL;
22771}
22772
22773
22774static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
22775 int argc;
22776 PyObject *argv[2];
22777 int ii;
22778
22779 argc = PyObject_Length(args);
22780 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
22781 argv[ii] = PyTuple_GetItem(args,ii);
22782 }
22783 if (argc == 0) {
22784 return _wrap_new_PrintDialogData__SWIG_0(self,args);
22785 }
22786 if (argc == 1) {
22787 int _v;
22788 {
36ed4f51 22789 void *ptr = 0;
d55e5bfc
RD
22790 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
22791 _v = 0;
22792 PyErr_Clear();
22793 } else {
36ed4f51 22794 _v = (ptr != 0);
d55e5bfc
RD
22795 }
22796 }
22797 if (_v) {
22798 return _wrap_new_PrintDialogData__SWIG_1(self,args);
22799 }
22800 }
22801
36ed4f51 22802 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
d55e5bfc
RD
22803 return NULL;
22804}
22805
22806
c370783e 22807static PyObject *_wrap_delete_PrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22808 PyObject *resultobj;
22809 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22810 PyObject * obj0 = 0 ;
22811 char *kwnames[] = {
22812 (char *) "self", NULL
22813 };
22814
22815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22817 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22818 {
22819 PyThreadState* __tstate = wxPyBeginAllowThreads();
22820 delete arg1;
22821
22822 wxPyEndAllowThreads(__tstate);
22823 if (PyErr_Occurred()) SWIG_fail;
22824 }
22825 Py_INCREF(Py_None); resultobj = Py_None;
22826 return resultobj;
22827 fail:
22828 return NULL;
22829}
22830
22831
c370783e 22832static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22833 PyObject *resultobj;
22834 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22835 int result;
22836 PyObject * obj0 = 0 ;
22837 char *kwnames[] = {
22838 (char *) "self", NULL
22839 };
22840
22841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
22842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22843 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22844 {
22845 PyThreadState* __tstate = wxPyBeginAllowThreads();
22846 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
22847
22848 wxPyEndAllowThreads(__tstate);
22849 if (PyErr_Occurred()) SWIG_fail;
22850 }
36ed4f51
RD
22851 {
22852 resultobj = SWIG_From_int((int)(result));
22853 }
d55e5bfc
RD
22854 return resultobj;
22855 fail:
22856 return NULL;
22857}
22858
22859
c370783e 22860static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22861 PyObject *resultobj;
22862 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22863 int result;
22864 PyObject * obj0 = 0 ;
22865 char *kwnames[] = {
22866 (char *) "self", NULL
22867 };
22868
22869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
22870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22871 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22872 {
22873 PyThreadState* __tstate = wxPyBeginAllowThreads();
22874 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
22875
22876 wxPyEndAllowThreads(__tstate);
22877 if (PyErr_Occurred()) SWIG_fail;
22878 }
36ed4f51
RD
22879 {
22880 resultobj = SWIG_From_int((int)(result));
22881 }
d55e5bfc
RD
22882 return resultobj;
22883 fail:
22884 return NULL;
22885}
22886
22887
c370783e 22888static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22889 PyObject *resultobj;
22890 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22891 int result;
22892 PyObject * obj0 = 0 ;
22893 char *kwnames[] = {
22894 (char *) "self", NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
22898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22900 {
22901 PyThreadState* __tstate = wxPyBeginAllowThreads();
22902 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
22903
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
36ed4f51
RD
22907 {
22908 resultobj = SWIG_From_int((int)(result));
22909 }
d55e5bfc
RD
22910 return resultobj;
22911 fail:
22912 return NULL;
22913}
22914
22915
c370783e 22916static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22917 PyObject *resultobj;
22918 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22919 int result;
22920 PyObject * obj0 = 0 ;
22921 char *kwnames[] = {
22922 (char *) "self", NULL
22923 };
22924
22925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
22926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22928 {
22929 PyThreadState* __tstate = wxPyBeginAllowThreads();
22930 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
22931
22932 wxPyEndAllowThreads(__tstate);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
36ed4f51
RD
22935 {
22936 resultobj = SWIG_From_int((int)(result));
22937 }
d55e5bfc
RD
22938 return resultobj;
22939 fail:
22940 return NULL;
22941}
22942
22943
c370783e 22944static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22945 PyObject *resultobj;
22946 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22947 int result;
22948 PyObject * obj0 = 0 ;
22949 char *kwnames[] = {
22950 (char *) "self", NULL
22951 };
22952
22953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
36ed4f51
RD
22954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22956 {
22957 PyThreadState* __tstate = wxPyBeginAllowThreads();
22958 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
22959
22960 wxPyEndAllowThreads(__tstate);
22961 if (PyErr_Occurred()) SWIG_fail;
22962 }
36ed4f51
RD
22963 {
22964 resultobj = SWIG_From_int((int)(result));
22965 }
d55e5bfc
RD
22966 return resultobj;
22967 fail:
22968 return NULL;
22969}
22970
22971
c370783e 22972static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22973 PyObject *resultobj;
22974 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
22975 bool result;
22976 PyObject * obj0 = 0 ;
22977 char *kwnames[] = {
22978 (char *) "self", NULL
22979 };
22980
22981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
36ed4f51
RD
22982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
22983 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22984 {
22985 PyThreadState* __tstate = wxPyBeginAllowThreads();
22986 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
22987
22988 wxPyEndAllowThreads(__tstate);
22989 if (PyErr_Occurred()) SWIG_fail;
22990 }
22991 {
22992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22993 }
22994 return resultobj;
22995 fail:
22996 return NULL;
22997}
22998
22999
c370783e 23000static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23001 PyObject *resultobj;
23002 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23003 bool result;
23004 PyObject * obj0 = 0 ;
23005 char *kwnames[] = {
23006 (char *) "self", NULL
23007 };
23008
23009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
23010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23011 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23012 {
23013 PyThreadState* __tstate = wxPyBeginAllowThreads();
23014 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
23015
23016 wxPyEndAllowThreads(__tstate);
23017 if (PyErr_Occurred()) SWIG_fail;
23018 }
23019 {
23020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23021 }
23022 return resultobj;
23023 fail:
23024 return NULL;
23025}
23026
23027
c370783e 23028static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23029 PyObject *resultobj;
23030 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23031 bool result;
23032 PyObject * obj0 = 0 ;
23033 char *kwnames[] = {
23034 (char *) "self", NULL
23035 };
23036
23037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
36ed4f51
RD
23038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23039 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23040 {
23041 PyThreadState* __tstate = wxPyBeginAllowThreads();
23042 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
23043
23044 wxPyEndAllowThreads(__tstate);
23045 if (PyErr_Occurred()) SWIG_fail;
23046 }
23047 {
23048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23049 }
23050 return resultobj;
23051 fail:
23052 return NULL;
23053}
23054
23055
c370783e 23056static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23057 PyObject *resultobj;
23058 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23059 bool result;
23060 PyObject * obj0 = 0 ;
23061 char *kwnames[] = {
23062 (char *) "self", NULL
23063 };
23064
23065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
23066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23067 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23068 {
23069 PyThreadState* __tstate = wxPyBeginAllowThreads();
23070 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
23071
23072 wxPyEndAllowThreads(__tstate);
23073 if (PyErr_Occurred()) SWIG_fail;
23074 }
23075 {
23076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23077 }
23078 return resultobj;
23079 fail:
23080 return NULL;
23081}
23082
23083
c370783e 23084static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23085 PyObject *resultobj;
23086 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23087 bool result;
23088 PyObject * obj0 = 0 ;
23089 char *kwnames[] = {
23090 (char *) "self", NULL
23091 };
23092
23093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
23094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23095 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23096 {
23097 PyThreadState* __tstate = wxPyBeginAllowThreads();
23098 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
23099
23100 wxPyEndAllowThreads(__tstate);
23101 if (PyErr_Occurred()) SWIG_fail;
23102 }
23103 {
23104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23105 }
23106 return resultobj;
23107 fail:
23108 return NULL;
23109}
23110
23111
070c48b4
RD
23112static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *, PyObject *args, PyObject *kwargs) {
23113 PyObject *resultobj;
23114 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23115 bool arg2 ;
23116 PyObject * obj0 = 0 ;
23117 PyObject * obj1 = 0 ;
23118 char *kwnames[] = {
23119 (char *) "self",(char *) "flag", NULL
23120 };
23121
23122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23124 if (SWIG_arg_fail(1)) SWIG_fail;
23125 {
23126 arg2 = (bool)(SWIG_As_bool(obj1));
23127 if (SWIG_arg_fail(2)) SWIG_fail;
23128 }
070c48b4
RD
23129 {
23130 PyThreadState* __tstate = wxPyBeginAllowThreads();
23131 (arg1)->SetSetupDialog(arg2);
23132
23133 wxPyEndAllowThreads(__tstate);
23134 if (PyErr_Occurred()) SWIG_fail;
23135 }
23136 Py_INCREF(Py_None); resultobj = Py_None;
23137 return resultobj;
23138 fail:
23139 return NULL;
23140}
23141
23142
c370783e 23143static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23144 PyObject *resultobj;
23145 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23146 int arg2 ;
23147 PyObject * obj0 = 0 ;
23148 PyObject * obj1 = 0 ;
23149 char *kwnames[] = {
23150 (char *) "self",(char *) "v", NULL
23151 };
23152
23153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23155 if (SWIG_arg_fail(1)) SWIG_fail;
23156 {
23157 arg2 = (int)(SWIG_As_int(obj1));
23158 if (SWIG_arg_fail(2)) SWIG_fail;
23159 }
d55e5bfc
RD
23160 {
23161 PyThreadState* __tstate = wxPyBeginAllowThreads();
23162 (arg1)->SetFromPage(arg2);
23163
23164 wxPyEndAllowThreads(__tstate);
23165 if (PyErr_Occurred()) SWIG_fail;
23166 }
23167 Py_INCREF(Py_None); resultobj = Py_None;
23168 return resultobj;
23169 fail:
23170 return NULL;
23171}
23172
23173
c370783e 23174static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23175 PyObject *resultobj;
23176 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23177 int arg2 ;
23178 PyObject * obj0 = 0 ;
23179 PyObject * obj1 = 0 ;
23180 char *kwnames[] = {
23181 (char *) "self",(char *) "v", NULL
23182 };
23183
23184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23186 if (SWIG_arg_fail(1)) SWIG_fail;
23187 {
23188 arg2 = (int)(SWIG_As_int(obj1));
23189 if (SWIG_arg_fail(2)) SWIG_fail;
23190 }
d55e5bfc
RD
23191 {
23192 PyThreadState* __tstate = wxPyBeginAllowThreads();
23193 (arg1)->SetToPage(arg2);
23194
23195 wxPyEndAllowThreads(__tstate);
23196 if (PyErr_Occurred()) SWIG_fail;
23197 }
23198 Py_INCREF(Py_None); resultobj = Py_None;
23199 return resultobj;
23200 fail:
23201 return NULL;
23202}
23203
23204
c370783e 23205static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23206 PyObject *resultobj;
23207 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23208 int arg2 ;
23209 PyObject * obj0 = 0 ;
23210 PyObject * obj1 = 0 ;
23211 char *kwnames[] = {
23212 (char *) "self",(char *) "v", NULL
23213 };
23214
23215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23217 if (SWIG_arg_fail(1)) SWIG_fail;
23218 {
23219 arg2 = (int)(SWIG_As_int(obj1));
23220 if (SWIG_arg_fail(2)) SWIG_fail;
23221 }
d55e5bfc
RD
23222 {
23223 PyThreadState* __tstate = wxPyBeginAllowThreads();
23224 (arg1)->SetMinPage(arg2);
23225
23226 wxPyEndAllowThreads(__tstate);
23227 if (PyErr_Occurred()) SWIG_fail;
23228 }
23229 Py_INCREF(Py_None); resultobj = Py_None;
23230 return resultobj;
23231 fail:
23232 return NULL;
23233}
23234
23235
c370783e 23236static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23237 PyObject *resultobj;
23238 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23239 int arg2 ;
23240 PyObject * obj0 = 0 ;
23241 PyObject * obj1 = 0 ;
23242 char *kwnames[] = {
23243 (char *) "self",(char *) "v", NULL
23244 };
23245
23246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23248 if (SWIG_arg_fail(1)) SWIG_fail;
23249 {
23250 arg2 = (int)(SWIG_As_int(obj1));
23251 if (SWIG_arg_fail(2)) SWIG_fail;
23252 }
d55e5bfc
RD
23253 {
23254 PyThreadState* __tstate = wxPyBeginAllowThreads();
23255 (arg1)->SetMaxPage(arg2);
23256
23257 wxPyEndAllowThreads(__tstate);
23258 if (PyErr_Occurred()) SWIG_fail;
23259 }
23260 Py_INCREF(Py_None); resultobj = Py_None;
23261 return resultobj;
23262 fail:
23263 return NULL;
23264}
23265
23266
c370783e 23267static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23268 PyObject *resultobj;
23269 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23270 int arg2 ;
23271 PyObject * obj0 = 0 ;
23272 PyObject * obj1 = 0 ;
23273 char *kwnames[] = {
23274 (char *) "self",(char *) "v", NULL
23275 };
23276
23277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23279 if (SWIG_arg_fail(1)) SWIG_fail;
23280 {
23281 arg2 = (int)(SWIG_As_int(obj1));
23282 if (SWIG_arg_fail(2)) SWIG_fail;
23283 }
d55e5bfc
RD
23284 {
23285 PyThreadState* __tstate = wxPyBeginAllowThreads();
23286 (arg1)->SetNoCopies(arg2);
23287
23288 wxPyEndAllowThreads(__tstate);
23289 if (PyErr_Occurred()) SWIG_fail;
23290 }
23291 Py_INCREF(Py_None); resultobj = Py_None;
23292 return resultobj;
23293 fail:
23294 return NULL;
23295}
23296
23297
c370783e 23298static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23299 PyObject *resultobj;
23300 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23301 bool arg2 ;
23302 PyObject * obj0 = 0 ;
23303 PyObject * obj1 = 0 ;
23304 char *kwnames[] = {
23305 (char *) "self",(char *) "flag", NULL
23306 };
23307
23308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23310 if (SWIG_arg_fail(1)) SWIG_fail;
23311 {
23312 arg2 = (bool)(SWIG_As_bool(obj1));
23313 if (SWIG_arg_fail(2)) SWIG_fail;
23314 }
d55e5bfc
RD
23315 {
23316 PyThreadState* __tstate = wxPyBeginAllowThreads();
23317 (arg1)->SetAllPages(arg2);
23318
23319 wxPyEndAllowThreads(__tstate);
23320 if (PyErr_Occurred()) SWIG_fail;
23321 }
23322 Py_INCREF(Py_None); resultobj = Py_None;
23323 return resultobj;
23324 fail:
23325 return NULL;
23326}
23327
23328
c370783e 23329static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23330 PyObject *resultobj;
23331 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23332 bool arg2 ;
23333 PyObject * obj0 = 0 ;
23334 PyObject * obj1 = 0 ;
23335 char *kwnames[] = {
23336 (char *) "self",(char *) "flag", NULL
23337 };
23338
23339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23341 if (SWIG_arg_fail(1)) SWIG_fail;
23342 {
23343 arg2 = (bool)(SWIG_As_bool(obj1));
23344 if (SWIG_arg_fail(2)) SWIG_fail;
23345 }
d55e5bfc
RD
23346 {
23347 PyThreadState* __tstate = wxPyBeginAllowThreads();
23348 (arg1)->SetSelection(arg2);
23349
23350 wxPyEndAllowThreads(__tstate);
23351 if (PyErr_Occurred()) SWIG_fail;
23352 }
23353 Py_INCREF(Py_None); resultobj = Py_None;
23354 return resultobj;
23355 fail:
23356 return NULL;
23357}
23358
23359
c370783e 23360static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23361 PyObject *resultobj;
23362 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23363 bool arg2 ;
23364 PyObject * obj0 = 0 ;
23365 PyObject * obj1 = 0 ;
23366 char *kwnames[] = {
23367 (char *) "self",(char *) "flag", NULL
23368 };
23369
23370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23372 if (SWIG_arg_fail(1)) SWIG_fail;
23373 {
23374 arg2 = (bool)(SWIG_As_bool(obj1));
23375 if (SWIG_arg_fail(2)) SWIG_fail;
23376 }
d55e5bfc
RD
23377 {
23378 PyThreadState* __tstate = wxPyBeginAllowThreads();
23379 (arg1)->SetCollate(arg2);
23380
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 Py_INCREF(Py_None); resultobj = Py_None;
23385 return resultobj;
23386 fail:
23387 return NULL;
23388}
23389
23390
c370783e 23391static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23392 PyObject *resultobj;
23393 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23394 bool arg2 ;
23395 PyObject * obj0 = 0 ;
23396 PyObject * obj1 = 0 ;
23397 char *kwnames[] = {
23398 (char *) "self",(char *) "flag", NULL
23399 };
23400
23401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23403 if (SWIG_arg_fail(1)) SWIG_fail;
23404 {
23405 arg2 = (bool)(SWIG_As_bool(obj1));
23406 if (SWIG_arg_fail(2)) SWIG_fail;
23407 }
d55e5bfc
RD
23408 {
23409 PyThreadState* __tstate = wxPyBeginAllowThreads();
23410 (arg1)->SetPrintToFile(arg2);
23411
23412 wxPyEndAllowThreads(__tstate);
23413 if (PyErr_Occurred()) SWIG_fail;
23414 }
23415 Py_INCREF(Py_None); resultobj = Py_None;
23416 return resultobj;
23417 fail:
23418 return NULL;
23419}
23420
23421
c370783e 23422static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23423 PyObject *resultobj;
23424 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23425 bool arg2 ;
23426 PyObject * obj0 = 0 ;
23427 PyObject * obj1 = 0 ;
23428 char *kwnames[] = {
23429 (char *) "self",(char *) "flag", NULL
23430 };
23431
23432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23434 if (SWIG_arg_fail(1)) SWIG_fail;
23435 {
23436 arg2 = (bool)(SWIG_As_bool(obj1));
23437 if (SWIG_arg_fail(2)) SWIG_fail;
23438 }
d55e5bfc
RD
23439 {
23440 PyThreadState* __tstate = wxPyBeginAllowThreads();
23441 (arg1)->EnablePrintToFile(arg2);
23442
23443 wxPyEndAllowThreads(__tstate);
23444 if (PyErr_Occurred()) SWIG_fail;
23445 }
23446 Py_INCREF(Py_None); resultobj = Py_None;
23447 return resultobj;
23448 fail:
23449 return NULL;
23450}
23451
23452
c370783e 23453static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23454 PyObject *resultobj;
23455 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23456 bool arg2 ;
23457 PyObject * obj0 = 0 ;
23458 PyObject * obj1 = 0 ;
23459 char *kwnames[] = {
23460 (char *) "self",(char *) "flag", NULL
23461 };
23462
23463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23465 if (SWIG_arg_fail(1)) SWIG_fail;
23466 {
23467 arg2 = (bool)(SWIG_As_bool(obj1));
23468 if (SWIG_arg_fail(2)) SWIG_fail;
23469 }
d55e5bfc
RD
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 (arg1)->EnableSelection(arg2);
23473
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 Py_INCREF(Py_None); resultobj = Py_None;
23478 return resultobj;
23479 fail:
23480 return NULL;
23481}
23482
23483
c370783e 23484static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23485 PyObject *resultobj;
23486 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23487 bool arg2 ;
23488 PyObject * obj0 = 0 ;
23489 PyObject * obj1 = 0 ;
23490 char *kwnames[] = {
23491 (char *) "self",(char *) "flag", NULL
23492 };
23493
23494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23496 if (SWIG_arg_fail(1)) SWIG_fail;
23497 {
23498 arg2 = (bool)(SWIG_As_bool(obj1));
23499 if (SWIG_arg_fail(2)) SWIG_fail;
23500 }
d55e5bfc
RD
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 (arg1)->EnablePageNumbers(arg2);
23504
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 Py_INCREF(Py_None); resultobj = Py_None;
23509 return resultobj;
23510 fail:
23511 return NULL;
23512}
23513
23514
c370783e 23515static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23516 PyObject *resultobj;
23517 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23518 bool arg2 ;
23519 PyObject * obj0 = 0 ;
23520 PyObject * obj1 = 0 ;
23521 char *kwnames[] = {
23522 (char *) "self",(char *) "flag", NULL
23523 };
23524
23525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23527 if (SWIG_arg_fail(1)) SWIG_fail;
23528 {
23529 arg2 = (bool)(SWIG_As_bool(obj1));
23530 if (SWIG_arg_fail(2)) SWIG_fail;
23531 }
d55e5bfc
RD
23532 {
23533 PyThreadState* __tstate = wxPyBeginAllowThreads();
23534 (arg1)->EnableHelp(arg2);
23535
23536 wxPyEndAllowThreads(__tstate);
23537 if (PyErr_Occurred()) SWIG_fail;
23538 }
23539 Py_INCREF(Py_None); resultobj = Py_None;
23540 return resultobj;
23541 fail:
23542 return NULL;
23543}
23544
23545
c370783e 23546static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23547 PyObject *resultobj;
23548 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23549 bool result;
23550 PyObject * obj0 = 0 ;
23551 char *kwnames[] = {
23552 (char *) "self", NULL
23553 };
23554
23555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
23556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23558 {
23559 PyThreadState* __tstate = wxPyBeginAllowThreads();
23560 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
23561
23562 wxPyEndAllowThreads(__tstate);
23563 if (PyErr_Occurred()) SWIG_fail;
23564 }
23565 {
23566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23567 }
23568 return resultobj;
23569 fail:
23570 return NULL;
23571}
23572
23573
c370783e 23574static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23575 PyObject *resultobj;
23576 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23577 bool result;
23578 PyObject * obj0 = 0 ;
23579 char *kwnames[] = {
23580 (char *) "self", NULL
23581 };
23582
23583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
23584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23585 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23586 {
23587 PyThreadState* __tstate = wxPyBeginAllowThreads();
23588 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
23589
23590 wxPyEndAllowThreads(__tstate);
23591 if (PyErr_Occurred()) SWIG_fail;
23592 }
23593 {
23594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23595 }
23596 return resultobj;
23597 fail:
23598 return NULL;
23599}
23600
23601
c370783e 23602static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23603 PyObject *resultobj;
23604 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23605 bool result;
23606 PyObject * obj0 = 0 ;
23607 char *kwnames[] = {
23608 (char *) "self", NULL
23609 };
23610
23611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
36ed4f51
RD
23612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23613 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23614 {
23615 PyThreadState* __tstate = wxPyBeginAllowThreads();
23616 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
23617
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
23621 {
23622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23623 }
23624 return resultobj;
23625 fail:
23626 return NULL;
23627}
23628
23629
c370783e 23630static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23631 PyObject *resultobj;
23632 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23633 bool result;
23634 PyObject * obj0 = 0 ;
23635 char *kwnames[] = {
23636 (char *) "self", NULL
23637 };
23638
23639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
23640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23641 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23642 {
23643 PyThreadState* __tstate = wxPyBeginAllowThreads();
23644 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
23645
23646 wxPyEndAllowThreads(__tstate);
23647 if (PyErr_Occurred()) SWIG_fail;
23648 }
23649 {
23650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23651 }
23652 return resultobj;
23653 fail:
23654 return NULL;
23655}
23656
23657
c370783e 23658static PyObject *_wrap_PrintDialogData_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23659 PyObject *resultobj;
23660 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23661 bool result;
23662 PyObject * obj0 = 0 ;
23663 char *kwnames[] = {
23664 (char *) "self", NULL
23665 };
23666
23667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
23668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23669 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23670 {
23671 PyThreadState* __tstate = wxPyBeginAllowThreads();
23672 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
23673
23674 wxPyEndAllowThreads(__tstate);
23675 if (PyErr_Occurred()) SWIG_fail;
23676 }
23677 {
23678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23679 }
23680 return resultobj;
23681 fail:
23682 return NULL;
23683}
23684
23685
c370783e 23686static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23687 PyObject *resultobj;
23688 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23689 wxPrintData *result;
23690 PyObject * obj0 = 0 ;
23691 char *kwnames[] = {
23692 (char *) "self", NULL
23693 };
23694
23695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23696 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23697 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23698 {
23699 PyThreadState* __tstate = wxPyBeginAllowThreads();
23700 {
23701 wxPrintData &_result_ref = (arg1)->GetPrintData();
23702 result = (wxPrintData *) &_result_ref;
23703 }
23704
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
23709 return resultobj;
23710 fail:
23711 return NULL;
23712}
23713
23714
c370783e 23715static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23716 PyObject *resultobj;
23717 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
23718 wxPrintData *arg2 = 0 ;
23719 PyObject * obj0 = 0 ;
23720 PyObject * obj1 = 0 ;
23721 char *kwnames[] = {
23722 (char *) "self",(char *) "printData", NULL
23723 };
23724
23725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23727 if (SWIG_arg_fail(1)) SWIG_fail;
23728 {
23729 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
23730 if (SWIG_arg_fail(2)) SWIG_fail;
23731 if (arg2 == NULL) {
23732 SWIG_null_ref("wxPrintData");
23733 }
23734 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23735 }
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 (arg1)->SetPrintData((wxPrintData const &)*arg2);
23739
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 Py_INCREF(Py_None); resultobj = Py_None;
23744 return resultobj;
23745 fail:
23746 return NULL;
23747}
23748
23749
c370783e 23750static PyObject * PrintDialogData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23751 PyObject *obj;
23752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23753 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
23754 Py_INCREF(obj);
23755 return Py_BuildValue((char *)"");
23756}
c370783e 23757static PyObject *_wrap_new_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23758 PyObject *resultobj;
23759 wxWindow *arg1 = (wxWindow *) 0 ;
23760 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
23761 wxPrintDialog *result;
23762 PyObject * obj0 = 0 ;
23763 PyObject * obj1 = 0 ;
23764 char *kwnames[] = {
23765 (char *) "parent",(char *) "data", NULL
23766 };
23767
23768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23770 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23771 if (obj1) {
36ed4f51
RD
23772 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23773 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23774 }
23775 {
0439c23b 23776 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
23779
23780 wxPyEndAllowThreads(__tstate);
110da5b0 23781 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23782 }
23783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialog, 1);
23784 return resultobj;
23785 fail:
23786 return NULL;
23787}
23788
23789
070c48b4
RD
23790static PyObject *_wrap_PrintDialog_ShowModal(PyObject *, PyObject *args, PyObject *kwargs) {
23791 PyObject *resultobj;
23792 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23793 int result;
23794 PyObject * obj0 = 0 ;
23795 char *kwnames[] = {
23796 (char *) "self", NULL
23797 };
23798
23799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
36ed4f51
RD
23800 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23801 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
23802 {
23803 PyThreadState* __tstate = wxPyBeginAllowThreads();
23804 result = (int)(arg1)->ShowModal();
23805
23806 wxPyEndAllowThreads(__tstate);
23807 if (PyErr_Occurred()) SWIG_fail;
23808 }
36ed4f51
RD
23809 {
23810 resultobj = SWIG_From_int((int)(result));
23811 }
070c48b4
RD
23812 return resultobj;
23813 fail:
23814 return NULL;
23815}
23816
23817
c370783e 23818static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23819 PyObject *resultobj;
23820 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
23821 wxPrintDialogData *result;
23822 PyObject * obj0 = 0 ;
23823 char *kwnames[] = {
23824 (char *) "self", NULL
23825 };
23826
23827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23829 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23830 {
23831 PyThreadState* __tstate = wxPyBeginAllowThreads();
23832 {
23833 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
23834 result = (wxPrintDialogData *) &_result_ref;
23835 }
23836
23837 wxPyEndAllowThreads(__tstate);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 }
23840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
23841 return resultobj;
23842 fail:
23843 return NULL;
23844}
23845
23846
070c48b4 23847static PyObject *_wrap_PrintDialog_GetPrintData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23848 PyObject *resultobj;
23849 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
070c48b4 23850 wxPrintData *result;
d55e5bfc
RD
23851 PyObject * obj0 = 0 ;
23852 char *kwnames[] = {
23853 (char *) "self", NULL
23854 };
23855
070c48b4 23856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23858 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23859 {
23860 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4
RD
23861 {
23862 wxPrintData &_result_ref = (arg1)->GetPrintData();
23863 result = (wxPrintData *) &_result_ref;
23864 }
d55e5bfc
RD
23865
23866 wxPyEndAllowThreads(__tstate);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
070c48b4 23869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintData, 0);
d55e5bfc
RD
23870 return resultobj;
23871 fail:
23872 return NULL;
23873}
23874
23875
070c48b4 23876static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23877 PyObject *resultobj;
23878 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
070c48b4 23879 wxDC *result;
d55e5bfc
RD
23880 PyObject * obj0 = 0 ;
23881 char *kwnames[] = {
23882 (char *) "self", NULL
23883 };
23884
070c48b4 23885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
36ed4f51
RD
23886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_EXCEPTION | 0);
23887 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23888 {
23889 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 23890 result = (wxDC *)(arg1)->GetPrintDC();
d55e5bfc
RD
23891
23892 wxPyEndAllowThreads(__tstate);
23893 if (PyErr_Occurred()) SWIG_fail;
23894 }
070c48b4
RD
23895 {
23896 resultobj = wxPyMake_wxObject(result, 1);
23897 }
d55e5bfc
RD
23898 return resultobj;
23899 fail:
23900 return NULL;
23901}
23902
23903
c370783e 23904static PyObject * PrintDialog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23905 PyObject *obj;
23906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23907 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
23908 Py_INCREF(obj);
23909 return Py_BuildValue((char *)"");
23910}
c370783e 23911static PyObject *_wrap_new_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23912 PyObject *resultobj;
23913 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
23914 wxPrinter *result;
23915 PyObject * obj0 = 0 ;
23916 char *kwnames[] = {
23917 (char *) "data", NULL
23918 };
23919
23920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
23921 if (obj0) {
36ed4f51
RD
23922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
23923 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23924 }
23925 {
0439c23b 23926 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23927 PyThreadState* __tstate = wxPyBeginAllowThreads();
23928 result = (wxPrinter *)new wxPrinter(arg1);
23929
23930 wxPyEndAllowThreads(__tstate);
110da5b0 23931 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23932 }
23933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrinter, 1);
23934 return resultobj;
23935 fail:
23936 return NULL;
23937}
23938
23939
c370783e 23940static PyObject *_wrap_delete_Printer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23941 PyObject *resultobj;
23942 wxPrinter *arg1 = (wxPrinter *) 0 ;
23943 PyObject * obj0 = 0 ;
23944 char *kwnames[] = {
23945 (char *) "self", NULL
23946 };
23947
23948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
36ed4f51
RD
23949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
23950 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23951 {
23952 PyThreadState* __tstate = wxPyBeginAllowThreads();
23953 delete arg1;
23954
23955 wxPyEndAllowThreads(__tstate);
23956 if (PyErr_Occurred()) SWIG_fail;
23957 }
23958 Py_INCREF(Py_None); resultobj = Py_None;
23959 return resultobj;
23960 fail:
23961 return NULL;
23962}
23963
23964
c370783e 23965static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23966 PyObject *resultobj;
23967 wxPrinter *arg1 = (wxPrinter *) 0 ;
23968 wxWindow *arg2 = (wxWindow *) 0 ;
23969 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
070c48b4 23970 wxWindow *result;
d55e5bfc
RD
23971 PyObject * obj0 = 0 ;
23972 PyObject * obj1 = 0 ;
23973 PyObject * obj2 = 0 ;
23974 char *kwnames[] = {
23975 (char *) "self",(char *) "parent",(char *) "printout", NULL
23976 };
23977
23978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
23980 if (SWIG_arg_fail(1)) SWIG_fail;
23981 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23982 if (SWIG_arg_fail(2)) SWIG_fail;
23983 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
23984 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
23985 {
23986 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 23987 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
d55e5bfc
RD
23988
23989 wxPyEndAllowThreads(__tstate);
23990 if (PyErr_Occurred()) SWIG_fail;
23991 }
d55e5bfc 23992 {
070c48b4 23993 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc 23994 }
d55e5bfc
RD
23995 return resultobj;
23996 fail:
23997 return NULL;
23998}
23999
24000
070c48b4 24001static PyObject *_wrap_Printer_ReportError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24002 PyObject *resultobj;
24003 wxPrinter *arg1 = (wxPrinter *) 0 ;
24004 wxWindow *arg2 = (wxWindow *) 0 ;
24005 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
070c48b4
RD
24006 wxString *arg4 = 0 ;
24007 bool temp4 = false ;
d55e5bfc
RD
24008 PyObject * obj0 = 0 ;
24009 PyObject * obj1 = 0 ;
24010 PyObject * obj2 = 0 ;
24011 PyObject * obj3 = 0 ;
24012 char *kwnames[] = {
070c48b4 24013 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
d55e5bfc
RD
24014 };
24015
070c48b4 24016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24018 if (SWIG_arg_fail(1)) SWIG_fail;
24019 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24020 if (SWIG_arg_fail(2)) SWIG_fail;
24021 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24022 if (SWIG_arg_fail(3)) SWIG_fail;
070c48b4
RD
24023 {
24024 arg4 = wxString_in_helper(obj3);
24025 if (arg4 == NULL) SWIG_fail;
24026 temp4 = true;
d55e5bfc
RD
24027 }
24028 {
24029 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24030 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
d55e5bfc
RD
24031
24032 wxPyEndAllowThreads(__tstate);
24033 if (PyErr_Occurred()) SWIG_fail;
24034 }
070c48b4 24035 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 24036 {
070c48b4
RD
24037 if (temp4)
24038 delete arg4;
d55e5bfc
RD
24039 }
24040 return resultobj;
24041 fail:
070c48b4
RD
24042 {
24043 if (temp4)
24044 delete arg4;
24045 }
d55e5bfc
RD
24046 return NULL;
24047}
24048
24049
070c48b4 24050static PyObject *_wrap_Printer_Setup(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24051 PyObject *resultobj;
24052 wxPrinter *arg1 = (wxPrinter *) 0 ;
24053 wxWindow *arg2 = (wxWindow *) 0 ;
070c48b4 24054 bool result;
d55e5bfc
RD
24055 PyObject * obj0 = 0 ;
24056 PyObject * obj1 = 0 ;
24057 char *kwnames[] = {
24058 (char *) "self",(char *) "parent", NULL
24059 };
24060
070c48b4 24061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24063 if (SWIG_arg_fail(1)) SWIG_fail;
24064 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24065 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24066 {
24067 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24068 result = (bool)(arg1)->Setup(arg2);
d55e5bfc
RD
24069
24070 wxPyEndAllowThreads(__tstate);
24071 if (PyErr_Occurred()) SWIG_fail;
24072 }
24073 {
070c48b4 24074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24075 }
24076 return resultobj;
24077 fail:
24078 return NULL;
24079}
24080
24081
070c48b4 24082static PyObject *_wrap_Printer_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24083 PyObject *resultobj;
24084 wxPrinter *arg1 = (wxPrinter *) 0 ;
24085 wxWindow *arg2 = (wxWindow *) 0 ;
24086 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
070c48b4
RD
24087 bool arg4 = (bool) true ;
24088 bool result;
d55e5bfc
RD
24089 PyObject * obj0 = 0 ;
24090 PyObject * obj1 = 0 ;
24091 PyObject * obj2 = 0 ;
24092 PyObject * obj3 = 0 ;
24093 char *kwnames[] = {
070c48b4 24094 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
d55e5bfc
RD
24095 };
24096
070c48b4 24097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24099 if (SWIG_arg_fail(1)) SWIG_fail;
24100 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24101 if (SWIG_arg_fail(2)) SWIG_fail;
24102 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24103 if (SWIG_arg_fail(3)) SWIG_fail;
070c48b4 24104 if (obj3) {
36ed4f51
RD
24105 {
24106 arg4 = (bool)(SWIG_As_bool(obj3));
24107 if (SWIG_arg_fail(4)) SWIG_fail;
24108 }
d55e5bfc
RD
24109 }
24110 {
24111 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24112 result = (bool)(arg1)->Print(arg2,arg3,arg4);
d55e5bfc
RD
24113
24114 wxPyEndAllowThreads(__tstate);
24115 if (PyErr_Occurred()) SWIG_fail;
24116 }
d55e5bfc 24117 {
070c48b4 24118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
24119 }
24120 return resultobj;
24121 fail:
d55e5bfc
RD
24122 return NULL;
24123}
24124
24125
070c48b4 24126static PyObject *_wrap_Printer_PrintDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24127 PyObject *resultobj;
24128 wxPrinter *arg1 = (wxPrinter *) 0 ;
24129 wxWindow *arg2 = (wxWindow *) 0 ;
070c48b4 24130 wxDC *result;
d55e5bfc
RD
24131 PyObject * obj0 = 0 ;
24132 PyObject * obj1 = 0 ;
24133 char *kwnames[] = {
24134 (char *) "self",(char *) "parent", NULL
24135 };
24136
070c48b4 24137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24139 if (SWIG_arg_fail(1)) SWIG_fail;
24140 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
24141 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24142 {
24143 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24144 result = (wxDC *)(arg1)->PrintDialog(arg2);
d55e5bfc
RD
24145
24146 wxPyEndAllowThreads(__tstate);
24147 if (PyErr_Occurred()) SWIG_fail;
24148 }
24149 {
070c48b4 24150 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24151 }
24152 return resultobj;
24153 fail:
24154 return NULL;
24155}
24156
24157
070c48b4
RD
24158static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
24159 PyObject *resultobj;
24160 wxPrinter *arg1 = (wxPrinter *) 0 ;
24161 wxPrintDialogData *result;
24162 PyObject * obj0 = 0 ;
24163 char *kwnames[] = {
24164 (char *) "self", NULL
24165 };
24166
24167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
24168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24169 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
24170 {
24171 PyThreadState* __tstate = wxPyBeginAllowThreads();
24172 {
24173 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
24174 result = (wxPrintDialogData *) &_result_ref;
24175 }
24176
24177 wxPyEndAllowThreads(__tstate);
24178 if (PyErr_Occurred()) SWIG_fail;
24179 }
24180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
24181 return resultobj;
24182 fail:
24183 return NULL;
24184}
24185
24186
c370783e 24187static PyObject *_wrap_Printer_GetAbort(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24188 PyObject *resultobj;
24189 wxPrinter *arg1 = (wxPrinter *) 0 ;
24190 bool result;
24191 PyObject * obj0 = 0 ;
24192 char *kwnames[] = {
24193 (char *) "self", NULL
24194 };
24195
24196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
36ed4f51
RD
24197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrinter, SWIG_POINTER_EXCEPTION | 0);
24198 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24199 {
24200 PyThreadState* __tstate = wxPyBeginAllowThreads();
24201 result = (bool)(arg1)->GetAbort();
24202
24203 wxPyEndAllowThreads(__tstate);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 }
24206 {
24207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24208 }
24209 return resultobj;
24210 fail:
24211 return NULL;
24212}
24213
24214
c370783e 24215static PyObject *_wrap_Printer_GetLastError(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 24216 PyObject *resultobj;
36ed4f51 24217 wxPrinterError result;
d55e5bfc
RD
24218 char *kwnames[] = {
24219 NULL
24220 };
24221
24222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
24223 {
24224 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 24225 result = (wxPrinterError)wxPrinter::GetLastError();
d55e5bfc
RD
24226
24227 wxPyEndAllowThreads(__tstate);
24228 if (PyErr_Occurred()) SWIG_fail;
24229 }
36ed4f51 24230 resultobj = SWIG_From_int((result));
d55e5bfc
RD
24231 return resultobj;
24232 fail:
24233 return NULL;
24234}
24235
24236
c370783e 24237static PyObject * Printer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24238 PyObject *obj;
24239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24240 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
24241 Py_INCREF(obj);
24242 return Py_BuildValue((char *)"");
24243}
c370783e 24244static PyObject *_wrap_new_Printout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24245 PyObject *resultobj;
24246 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
24247 wxString *arg1 = (wxString *) &arg1_defvalue ;
24248 wxPyPrintout *result;
b411df4a 24249 bool temp1 = false ;
d55e5bfc
RD
24250 PyObject * obj0 = 0 ;
24251 char *kwnames[] = {
24252 (char *) "title", NULL
24253 };
24254
24255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
24256 if (obj0) {
24257 {
24258 arg1 = wxString_in_helper(obj0);
24259 if (arg1 == NULL) SWIG_fail;
b411df4a 24260 temp1 = true;
d55e5bfc
RD
24261 }
24262 }
24263 {
0439c23b 24264 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
24265 PyThreadState* __tstate = wxPyBeginAllowThreads();
24266 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
24267
24268 wxPyEndAllowThreads(__tstate);
110da5b0 24269 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
24270 }
24271 {
412d302d 24272 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
24273 }
24274 {
24275 if (temp1)
24276 delete arg1;
24277 }
24278 return resultobj;
24279 fail:
24280 {
24281 if (temp1)
24282 delete arg1;
24283 }
24284 return NULL;
24285}
24286
24287
c370783e 24288static PyObject *_wrap_Printout__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24289 PyObject *resultobj;
24290 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24291 PyObject *arg2 = (PyObject *) 0 ;
24292 PyObject *arg3 = (PyObject *) 0 ;
24293 PyObject * obj0 = 0 ;
24294 PyObject * obj1 = 0 ;
24295 PyObject * obj2 = 0 ;
24296 char *kwnames[] = {
24297 (char *) "self",(char *) "self",(char *) "_class", NULL
24298 };
24299
24300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24302 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24303 arg2 = obj1;
24304 arg3 = obj2;
24305 {
24306 PyThreadState* __tstate = wxPyBeginAllowThreads();
24307 (arg1)->_setCallbackInfo(arg2,arg3);
24308
24309 wxPyEndAllowThreads(__tstate);
24310 if (PyErr_Occurred()) SWIG_fail;
24311 }
24312 Py_INCREF(Py_None); resultobj = Py_None;
24313 return resultobj;
24314 fail:
24315 return NULL;
24316}
24317
24318
c370783e 24319static PyObject *_wrap_Printout_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24320 PyObject *resultobj;
24321 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24322 wxString result;
24323 PyObject * obj0 = 0 ;
24324 char *kwnames[] = {
24325 (char *) "self", NULL
24326 };
24327
24328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
36ed4f51
RD
24329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24330 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24331 {
24332 PyThreadState* __tstate = wxPyBeginAllowThreads();
24333 result = ((wxPyPrintout const *)arg1)->GetTitle();
24334
24335 wxPyEndAllowThreads(__tstate);
24336 if (PyErr_Occurred()) SWIG_fail;
24337 }
24338 {
24339#if wxUSE_UNICODE
24340 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24341#else
24342 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24343#endif
24344 }
24345 return resultobj;
24346 fail:
24347 return NULL;
24348}
24349
24350
c370783e 24351static PyObject *_wrap_Printout_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24352 PyObject *resultobj;
24353 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24354 wxDC *result;
24355 PyObject * obj0 = 0 ;
24356 char *kwnames[] = {
24357 (char *) "self", NULL
24358 };
24359
24360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
36ed4f51
RD
24361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24362 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24363 {
24364 PyThreadState* __tstate = wxPyBeginAllowThreads();
24365 result = (wxDC *)(arg1)->GetDC();
24366
24367 wxPyEndAllowThreads(__tstate);
24368 if (PyErr_Occurred()) SWIG_fail;
24369 }
24370 {
412d302d 24371 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24372 }
24373 return resultobj;
24374 fail:
24375 return NULL;
24376}
24377
24378
c370783e 24379static PyObject *_wrap_Printout_SetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24380 PyObject *resultobj;
24381 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24382 wxDC *arg2 = (wxDC *) 0 ;
24383 PyObject * obj0 = 0 ;
24384 PyObject * obj1 = 0 ;
24385 char *kwnames[] = {
24386 (char *) "self",(char *) "dc", NULL
24387 };
24388
24389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24391 if (SWIG_arg_fail(1)) SWIG_fail;
24392 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
24393 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24394 {
24395 PyThreadState* __tstate = wxPyBeginAllowThreads();
24396 (arg1)->SetDC(arg2);
24397
24398 wxPyEndAllowThreads(__tstate);
24399 if (PyErr_Occurred()) SWIG_fail;
24400 }
24401 Py_INCREF(Py_None); resultobj = Py_None;
24402 return resultobj;
24403 fail:
24404 return NULL;
24405}
24406
24407
c370783e 24408static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24409 PyObject *resultobj;
24410 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24411 int arg2 ;
24412 int arg3 ;
24413 PyObject * obj0 = 0 ;
24414 PyObject * obj1 = 0 ;
24415 PyObject * obj2 = 0 ;
24416 char *kwnames[] = {
24417 (char *) "self",(char *) "w",(char *) "h", NULL
24418 };
24419
24420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24422 if (SWIG_arg_fail(1)) SWIG_fail;
24423 {
24424 arg2 = (int)(SWIG_As_int(obj1));
24425 if (SWIG_arg_fail(2)) SWIG_fail;
24426 }
24427 {
24428 arg3 = (int)(SWIG_As_int(obj2));
24429 if (SWIG_arg_fail(3)) SWIG_fail;
24430 }
d55e5bfc
RD
24431 {
24432 PyThreadState* __tstate = wxPyBeginAllowThreads();
24433 (arg1)->SetPageSizePixels(arg2,arg3);
24434
24435 wxPyEndAllowThreads(__tstate);
24436 if (PyErr_Occurred()) SWIG_fail;
24437 }
24438 Py_INCREF(Py_None); resultobj = Py_None;
24439 return resultobj;
24440 fail:
24441 return NULL;
24442}
24443
24444
c370783e 24445static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24446 PyObject *resultobj;
24447 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24448 int *arg2 = (int *) 0 ;
24449 int *arg3 = (int *) 0 ;
24450 int temp2 ;
c370783e 24451 int res2 = 0 ;
d55e5bfc 24452 int temp3 ;
c370783e 24453 int res3 = 0 ;
d55e5bfc
RD
24454 PyObject * obj0 = 0 ;
24455 char *kwnames[] = {
24456 (char *) "self", NULL
24457 };
24458
c370783e
RD
24459 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24460 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
36ed4f51
RD
24462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24464 {
24465 PyThreadState* __tstate = wxPyBeginAllowThreads();
24466 (arg1)->GetPageSizePixels(arg2,arg3);
24467
24468 wxPyEndAllowThreads(__tstate);
24469 if (PyErr_Occurred()) SWIG_fail;
24470 }
24471 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24472 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24473 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24474 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24475 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24476 return resultobj;
24477 fail:
24478 return NULL;
24479}
24480
24481
c370783e 24482static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24483 PyObject *resultobj;
24484 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24485 int arg2 ;
24486 int arg3 ;
24487 PyObject * obj0 = 0 ;
24488 PyObject * obj1 = 0 ;
24489 PyObject * obj2 = 0 ;
24490 char *kwnames[] = {
24491 (char *) "self",(char *) "w",(char *) "h", NULL
24492 };
24493
24494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24496 if (SWIG_arg_fail(1)) SWIG_fail;
24497 {
24498 arg2 = (int)(SWIG_As_int(obj1));
24499 if (SWIG_arg_fail(2)) SWIG_fail;
24500 }
24501 {
24502 arg3 = (int)(SWIG_As_int(obj2));
24503 if (SWIG_arg_fail(3)) SWIG_fail;
24504 }
d55e5bfc
RD
24505 {
24506 PyThreadState* __tstate = wxPyBeginAllowThreads();
24507 (arg1)->SetPageSizeMM(arg2,arg3);
24508
24509 wxPyEndAllowThreads(__tstate);
24510 if (PyErr_Occurred()) SWIG_fail;
24511 }
24512 Py_INCREF(Py_None); resultobj = Py_None;
24513 return resultobj;
24514 fail:
24515 return NULL;
24516}
24517
24518
c370783e 24519static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24520 PyObject *resultobj;
24521 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24522 int *arg2 = (int *) 0 ;
24523 int *arg3 = (int *) 0 ;
24524 int temp2 ;
c370783e 24525 int res2 = 0 ;
d55e5bfc 24526 int temp3 ;
c370783e 24527 int res3 = 0 ;
d55e5bfc
RD
24528 PyObject * obj0 = 0 ;
24529 char *kwnames[] = {
24530 (char *) "self", NULL
24531 };
24532
c370783e
RD
24533 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24534 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
36ed4f51
RD
24536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24537 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24538 {
24539 PyThreadState* __tstate = wxPyBeginAllowThreads();
24540 (arg1)->GetPageSizeMM(arg2,arg3);
24541
24542 wxPyEndAllowThreads(__tstate);
24543 if (PyErr_Occurred()) SWIG_fail;
24544 }
24545 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24546 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24547 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24548 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24549 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24550 return resultobj;
24551 fail:
24552 return NULL;
24553}
24554
24555
c370783e 24556static PyObject *_wrap_Printout_SetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24557 PyObject *resultobj;
24558 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24559 int arg2 ;
24560 int arg3 ;
24561 PyObject * obj0 = 0 ;
24562 PyObject * obj1 = 0 ;
24563 PyObject * obj2 = 0 ;
24564 char *kwnames[] = {
24565 (char *) "self",(char *) "x",(char *) "y", NULL
24566 };
24567
24568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24570 if (SWIG_arg_fail(1)) SWIG_fail;
24571 {
24572 arg2 = (int)(SWIG_As_int(obj1));
24573 if (SWIG_arg_fail(2)) SWIG_fail;
24574 }
24575 {
24576 arg3 = (int)(SWIG_As_int(obj2));
24577 if (SWIG_arg_fail(3)) SWIG_fail;
24578 }
d55e5bfc
RD
24579 {
24580 PyThreadState* __tstate = wxPyBeginAllowThreads();
24581 (arg1)->SetPPIScreen(arg2,arg3);
24582
24583 wxPyEndAllowThreads(__tstate);
24584 if (PyErr_Occurred()) SWIG_fail;
24585 }
24586 Py_INCREF(Py_None); resultobj = Py_None;
24587 return resultobj;
24588 fail:
24589 return NULL;
24590}
24591
24592
c370783e 24593static PyObject *_wrap_Printout_GetPPIScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24594 PyObject *resultobj;
24595 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24596 int *arg2 = (int *) 0 ;
24597 int *arg3 = (int *) 0 ;
24598 int temp2 ;
c370783e 24599 int res2 = 0 ;
d55e5bfc 24600 int temp3 ;
c370783e 24601 int res3 = 0 ;
d55e5bfc
RD
24602 PyObject * obj0 = 0 ;
24603 char *kwnames[] = {
24604 (char *) "self", NULL
24605 };
24606
c370783e
RD
24607 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24608 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
36ed4f51
RD
24610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24612 {
24613 PyThreadState* __tstate = wxPyBeginAllowThreads();
24614 (arg1)->GetPPIScreen(arg2,arg3);
24615
24616 wxPyEndAllowThreads(__tstate);
24617 if (PyErr_Occurred()) SWIG_fail;
24618 }
24619 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24620 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24621 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24622 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24623 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24624 return resultobj;
24625 fail:
24626 return NULL;
24627}
24628
24629
c370783e 24630static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24631 PyObject *resultobj;
24632 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24633 int arg2 ;
24634 int arg3 ;
24635 PyObject * obj0 = 0 ;
24636 PyObject * obj1 = 0 ;
24637 PyObject * obj2 = 0 ;
24638 char *kwnames[] = {
24639 (char *) "self",(char *) "x",(char *) "y", NULL
24640 };
24641
24642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24644 if (SWIG_arg_fail(1)) SWIG_fail;
24645 {
24646 arg2 = (int)(SWIG_As_int(obj1));
24647 if (SWIG_arg_fail(2)) SWIG_fail;
24648 }
24649 {
24650 arg3 = (int)(SWIG_As_int(obj2));
24651 if (SWIG_arg_fail(3)) SWIG_fail;
24652 }
d55e5bfc
RD
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 (arg1)->SetPPIPrinter(arg2,arg3);
24656
24657 wxPyEndAllowThreads(__tstate);
24658 if (PyErr_Occurred()) SWIG_fail;
24659 }
24660 Py_INCREF(Py_None); resultobj = Py_None;
24661 return resultobj;
24662 fail:
24663 return NULL;
24664}
24665
24666
c370783e 24667static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24668 PyObject *resultobj;
24669 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24670 int *arg2 = (int *) 0 ;
24671 int *arg3 = (int *) 0 ;
24672 int temp2 ;
c370783e 24673 int res2 = 0 ;
d55e5bfc 24674 int temp3 ;
c370783e 24675 int res3 = 0 ;
d55e5bfc
RD
24676 PyObject * obj0 = 0 ;
24677 char *kwnames[] = {
24678 (char *) "self", NULL
24679 };
24680
c370783e
RD
24681 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24682 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 24683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
36ed4f51
RD
24684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24685 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24686 {
24687 PyThreadState* __tstate = wxPyBeginAllowThreads();
24688 (arg1)->GetPPIPrinter(arg2,arg3);
24689
24690 wxPyEndAllowThreads(__tstate);
24691 if (PyErr_Occurred()) SWIG_fail;
24692 }
24693 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24694 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24695 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24696 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24697 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24698 return resultobj;
24699 fail:
24700 return NULL;
24701}
24702
24703
c370783e 24704static PyObject *_wrap_Printout_IsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24705 PyObject *resultobj;
24706 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24707 bool result;
24708 PyObject * obj0 = 0 ;
24709 char *kwnames[] = {
24710 (char *) "self", NULL
24711 };
24712
24713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
36ed4f51
RD
24714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24715 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24716 {
24717 PyThreadState* __tstate = wxPyBeginAllowThreads();
24718 result = (bool)(arg1)->IsPreview();
24719
24720 wxPyEndAllowThreads(__tstate);
24721 if (PyErr_Occurred()) SWIG_fail;
24722 }
24723 {
24724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24725 }
24726 return resultobj;
24727 fail:
24728 return NULL;
24729}
24730
24731
c370783e 24732static PyObject *_wrap_Printout_SetIsPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24733 PyObject *resultobj;
24734 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24735 bool arg2 ;
24736 PyObject * obj0 = 0 ;
24737 PyObject * obj1 = 0 ;
24738 char *kwnames[] = {
24739 (char *) "self",(char *) "p", NULL
24740 };
24741
24742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24744 if (SWIG_arg_fail(1)) SWIG_fail;
24745 {
24746 arg2 = (bool)(SWIG_As_bool(obj1));
24747 if (SWIG_arg_fail(2)) SWIG_fail;
24748 }
d55e5bfc
RD
24749 {
24750 PyThreadState* __tstate = wxPyBeginAllowThreads();
24751 (arg1)->SetIsPreview(arg2);
24752
24753 wxPyEndAllowThreads(__tstate);
24754 if (PyErr_Occurred()) SWIG_fail;
24755 }
24756 Py_INCREF(Py_None); resultobj = Py_None;
24757 return resultobj;
24758 fail:
24759 return NULL;
24760}
24761
24762
c370783e 24763static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24764 PyObject *resultobj;
24765 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24766 int arg2 ;
24767 int arg3 ;
24768 bool result;
24769 PyObject * obj0 = 0 ;
24770 PyObject * obj1 = 0 ;
24771 PyObject * obj2 = 0 ;
24772 char *kwnames[] = {
24773 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24774 };
24775
24776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24778 if (SWIG_arg_fail(1)) SWIG_fail;
24779 {
24780 arg2 = (int)(SWIG_As_int(obj1));
24781 if (SWIG_arg_fail(2)) SWIG_fail;
24782 }
24783 {
24784 arg3 = (int)(SWIG_As_int(obj2));
24785 if (SWIG_arg_fail(3)) SWIG_fail;
24786 }
d55e5bfc
RD
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
24790
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 {
24795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24796 }
24797 return resultobj;
24798 fail:
24799 return NULL;
24800}
24801
24802
c370783e 24803static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24804 PyObject *resultobj;
24805 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24806 PyObject * obj0 = 0 ;
24807 char *kwnames[] = {
24808 (char *) "self", NULL
24809 };
24810
24811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
36ed4f51
RD
24812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24813 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24814 {
24815 PyThreadState* __tstate = wxPyBeginAllowThreads();
24816 (arg1)->base_OnEndDocument();
24817
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 Py_INCREF(Py_None); resultobj = Py_None;
24822 return resultobj;
24823 fail:
24824 return NULL;
24825}
24826
24827
c370783e 24828static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24829 PyObject *resultobj;
24830 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24831 PyObject * obj0 = 0 ;
24832 char *kwnames[] = {
24833 (char *) "self", NULL
24834 };
24835
24836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
24837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24838 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24839 {
24840 PyThreadState* __tstate = wxPyBeginAllowThreads();
24841 (arg1)->base_OnBeginPrinting();
24842
24843 wxPyEndAllowThreads(__tstate);
24844 if (PyErr_Occurred()) SWIG_fail;
24845 }
24846 Py_INCREF(Py_None); resultobj = Py_None;
24847 return resultobj;
24848 fail:
24849 return NULL;
24850}
24851
24852
c370783e 24853static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24854 PyObject *resultobj;
24855 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24856 PyObject * obj0 = 0 ;
24857 char *kwnames[] = {
24858 (char *) "self", NULL
24859 };
24860
24861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
24862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24863 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24864 {
24865 PyThreadState* __tstate = wxPyBeginAllowThreads();
24866 (arg1)->base_OnEndPrinting();
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
c370783e 24878static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24879 PyObject *resultobj;
24880 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24881 PyObject * obj0 = 0 ;
24882 char *kwnames[] = {
24883 (char *) "self", NULL
24884 };
24885
24886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
24887 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24888 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24889 {
24890 PyThreadState* __tstate = wxPyBeginAllowThreads();
24891 (arg1)->base_OnPreparePrinting();
24892
24893 wxPyEndAllowThreads(__tstate);
24894 if (PyErr_Occurred()) SWIG_fail;
24895 }
24896 Py_INCREF(Py_None); resultobj = Py_None;
24897 return resultobj;
24898 fail:
24899 return NULL;
24900}
24901
24902
c370783e 24903static PyObject *_wrap_Printout_base_HasPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24904 PyObject *resultobj;
24905 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24906 int arg2 ;
24907 bool result;
24908 PyObject * obj0 = 0 ;
24909 PyObject * obj1 = 0 ;
24910 char *kwnames[] = {
24911 (char *) "self",(char *) "page", NULL
24912 };
24913
24914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24916 if (SWIG_arg_fail(1)) SWIG_fail;
24917 {
24918 arg2 = (int)(SWIG_As_int(obj1));
24919 if (SWIG_arg_fail(2)) SWIG_fail;
24920 }
d55e5bfc
RD
24921 {
24922 PyThreadState* __tstate = wxPyBeginAllowThreads();
24923 result = (bool)(arg1)->base_HasPage(arg2);
24924
24925 wxPyEndAllowThreads(__tstate);
24926 if (PyErr_Occurred()) SWIG_fail;
24927 }
24928 {
24929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24930 }
24931 return resultobj;
24932 fail:
24933 return NULL;
24934}
24935
24936
c370783e 24937static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24938 PyObject *resultobj;
24939 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
24940 int *arg2 = (int *) 0 ;
24941 int *arg3 = (int *) 0 ;
24942 int *arg4 = (int *) 0 ;
24943 int *arg5 = (int *) 0 ;
24944 int temp2 ;
c370783e 24945 int res2 = 0 ;
d55e5bfc 24946 int temp3 ;
c370783e 24947 int res3 = 0 ;
d55e5bfc 24948 int temp4 ;
c370783e 24949 int res4 = 0 ;
d55e5bfc 24950 int temp5 ;
c370783e 24951 int res5 = 0 ;
d55e5bfc
RD
24952 PyObject * obj0 = 0 ;
24953 char *kwnames[] = {
24954 (char *) "self", NULL
24955 };
24956
c370783e
RD
24957 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24958 arg3 = &temp3; res3 = SWIG_NEWOBJ;
24959 arg4 = &temp4; res4 = SWIG_NEWOBJ;
24960 arg5 = &temp5; res5 = SWIG_NEWOBJ;
d55e5bfc 24961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
36ed4f51
RD
24962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
24963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24964 {
24965 PyThreadState* __tstate = wxPyBeginAllowThreads();
24966 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
24967
24968 wxPyEndAllowThreads(__tstate);
24969 if (PyErr_Occurred()) SWIG_fail;
24970 }
24971 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
24972 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24973 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24974 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24975 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
24976 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
24977 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
24978 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
24979 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
24980 return resultobj;
24981 fail:
24982 return NULL;
24983}
24984
24985
c370783e 24986static PyObject * Printout_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
24987 PyObject *obj;
24988 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24989 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
24990 Py_INCREF(obj);
24991 return Py_BuildValue((char *)"");
24992}
c370783e 24993static PyObject *_wrap_new_PreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24994 PyObject *resultobj;
24995 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
24996 wxWindow *arg2 = (wxWindow *) 0 ;
24997 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24998 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24999 wxSize const &arg4_defvalue = wxDefaultSize ;
25000 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25001 long arg5 = (long) 0 ;
25002 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
25003 wxString *arg6 = (wxString *) &arg6_defvalue ;
25004 wxPreviewCanvas *result;
25005 wxPoint temp3 ;
25006 wxSize temp4 ;
b411df4a 25007 bool temp6 = false ;
d55e5bfc
RD
25008 PyObject * obj0 = 0 ;
25009 PyObject * obj1 = 0 ;
25010 PyObject * obj2 = 0 ;
25011 PyObject * obj3 = 0 ;
25012 PyObject * obj4 = 0 ;
25013 PyObject * obj5 = 0 ;
25014 char *kwnames[] = {
25015 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25016 };
25017
25018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
25019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25020 if (SWIG_arg_fail(1)) SWIG_fail;
25021 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25022 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25023 if (obj2) {
25024 {
25025 arg3 = &temp3;
25026 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25027 }
25028 }
25029 if (obj3) {
25030 {
25031 arg4 = &temp4;
25032 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25033 }
25034 }
25035 if (obj4) {
36ed4f51
RD
25036 {
25037 arg5 = (long)(SWIG_As_long(obj4));
25038 if (SWIG_arg_fail(5)) SWIG_fail;
25039 }
d55e5bfc
RD
25040 }
25041 if (obj5) {
25042 {
25043 arg6 = wxString_in_helper(obj5);
25044 if (arg6 == NULL) SWIG_fail;
b411df4a 25045 temp6 = true;
d55e5bfc
RD
25046 }
25047 }
25048 {
0439c23b 25049 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25050 PyThreadState* __tstate = wxPyBeginAllowThreads();
25051 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25052
25053 wxPyEndAllowThreads(__tstate);
110da5b0 25054 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25055 }
25056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 1);
25057 {
25058 if (temp6)
25059 delete arg6;
25060 }
25061 return resultobj;
25062 fail:
25063 {
25064 if (temp6)
25065 delete arg6;
25066 }
25067 return NULL;
25068}
25069
25070
c370783e 25071static PyObject * PreviewCanvas_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25072 PyObject *obj;
25073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25074 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
25075 Py_INCREF(obj);
25076 return Py_BuildValue((char *)"");
25077}
c370783e 25078static PyObject *_wrap_new_PreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25079 PyObject *resultobj;
25080 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25081 wxFrame *arg2 = (wxFrame *) 0 ;
25082 wxString *arg3 = 0 ;
25083 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25084 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25085 wxSize const &arg5_defvalue = wxDefaultSize ;
25086 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25087 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
25088 wxString const &arg7_defvalue = wxPyFrameNameStr ;
25089 wxString *arg7 = (wxString *) &arg7_defvalue ;
25090 wxPreviewFrame *result;
b411df4a 25091 bool temp3 = false ;
d55e5bfc
RD
25092 wxPoint temp4 ;
25093 wxSize temp5 ;
b411df4a 25094 bool temp7 = false ;
d55e5bfc
RD
25095 PyObject * obj0 = 0 ;
25096 PyObject * obj1 = 0 ;
25097 PyObject * obj2 = 0 ;
25098 PyObject * obj3 = 0 ;
25099 PyObject * obj4 = 0 ;
25100 PyObject * obj5 = 0 ;
25101 PyObject * obj6 = 0 ;
25102 char *kwnames[] = {
25103 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25104 };
25105
25106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
25107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25108 if (SWIG_arg_fail(1)) SWIG_fail;
25109 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25110 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25111 {
25112 arg3 = wxString_in_helper(obj2);
25113 if (arg3 == NULL) SWIG_fail;
b411df4a 25114 temp3 = true;
d55e5bfc
RD
25115 }
25116 if (obj3) {
25117 {
25118 arg4 = &temp4;
25119 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25120 }
25121 }
25122 if (obj4) {
25123 {
25124 arg5 = &temp5;
25125 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25126 }
25127 }
25128 if (obj5) {
36ed4f51
RD
25129 {
25130 arg6 = (long)(SWIG_As_long(obj5));
25131 if (SWIG_arg_fail(6)) SWIG_fail;
25132 }
d55e5bfc
RD
25133 }
25134 if (obj6) {
25135 {
25136 arg7 = wxString_in_helper(obj6);
25137 if (arg7 == NULL) SWIG_fail;
b411df4a 25138 temp7 = true;
d55e5bfc
RD
25139 }
25140 }
25141 {
0439c23b 25142 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25143 PyThreadState* __tstate = wxPyBeginAllowThreads();
25144 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25145
25146 wxPyEndAllowThreads(__tstate);
110da5b0 25147 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25148 }
25149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewFrame, 1);
25150 {
25151 if (temp3)
25152 delete arg3;
25153 }
25154 {
25155 if (temp7)
25156 delete arg7;
25157 }
25158 return resultobj;
25159 fail:
25160 {
25161 if (temp3)
25162 delete arg3;
25163 }
25164 {
25165 if (temp7)
25166 delete arg7;
25167 }
25168 return NULL;
25169}
25170
25171
c370783e 25172static PyObject *_wrap_PreviewFrame_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25173 PyObject *resultobj;
25174 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25175 PyObject * obj0 = 0 ;
25176 char *kwnames[] = {
25177 (char *) "self", NULL
25178 };
25179
25180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
36ed4f51
RD
25181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25182 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 (arg1)->Initialize();
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 Py_INCREF(Py_None); resultobj = Py_None;
25191 return resultobj;
25192 fail:
25193 return NULL;
25194}
25195
25196
c370783e 25197static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25198 PyObject *resultobj;
25199 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25200 PyObject * obj0 = 0 ;
25201 char *kwnames[] = {
25202 (char *) "self", NULL
25203 };
25204
25205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
25206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25207 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25208 {
25209 PyThreadState* __tstate = wxPyBeginAllowThreads();
25210 (arg1)->CreateControlBar();
25211
25212 wxPyEndAllowThreads(__tstate);
25213 if (PyErr_Occurred()) SWIG_fail;
25214 }
25215 Py_INCREF(Py_None); resultobj = Py_None;
25216 return resultobj;
25217 fail:
25218 return NULL;
25219}
25220
25221
c370783e 25222static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25223 PyObject *resultobj;
25224 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25225 PyObject * obj0 = 0 ;
25226 char *kwnames[] = {
25227 (char *) "self", NULL
25228 };
25229
25230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
25231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25232 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25233 {
25234 PyThreadState* __tstate = wxPyBeginAllowThreads();
25235 (arg1)->CreateCanvas();
25236
25237 wxPyEndAllowThreads(__tstate);
25238 if (PyErr_Occurred()) SWIG_fail;
25239 }
25240 Py_INCREF(Py_None); resultobj = Py_None;
25241 return resultobj;
25242 fail:
25243 return NULL;
25244}
25245
25246
c370783e 25247static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25248 PyObject *resultobj;
25249 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
25250 wxPreviewControlBar *result;
25251 PyObject * obj0 = 0 ;
25252 char *kwnames[] = {
25253 (char *) "self", NULL
25254 };
25255
25256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
25257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
25258 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25259 {
25260 PyThreadState* __tstate = wxPyBeginAllowThreads();
25261 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
25262
25263 wxPyEndAllowThreads(__tstate);
25264 if (PyErr_Occurred()) SWIG_fail;
25265 }
25266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 0);
25267 return resultobj;
25268 fail:
25269 return NULL;
25270}
25271
25272
c370783e 25273static PyObject * PreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25274 PyObject *obj;
25275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25276 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
25277 Py_INCREF(obj);
25278 return Py_BuildValue((char *)"");
25279}
c370783e 25280static PyObject *_wrap_new_PreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25281 PyObject *resultobj;
25282 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25283 long arg2 ;
25284 wxWindow *arg3 = (wxWindow *) 0 ;
25285 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25286 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25287 wxSize const &arg5_defvalue = wxDefaultSize ;
25288 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25289 long arg6 = (long) wxTAB_TRAVERSAL ;
25290 wxString const &arg7_defvalue = wxPyPanelNameStr ;
25291 wxString *arg7 = (wxString *) &arg7_defvalue ;
25292 wxPreviewControlBar *result;
25293 wxPoint temp4 ;
25294 wxSize temp5 ;
b411df4a 25295 bool temp7 = false ;
d55e5bfc
RD
25296 PyObject * obj0 = 0 ;
25297 PyObject * obj1 = 0 ;
25298 PyObject * obj2 = 0 ;
25299 PyObject * obj3 = 0 ;
25300 PyObject * obj4 = 0 ;
25301 PyObject * obj5 = 0 ;
25302 PyObject * obj6 = 0 ;
25303 char *kwnames[] = {
25304 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25305 };
25306
25307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
25308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25309 if (SWIG_arg_fail(1)) SWIG_fail;
25310 {
25311 arg2 = (long)(SWIG_As_long(obj1));
25312 if (SWIG_arg_fail(2)) SWIG_fail;
25313 }
25314 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
25315 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
25316 if (obj3) {
25317 {
25318 arg4 = &temp4;
25319 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25320 }
25321 }
25322 if (obj4) {
25323 {
25324 arg5 = &temp5;
25325 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25326 }
25327 }
25328 if (obj5) {
36ed4f51
RD
25329 {
25330 arg6 = (long)(SWIG_As_long(obj5));
25331 if (SWIG_arg_fail(6)) SWIG_fail;
25332 }
d55e5bfc
RD
25333 }
25334 if (obj6) {
25335 {
25336 arg7 = wxString_in_helper(obj6);
25337 if (arg7 == NULL) SWIG_fail;
b411df4a 25338 temp7 = true;
d55e5bfc
RD
25339 }
25340 }
25341 {
0439c23b 25342 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25343 PyThreadState* __tstate = wxPyBeginAllowThreads();
25344 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25345
25346 wxPyEndAllowThreads(__tstate);
110da5b0 25347 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25348 }
25349 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewControlBar, 1);
25350 {
25351 if (temp7)
25352 delete arg7;
25353 }
25354 return resultobj;
25355 fail:
25356 {
25357 if (temp7)
25358 delete arg7;
25359 }
25360 return NULL;
25361}
25362
25363
c370783e 25364static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25365 PyObject *resultobj;
25366 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25367 int result;
25368 PyObject * obj0 = 0 ;
25369 char *kwnames[] = {
25370 (char *) "self", NULL
25371 };
25372
25373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
25374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25375 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25376 {
25377 PyThreadState* __tstate = wxPyBeginAllowThreads();
25378 result = (int)(arg1)->GetZoomControl();
25379
25380 wxPyEndAllowThreads(__tstate);
25381 if (PyErr_Occurred()) SWIG_fail;
25382 }
36ed4f51
RD
25383 {
25384 resultobj = SWIG_From_int((int)(result));
25385 }
d55e5bfc
RD
25386 return resultobj;
25387 fail:
25388 return NULL;
25389}
25390
25391
c370783e 25392static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25393 PyObject *resultobj;
25394 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25395 int arg2 ;
25396 PyObject * obj0 = 0 ;
25397 PyObject * obj1 = 0 ;
25398 char *kwnames[] = {
25399 (char *) "self",(char *) "zoom", NULL
25400 };
25401
25402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25404 if (SWIG_arg_fail(1)) SWIG_fail;
25405 {
25406 arg2 = (int)(SWIG_As_int(obj1));
25407 if (SWIG_arg_fail(2)) SWIG_fail;
25408 }
d55e5bfc
RD
25409 {
25410 PyThreadState* __tstate = wxPyBeginAllowThreads();
25411 (arg1)->SetZoomControl(arg2);
25412
25413 wxPyEndAllowThreads(__tstate);
25414 if (PyErr_Occurred()) SWIG_fail;
25415 }
25416 Py_INCREF(Py_None); resultobj = Py_None;
25417 return resultobj;
25418 fail:
25419 return NULL;
25420}
25421
25422
c370783e 25423static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25424 PyObject *resultobj;
25425 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25426 wxPrintPreview *result;
25427 PyObject * obj0 = 0 ;
25428 char *kwnames[] = {
25429 (char *) "self", NULL
25430 };
25431
25432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
36ed4f51
RD
25433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25434 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25435 {
25436 PyThreadState* __tstate = wxPyBeginAllowThreads();
25437 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
25438
25439 wxPyEndAllowThreads(__tstate);
25440 if (PyErr_Occurred()) SWIG_fail;
25441 }
25442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 0);
25443 return resultobj;
25444 fail:
25445 return NULL;
25446}
25447
25448
c370783e 25449static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25450 PyObject *resultobj;
25451 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25452 PyObject * obj0 = 0 ;
25453 char *kwnames[] = {
25454 (char *) "self", NULL
25455 };
25456
25457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
36ed4f51
RD
25458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25459 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25460 {
25461 PyThreadState* __tstate = wxPyBeginAllowThreads();
25462 (arg1)->OnNext();
25463
25464 wxPyEndAllowThreads(__tstate);
25465 if (PyErr_Occurred()) SWIG_fail;
25466 }
25467 Py_INCREF(Py_None); resultobj = Py_None;
25468 return resultobj;
25469 fail:
25470 return NULL;
25471}
25472
25473
c370783e 25474static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25475 PyObject *resultobj;
25476 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25477 PyObject * obj0 = 0 ;
25478 char *kwnames[] = {
25479 (char *) "self", NULL
25480 };
25481
25482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
36ed4f51
RD
25483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25484 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25485 {
25486 PyThreadState* __tstate = wxPyBeginAllowThreads();
25487 (arg1)->OnPrevious();
25488
25489 wxPyEndAllowThreads(__tstate);
25490 if (PyErr_Occurred()) SWIG_fail;
25491 }
25492 Py_INCREF(Py_None); resultobj = Py_None;
25493 return resultobj;
25494 fail:
25495 return NULL;
25496}
25497
25498
c370783e 25499static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25500 PyObject *resultobj;
25501 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25502 PyObject * obj0 = 0 ;
25503 char *kwnames[] = {
25504 (char *) "self", NULL
25505 };
25506
25507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
36ed4f51
RD
25508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25509 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 (arg1)->OnFirst();
25513
25514 wxPyEndAllowThreads(__tstate);
25515 if (PyErr_Occurred()) SWIG_fail;
25516 }
25517 Py_INCREF(Py_None); resultobj = Py_None;
25518 return resultobj;
25519 fail:
25520 return NULL;
25521}
25522
25523
c370783e 25524static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25525 PyObject *resultobj;
25526 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25527 PyObject * obj0 = 0 ;
25528 char *kwnames[] = {
25529 (char *) "self", NULL
25530 };
25531
25532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
36ed4f51
RD
25533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25534 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25535 {
25536 PyThreadState* __tstate = wxPyBeginAllowThreads();
25537 (arg1)->OnLast();
25538
25539 wxPyEndAllowThreads(__tstate);
25540 if (PyErr_Occurred()) SWIG_fail;
25541 }
25542 Py_INCREF(Py_None); resultobj = Py_None;
25543 return resultobj;
25544 fail:
25545 return NULL;
25546}
25547
25548
c370783e 25549static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25550 PyObject *resultobj;
25551 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
25552 PyObject * obj0 = 0 ;
25553 char *kwnames[] = {
25554 (char *) "self", NULL
25555 };
25556
25557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
36ed4f51
RD
25558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
25559 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25560 {
25561 PyThreadState* __tstate = wxPyBeginAllowThreads();
25562 (arg1)->OnGoto();
25563
25564 wxPyEndAllowThreads(__tstate);
25565 if (PyErr_Occurred()) SWIG_fail;
25566 }
25567 Py_INCREF(Py_None); resultobj = Py_None;
25568 return resultobj;
25569 fail:
25570 return NULL;
25571}
25572
25573
c370783e 25574static PyObject * PreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25575 PyObject *obj;
25576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25577 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
25578 Py_INCREF(obj);
25579 return Py_BuildValue((char *)"");
25580}
c370783e 25581static PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
25582 PyObject *resultobj;
25583 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25584 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25585 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
25586 wxPrintPreview *result;
25587 PyObject * obj0 = 0 ;
25588 PyObject * obj1 = 0 ;
25589 PyObject * obj2 = 0 ;
25590
25591 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25593 if (SWIG_arg_fail(1)) SWIG_fail;
25594 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25595 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 25596 if (obj2) {
36ed4f51
RD
25597 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
25598 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
25599 }
25600 {
0439c23b 25601 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25602 PyThreadState* __tstate = wxPyBeginAllowThreads();
25603 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25604
25605 wxPyEndAllowThreads(__tstate);
110da5b0 25606 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25607 }
25608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25609 return resultobj;
25610 fail:
25611 return NULL;
25612}
25613
25614
c370783e 25615static PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
25616 PyObject *resultobj;
25617 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
25618 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25619 wxPrintData *arg3 = (wxPrintData *) 0 ;
25620 wxPrintPreview *result;
25621 PyObject * obj0 = 0 ;
25622 PyObject * obj1 = 0 ;
25623 PyObject * obj2 = 0 ;
25624
25625 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25627 if (SWIG_arg_fail(1)) SWIG_fail;
25628 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25629 if (SWIG_arg_fail(2)) SWIG_fail;
25630 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
25631 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 25632 {
0439c23b 25633 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25634 PyThreadState* __tstate = wxPyBeginAllowThreads();
25635 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
25636
25637 wxPyEndAllowThreads(__tstate);
110da5b0 25638 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25639 }
25640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintPreview, 1);
25641 return resultobj;
25642 fail:
25643 return NULL;
25644}
25645
25646
25647static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
25648 int argc;
25649 PyObject *argv[4];
25650 int ii;
25651
25652 argc = PyObject_Length(args);
25653 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
25654 argv[ii] = PyTuple_GetItem(args,ii);
25655 }
25656 if ((argc >= 2) && (argc <= 3)) {
25657 int _v;
25658 {
25659 void *ptr;
25660 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25661 _v = 0;
25662 PyErr_Clear();
25663 } else {
25664 _v = 1;
25665 }
25666 }
25667 if (_v) {
25668 {
25669 void *ptr;
25670 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25671 _v = 0;
25672 PyErr_Clear();
25673 } else {
25674 _v = 1;
25675 }
25676 }
25677 if (_v) {
25678 if (argc <= 2) {
25679 return _wrap_new_PrintPreview__SWIG_0(self,args);
25680 }
25681 {
25682 void *ptr;
25683 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
25684 _v = 0;
25685 PyErr_Clear();
25686 } else {
25687 _v = 1;
25688 }
25689 }
25690 if (_v) {
25691 return _wrap_new_PrintPreview__SWIG_0(self,args);
25692 }
25693 }
25694 }
25695 }
25696 if (argc == 3) {
25697 int _v;
25698 {
25699 void *ptr;
25700 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25701 _v = 0;
25702 PyErr_Clear();
25703 } else {
25704 _v = 1;
25705 }
25706 }
25707 if (_v) {
25708 {
25709 void *ptr;
25710 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
25711 _v = 0;
25712 PyErr_Clear();
25713 } else {
25714 _v = 1;
25715 }
25716 }
25717 if (_v) {
25718 {
25719 void *ptr;
25720 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
25721 _v = 0;
25722 PyErr_Clear();
25723 } else {
25724 _v = 1;
25725 }
25726 }
25727 if (_v) {
25728 return _wrap_new_PrintPreview__SWIG_1(self,args);
25729 }
25730 }
25731 }
25732 }
25733
36ed4f51 25734 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
d55e5bfc
RD
25735 return NULL;
25736}
25737
25738
c370783e 25739static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25740 PyObject *resultobj;
25741 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25742 int arg2 ;
25743 bool result;
25744 PyObject * obj0 = 0 ;
25745 PyObject * obj1 = 0 ;
25746 char *kwnames[] = {
25747 (char *) "self",(char *) "pageNum", NULL
25748 };
25749
25750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25752 if (SWIG_arg_fail(1)) SWIG_fail;
25753 {
25754 arg2 = (int)(SWIG_As_int(obj1));
25755 if (SWIG_arg_fail(2)) SWIG_fail;
25756 }
d55e5bfc
RD
25757 {
25758 PyThreadState* __tstate = wxPyBeginAllowThreads();
25759 result = (bool)(arg1)->SetCurrentPage(arg2);
25760
25761 wxPyEndAllowThreads(__tstate);
25762 if (PyErr_Occurred()) SWIG_fail;
25763 }
25764 {
25765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25766 }
25767 return resultobj;
25768 fail:
25769 return NULL;
25770}
25771
25772
c370783e 25773static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25774 PyObject *resultobj;
25775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25776 int result;
25777 PyObject * obj0 = 0 ;
25778 char *kwnames[] = {
25779 (char *) "self", NULL
25780 };
25781
25782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
25783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25784 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25785 {
25786 PyThreadState* __tstate = wxPyBeginAllowThreads();
25787 result = (int)(arg1)->GetCurrentPage();
25788
25789 wxPyEndAllowThreads(__tstate);
25790 if (PyErr_Occurred()) SWIG_fail;
25791 }
36ed4f51
RD
25792 {
25793 resultobj = SWIG_From_int((int)(result));
25794 }
d55e5bfc
RD
25795 return resultobj;
25796 fail:
25797 return NULL;
25798}
25799
25800
c370783e 25801static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25802 PyObject *resultobj;
25803 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25804 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
25805 PyObject * obj0 = 0 ;
25806 PyObject * obj1 = 0 ;
25807 char *kwnames[] = {
25808 (char *) "self",(char *) "printout", NULL
25809 };
25810
25811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25813 if (SWIG_arg_fail(1)) SWIG_fail;
25814 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
25815 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25816 {
25817 PyThreadState* __tstate = wxPyBeginAllowThreads();
25818 (arg1)->SetPrintout(arg2);
25819
25820 wxPyEndAllowThreads(__tstate);
25821 if (PyErr_Occurred()) SWIG_fail;
25822 }
25823 Py_INCREF(Py_None); resultobj = Py_None;
25824 return resultobj;
25825 fail:
25826 return NULL;
25827}
25828
25829
c370783e 25830static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25831 PyObject *resultobj;
25832 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25833 wxPyPrintout *result;
25834 PyObject * obj0 = 0 ;
25835 char *kwnames[] = {
25836 (char *) "self", NULL
25837 };
25838
25839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
36ed4f51
RD
25840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25841 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25842 {
25843 PyThreadState* __tstate = wxPyBeginAllowThreads();
25844 result = (wxPyPrintout *)(arg1)->GetPrintout();
25845
25846 wxPyEndAllowThreads(__tstate);
25847 if (PyErr_Occurred()) SWIG_fail;
25848 }
25849 {
412d302d 25850 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25851 }
25852 return resultobj;
25853 fail:
25854 return NULL;
25855}
25856
25857
c370783e 25858static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25859 PyObject *resultobj;
25860 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25861 wxPyPrintout *result;
25862 PyObject * obj0 = 0 ;
25863 char *kwnames[] = {
25864 (char *) "self", NULL
25865 };
25866
25867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
36ed4f51
RD
25868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25869 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25870 {
25871 PyThreadState* __tstate = wxPyBeginAllowThreads();
25872 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
25873
25874 wxPyEndAllowThreads(__tstate);
25875 if (PyErr_Occurred()) SWIG_fail;
25876 }
25877 {
412d302d 25878 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25879 }
25880 return resultobj;
25881 fail:
25882 return NULL;
25883}
25884
25885
c370783e 25886static PyObject *_wrap_PrintPreview_SetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25887 PyObject *resultobj;
25888 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25889 wxFrame *arg2 = (wxFrame *) 0 ;
25890 PyObject * obj0 = 0 ;
25891 PyObject * obj1 = 0 ;
25892 char *kwnames[] = {
25893 (char *) "self",(char *) "frame", NULL
25894 };
25895
25896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25898 if (SWIG_arg_fail(1)) SWIG_fail;
25899 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
25900 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25901 {
25902 PyThreadState* __tstate = wxPyBeginAllowThreads();
25903 (arg1)->SetFrame(arg2);
25904
25905 wxPyEndAllowThreads(__tstate);
25906 if (PyErr_Occurred()) SWIG_fail;
25907 }
25908 Py_INCREF(Py_None); resultobj = Py_None;
25909 return resultobj;
25910 fail:
25911 return NULL;
25912}
25913
25914
c370783e 25915static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25916 PyObject *resultobj;
25917 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25918 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
25919 PyObject * obj0 = 0 ;
25920 PyObject * obj1 = 0 ;
25921 char *kwnames[] = {
25922 (char *) "self",(char *) "canvas", NULL
25923 };
25924
25925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25927 if (SWIG_arg_fail(1)) SWIG_fail;
25928 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
25929 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25930 {
25931 PyThreadState* __tstate = wxPyBeginAllowThreads();
25932 (arg1)->SetCanvas(arg2);
25933
25934 wxPyEndAllowThreads(__tstate);
25935 if (PyErr_Occurred()) SWIG_fail;
25936 }
25937 Py_INCREF(Py_None); resultobj = Py_None;
25938 return resultobj;
25939 fail:
25940 return NULL;
25941}
25942
25943
c370783e 25944static PyObject *_wrap_PrintPreview_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25945 PyObject *resultobj;
25946 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25947 wxFrame *result;
25948 PyObject * obj0 = 0 ;
25949 char *kwnames[] = {
25950 (char *) "self", NULL
25951 };
25952
25953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
36ed4f51
RD
25954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25956 {
25957 PyThreadState* __tstate = wxPyBeginAllowThreads();
25958 result = (wxFrame *)(arg1)->GetFrame();
25959
25960 wxPyEndAllowThreads(__tstate);
25961 if (PyErr_Occurred()) SWIG_fail;
25962 }
25963 {
412d302d 25964 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25965 }
25966 return resultobj;
25967 fail:
25968 return NULL;
25969}
25970
25971
c370783e 25972static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25973 PyObject *resultobj;
25974 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
25975 wxPreviewCanvas *result;
25976 PyObject * obj0 = 0 ;
25977 char *kwnames[] = {
25978 (char *) "self", NULL
25979 };
25980
25981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
25982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
25983 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25984 {
25985 PyThreadState* __tstate = wxPyBeginAllowThreads();
25986 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
25987
25988 wxPyEndAllowThreads(__tstate);
25989 if (PyErr_Occurred()) SWIG_fail;
25990 }
25991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPreviewCanvas, 0);
25992 return resultobj;
25993 fail:
25994 return NULL;
25995}
25996
25997
c370783e 25998static PyObject *_wrap_PrintPreview_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25999 PyObject *resultobj;
26000 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26001 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26002 wxDC *arg3 = 0 ;
26003 bool result;
26004 PyObject * obj0 = 0 ;
26005 PyObject * obj1 = 0 ;
26006 PyObject * obj2 = 0 ;
26007 char *kwnames[] = {
26008 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26009 };
26010
26011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
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_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26015 if (SWIG_arg_fail(2)) SWIG_fail;
26016 {
26017 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26018 if (SWIG_arg_fail(3)) SWIG_fail;
26019 if (arg3 == NULL) {
26020 SWIG_null_ref("wxDC");
26021 }
26022 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26023 }
26024 {
26025 PyThreadState* __tstate = wxPyBeginAllowThreads();
26026 result = (bool)(arg1)->PaintPage(arg2,*arg3);
26027
26028 wxPyEndAllowThreads(__tstate);
26029 if (PyErr_Occurred()) SWIG_fail;
26030 }
26031 {
26032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26033 }
26034 return resultobj;
26035 fail:
26036 return NULL;
26037}
26038
26039
c370783e 26040static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26041 PyObject *resultobj;
26042 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26043 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26044 wxDC *arg3 = 0 ;
26045 bool result;
26046 PyObject * obj0 = 0 ;
26047 PyObject * obj1 = 0 ;
26048 PyObject * obj2 = 0 ;
26049 char *kwnames[] = {
26050 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26051 };
26052
26053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26055 if (SWIG_arg_fail(1)) SWIG_fail;
26056 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26057 if (SWIG_arg_fail(2)) SWIG_fail;
26058 {
26059 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26060 if (SWIG_arg_fail(3)) SWIG_fail;
26061 if (arg3 == NULL) {
26062 SWIG_null_ref("wxDC");
26063 }
26064 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26065 }
26066 {
26067 PyThreadState* __tstate = wxPyBeginAllowThreads();
26068 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
26069
26070 wxPyEndAllowThreads(__tstate);
26071 if (PyErr_Occurred()) SWIG_fail;
26072 }
26073 {
26074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26075 }
26076 return resultobj;
26077 fail:
26078 return NULL;
26079}
26080
26081
c370783e 26082static PyObject *_wrap_PrintPreview_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26083 PyObject *resultobj;
26084 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26085 int arg2 ;
26086 bool result;
26087 PyObject * obj0 = 0 ;
26088 PyObject * obj1 = 0 ;
26089 char *kwnames[] = {
26090 (char *) "self",(char *) "pageNum", NULL
26091 };
26092
26093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26095 if (SWIG_arg_fail(1)) SWIG_fail;
26096 {
26097 arg2 = (int)(SWIG_As_int(obj1));
26098 if (SWIG_arg_fail(2)) SWIG_fail;
26099 }
d55e5bfc
RD
26100 {
26101 PyThreadState* __tstate = wxPyBeginAllowThreads();
26102 result = (bool)(arg1)->RenderPage(arg2);
26103
26104 wxPyEndAllowThreads(__tstate);
26105 if (PyErr_Occurred()) SWIG_fail;
26106 }
26107 {
26108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26109 }
26110 return resultobj;
26111 fail:
26112 return NULL;
26113}
26114
26115
c370783e 26116static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26117 PyObject *resultobj;
26118 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26119 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26120 PyObject * obj0 = 0 ;
26121 PyObject * obj1 = 0 ;
26122 char *kwnames[] = {
26123 (char *) "self",(char *) "canvas", NULL
26124 };
26125
26126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
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;
d55e5bfc
RD
26131 {
26132 PyThreadState* __tstate = wxPyBeginAllowThreads();
26133 (arg1)->AdjustScrollbars(arg2);
26134
26135 wxPyEndAllowThreads(__tstate);
26136 if (PyErr_Occurred()) SWIG_fail;
26137 }
26138 Py_INCREF(Py_None); resultobj = Py_None;
26139 return resultobj;
26140 fail:
26141 return NULL;
26142}
26143
26144
c370783e 26145static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26146 PyObject *resultobj;
26147 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26148 wxPrintDialogData *result;
26149 PyObject * obj0 = 0 ;
26150 char *kwnames[] = {
26151 (char *) "self", NULL
26152 };
26153
26154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
36ed4f51
RD
26155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26156 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26157 {
26158 PyThreadState* __tstate = wxPyBeginAllowThreads();
26159 {
26160 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26161 result = (wxPrintDialogData *) &_result_ref;
26162 }
26163
26164 wxPyEndAllowThreads(__tstate);
26165 if (PyErr_Occurred()) SWIG_fail;
26166 }
26167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPrintDialogData, 0);
26168 return resultobj;
26169 fail:
26170 return NULL;
26171}
26172
26173
c370783e 26174static PyObject *_wrap_PrintPreview_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26175 PyObject *resultobj;
26176 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26177 int arg2 ;
26178 PyObject * obj0 = 0 ;
26179 PyObject * obj1 = 0 ;
26180 char *kwnames[] = {
26181 (char *) "self",(char *) "percent", NULL
26182 };
26183
26184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26186 if (SWIG_arg_fail(1)) SWIG_fail;
26187 {
26188 arg2 = (int)(SWIG_As_int(obj1));
26189 if (SWIG_arg_fail(2)) SWIG_fail;
26190 }
d55e5bfc
RD
26191 {
26192 PyThreadState* __tstate = wxPyBeginAllowThreads();
26193 (arg1)->SetZoom(arg2);
26194
26195 wxPyEndAllowThreads(__tstate);
26196 if (PyErr_Occurred()) SWIG_fail;
26197 }
26198 Py_INCREF(Py_None); resultobj = Py_None;
26199 return resultobj;
26200 fail:
26201 return NULL;
26202}
26203
26204
c370783e 26205static PyObject *_wrap_PrintPreview_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26206 PyObject *resultobj;
26207 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26208 int result;
26209 PyObject * obj0 = 0 ;
26210 char *kwnames[] = {
26211 (char *) "self", NULL
26212 };
26213
26214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
36ed4f51
RD
26215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26217 {
26218 PyThreadState* __tstate = wxPyBeginAllowThreads();
26219 result = (int)(arg1)->GetZoom();
26220
26221 wxPyEndAllowThreads(__tstate);
26222 if (PyErr_Occurred()) SWIG_fail;
26223 }
36ed4f51
RD
26224 {
26225 resultobj = SWIG_From_int((int)(result));
26226 }
d55e5bfc
RD
26227 return resultobj;
26228 fail:
26229 return NULL;
26230}
26231
26232
c370783e 26233static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26234 PyObject *resultobj;
26235 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26236 int result;
26237 PyObject * obj0 = 0 ;
26238 char *kwnames[] = {
26239 (char *) "self", NULL
26240 };
26241
26242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
26243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26245 {
26246 PyThreadState* __tstate = wxPyBeginAllowThreads();
26247 result = (int)(arg1)->GetMaxPage();
26248
26249 wxPyEndAllowThreads(__tstate);
26250 if (PyErr_Occurred()) SWIG_fail;
26251 }
36ed4f51
RD
26252 {
26253 resultobj = SWIG_From_int((int)(result));
26254 }
d55e5bfc
RD
26255 return resultobj;
26256 fail:
26257 return NULL;
26258}
26259
26260
c370783e 26261static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26262 PyObject *resultobj;
26263 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26264 int result;
26265 PyObject * obj0 = 0 ;
26266 char *kwnames[] = {
26267 (char *) "self", NULL
26268 };
26269
26270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
26271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26273 {
26274 PyThreadState* __tstate = wxPyBeginAllowThreads();
26275 result = (int)(arg1)->GetMinPage();
26276
26277 wxPyEndAllowThreads(__tstate);
26278 if (PyErr_Occurred()) SWIG_fail;
26279 }
36ed4f51
RD
26280 {
26281 resultobj = SWIG_From_int((int)(result));
26282 }
d55e5bfc
RD
26283 return resultobj;
26284 fail:
26285 return NULL;
26286}
26287
26288
c370783e 26289static PyObject *_wrap_PrintPreview_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26290 PyObject *resultobj;
26291 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26292 bool result;
26293 PyObject * obj0 = 0 ;
26294 char *kwnames[] = {
26295 (char *) "self", NULL
26296 };
26297
26298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
36ed4f51
RD
26299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26301 {
26302 PyThreadState* __tstate = wxPyBeginAllowThreads();
26303 result = (bool)(arg1)->Ok();
26304
26305 wxPyEndAllowThreads(__tstate);
26306 if (PyErr_Occurred()) SWIG_fail;
26307 }
26308 {
26309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26310 }
26311 return resultobj;
26312 fail:
26313 return NULL;
26314}
26315
26316
c370783e 26317static PyObject *_wrap_PrintPreview_SetOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26318 PyObject *resultobj;
26319 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26320 bool arg2 ;
26321 PyObject * obj0 = 0 ;
26322 PyObject * obj1 = 0 ;
26323 char *kwnames[] = {
26324 (char *) "self",(char *) "ok", NULL
26325 };
26326
26327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26329 if (SWIG_arg_fail(1)) SWIG_fail;
26330 {
26331 arg2 = (bool)(SWIG_As_bool(obj1));
26332 if (SWIG_arg_fail(2)) SWIG_fail;
26333 }
d55e5bfc
RD
26334 {
26335 PyThreadState* __tstate = wxPyBeginAllowThreads();
26336 (arg1)->SetOk(arg2);
26337
26338 wxPyEndAllowThreads(__tstate);
26339 if (PyErr_Occurred()) SWIG_fail;
26340 }
26341 Py_INCREF(Py_None); resultobj = Py_None;
26342 return resultobj;
26343 fail:
26344 return NULL;
26345}
26346
26347
c370783e 26348static PyObject *_wrap_PrintPreview_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26349 PyObject *resultobj;
26350 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26351 bool arg2 ;
26352 bool result;
26353 PyObject * obj0 = 0 ;
26354 PyObject * obj1 = 0 ;
26355 char *kwnames[] = {
26356 (char *) "self",(char *) "interactive", NULL
26357 };
26358
26359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26361 if (SWIG_arg_fail(1)) SWIG_fail;
26362 {
26363 arg2 = (bool)(SWIG_As_bool(obj1));
26364 if (SWIG_arg_fail(2)) SWIG_fail;
26365 }
d55e5bfc
RD
26366 {
26367 PyThreadState* __tstate = wxPyBeginAllowThreads();
26368 result = (bool)(arg1)->Print(arg2);
26369
26370 wxPyEndAllowThreads(__tstate);
26371 if (PyErr_Occurred()) SWIG_fail;
26372 }
26373 {
26374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26375 }
26376 return resultobj;
26377 fail:
26378 return NULL;
26379}
26380
26381
c370783e 26382static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26383 PyObject *resultobj;
26384 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26385 PyObject * obj0 = 0 ;
26386 char *kwnames[] = {
26387 (char *) "self", NULL
26388 };
26389
26390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
36ed4f51
RD
26391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26392 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26393 {
26394 PyThreadState* __tstate = wxPyBeginAllowThreads();
26395 (arg1)->DetermineScaling();
26396
26397 wxPyEndAllowThreads(__tstate);
26398 if (PyErr_Occurred()) SWIG_fail;
26399 }
26400 Py_INCREF(Py_None); resultobj = Py_None;
26401 return resultobj;
26402 fail:
26403 return NULL;
26404}
26405
26406
c370783e 26407static PyObject * PrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26408 PyObject *obj;
26409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26410 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
26411 Py_INCREF(obj);
26412 return Py_BuildValue((char *)"");
26413}
c370783e 26414static PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *, PyObject *args) {
d55e5bfc
RD
26415 PyObject *resultobj;
26416 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26417 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26418 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
26419 wxPyPrintPreview *result;
26420 PyObject * obj0 = 0 ;
26421 PyObject * obj1 = 0 ;
26422 PyObject * obj2 = 0 ;
26423
26424 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26426 if (SWIG_arg_fail(1)) SWIG_fail;
26427 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26428 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26429 if (obj2) {
36ed4f51
RD
26430 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_EXCEPTION | 0);
26431 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26432 }
26433 {
0439c23b 26434 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26437
26438 wxPyEndAllowThreads(__tstate);
110da5b0 26439 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26440 }
26441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26442 return resultobj;
26443 fail:
26444 return NULL;
26445}
26446
26447
c370783e 26448static PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *, PyObject *args) {
d55e5bfc
RD
26449 PyObject *resultobj;
26450 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
26451 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
26452 wxPrintData *arg3 = (wxPrintData *) 0 ;
26453 wxPyPrintPreview *result;
26454 PyObject * obj0 = 0 ;
26455 PyObject * obj1 = 0 ;
26456 PyObject * obj2 = 0 ;
26457
26458 if(!PyArg_ParseTuple(args,(char *)"OOO:new_PyPrintPreview",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26460 if (SWIG_arg_fail(1)) SWIG_fail;
26461 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_EXCEPTION | 0);
26462 if (SWIG_arg_fail(2)) SWIG_fail;
26463 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPrintData, SWIG_POINTER_EXCEPTION | 0);
26464 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 26465 {
0439c23b 26466 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26467 PyThreadState* __tstate = wxPyBeginAllowThreads();
26468 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
26469
26470 wxPyEndAllowThreads(__tstate);
110da5b0 26471 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26472 }
26473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPrintPreview, 1);
26474 return resultobj;
26475 fail:
26476 return NULL;
26477}
26478
26479
26480static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
26481 int argc;
26482 PyObject *argv[4];
26483 int ii;
26484
26485 argc = PyObject_Length(args);
26486 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
26487 argv[ii] = PyTuple_GetItem(args,ii);
26488 }
26489 if ((argc >= 2) && (argc <= 3)) {
26490 int _v;
26491 {
26492 void *ptr;
26493 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26494 _v = 0;
26495 PyErr_Clear();
26496 } else {
26497 _v = 1;
26498 }
26499 }
26500 if (_v) {
26501 {
26502 void *ptr;
26503 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26504 _v = 0;
26505 PyErr_Clear();
26506 } else {
26507 _v = 1;
26508 }
26509 }
26510 if (_v) {
26511 if (argc <= 2) {
26512 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26513 }
26514 {
26515 void *ptr;
26516 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintDialogData, 0) == -1) {
26517 _v = 0;
26518 PyErr_Clear();
26519 } else {
26520 _v = 1;
26521 }
26522 }
26523 if (_v) {
26524 return _wrap_new_PyPrintPreview__SWIG_0(self,args);
26525 }
26526 }
26527 }
26528 }
26529 if (argc == 3) {
26530 int _v;
26531 {
26532 void *ptr;
26533 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26534 _v = 0;
26535 PyErr_Clear();
26536 } else {
26537 _v = 1;
26538 }
26539 }
26540 if (_v) {
26541 {
26542 void *ptr;
26543 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxPyPrintout, 0) == -1) {
26544 _v = 0;
26545 PyErr_Clear();
26546 } else {
26547 _v = 1;
26548 }
26549 }
26550 if (_v) {
26551 {
26552 void *ptr;
26553 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxPrintData, 0) == -1) {
26554 _v = 0;
26555 PyErr_Clear();
26556 } else {
26557 _v = 1;
26558 }
26559 }
26560 if (_v) {
26561 return _wrap_new_PyPrintPreview__SWIG_1(self,args);
26562 }
26563 }
26564 }
26565 }
26566
36ed4f51 26567 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
d55e5bfc
RD
26568 return NULL;
26569}
26570
26571
c370783e 26572static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26573 PyObject *resultobj;
26574 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26575 PyObject *arg2 = (PyObject *) 0 ;
26576 PyObject *arg3 = (PyObject *) 0 ;
26577 PyObject * obj0 = 0 ;
26578 PyObject * obj1 = 0 ;
26579 PyObject * obj2 = 0 ;
26580 char *kwnames[] = {
26581 (char *) "self",(char *) "self",(char *) "_class", NULL
26582 };
26583
26584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26586 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26587 arg2 = obj1;
26588 arg3 = obj2;
26589 {
26590 PyThreadState* __tstate = wxPyBeginAllowThreads();
26591 (arg1)->_setCallbackInfo(arg2,arg3);
26592
26593 wxPyEndAllowThreads(__tstate);
26594 if (PyErr_Occurred()) SWIG_fail;
26595 }
26596 Py_INCREF(Py_None); resultobj = Py_None;
26597 return resultobj;
26598 fail:
26599 return NULL;
26600}
26601
26602
c370783e 26603static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26604 PyObject *resultobj;
26605 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26606 int arg2 ;
26607 bool result;
26608 PyObject * obj0 = 0 ;
26609 PyObject * obj1 = 0 ;
26610 char *kwnames[] = {
26611 (char *) "self",(char *) "pageNum", NULL
26612 };
26613
26614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26616 if (SWIG_arg_fail(1)) SWIG_fail;
26617 {
26618 arg2 = (int)(SWIG_As_int(obj1));
26619 if (SWIG_arg_fail(2)) SWIG_fail;
26620 }
d55e5bfc
RD
26621 {
26622 PyThreadState* __tstate = wxPyBeginAllowThreads();
26623 result = (bool)(arg1)->base_SetCurrentPage(arg2);
26624
26625 wxPyEndAllowThreads(__tstate);
26626 if (PyErr_Occurred()) SWIG_fail;
26627 }
26628 {
26629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26630 }
26631 return resultobj;
26632 fail:
26633 return NULL;
26634}
26635
26636
c370783e 26637static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26638 PyObject *resultobj;
26639 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26640 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26641 wxDC *arg3 = 0 ;
26642 bool result;
26643 PyObject * obj0 = 0 ;
26644 PyObject * obj1 = 0 ;
26645 PyObject * obj2 = 0 ;
26646 char *kwnames[] = {
26647 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26648 };
26649
26650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26652 if (SWIG_arg_fail(1)) SWIG_fail;
26653 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26654 if (SWIG_arg_fail(2)) SWIG_fail;
26655 {
26656 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26657 if (SWIG_arg_fail(3)) SWIG_fail;
26658 if (arg3 == NULL) {
26659 SWIG_null_ref("wxDC");
26660 }
26661 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26662 }
26663 {
26664 PyThreadState* __tstate = wxPyBeginAllowThreads();
26665 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
26666
26667 wxPyEndAllowThreads(__tstate);
26668 if (PyErr_Occurred()) SWIG_fail;
26669 }
26670 {
26671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26672 }
26673 return resultobj;
26674 fail:
26675 return NULL;
26676}
26677
26678
c370783e 26679static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26680 PyObject *resultobj;
26681 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26682 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26683 wxDC *arg3 = 0 ;
26684 bool result;
26685 PyObject * obj0 = 0 ;
26686 PyObject * obj1 = 0 ;
26687 PyObject * obj2 = 0 ;
26688 char *kwnames[] = {
26689 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26690 };
26691
26692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26694 if (SWIG_arg_fail(1)) SWIG_fail;
26695 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26696 if (SWIG_arg_fail(2)) SWIG_fail;
26697 {
26698 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
26699 if (SWIG_arg_fail(3)) SWIG_fail;
26700 if (arg3 == NULL) {
26701 SWIG_null_ref("wxDC");
26702 }
26703 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26704 }
26705 {
26706 PyThreadState* __tstate = wxPyBeginAllowThreads();
26707 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
26708
26709 wxPyEndAllowThreads(__tstate);
26710 if (PyErr_Occurred()) SWIG_fail;
26711 }
26712 {
26713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26714 }
26715 return resultobj;
26716 fail:
26717 return NULL;
26718}
26719
26720
c370783e 26721static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26722 PyObject *resultobj;
26723 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26724 int arg2 ;
26725 bool result;
26726 PyObject * obj0 = 0 ;
26727 PyObject * obj1 = 0 ;
26728 char *kwnames[] = {
26729 (char *) "self",(char *) "pageNum", NULL
26730 };
26731
26732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26734 if (SWIG_arg_fail(1)) SWIG_fail;
26735 {
26736 arg2 = (int)(SWIG_As_int(obj1));
26737 if (SWIG_arg_fail(2)) SWIG_fail;
26738 }
d55e5bfc
RD
26739 {
26740 PyThreadState* __tstate = wxPyBeginAllowThreads();
26741 result = (bool)(arg1)->base_RenderPage(arg2);
26742
26743 wxPyEndAllowThreads(__tstate);
26744 if (PyErr_Occurred()) SWIG_fail;
26745 }
26746 {
26747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26748 }
26749 return resultobj;
26750 fail:
26751 return NULL;
26752}
26753
26754
c370783e 26755static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26756 PyObject *resultobj;
26757 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26758 int arg2 ;
26759 PyObject * obj0 = 0 ;
26760 PyObject * obj1 = 0 ;
26761 char *kwnames[] = {
26762 (char *) "self",(char *) "percent", NULL
26763 };
26764
26765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26767 if (SWIG_arg_fail(1)) SWIG_fail;
26768 {
26769 arg2 = (int)(SWIG_As_int(obj1));
26770 if (SWIG_arg_fail(2)) SWIG_fail;
26771 }
d55e5bfc
RD
26772 {
26773 PyThreadState* __tstate = wxPyBeginAllowThreads();
26774 (arg1)->base_SetZoom(arg2);
26775
26776 wxPyEndAllowThreads(__tstate);
26777 if (PyErr_Occurred()) SWIG_fail;
26778 }
26779 Py_INCREF(Py_None); resultobj = Py_None;
26780 return resultobj;
26781 fail:
26782 return NULL;
26783}
26784
26785
c370783e 26786static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26787 PyObject *resultobj;
26788 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26789 bool arg2 ;
26790 bool result;
26791 PyObject * obj0 = 0 ;
26792 PyObject * obj1 = 0 ;
26793 char *kwnames[] = {
26794 (char *) "self",(char *) "interactive", NULL
26795 };
26796
26797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26799 if (SWIG_arg_fail(1)) SWIG_fail;
26800 {
26801 arg2 = (bool)(SWIG_As_bool(obj1));
26802 if (SWIG_arg_fail(2)) SWIG_fail;
26803 }
d55e5bfc
RD
26804 {
26805 PyThreadState* __tstate = wxPyBeginAllowThreads();
26806 result = (bool)(arg1)->base_Print(arg2);
26807
26808 wxPyEndAllowThreads(__tstate);
26809 if (PyErr_Occurred()) SWIG_fail;
26810 }
26811 {
26812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26813 }
26814 return resultobj;
26815 fail:
26816 return NULL;
26817}
26818
26819
c370783e 26820static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26821 PyObject *resultobj;
26822 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
26823 PyObject * obj0 = 0 ;
26824 char *kwnames[] = {
26825 (char *) "self", NULL
26826 };
26827
26828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
36ed4f51
RD
26829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26830 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26831 {
26832 PyThreadState* __tstate = wxPyBeginAllowThreads();
26833 (arg1)->base_DetermineScaling();
26834
26835 wxPyEndAllowThreads(__tstate);
26836 if (PyErr_Occurred()) SWIG_fail;
26837 }
26838 Py_INCREF(Py_None); resultobj = Py_None;
26839 return resultobj;
26840 fail:
26841 return NULL;
26842}
26843
26844
c370783e 26845static PyObject * PyPrintPreview_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26846 PyObject *obj;
26847 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26848 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
26849 Py_INCREF(obj);
26850 return Py_BuildValue((char *)"");
26851}
c370783e 26852static PyObject *_wrap_new_PyPreviewFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26853 PyObject *resultobj;
26854 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
26855 wxFrame *arg2 = (wxFrame *) 0 ;
26856 wxString *arg3 = 0 ;
26857 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26858 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26859 wxSize const &arg5_defvalue = wxDefaultSize ;
26860 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26861 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
26862 wxString const &arg7_defvalue = wxPyFrameNameStr ;
26863 wxString *arg7 = (wxString *) &arg7_defvalue ;
26864 wxPyPreviewFrame *result;
b411df4a 26865 bool temp3 = false ;
d55e5bfc
RD
26866 wxPoint temp4 ;
26867 wxSize temp5 ;
b411df4a 26868 bool temp7 = false ;
d55e5bfc
RD
26869 PyObject * obj0 = 0 ;
26870 PyObject * obj1 = 0 ;
26871 PyObject * obj2 = 0 ;
26872 PyObject * obj3 = 0 ;
26873 PyObject * obj4 = 0 ;
26874 PyObject * obj5 = 0 ;
26875 PyObject * obj6 = 0 ;
26876 char *kwnames[] = {
26877 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26878 };
26879
26880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
26881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail;
26883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
26884 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26885 {
26886 arg3 = wxString_in_helper(obj2);
26887 if (arg3 == NULL) SWIG_fail;
b411df4a 26888 temp3 = true;
d55e5bfc
RD
26889 }
26890 if (obj3) {
26891 {
26892 arg4 = &temp4;
26893 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26894 }
26895 }
26896 if (obj4) {
26897 {
26898 arg5 = &temp5;
26899 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26900 }
26901 }
26902 if (obj5) {
36ed4f51
RD
26903 {
26904 arg6 = (long)(SWIG_As_long(obj5));
26905 if (SWIG_arg_fail(6)) SWIG_fail;
26906 }
d55e5bfc
RD
26907 }
26908 if (obj6) {
26909 {
26910 arg7 = wxString_in_helper(obj6);
26911 if (arg7 == NULL) SWIG_fail;
b411df4a 26912 temp7 = true;
d55e5bfc
RD
26913 }
26914 }
26915 {
0439c23b 26916 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26917 PyThreadState* __tstate = wxPyBeginAllowThreads();
26918 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26919
26920 wxPyEndAllowThreads(__tstate);
110da5b0 26921 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26922 }
26923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewFrame, 1);
26924 {
26925 if (temp3)
26926 delete arg3;
26927 }
26928 {
26929 if (temp7)
26930 delete arg7;
26931 }
26932 return resultobj;
26933 fail:
26934 {
26935 if (temp3)
26936 delete arg3;
26937 }
26938 {
26939 if (temp7)
26940 delete arg7;
26941 }
26942 return NULL;
26943}
26944
26945
c370783e 26946static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26947 PyObject *resultobj;
26948 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
26949 PyObject *arg2 = (PyObject *) 0 ;
26950 PyObject *arg3 = (PyObject *) 0 ;
26951 PyObject * obj0 = 0 ;
26952 PyObject * obj1 = 0 ;
26953 PyObject * obj2 = 0 ;
26954 char *kwnames[] = {
26955 (char *) "self",(char *) "self",(char *) "_class", NULL
26956 };
26957
26958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
26960 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26961 arg2 = obj1;
26962 arg3 = obj2;
26963 {
26964 PyThreadState* __tstate = wxPyBeginAllowThreads();
26965 (arg1)->_setCallbackInfo(arg2,arg3);
26966
26967 wxPyEndAllowThreads(__tstate);
26968 if (PyErr_Occurred()) SWIG_fail;
26969 }
26970 Py_INCREF(Py_None); resultobj = Py_None;
26971 return resultobj;
26972 fail:
26973 return NULL;
26974}
26975
26976
c370783e 26977static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26978 PyObject *resultobj;
26979 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
26980 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
26981 PyObject * obj0 = 0 ;
26982 PyObject * obj1 = 0 ;
26983 char *kwnames[] = {
26984 (char *) "self",(char *) "canvas", NULL
26985 };
26986
26987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
26989 if (SWIG_arg_fail(1)) SWIG_fail;
26990 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_EXCEPTION | 0);
26991 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26992 {
26993 PyThreadState* __tstate = wxPyBeginAllowThreads();
26994 (arg1)->SetPreviewCanvas(arg2);
26995
26996 wxPyEndAllowThreads(__tstate);
26997 if (PyErr_Occurred()) SWIG_fail;
26998 }
26999 Py_INCREF(Py_None); resultobj = Py_None;
27000 return resultobj;
27001 fail:
27002 return NULL;
27003}
27004
27005
c370783e 27006static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27007 PyObject *resultobj;
27008 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27009 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
27010 PyObject * obj0 = 0 ;
27011 PyObject * obj1 = 0 ;
27012 char *kwnames[] = {
27013 (char *) "self",(char *) "bar", NULL
27014 };
27015
27016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27018 if (SWIG_arg_fail(1)) SWIG_fail;
27019 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27020 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27021 {
27022 PyThreadState* __tstate = wxPyBeginAllowThreads();
27023 (arg1)->SetControlBar(arg2);
27024
27025 wxPyEndAllowThreads(__tstate);
27026 if (PyErr_Occurred()) SWIG_fail;
27027 }
27028 Py_INCREF(Py_None); resultobj = Py_None;
27029 return resultobj;
27030 fail:
27031 return NULL;
27032}
27033
27034
c370783e 27035static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27036 PyObject *resultobj;
27037 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27038 PyObject * obj0 = 0 ;
27039 char *kwnames[] = {
27040 (char *) "self", NULL
27041 };
27042
27043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
36ed4f51
RD
27044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27045 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27046 {
27047 PyThreadState* __tstate = wxPyBeginAllowThreads();
27048 (arg1)->base_Initialize();
27049
27050 wxPyEndAllowThreads(__tstate);
27051 if (PyErr_Occurred()) SWIG_fail;
27052 }
27053 Py_INCREF(Py_None); resultobj = Py_None;
27054 return resultobj;
27055 fail:
27056 return NULL;
27057}
27058
27059
c370783e 27060static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27061 PyObject *resultobj;
27062 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27063 PyObject * obj0 = 0 ;
27064 char *kwnames[] = {
27065 (char *) "self", NULL
27066 };
27067
27068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
36ed4f51
RD
27069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27070 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27071 {
27072 PyThreadState* __tstate = wxPyBeginAllowThreads();
27073 (arg1)->base_CreateCanvas();
27074
27075 wxPyEndAllowThreads(__tstate);
27076 if (PyErr_Occurred()) SWIG_fail;
27077 }
27078 Py_INCREF(Py_None); resultobj = Py_None;
27079 return resultobj;
27080 fail:
27081 return NULL;
27082}
27083
27084
c370783e 27085static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27086 PyObject *resultobj;
27087 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
27088 PyObject * obj0 = 0 ;
27089 char *kwnames[] = {
27090 (char *) "self", NULL
27091 };
27092
27093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
27094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_EXCEPTION | 0);
27095 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27096 {
27097 PyThreadState* __tstate = wxPyBeginAllowThreads();
27098 (arg1)->base_CreateControlBar();
27099
27100 wxPyEndAllowThreads(__tstate);
27101 if (PyErr_Occurred()) SWIG_fail;
27102 }
27103 Py_INCREF(Py_None); resultobj = Py_None;
27104 return resultobj;
27105 fail:
27106 return NULL;
27107}
27108
27109
c370783e 27110static PyObject * PyPreviewFrame_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27111 PyObject *obj;
27112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27113 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
27114 Py_INCREF(obj);
27115 return Py_BuildValue((char *)"");
27116}
c370783e 27117static PyObject *_wrap_new_PyPreviewControlBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27118 PyObject *resultobj;
27119 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
27120 long arg2 ;
27121 wxWindow *arg3 = (wxWindow *) 0 ;
27122 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27123 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27124 wxSize const &arg5_defvalue = wxDefaultSize ;
27125 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27126 long arg6 = (long) 0 ;
27127 wxString const &arg7_defvalue = wxPyPanelNameStr ;
27128 wxString *arg7 = (wxString *) &arg7_defvalue ;
27129 wxPyPreviewControlBar *result;
27130 wxPoint temp4 ;
27131 wxSize temp5 ;
b411df4a 27132 bool temp7 = false ;
d55e5bfc
RD
27133 PyObject * obj0 = 0 ;
27134 PyObject * obj1 = 0 ;
27135 PyObject * obj2 = 0 ;
27136 PyObject * obj3 = 0 ;
27137 PyObject * obj4 = 0 ;
27138 PyObject * obj5 = 0 ;
27139 PyObject * obj6 = 0 ;
27140 char *kwnames[] = {
27141 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27142 };
27143
27144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27146 if (SWIG_arg_fail(1)) SWIG_fail;
27147 {
27148 arg2 = (long)(SWIG_As_long(obj1));
27149 if (SWIG_arg_fail(2)) SWIG_fail;
27150 }
27151 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27152 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
27153 if (obj3) {
27154 {
27155 arg4 = &temp4;
27156 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27157 }
27158 }
27159 if (obj4) {
27160 {
27161 arg5 = &temp5;
27162 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27163 }
27164 }
27165 if (obj5) {
36ed4f51
RD
27166 {
27167 arg6 = (long)(SWIG_As_long(obj5));
27168 if (SWIG_arg_fail(6)) SWIG_fail;
27169 }
d55e5bfc
RD
27170 }
27171 if (obj6) {
27172 {
27173 arg7 = wxString_in_helper(obj6);
27174 if (arg7 == NULL) SWIG_fail;
b411df4a 27175 temp7 = true;
d55e5bfc
RD
27176 }
27177 }
27178 {
0439c23b 27179 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27180 PyThreadState* __tstate = wxPyBeginAllowThreads();
27181 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
27182
27183 wxPyEndAllowThreads(__tstate);
110da5b0 27184 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
27185 }
27186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyPreviewControlBar, 1);
27187 {
27188 if (temp7)
27189 delete arg7;
27190 }
27191 return resultobj;
27192 fail:
27193 {
27194 if (temp7)
27195 delete arg7;
27196 }
27197 return NULL;
27198}
27199
27200
c370783e 27201static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27202 PyObject *resultobj;
27203 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27204 PyObject *arg2 = (PyObject *) 0 ;
27205 PyObject *arg3 = (PyObject *) 0 ;
27206 PyObject * obj0 = 0 ;
27207 PyObject * obj1 = 0 ;
27208 PyObject * obj2 = 0 ;
27209 char *kwnames[] = {
27210 (char *) "self",(char *) "self",(char *) "_class", NULL
27211 };
27212
27213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
27214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27215 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27216 arg2 = obj1;
27217 arg3 = obj2;
27218 {
27219 PyThreadState* __tstate = wxPyBeginAllowThreads();
27220 (arg1)->_setCallbackInfo(arg2,arg3);
27221
27222 wxPyEndAllowThreads(__tstate);
27223 if (PyErr_Occurred()) SWIG_fail;
27224 }
27225 Py_INCREF(Py_None); resultobj = Py_None;
27226 return resultobj;
27227 fail:
27228 return NULL;
27229}
27230
27231
c370783e 27232static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27233 PyObject *resultobj;
27234 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27235 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
27236 PyObject * obj0 = 0 ;
27237 PyObject * obj1 = 0 ;
27238 char *kwnames[] = {
27239 (char *) "self",(char *) "preview", NULL
27240 };
27241
27242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27244 if (SWIG_arg_fail(1)) SWIG_fail;
27245 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_EXCEPTION | 0);
27246 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27247 {
27248 PyThreadState* __tstate = wxPyBeginAllowThreads();
27249 (arg1)->SetPrintPreview(arg2);
27250
27251 wxPyEndAllowThreads(__tstate);
27252 if (PyErr_Occurred()) SWIG_fail;
27253 }
27254 Py_INCREF(Py_None); resultobj = Py_None;
27255 return resultobj;
27256 fail:
27257 return NULL;
27258}
27259
27260
c370783e 27261static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27262 PyObject *resultobj;
27263 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27264 PyObject * obj0 = 0 ;
27265 char *kwnames[] = {
27266 (char *) "self", NULL
27267 };
27268
27269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
36ed4f51
RD
27270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27271 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27272 {
27273 PyThreadState* __tstate = wxPyBeginAllowThreads();
27274 (arg1)->base_CreateButtons();
27275
27276 wxPyEndAllowThreads(__tstate);
27277 if (PyErr_Occurred()) SWIG_fail;
27278 }
27279 Py_INCREF(Py_None); resultobj = Py_None;
27280 return resultobj;
27281 fail:
27282 return NULL;
27283}
27284
27285
c370783e 27286static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27287 PyObject *resultobj;
27288 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
27289 int arg2 ;
27290 PyObject * obj0 = 0 ;
27291 PyObject * obj1 = 0 ;
27292 char *kwnames[] = {
27293 (char *) "self",(char *) "zoom", NULL
27294 };
27295
27296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_EXCEPTION | 0);
27298 if (SWIG_arg_fail(1)) SWIG_fail;
27299 {
27300 arg2 = (int)(SWIG_As_int(obj1));
27301 if (SWIG_arg_fail(2)) SWIG_fail;
27302 }
d55e5bfc
RD
27303 {
27304 PyThreadState* __tstate = wxPyBeginAllowThreads();
27305 (arg1)->base_SetZoomControl(arg2);
27306
27307 wxPyEndAllowThreads(__tstate);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 }
27310 Py_INCREF(Py_None); resultobj = Py_None;
27311 return resultobj;
27312 fail:
27313 return NULL;
27314}
27315
27316
c370783e 27317static PyObject * PyPreviewControlBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27318 PyObject *obj;
27319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27320 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
27321 Py_INCREF(obj);
27322 return Py_BuildValue((char *)"");
27323}
27324static PyMethodDef SwigMethods[] = {
36ed4f51
RD
27325 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
27326 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS, NULL},
27327 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27328 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27329 { (char *)"Panel_SetFocus", (PyCFunction) _wrap_Panel_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27330 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction) _wrap_Panel_SetFocusIgnoringChildren, METH_VARARGS | METH_KEYWORDS, NULL},
27331 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27332 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
27333 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27334 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27335 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27336 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27337 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
27338 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27339 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
27340 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
27341 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS, NULL},
27342 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
27343 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS, NULL},
27344 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
27345 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27346 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27347 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
27348 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
27349 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
27350 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
27351 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27352 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27353 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27354 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27355 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
27356 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27357 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
27358 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27359 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27360 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
27361 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS, NULL},
27362 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS, NULL},
27363 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27364 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27365 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27366 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27367 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27368 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27369 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27370 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
27371 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
27372 { (char *)"TopLevelWindow_IsActive", (PyCFunction) _wrap_TopLevelWindow_IsActive, METH_VARARGS | METH_KEYWORDS, NULL},
27373 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27374 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacGetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
27375 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
27376 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
27377 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27378 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27379 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
27380 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27381 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27382 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
27383 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27384 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27385 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27386 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27387 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27388 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27389 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27390 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27391 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27392 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
27393 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27394 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27395 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27396 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27397 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
27398 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27399 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
27400 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
27401 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27402 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27403 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27404 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
27405 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
27406 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 27407 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
27408 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS, NULL},
27409 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27410 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
27411 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27412 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
27413 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27414 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27415 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27416 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
27417 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27418 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27419 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
27420 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
27421 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27422 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27423 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27424 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS, NULL},
27425 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
27426 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27427 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
27428 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27429 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27430 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
27431 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27432 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27433 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27434 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
27435 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
27436 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
27437 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
27438 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
27439 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS, NULL},
27440 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS, NULL},
27441 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27442 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
27443 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27444 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27445 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27446 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS, NULL},
27447 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS, NULL},
27448 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27449 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
27450 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27451 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
27452 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
27453 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
27454 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27455 { (char *)"SplitterWindow_UpdateSize", (PyCFunction) _wrap_SplitterWindow_UpdateSize, METH_VARARGS | METH_KEYWORDS, NULL},
27456 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS, NULL},
27457 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27458 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27459 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
27460 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27461 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27462 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27463 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27464 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction) _wrap_SplitterWindow_GetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
27465 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27466 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
27467 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27468 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27469 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27470 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
27471 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27472 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
27473 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27474 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27475 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27476 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS, NULL},
27477 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
27478 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
27479 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
27480 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27481 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27482 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27483 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27484 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27485 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27486 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
27487 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
27488 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27489 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27490 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27491 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
27492 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27493 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27494 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27495 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27496 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27497 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27498 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
27499 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
27500 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27501 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS, NULL},
27502 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
27503 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27504 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27505 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
27506 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27507 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
27508 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27509 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
27510 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
27511 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27512 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27513 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
27514 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27515 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27516 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27517 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27518 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27519 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27520 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27521 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27522 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
27523 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27524 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27525 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27526 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27527 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL},
27528 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
27529 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27530 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27531 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27532 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27533 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27534 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
27535 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
27536 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27537 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
27538 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27539 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS, NULL},
27540 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27541 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27542 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27543 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
27544 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27545 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27546 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
27547 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27548 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27549 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
27550 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27551 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
27552 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS, NULL},
27553 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
27554 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27555 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27556 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27557 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27558 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27559 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
27560 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL},
27561 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL},
27562 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
27563 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
27564 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
27565 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
27566 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27567 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
27568 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27569 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
27570 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
27571 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
27572 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27573 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27574 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27575 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27576 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27577 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27578 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27579 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
27580 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27581 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS, NULL},
27582 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27583 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
27584 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27585 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27586 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27587 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
27588 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27589 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
27590 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
27591 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
27592 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27593 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
27594 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27595 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
27596 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27597 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
27598 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27599 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
27600 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27601 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27602 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS, NULL},
27603 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
27604 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction) _wrap_HtmlListBox_GetFileSystem, METH_VARARGS | METH_KEYWORDS, NULL},
27605 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
27606 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27607 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27608 { (char *)"TaskBarIcon_Destroy", (PyCFunction) _wrap_TaskBarIcon_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
27609 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
27610 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS, NULL},
27611 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27612 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS, NULL},
27613 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
27614 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
27615 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27616 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
27617 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27618 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27619 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27620 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27621 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27622 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
27623 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27624 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
27625 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
27626 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27627 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS, NULL},
27628 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
27629 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27630 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27631 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27632 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27633 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27634 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27635 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
27636 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27637 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27638 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27639 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27640 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27641 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27642 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27643 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27644 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
27645 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
27646 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
27647 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27648 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
27649 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
27650 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
27651 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
27652 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS, NULL},
27653 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
27654 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27655 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27656 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
27657 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
27658 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27659 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27660 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27661 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27662 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
27663 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27664 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27665 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
27666 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
27667 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27668 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
27669 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27670 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS, NULL},
27671 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27672 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27673 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27674 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27675 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
27676 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27677 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27678 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
27679 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
27680 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27681 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
27682 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
27683 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27684 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
27685 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27686 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS, NULL},
27687 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
27688 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27689 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
27690 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27691 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
27692 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
27693 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
27694 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
27695 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27696 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27697 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27698 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27699 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27700 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27701 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27702 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
27703 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27704 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
27705 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27706 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27707 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27708 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27709 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
27710 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
27711 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
27712 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27713 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27714 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27715 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
27716 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
27717 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
27718 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27719 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27720 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27721 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS, NULL},
27722 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27723 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS, NULL},
27724 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS, NULL},
27725 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27726 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27727 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
27728 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
27729 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
27730 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27731 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27732 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27733 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS, NULL},
27734 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
27735 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS, NULL},
27736 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
27737 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27738 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27739 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
27740 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
27741 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27742 { (char *)"new_PrePyWindow", (PyCFunction) _wrap_new_PrePyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27743 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27744 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27745 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27746 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27747 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27748 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27749 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27750 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27751 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27752 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27753 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27754 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27755 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27756 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27757 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27758 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27759 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27760 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27761 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27762 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27763 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27764 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27765 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27766 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
27767 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27768 { (char *)"new_PrePyPanel", (PyCFunction) _wrap_new_PrePyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
27769 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27770 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27771 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27772 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27773 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27774 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27775 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27776 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27777 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27778 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27779 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27780 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27781 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27782 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27783 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27784 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27785 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27786 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27787 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27788 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27789 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction) _wrap_PyPanel_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27790 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyPanel_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27791 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction) _wrap_PyPanel_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27792 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
27793 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27794 { (char *)"new_PrePyScrolledWindow", (PyCFunction) _wrap_new_PrePyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27795 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27796 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27797 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27798 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27799 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27800 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27801 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
27802 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
27803 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
27804 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
27805 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyScrolledWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
27806 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction) _wrap_PyScrolledWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27807 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27808 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyScrolledWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27809 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction) _wrap_PyScrolledWindow_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
27810 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
27811 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
27812 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction) _wrap_PyScrolledWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
27813 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction) _wrap_PyScrolledWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
27814 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction) _wrap_PyScrolledWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
27815 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction) _wrap_PyScrolledWindow_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
27816 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS, NULL},
27817 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction) _wrap_PyScrolledWindow_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
27818 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
27819 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
27820 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27821 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27822 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27823 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27824 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27825 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27826 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27827 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27828 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27829 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27830 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27831 { (char *)"PrintData_GetBin", (PyCFunction) _wrap_PrintData_GetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27832 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27833 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27834 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27835 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27836 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
27837 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
27838 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
27839 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27840 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27841 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
27842 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
27843 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
27844 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27845 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
27846 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27847 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
27848 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27849 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
27850 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27851 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27852 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
27853 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
27854 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27855 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS, NULL},
27856 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS, NULL},
27857 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS, NULL},
27858 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS, NULL},
27859 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS, NULL},
27860 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS, NULL},
27861 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS, NULL},
27862 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS, NULL},
27863 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS, NULL},
27864 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
27865 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
27866 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27867 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27868 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27869 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27870 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27871 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27872 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27873 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27874 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
27875 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
27876 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27877 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27878 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27879 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27880 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27881 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27882 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27883 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27884 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27885 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27886 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27887 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27888 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
27889 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27890 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27891 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
27892 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
27893 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
27894 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
27895 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27896 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
27897 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27898 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS, NULL},
27899 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27900 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27901 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
27902 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
27903 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27904 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
27905 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
27906 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
27907 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
27908 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27909 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
27910 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27911 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27912 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27913 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27914 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27915 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
27916 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
27917 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
27918 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
27919 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
27920 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
27921 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27922 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
27923 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27924 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27925 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27926 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
27927 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27928 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
27929 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
27930 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
27931 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
27932 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
27933 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27934 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27935 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
27936 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27937 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS, NULL},
27938 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27939 { (char *)"PrintDialog_GetPrintData", (PyCFunction) _wrap_PrintDialog_GetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
27940 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS, NULL},
27941 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
27942 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
27943 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
27944 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
27945 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
27946 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
27947 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
27948 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
27949 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
27950 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS, NULL},
27951 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS, NULL},
27952 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
27953 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
27954 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27955 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
27956 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS, NULL},
27957 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
27958 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
27959 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
27960 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
27961 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
27962 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27963 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
27964 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27965 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
27966 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
27967 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
27968 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
27969 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS, NULL},
27970 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
27971 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
27972 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS, NULL},
27973 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
27974 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS, NULL},
27975 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
27976 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
27977 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
27978 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
27979 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
27980 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
27981 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
27982 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
27983 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
27984 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
27985 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
27986 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
27987 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
27988 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS, NULL},
27989 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
27990 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS, NULL},
27991 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS, NULL},
27992 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS, NULL},
27993 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
27994 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
27995 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
27996 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
27997 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
27998 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
27999 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS, NULL},
28000 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28001 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28002 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28003 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28004 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28005 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28006 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28007 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
28008 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS, NULL},
28009 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28010 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28011 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
28012 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
28013 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS, NULL},
28014 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
28015 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28016 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28017 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
28018 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
28019 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28020 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
28021 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
28022 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
28023 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
28024 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
28025 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS, NULL},
28026 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS, NULL},
28027 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
28028 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
28029 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28030 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28031 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28032 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
28033 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
28034 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28035 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
28036 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
28037 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
28038 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
28039 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS, NULL},
28040 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
28041 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
c370783e 28042 { NULL, NULL, 0, NULL }
d55e5bfc
RD
28043};
28044
28045
28046/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28047
28048static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
28049 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28050}
28051static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
28052 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
28053}
28054static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
28055 return (void *)((wxEvent *) ((wxMenuEvent *) x));
28056}
28057static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
28058 return (void *)((wxEvent *) ((wxCloseEvent *) x));
28059}
28060static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
28061 return (void *)((wxEvent *) ((wxMouseEvent *) x));
28062}
28063static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
28064 return (void *)((wxEvent *) ((wxEraseEvent *) x));
28065}
28066static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
28067 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
28068}
28069static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
28070 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28071}
28072static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
28073 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
28074}
28075static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
28076 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
28077}
28078static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
28079 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
28080}
28081static void *_p_wxPyEventTo_p_wxEvent(void *x) {
28082 return (void *)((wxEvent *) ((wxPyEvent *) x));
28083}
28084static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
28085 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
28086}
28087static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
28088 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
28089}
28090static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
28091 return (void *)((wxEvent *) ((wxIdleEvent *) x));
28092}
28093static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
28094 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
28095}
28096static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
28097 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
28098}
28099static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
28100 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
28101}
28102static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
28103 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
28104}
28105static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
28106 return (void *)((wxEvent *) ((wxActivateEvent *) x));
28107}
28108static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
28109 return (void *)((wxEvent *) ((wxSizeEvent *) x));
28110}
28111static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
28112 return (void *)((wxEvent *) ((wxMoveEvent *) x));
28113}
28114static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
28115 return (void *)((wxEvent *) ((wxPaintEvent *) x));
28116}
28117static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
28118 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
28119}
28120static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
28121 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
28122}
28123static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
28124 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
28125}
28126static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
28127 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
28128}
28129static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
28130 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28131}
28132static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
28133 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
28134}
28135static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
28136 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
28137}
28138static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
28139 return (void *)((wxEvent *) ((wxFocusEvent *) x));
28140}
28141static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
28142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
28143}
28144static void *_p_wxSashEventTo_p_wxEvent(void *x) {
28145 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
28146}
28147static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
28148 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28149}
28150static void *_p_wxShowEventTo_p_wxEvent(void *x) {
28151 return (void *)((wxEvent *) ((wxShowEvent *) x));
28152}
28153static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
28154 return (void *)((wxEvent *) ((wxCommandEvent *) x));
28155}
28156static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
28157 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
28158}
28159static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
28160 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28161}
28162static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
28163 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
28164}
28165static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
28166 return (void *)((wxEvent *) ((wxKeyEvent *) x));
28167}
28168static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
28169 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
28170}
28171static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
28172 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
28173}
28174static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
28175 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
28176}
070c48b4
RD
28177static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
28178 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28179}
d55e5bfc
RD
28180static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
28181 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28182}
28183static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
28184 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28185}
28186static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
28187 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28188}
28189static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28190 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28191}
28192static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28193 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28194}
28195static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28196 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28197}
28198static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28199 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28200}
070c48b4
RD
28201static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
28202 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28203}
d55e5bfc
RD
28204static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
28205 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28206}
28207static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
28208 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28209}
28210static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
28211 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28212}
28213static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
28214 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28215}
28216static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
28217 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28218}
28219static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
28220 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28221}
28222static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
28223 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28224}
28225static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
28226 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
28227}
28228static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
28229 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
28230}
28231static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
28232 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28233}
28234static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
28235 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28236}
28237static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
28238 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28239}
28240static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
28241 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
28242}
28243static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
28244 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28245}
28246static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
28247 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
28248}
28249static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
28250 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
28251}
28252static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
28253 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
28254}
28255static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28256 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28257}
28258static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
28259 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28260}
28261static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
28262 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
28263}
28264static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
28265 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
28266}
28267static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
28268 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28269}
28270static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28271 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28272}
28273static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
28274 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28275}
28276static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
28277 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28278}
28279static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
28280 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28281}
28282static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28283 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28284}
28285static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28286 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28287}
28288static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
28289 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
28290}
28291static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
28292 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28293}
28294static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
28295 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28296}
28297static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
28298 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28299}
28300static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
28301 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28302}
28303static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
28304 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28305}
5e483524
RD
28306static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
28307 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28308}
28309static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
28310 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28311}
d55e5bfc
RD
28312static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
28313 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28314}
28315static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
28316 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28317}
28318static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
28319 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28320}
070c48b4
RD
28321static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
28322 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28323}
d55e5bfc
RD
28324static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
28325 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28326}
28327static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
28328 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
28329}
28330static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
28331 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
28332}
28333static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
28334 return (void *)((wxFrame *) ((wxProgressDialog *) x));
28335}
28336static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
28337 return (void *)((wxFrame *) ((wxTipWindow *) x));
28338}
28339static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
28340 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
28341}
28342static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
28343 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28344}
28345static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
28346 return (void *)((wxFrame *) ((wxMiniFrame *) x));
28347}
28348static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
28349 return (void *)((wxFrame *) ((wxSplashScreen *) x));
28350}
28351static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
28352 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
28353}
28354static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28355 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28356}
28357static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
28358 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
28359}
28360static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
28361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28362}
28363static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
28364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28365}
28366static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28367 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28368}
28369static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28370 return (void *)((wxObject *) ((wxSizerItem *) x));
28371}
28372static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28373 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28374}
28375static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28376 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28377}
28378static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28379 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28380}
28381static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28382 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28383}
28384static void *_p_wxSizerTo_p_wxObject(void *x) {
28385 return (void *)((wxObject *) ((wxSizer *) x));
28386}
28387static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28388 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28389}
28390static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28391 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28392}
28393static void *_p_wxPyPanelTo_p_wxObject(void *x) {
28394 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
28395}
28396static void *_p_wxEventTo_p_wxObject(void *x) {
28397 return (void *)((wxObject *) ((wxEvent *) x));
28398}
28399static void *_p_wxFontDataTo_p_wxObject(void *x) {
28400 return (void *)((wxObject *) ((wxFontData *) x));
28401}
28402static void *_p_wxPrintDataTo_p_wxObject(void *x) {
28403 return (void *)((wxObject *) ((wxPrintData *) x));
28404}
28405static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28406 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28407}
28408static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28409 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28410}
28411static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28412 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28413}
28414static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
28415 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
28416}
5e483524
RD
28417static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
28418 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
28419}
28420static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
28421 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
28422}
28423static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28424 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28425}
28426static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28427 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28428}
28429static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28430 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28431}
28432static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28433 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28434}
28435static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28436 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28437}
28438static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28439 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28440}
28441static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
28442 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28443}
28444static void *_p_wxControlTo_p_wxObject(void *x) {
28445 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28446}
28447static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28448 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28449}
28450static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
28451 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
28452}
28453static void *_p_wxFSFileTo_p_wxObject(void *x) {
28454 return (void *)((wxObject *) ((wxFSFile *) x));
28455}
28456static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
28457 return (void *)((wxObject *) ((wxFindReplaceData *) x));
28458}
28459static void *_p_wxPySizerTo_p_wxObject(void *x) {
28460 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28461}
28462static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
28463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28464}
28465static void *_p_wxColourDataTo_p_wxObject(void *x) {
28466 return (void *)((wxObject *) ((wxColourData *) x));
28467}
28468static void *_p_wxPyEventTo_p_wxObject(void *x) {
28469 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28470}
28471static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28472 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28473}
28474static void *_p_wxPyWindowTo_p_wxObject(void *x) {
28475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
28476}
28477static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
28478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28479}
28480static void *_p_wxFileDialogTo_p_wxObject(void *x) {
28481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28482}
28483static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
28484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28485}
28486static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
28487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28488}
28489static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
28490 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28491}
070c48b4
RD
28492static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
28493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28494}
d55e5bfc
RD
28495static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
28496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28497}
28498static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
28499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28500}
28501static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
28502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28503}
28504static void *_p_wxShowEventTo_p_wxObject(void *x) {
28505 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28506}
28507static void *_p_wxPrinterTo_p_wxObject(void *x) {
28508 return (void *)((wxObject *) ((wxPrinter *) x));
28509}
28510static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28511 return (void *)((wxObject *) ((wxMenuItem *) x));
28512}
28513static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28514 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28515}
28516static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28517 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28518}
28519static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28520 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28521}
28522static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28523 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28524}
28525static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28526 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28527}
28528static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28529 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28530}
28531static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28532 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28533}
28534static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28535 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28536}
28537static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28538 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28539}
28540static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28541 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28542}
28543static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28544 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28545}
28546static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28547 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28548}
28549static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28550 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28551}
28552static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28553 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28554}
28555static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28556 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28557}
28558static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28559 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28560}
28561static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28562 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28563}
28564static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28565 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28566}
28567static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28568 return (void *)((wxObject *) ((wxImageHandler *) x));
28569}
28570static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28571 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28572}
28573static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28574 return (void *)((wxObject *) ((wxEvtHandler *) x));
28575}
28576static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
28577 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
28578}
28579static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
28580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28581}
28582static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
28583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28584}
62d32a5f
RD
28585static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
28586 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
28587}
d55e5bfc
RD
28588static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28589 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28590}
28591static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
28592 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28593}
28594static void *_p_wxImageTo_p_wxObject(void *x) {
28595 return (void *)((wxObject *) ((wxImage *) x));
28596}
28597static void *_p_wxFrameTo_p_wxObject(void *x) {
28598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
28599}
28600static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
28601 return (void *)((wxObject *) ((wxPyPrintout *) x));
28602}
28603static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28604 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28605}
28606static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
28607 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
28608}
28609static void *_p_wxStatusBarTo_p_wxObject(void *x) {
28610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
28611}
28612static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
28613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28614}
28615static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28616 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28617}
28618static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28619 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28620}
28621static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28622 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28623}
28624static void *_p_wxWindowTo_p_wxObject(void *x) {
28625 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28626}
28627static void *_p_wxMenuTo_p_wxObject(void *x) {
28628 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28629}
28630static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28632}
28633static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
28634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
28635}
28636static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
28637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
28638}
28639static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
28640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
28641}
28642static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
28643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
28644}
28645static void *_p_wxSashWindowTo_p_wxObject(void *x) {
28646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
28647}
28648static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
28649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
28650}
28651static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
28652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
28653}
28654static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
28655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28656}
28657static void *_p_wxTipWindowTo_p_wxObject(void *x) {
28658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28659}
28660static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
28661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
28662}
28663static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
28664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
28665}
28666static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
28667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28668}
28669static void *_p_wxSashEventTo_p_wxObject(void *x) {
28670 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
28671}
28672static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
28673 return (void *)((wxObject *) ((wxPrintPreview *) x));
28674}
28675static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
28676 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
28677}
28678static void *_p_wxPanelTo_p_wxObject(void *x) {
28679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
28680}
28681static void *_p_wxDialogTo_p_wxObject(void *x) {
28682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
28683}
28684static void *_p_wxColourDialogTo_p_wxObject(void *x) {
28685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28686}
28687static void *_p_wxDirDialogTo_p_wxObject(void *x) {
28688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28689}
28690static void *_p_wxFontDialogTo_p_wxObject(void *x) {
28691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28692}
28693static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 28694 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
28695}
28696static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
070c48b4 28697 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
28698}
28699static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28700 return (void *)((wxObject *) ((wxFileSystem *) x));
28701}
28702static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28703 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28704}
28705static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28706 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28707}
28708static void *_p_wxPyAppTo_p_wxObject(void *x) {
28709 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28710}
28711static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28712 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28713}
28714static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28715 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28716}
28717static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28718 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28719}
28720static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28721 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28722}
28723static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28724 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28725}
28726static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
28727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
28728}
28729static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
28730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28731}
28732static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28733 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28734}
28735static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28736 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28737}
28738static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28739 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28740}
28741static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28743}
28744static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
28745 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
28746}
28747static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
28748 return (void *)((wxObject *) ((wxPrintDialogData *) x));
28749}
28750static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28751 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28752}
28753static void *_p_wxValidatorTo_p_wxObject(void *x) {
28754 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28755}
28756static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
28757 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28758}
28759static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
28760 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
28761}
28762static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
28763 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28764}
28765static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
28766 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
28767}
28768static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
28769 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
28770}
28771static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
28772 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
28773}
28774static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
28775 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
28776}
28777static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
28778 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
28779}
28780static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
28781 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
28782}
28783static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
28784 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
28785}
d55e5bfc
RD
28786static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
28787 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
28788}
28789static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
28790 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
28791}
28792static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
28793 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
28794}
28795static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
28796 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
28797}
d55e5bfc
RD
28798static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
28799 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
28800}
070c48b4
RD
28801static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
28802 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28803}
d55e5bfc
RD
28804static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
28805 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
28806}
28807static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28808 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
28809}
28810static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
28811 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
28812}
28813static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
28814 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
28815}
070c48b4
RD
28816static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
28817 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
28818}
d55e5bfc
RD
28819static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
28820 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
28821}
28822static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28823 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
28824}
28825static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
28826 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28827}
28828static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
28829 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
28830}
28831static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
28832 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
28833}
28834static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
28835 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
28836}
28837static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28838 return (void *)((wxWindow *) ((wxMenuBar *) x));
28839}
28840static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
28841 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
28842}
28843static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
28844 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
28845}
28846static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
28847 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
28848}
070c48b4
RD
28849static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
28850 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28851}
d55e5bfc
RD
28852static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
28853 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
28854}
28855static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
28856 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
28857}
28858static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
28859 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
28860}
28861static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
28862 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
28863}
28864static void *_p_wxPanelTo_p_wxWindow(void *x) {
28865 return (void *)((wxWindow *) ((wxPanel *) x));
28866}
28867static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
28868 return (void *)((wxWindow *) ((wxStatusBar *) x));
28869}
d55e5bfc
RD
28870static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
28871 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
28872}
28873static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
28874 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
28875}
28876static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
28877 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
28878}
28879static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
28880 return (void *)((wxWindow *) ((wxPopupWindow *) x));
28881}
28882static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
28883 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
28884}
28885static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
28886 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
28887}
28888static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
28889 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
28890}
28891static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
28892 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
28893}
28894static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
28895 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
28896}
28897static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
28898 return (void *)((wxWindow *) ((wxSashWindow *) x));
28899}
070c48b4
RD
28900static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
28901 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
28902}
d55e5bfc
RD
28903static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
28904 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28905}
28906static void *_p_wxControlTo_p_wxWindow(void *x) {
28907 return (void *)((wxWindow *) ((wxControl *) x));
28908}
28909static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
28910 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
28911}
28912static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
28913 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
28914}
28915static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
28916 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
28917}
28918static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28919 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28920}
28921static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
28922 return (void *)((wxWindow *) ((wxPyWindow *) x));
28923}
28924static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
28925 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
28926}
28927static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
28928 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
28929}
28930static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
28931 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
28932}
28933static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
28934 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
28935}
28936static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
28937 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
28938}
28939static void *_p_wxFrameTo_p_wxWindow(void *x) {
28940 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
28941}
28942static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
28943 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
28944}
28945static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
28946 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
28947}
28948static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
28949 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
28950}
28951static void *_p_wxDialogTo_p_wxWindow(void *x) {
28952 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
28953}
d55e5bfc
RD
28954static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
28955 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
28956}
28957static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
28958 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
28959}
28960static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
28961 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
28962}
28963static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
28964 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
28965}
28966static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
28967 return (void *)((wxDialog *) ((wxColourDialog *) x));
28968}
28969static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
28970 return (void *)((wxDialog *) ((wxDirDialog *) x));
28971}
28972static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
28973 return (void *)((wxDialog *) ((wxFontDialog *) x));
28974}
d55e5bfc
RD
28975static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
28976 return (void *)((wxDialog *) ((wxFileDialog *) x));
28977}
28978static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
28979 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
28980}
28981static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
28982 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
28983}
28984static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
28985 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
28986}
070c48b4
RD
28987static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
28988 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
28989}
d55e5bfc
RD
28990static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
28991 return (void *)((wxDialog *) ((wxMessageDialog *) x));
28992}
28993static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
28994 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
28995}
28996static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
28997 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
28998}
28999static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
29000 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
29001}
29002static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
29003 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
29004}
29005static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
29006 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
29007}
29008static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
29009 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
29010}
29011static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
29012 return (void *)((wxPanel *) ((wxPyPanel *) x));
29013}
29014static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
29015 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
29016}
29017static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
29018 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
29019}
29020static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
29021 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29022}
29023static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
29024 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
29025}
29026static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
29027 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
29028}
29029static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
29030 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
29031}
29032static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
29033 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
29034}
29035static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
29036 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
29037}
29038static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
29039 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29040}
29041static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
29042 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
29043}
29044static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
29045 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
29046}
29047static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
29048 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
29049}
29050static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
29051 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
29052}
29053static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
29054 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
29055}
29056static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
29057 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
29058}
29059static 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}};
29060static 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}};
29061static 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}};
29062static 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}};
29063static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29064static 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}};
29065static 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 29066static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29067static 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 29068static swig_type_info _swigt__p_wxPyTaskBarIcon[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29069static 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}};
29070static 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}};
29071static 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}};
29072static 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}};
29073static 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}};
29074static 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}};
29075static 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}};
36ed4f51
RD
29076static 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}};
29077static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29078static 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}};
29079static 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}};
29080static 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}};
29081static 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}};
29082static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
f20a2e1f 29083static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29084static 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}};
29085static 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}};
29086static 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}};
29087static 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}};
36ed4f51 29088static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29089static 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}};
070c48b4 29090static swig_type_info _swigt__p_wxPasswordEntryDialog[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29091static 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}};
29092static 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}};
29093static 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}};
070c48b4 29094static 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}};
36ed4f51
RD
29095static 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}};
29096static 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}};
29097static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29098static 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}};
29099static 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}};
36ed4f51 29100static 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}};
6e0de3df 29101static 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29102static 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}};
29103static 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}};
29104static 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}};
29105static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
62d32a5f 29106static swig_type_info _swigt__p_wxStdDialogButtonSizer[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29107static 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}};
29108static 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}};
29109static 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_wxTipWindow", _p_wxTipWindowTo_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}};
29110static 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}};
29111static 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}};
29112static 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}};
36ed4f51 29113static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29114static 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}};
29115static 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}};
29116static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
62d32a5f 29117static 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
36ed4f51 29118static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29119static 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}};
29120static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29121static 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}};
29122static 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 29123static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29124static 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}};
29125static 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},{0, 0, 0, 0, 0, 0, 0}};
29126static 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}};
6e0de3df
RD
29127static 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_wxTipWindow", _p_wxTipWindowTo_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_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_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}};
29128static 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_wxTipWindow", _p_wxTipWindowTo_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_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29129static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29130static 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}};
36ed4f51 29131static 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 29132static swig_type_info _swigt__p_wxPyScrolledWindow[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29133static 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}};
29134static 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}};
29135static 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}};
29136static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29137static 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}};
29138static 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}};
6e0de3df 29139static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29140static 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}};
36ed4f51 29141static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29142static 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}};
29143static 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}};
d6c14a4c 29144static swig_type_info _swigt__p_wxFileSystem[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 29145static 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}};
36ed4f51
RD
29146static 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}};
29147static 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}};
29148static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
29149static 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}};
29150static 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}};
29151static 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}};
29152static 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}};
29153static 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}};
29154static 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}};
29155static 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}};
29156
29157static swig_type_info *swig_types_initial[] = {
29158_swigt__p_wxQueryLayoutInfoEvent,
29159_swigt__p_wxPreviewFrame,
29160_swigt__p_wxPyPreviewFrame,
29161_swigt__p_wxPyPanel,
29162_swigt__p_wxMenu,
d55e5bfc
RD
29163_swigt__p_wxFontData,
29164_swigt__p_wxEvent,
f5b96ee1 29165_swigt__p_wxPrintData,
d55e5bfc 29166_swigt__p_wxTaskBarIcon,
5e483524 29167_swigt__p_wxPyTaskBarIcon,
d55e5bfc
RD
29168_swigt__p_wxIconBundle,
29169_swigt__p_wxLayoutAlgorithm,
29170_swigt__p_wxFindDialogEvent,
29171_swigt__p_wxPreviewCanvas,
29172_swigt__p_wxFont,
29173_swigt__p_wxSplitterEvent,
29174_swigt__p_wxRegion,
36ed4f51
RD
29175_swigt__ptrdiff_t,
29176_swigt__std__ptrdiff_t,
d55e5bfc
RD
29177_swigt__p_wxFindReplaceData,
29178_swigt__p_int,
29179_swigt__p_wxSize,
29180_swigt__p_wxDC,
29181_swigt__p_wxIcon,
f20a2e1f 29182_swigt__p_wxVisualAttributes,
d55e5bfc
RD
29183_swigt__p_wxMDIChildFrame,
29184_swigt__p_wxColourData,
29185_swigt__p_wxNotifyEvent,
29186_swigt__p_wxPyWindow,
36ed4f51 29187_swigt__p_form_ops_t,
d55e5bfc 29188_swigt__p_wxSplashScreen,
070c48b4 29189_swigt__p_wxPasswordEntryDialog,
d55e5bfc
RD
29190_swigt__p_wxSingleChoiceDialog,
29191_swigt__p_wxMultiChoiceDialog,
29192_swigt__p_wxFileDialog,
070c48b4 29193_swigt__p_wxTextEntryDialog,
36ed4f51
RD
29194_swigt__p_wxMessageDialog,
29195_swigt__p_wxProgressDialog,
29196_swigt__p_wxFindReplaceDialog,
d55e5bfc
RD
29197_swigt__p_wxPrinter,
29198_swigt__p_wxArrayInt,
36ed4f51 29199_swigt__p_wxDuplexMode,
d55e5bfc
RD
29200_swigt__p_wxEvtHandler,
29201_swigt__p_wxCalculateLayoutEvent,
29202_swigt__p_wxPyHtmlListBox,
29203_swigt__p_wxPyVListBox,
29204_swigt__p_wxRect,
62d32a5f 29205_swigt__p_wxStdDialogButtonSizer,
d55e5bfc
RD
29206_swigt__p_char,
29207_swigt__p_wxMiniFrame,
29208_swigt__p_wxFrame,
29209_swigt__p_wxPyPrintout,
29210_swigt__p_wxTaskBarIconEvent,
29211_swigt__p_wxScrollWinEvent,
36ed4f51 29212_swigt__p_wxPaperSize,
d55e5bfc
RD
29213_swigt__p_wxStatusBar,
29214_swigt__p_wxMDIParentFrame,
29215_swigt__p_wxPoint,
29216_swigt__p_wxObject,
36ed4f51 29217_swigt__p_unsigned_long,
d55e5bfc
RD
29218_swigt__p_wxTipWindow,
29219_swigt__p_wxPyPopupTransientWindow,
29220_swigt__p_wxSashLayoutWindow,
29221_swigt__p_wxSplitterWindow,
f5b96ee1 29222_swigt__p_wxSplashScreenWindow,
d55e5bfc
RD
29223_swigt__p_wxPyVScrolledWindow,
29224_swigt__p_wxPopupWindow,
29225_swigt__p_wxSashWindow,
29226_swigt__p_wxTopLevelWindow,
29227_swigt__p_wxWindow,
29228_swigt__p_wxScrolledWindow,
d55e5bfc 29229_swigt__p_wxMenuBar,
36ed4f51 29230_swigt__p_wxMDIClientWindow,
5e483524 29231_swigt__p_wxPyScrolledWindow,
d55e5bfc
RD
29232_swigt__p_wxPrintPreview,
29233_swigt__p_wxSashEvent,
29234_swigt__p_wxString,
29235_swigt__p_wxPyPrintPreview,
d55e5bfc
RD
29236_swigt__p_wxDirDialog,
29237_swigt__p_wxColourDialog,
29238_swigt__p_wxDialog,
29239_swigt__p_wxPanel,
36ed4f51 29240_swigt__p_wxFontDialog,
d55e5bfc
RD
29241_swigt__p_wxPageSetupDialog,
29242_swigt__p_wxPrintDialog,
d6c14a4c 29243_swigt__p_wxFileSystem,
d55e5bfc 29244_swigt__p_wxBitmap,
36ed4f51
RD
29245_swigt__unsigned_int,
29246_swigt__p_unsigned_int,
29247_swigt__p_unsigned_char,
d55e5bfc
RD
29248_swigt__p_wxCommandEvent,
29249_swigt__p_wxPreviewControlBar,
29250_swigt__p_wxPyPreviewControlBar,
29251_swigt__p_wxColour,
29252_swigt__p_wxToolBar,
29253_swigt__p_wxPageSetupDialogData,
29254_swigt__p_wxPrintDialogData,
292550
29256};
29257
29258
29259/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29260
29261static swig_const_info swig_const_table[] = {
c370783e 29262{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
29263
29264#ifdef __cplusplus
29265}
29266#endif
29267
36ed4f51
RD
29268
29269#ifdef __cplusplus
29270extern "C" {
29271#endif
29272
29273 /* Python-specific SWIG API */
29274#define SWIG_newvarlink() SWIG_Python_newvarlink()
29275#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29276#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29277
29278 /* -----------------------------------------------------------------------------
29279 * global variable support code.
29280 * ----------------------------------------------------------------------------- */
29281
29282 typedef struct swig_globalvar {
29283 char *name; /* Name of global variable */
29284 PyObject *(*get_attr)(); /* Return the current value */
29285 int (*set_attr)(PyObject *); /* Set the value */
29286 struct swig_globalvar *next;
29287 } swig_globalvar;
29288
29289 typedef struct swig_varlinkobject {
29290 PyObject_HEAD
29291 swig_globalvar *vars;
29292 } swig_varlinkobject;
29293
29294 static PyObject *
29295 swig_varlink_repr(swig_varlinkobject *v) {
29296 v = v;
29297 return PyString_FromString("<Swig global variables>");
29298 }
29299
29300 static int
29301 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
29302 swig_globalvar *var;
29303 flags = flags;
29304 fprintf(fp,"Swig global variables { ");
29305 for (var = v->vars; var; var=var->next) {
29306 fprintf(fp,"%s", var->name);
29307 if (var->next) fprintf(fp,", ");
29308 }
29309 fprintf(fp," }\n");
29310 return 0;
29311 }
29312
29313 static PyObject *
29314 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
29315 swig_globalvar *var = v->vars;
29316 while (var) {
29317 if (strcmp(var->name,n) == 0) {
29318 return (*var->get_attr)();
29319 }
29320 var = var->next;
29321 }
29322 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29323 return NULL;
29324 }
29325
29326 static int
29327 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
29328 swig_globalvar *var = v->vars;
29329 while (var) {
29330 if (strcmp(var->name,n) == 0) {
29331 return (*var->set_attr)(p);
29332 }
29333 var = var->next;
29334 }
29335 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
29336 return 1;
29337 }
29338
29339 static PyTypeObject varlinktype = {
29340 PyObject_HEAD_INIT(0)
29341 0, /* Number of items in variable part (ob_size) */
29342 (char *)"swigvarlink", /* Type name (tp_name) */
29343 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
29344 0, /* Itemsize (tp_itemsize) */
29345 0, /* Deallocator (tp_dealloc) */
29346 (printfunc) swig_varlink_print, /* Print (tp_print) */
29347 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
29348 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
29349 0, /* tp_compare */
29350 (reprfunc) swig_varlink_repr, /* tp_repr */
29351 0, /* tp_as_number */
29352 0, /* tp_as_sequence */
29353 0, /* tp_as_mapping */
29354 0, /* tp_hash */
29355 0, /* tp_call */
29356 0, /* tp_str */
29357 0, /* tp_getattro */
29358 0, /* tp_setattro */
29359 0, /* tp_as_buffer */
29360 0, /* tp_flags */
29361 0, /* tp_doc */
29362#if PY_VERSION_HEX >= 0x02000000
29363 0, /* tp_traverse */
29364 0, /* tp_clear */
29365#endif
29366#if PY_VERSION_HEX >= 0x02010000
29367 0, /* tp_richcompare */
29368 0, /* tp_weaklistoffset */
29369#endif
29370#if PY_VERSION_HEX >= 0x02020000
29371 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29372#endif
29373#if PY_VERSION_HEX >= 0x02030000
29374 0, /* tp_del */
29375#endif
29376#ifdef COUNT_ALLOCS
29377 0,0,0,0 /* tp_alloc -> tp_next */
29378#endif
29379 };
29380
29381 /* Create a variable linking object for use later */
29382 static PyObject *
29383 SWIG_Python_newvarlink(void) {
29384 swig_varlinkobject *result = 0;
29385 result = PyMem_NEW(swig_varlinkobject,1);
29386 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
29387 result->ob_type = &varlinktype;
29388 result->vars = 0;
29389 result->ob_refcnt = 0;
29390 Py_XINCREF((PyObject *) result);
29391 return ((PyObject*) result);
29392 }
29393
29394 static void
29395 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
29396 swig_varlinkobject *v;
29397 swig_globalvar *gv;
29398 v= (swig_varlinkobject *) p;
29399 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
29400 gv->name = (char *) malloc(strlen(name)+1);
29401 strcpy(gv->name,name);
29402 gv->get_attr = get_attr;
29403 gv->set_attr = set_attr;
29404 gv->next = v->vars;
29405 v->vars = gv;
29406 }
29407
29408 /* -----------------------------------------------------------------------------
29409 * constants/methods manipulation
29410 * ----------------------------------------------------------------------------- */
29411
29412 /* Install Constants */
29413 static void
29414 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
29415 PyObject *obj = 0;
29416 size_t i;
29417 for (i = 0; constants[i].type; i++) {
29418 switch(constants[i].type) {
29419 case SWIG_PY_INT:
29420 obj = PyInt_FromLong(constants[i].lvalue);
29421 break;
29422 case SWIG_PY_FLOAT:
29423 obj = PyFloat_FromDouble(constants[i].dvalue);
29424 break;
29425 case SWIG_PY_STRING:
29426 if (constants[i].pvalue) {
29427 obj = PyString_FromString((char *) constants[i].pvalue);
29428 } else {
29429 Py_INCREF(Py_None);
29430 obj = Py_None;
29431 }
29432 break;
29433 case SWIG_PY_POINTER:
29434 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
29435 break;
29436 case SWIG_PY_BINARY:
29437 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
29438 break;
29439 default:
29440 obj = 0;
29441 break;
29442 }
29443 if (obj) {
29444 PyDict_SetItemString(d,constants[i].name,obj);
29445 Py_DECREF(obj);
29446 }
29447 }
29448 }
29449
29450 /* -----------------------------------------------------------------------------*/
29451 /* Fix SwigMethods to carry the callback ptrs when needed */
29452 /* -----------------------------------------------------------------------------*/
29453
29454 static void
29455 SWIG_Python_FixMethods(PyMethodDef *methods,
29456 swig_const_info *const_table,
29457 swig_type_info **types,
29458 swig_type_info **types_initial) {
29459 size_t i;
29460 for (i = 0; methods[i].ml_name; ++i) {
29461 char *c = methods[i].ml_doc;
29462 if (c && (c = strstr(c, "swig_ptr: "))) {
29463 int j;
29464 swig_const_info *ci = 0;
29465 char *name = c + 10;
29466 for (j = 0; const_table[j].type; j++) {
29467 if (strncmp(const_table[j].name, name,
29468 strlen(const_table[j].name)) == 0) {
29469 ci = &(const_table[j]);
29470 break;
29471 }
29472 }
29473 if (ci) {
29474 size_t shift = (ci->ptype) - types;
29475 swig_type_info *ty = types_initial[shift];
29476 size_t ldoc = (c - methods[i].ml_doc);
29477 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
29478 char *ndoc = (char*)malloc(ldoc + lptr + 10);
29479 char *buff = ndoc;
29480 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
29481 strncpy(buff, methods[i].ml_doc, ldoc);
29482 buff += ldoc;
29483 strncpy(buff, "swig_ptr: ", 10);
29484 buff += 10;
29485 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
29486 methods[i].ml_doc = ndoc;
29487 }
29488 }
29489 }
29490 }
29491
29492 /* -----------------------------------------------------------------------------*
29493 * Initialize type list
29494 * -----------------------------------------------------------------------------*/
29495
29496#if PY_MAJOR_VERSION < 2
29497 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29498 is copied out of Python/modsupport.c in python version 2.3.4 */
29499 static int
29500 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
29501 {
29502 PyObject *dict;
29503 if (!PyModule_Check(m)) {
29504 PyErr_SetString(PyExc_TypeError,
29505 "PyModule_AddObject() needs module as first arg");
29506 return -1;
29507 }
29508 if (!o) {
29509 PyErr_SetString(PyExc_TypeError,
29510 "PyModule_AddObject() needs non-NULL value");
29511 return -1;
29512 }
29513
29514 dict = PyModule_GetDict(m);
29515 if (dict == NULL) {
29516 /* Internal error -- modules must have a dict! */
29517 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
29518 PyModule_GetName(m));
29519 return -1;
29520 }
29521 if (PyDict_SetItemString(dict, name, o))
29522 return -1;
29523 Py_DECREF(o);
29524 return 0;
29525 }
29526#endif
29527
29528 static swig_type_info **
29529 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
29530 static PyMethodDef swig_empty_runtime_method_table[] = {
29531 {
29532 NULL, NULL, 0, NULL
29533 }
29534 };/* Sentinel */
29535
29536 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
29537 swig_empty_runtime_method_table);
29538 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
29539 if (pointer && module) {
29540 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
29541 }
29542 return type_list_handle;
29543 }
29544
29545 static swig_type_info **
29546 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
29547 swig_type_info **type_pointer;
29548
29549 /* first check if module already created */
29550 type_pointer = SWIG_Python_GetTypeListHandle();
29551 if (type_pointer) {
29552 return type_pointer;
29553 } else {
29554 /* create a new module and variable */
29555 return SWIG_Python_SetTypeListHandle(type_list_handle);
29556 }
29557 }
29558
29559#ifdef __cplusplus
29560}
29561#endif
29562
29563/* -----------------------------------------------------------------------------*
29564 * Partial Init method
29565 * -----------------------------------------------------------------------------*/
29566
29567#ifdef SWIG_LINK_RUNTIME
29568#ifdef __cplusplus
29569extern "C"
29570#endif
29571SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29572#endif
29573
d55e5bfc
RD
29574#ifdef __cplusplus
29575extern "C"
29576#endif
29577SWIGEXPORT(void) SWIG_init(void) {
29578 static PyObject *SWIG_globals = 0;
29579 static int typeinit = 0;
29580 PyObject *m, *d;
29581 int i;
29582 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
29583
29584 /* Fix SwigMethods to carry the callback ptrs when needed */
29585 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
29586
d55e5bfc
RD
29587 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29588 d = PyModule_GetDict(m);
29589
29590 if (!typeinit) {
36ed4f51
RD
29591#ifdef SWIG_LINK_RUNTIME
29592 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
29593#else
29594# ifndef SWIG_STATIC_RUNTIME
29595 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
29596# endif
29597#endif
d55e5bfc
RD
29598 for (i = 0; swig_types_initial[i]; i++) {
29599 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29600 }
29601 typeinit = 1;
29602 }
36ed4f51
RD
29603 SWIG_InstallConstants(d,swig_const_table);
29604
29605 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29606 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
29607 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
29608 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
29609 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
29610 {
29611 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP)));
29612 }
29613 {
29614 PyDict_SetItemString(d,"ICONIZE", SWIG_From_int((int)(wxICONIZE)));
29615 }
29616 {
29617 PyDict_SetItemString(d,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE)));
29618 }
29619 {
29620 PyDict_SetItemString(d,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE)));
29621 }
29622 {
29623 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX)));
29624 }
29625 {
29626 PyDict_SetItemString(d,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME)));
29627 }
29628 {
29629 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU)));
29630 }
29631 {
29632 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX)));
29633 }
29634 {
29635 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX)));
29636 }
29637 {
29638 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ)));
29639 }
29640 {
29641 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT)));
29642 }
29643 {
29644 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX)));
29645 }
29646 {
29647 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER)));
29648 }
29649 {
29650 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT)));
29651 }
29652 {
29653 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE)));
29654 }
29655 {
29656 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE)));
29657 }
29658 {
29659 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW)));
29660 }
29661 {
29662 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT)));
29663 }
29664 {
29665 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU)));
29666 }
29667 {
29668 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR)));
29669 }
29670 {
29671 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED)));
29672 }
29673 {
29674 PyDict_SetItemString(d,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER)));
29675 }
29676 {
29677 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL)));
29678 }
29679 {
29680 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS)));
29681 }
29682 {
29683 PyDict_SetItemString(d,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS)));
29684 }
29685 {
29686 PyDict_SetItemString(d,"NO_3D", SWIG_From_int((int)(wxNO_3D)));
29687 }
29688 {
29689 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR)));
29690 }
29691 {
29692 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR)));
29693 }
29694 {
29695 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR)));
29696 }
29697 {
29698 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER)));
29699 }
29700 {
29701 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION)));
29702 }
29703 {
29704 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL)));
29705 }
29706 {
29707 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG)));
29708 }
29709 {
29710 PyDict_SetItemString(d,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO)));
29711 }
29712 {
29713 PyDict_SetItemString(d,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR)));
29714 }
29715 {
29716 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT)));
29717 }
29718 {
29719 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN)));
29720 }
29721 {
29722 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE)));
29723 }
29724 {
29725 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT)));
29726 }
29727 {
29728 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT)));
29729 }
29730 {
29731 PyDict_SetItemString(d,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL)));
29732 }
29733 {
29734 PyDict_SetItemString(d,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT)));
29735 }
29736 {
29737 PyDict_SetItemString(d,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED)));
29738 }
d55e5bfc 29739 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
36ed4f51
RD
29740 {
29741 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER)));
29742 }
29743 {
29744 PyDict_SetItemString(d,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH)));
29745 }
29746 {
29747 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT)));
29748 }
29749 {
29750 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE)));
29751 }
29752 {
29753 PyDict_SetItemString(d,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH)));
29754 }
29755 {
29756 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER)));
29757 }
29758 {
29759 PyDict_SetItemString(d,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME)));
29760 }
29761 {
29762 PyDict_SetItemString(d,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER)));
29763 }
29764 {
29765 PyDict_SetItemString(d,"SP_3D", SWIG_From_int((int)(wxSP_3D)));
29766 }
29767 {
29768 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL)));
29769 }
29770 {
29771 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL)));
29772 }
29773 {
29774 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE)));
29775 }
29776 {
29777 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING)));
29778 }
29779 {
29780 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN)));
29781 }
d55e5bfc
RD
29782 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
29783 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
29784 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
29785 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
29786 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
29787 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
36ed4f51
RD
29788 {
29789 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE)));
29790 }
29791 {
29792 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING)));
29793 }
29794 {
29795 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN)));
29796 }
29797 {
29798 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER)));
29799 }
29800 {
29801 PyDict_SetItemString(d,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER)));
29802 }
29803 {
29804 PyDict_SetItemString(d,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH)));
29805 }
29806 {
29807 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER)));
29808 }
29809 {
29810 PyDict_SetItemString(d,"SW_3D", SWIG_From_int((int)(wxSW_3D)));
29811 }
29812 {
29813 PyDict_SetItemString(d,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP)));
29814 }
29815 {
29816 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT)));
29817 }
29818 {
29819 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM)));
29820 }
29821 {
29822 PyDict_SetItemString(d,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT)));
29823 }
29824 {
29825 PyDict_SetItemString(d,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE)));
29826 }
29827 {
29828 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK)));
29829 }
29830 {
29831 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE)));
29832 }
d55e5bfc 29833 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
36ed4f51
RD
29834 {
29835 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL)));
29836 }
29837 {
29838 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL)));
29839 }
29840 {
29841 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE)));
29842 }
29843 {
29844 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP)));
29845 }
29846 {
29847 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT)));
29848 }
29849 {
29850 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT)));
29851 }
29852 {
29853 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM)));
29854 }
29855 {
29856 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y)));
29857 }
29858 {
29859 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X)));
29860 }
29861 {
29862 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH)));
29863 }
29864 {
29865 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY)));
29866 }
d55e5bfc
RD
29867 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
29868 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
29869 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
29870
29871 // Map renamed classes back to their common name for OOR
29872 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
29873 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
29874 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
29875
29876 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
29877 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
29878 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
29879 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
29880 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
29881 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
29882 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
29883 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
29884 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
29885 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
29886 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
29887 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
29888 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
36ed4f51
RD
29889 {
29890 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE)));
29891 }
29892 {
29893 PyDict_SetItemString(d,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle)));
29894 }
070c48b4 29895 SWIG_addvarlink(SWIG_globals,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get, _wrap_GetPasswordFromUserPromptStr_set);
36ed4f51
RD
29896 {
29897 PyDict_SetItemString(d,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN)));
29898 }
29899 {
29900 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD)));
29901 }
29902 {
29903 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE)));
29904 }
29905 {
29906 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG)));
29907 }
29908 {
29909 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN)));
29910 }
29911 {
29912 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE)));
29913 }
29914 {
29915 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD)));
29916 }
d55e5bfc
RD
29917 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
29918 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
29919 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
29920 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
29921 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
36ed4f51
RD
29922 {
29923 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
29924 }
29925 {
29926 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
29927 }
29928 {
29929 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
29930 }
29931 {
29932 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
29933 }
29934 {
29935 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
29936 }
29937 {
29938 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
29939 }
29940 {
29941 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
29942 }
29943 {
29944 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
29945 }
d55e5bfc
RD
29946 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
29947 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
36ed4f51
RD
29948 {
29949 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE)));
29950 }
29951 {
29952 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW)));
29953 }
29954 {
29955 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE)));
29956 }
29957 {
29958 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER)));
29959 }
29960 {
29961 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM)));
29962 }
29963 {
29964 PyDict_SetItemString(d,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT)));
29965 }
29966 {
29967 PyDict_SetItemString(d,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE)));
29968 }
29969 {
29970 PyDict_SetItemString(d,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER)));
29971 }
29972 {
29973 PyDict_SetItemString(d,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE)));
29974 }
29975 {
29976 PyDict_SetItemString(d,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL)));
29977 }
29978 {
29979 PyDict_SetItemString(d,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE)));
29980 }
29981 {
29982 PyDict_SetItemString(d,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL)));
29983 }
29984 {
29985 PyDict_SetItemString(d,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO)));
29986 }
29987 {
29988 PyDict_SetItemString(d,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR)));
29989 }
29990 {
29991 PyDict_SetItemString(d,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT)));
29992 }
29993 {
29994 PyDict_SetItemString(d,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT)));
29995 }
29996 {
29997 PyDict_SetItemString(d,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY)));
29998 }
29999 {
30000 PyDict_SetItemString(d,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE)));
30001 }
30002 {
30003 PyDict_SetItemString(d,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE)));
30004 }
30005 {
30006 PyDict_SetItemString(d,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER)));
30007 }
30008 {
30009 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR)));
30010 }
30011 {
30012 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED)));
30013 }
30014 {
30015 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR)));
30016 }
30017 {
30018 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT)));
30019 }
30020 {
30021 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS)));
30022 }
30023 {
30024 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT)));
30025 }
30026 {
30027 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM)));
30028 }
30029 {
30030 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST)));
30031 }
30032 {
30033 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST)));
30034 }
30035 {
30036 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO)));
30037 }
30038 {
30039 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT)));
30040 }
30041 {
30042 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE)));
30043 }
30044 {
30045 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT)));
30046 }
30047 {
30048 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS)));
30049 }
30050 {
30051 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT)));
30052 }
30053 {
30054 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM)));
30055 }
30056 {
30057 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST)));
30058 }
30059 {
30060 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST)));
30061 }
30062 {
30063 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO)));
30064 }
d55e5bfc
RD
30065
30066 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
30067
30068}
30069